I manually compiled and installed httpd
on Fedora. I am trying to start it for the first time:
./apachectl start -d ../
and receive the following error:
(20014)Internal error: Error retrieving pid file (null)
Remove it before continuing if it is corrupted.
Any help would be appreciated!
You need to remove the httpd.pid file and restart apache or xampp to solve this issue. Following page explains the instructions to remove that file:
I face same problem in ubuntu, and I try to run this code. Try to run :
sudo rm /opt/lampp/httpd.pid
then
sudo /opt/lampp/lampp restart
A pid file is a file that contains the process id of a daemon (either in the file body or the file name). It is used by a daemon to make sure only one version of it is running at one time. It does this by either checking for the pid files existence or using the flock feature of some os/filesystems to lock it.
The error indicates that it could not access the pid file, which would indicate to my a permissions error.
If you have (13)Permission denied:
so just add "sudo " and then add your commend.