Ask Your Question
0

fc17 "service httpd configtest" not working

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

Geraint Hywel gravatar image

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

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
0

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

upshutsquare gravatar image

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

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

Stats

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

Seen: 3,435 times

Last updated: Oct 31 '12