[SPAM] Re: lots of daemons dead but pid file exists

Mateus Interciso mateus
Thu Jul 19 04:29:58 PDT 2007


On Wed, 18 Jul 2007 20:48:18 -0700, kumarlimbu wrote:

> Hi everyone,
>
> We recently had problem with our linux server and had to (hard) restart
> it. During the restart we found that a lots of services were not able to
> start properly like ssh, apache, mysql, xfs etc. which caused the
> machine not being able to go to runlevel 5 (no GUI). So we switched to
> runlevel 3. We found that when we looked at the status for the usual
> services we found the following error:
> dead but pid file exists
>
> What could cause an error like this.
>
> I searched through the forums and found that most of the problem with
> xserver starting properly has to do with DISK full etc. but nothing was
> quite similar to what we had.
>
> If there are anymore information that you guys need to help me, please
> let me know.
>
>
> Thank You,
> Kumar

Kumar, usually the programs store a PID file on /proc (sometimes /var/
proc), and when they are shutted down, they remove the PID file. Since
the server wasn't shutted down cleanly, those programs didn't removed
those PIDs, so take a look at /proc, and remove manually the PIDs, this
should solve the issue.



More information about the Linux-users mailing list