Red Hat Bugzilla – Bug 98389
apacectl configtest does not parse included config files
Last modified: 2007-04-18 12:55:25 EDT
I know that 7.2 is old, but still so widely used that there's big chance that
others run into this same problem as I did. I did not test this problem with
Also, I realize the problem is in upstream, but RH has better chances to patch
it than me. ;)
RedHat's initfile for httpd uses apachectl for "configtest" option. Perhaps it
should use "httpd -S" command instead?
1) Include something from httpd.conf:
2) Put some crap to give file:
3a) $service httpd configtest
3b) $apachectl configtest
4) $httpd -S
Syntax error on line nn of /tmp/httpd-cust.conf:
Invalid command 'FooBarCommand', perhaps mis-spelled or defined by a module not
included in the server configuration
I'm seeing it on RH9, too, FWIW.
Should we open a MeToo bug for RHL9 or what?
Updating RHL version to 9.
Thanks for the report. This is a mass bug update; since this release
of Red Hat Linux is no longer supported, please either:
a) try and reproduce the bug with a supported version of Red Hat
Enterprise Linux or Fedora Core, and re-open this bug as appropriate
after changing the Product field, or,
b) if relevant, try and reproduce this bug using the current version
of the upstream package, and report the bug upstream.