Ask Your Question

fc17 "service httpd configtest" not working

asked 2012-10-31 09:01:42 -0500

Geraint Hywel gravatar image

updated 2014-09-30 23:17:56 -0500

mether gravatar image

I type service httpd configtest on a fc16 box, and it works:

[root@*****]# service httpd configtest
Syntax OK

On a fc17 box, though, I get this:

[root@*****]# service httpd configtest
Redirecting to /bin/systemctl configtest  httpd.service
Unknown operation 'configtest'.

Both boxes have Apache 2.2.22 installed. Why am I getting a discrepancy?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-10-31 09:36:48 -0500

upshutsquare gravatar image

updated 2012-10-31 09:39:21 -0500

This is probably because of the move over from sysv to systemd.

There's lots of documentation about the move on Fedora's web site.

you can run

apachectl configtest

for an Apache config test.

edit flag offensive delete link more

Question Tools


Asked: 2012-10-31 09:01:42 -0500

Seen: 3,443 times

Last updated: Oct 31 '12