I have installed httpd-2.2.29
using commands:
./configure --prefix=/home/user/httpd
make
make install
I configured httpd.conf
and tried to start with apache: apachectl start
. But got following error:
(13)Permission denied: Error retrieving pid file run/httpd.pid Remove it before continuing if it is corrupted.
I tried to find file httpd.pid
, but where is no such file.
Could someone help me resolve such issue?
Did you try and start apache as a non privileged user? Permission denied suggests that you did. Try this instead:
$ sudo apachectl start
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With