Operating System - HP-UX
1752810 Members
5871 Online
108789 Solutions
New Discussion юеВ

Re: HP Apache httpd.pid file on HP-UX

 
Shivkumar
Super Advisor

HP Apache httpd.pid file on HP-UX

Hello All,

When Apache web server is shutdown gracefully then i guess httpd.pid file do not exist. It exist only when Apache process is running.
If it exist then it prevent starting of Apache Web Server.

My question is what causes httpd.pid file still present even if apache process is shutdown ?

Thanks,
Shiv
2 REPLIES 2
TTr
Honored Contributor

Re: HP Apache httpd.pid file on HP-UX

> what causes httpd.pid file still present even if apache process is shutdown ?

It can happen if the apache process exits abnormally (hard kill, crash, etc.). In this case you can remove the pid file before restarting. This pid mechanism is very common with other processes/apps, syslogd, sshd, etc.
Jairo Campana
Trusted Contributor

Re: HP Apache httpd.pid file on HP-UX

check script of init httpd daemon.
legionx