2

I am unable to start the Apache server on linux

I have tried :

service httpd start

and

/etc/init.d/httpd start

but both commands are showing :--

rm: cannot remove `/var/run/httpd/httpd.pid': Permission deniedLED]
rm: cannot remove `/var/lock/subsys/httpd': Permission denied
rm: cannot remove `/var/run/httpd/httpd.pid': Permission denied

Please tell me, If any issue

1
  • 2
    Run the same command with sudo
    – qweet
    Mar 27, 2012 at 9:26

1 Answer 1

7

Run the command again as root and try restart.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .