-
1. Re: Apache is not displayed in Auto Discovery in RHQ 3
ssroy73 Jul 26, 2010 5:30 AM (in response to ssroy73)Just to add on: Found following stacktrace in log file
Caused by: org.rhq.plugins.apache.parser.ApacheParserException: Apache configuration file /usr/local/apache2/conf/vhosts.d/*.conf was not found.
at org.rhq.plugins.apache.parser.ApacheConfigReader.searchFile(ApacheConfigReader.java:26)
at org.rhq.plugins.apache.parser.ApacheParserImpl.addDirective(ApacheParserImpl.java:27)
at org.rhq.plugins.apache.parser.ApacheConfigReader.searchFile(ApacheConfigReader.java:50)But there is already a conf file present. And as I have mentioned this works fine with old version of Agent 1.3.1.
Anyone, please let me know if I am missing anything.
Thanks & Best Regards - Roy
-
2. Re: Apache is not displayed in Auto Discovery in RHQ 3
lkrejci Jul 26, 2010 9:03 AM (in response to ssroy73)Hmm,
that looks quite scary. We specifically tested for correctly handling glob includes so this looks like we might have missed something. Unfortunately I couldn't reproduce this with my setup.
Could you please provide more information about your apache configuration? Ideally I'd like to see the httpd.conf and any other included conf files with which you are able to reproduce this problem.
-
3. Re: Apache is not displayed in Auto Discovery in RHQ 3
lkrejci Jul 26, 2010 9:31 AM (in response to ssroy73)As this potentially is quite serious, I created a bug to track this problem. If you can provide any more information you can add it either here or preferably directly to https://bugzilla.redhat.com/show_bug.cgi?id=618230.
Thanks,
Lukas
-
4. Re: Apache is not displayed in Auto Discovery in RHQ 3
ssroy73 Jul 26, 2010 9:50 AM (in response to lkrejci)Hi Lukas,
Thanks for your help.
PSA for the httpd.conf and few more conf files.
Thanks & Regards - Roy
-
Apache2.2.13.rar.zip 8.3 KB
-
-
5. Re: Apache is not displayed in Auto Discovery in RHQ 3
ssroy73 Jul 26, 2010 10:56 AM (in response to lkrejci)Thanks Lukas.
With the suggested change, its working fine.
Best Regards - Roy