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

8,149

Run the command again as root and try restart.

Share:
8,149

Related videos on Youtube

Jagdeep
Author by

Jagdeep

Updated on September 18, 2022

Comments

  • Jagdeep
    Jagdeep almost 2 years

    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

    • qweet
      qweet over 12 years
      Run the same command with sudo