Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

share|improve this question
2  
Run the same command with sudo –  qweet Mar 27 '12 at 9:26

1 Answer 1

Run the command again as root and try restart.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.