English
Ask Your Question
0

fc17 "service httpd configtest" not working

asked 2012-10-31 14:01:42 +0000

Geraint Hywel gravatar image

updated 2014-10-01 04:17:56 +0000

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 14:36:48 +0000

updated 2012-10-31 14:39:21 +0000

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers. If a question you asked has been answered, accept the best answer by clicking on the checkbox on the left side of the answer.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.

Stats

Asked: 2012-10-31 14:01:42 +0000

Seen: 2,825 times

Last updated: Oct 31 '12