[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Sendmail has died



Frank Cox wrote:
> On Mon, 25 Sep 2006 12:07:17 -0600
> Frank Cox <theatre sasktel net> wrote:
>
>
>> sendmail dead but subsys locked
>
> Third bit of weirdness.  Maybe it's running after all now?  If I
> do /sbin/service sendmail status as a normal user it says
>
> /etc/rc.d/init.d/functions: line 324: /var/run/sendmail.pid: Permission
> denied sendmail dead but subsys locked

You don't have permission to the sendmail.pid file, so the service command
doesn't know what PID sendmail is.  However, it does know there is a
sendmail.pid file.  It is probably interpreting the "Permission denied" as
an inability to find the right process, leading to the "dead but sybsys
locked" error.

> If I do the same thing as root it says:
>
>
> su -c "/sbin/service sendmail status" Password:
> sendmail (pid 3013 3005) is running...

As root you do have permission.

> I know darn well that it wasn't running before, until I
> deleted /var/lock/subsys/sendmail.

Are you sure?  Your first post also said "Permission denied".

--
William Hooper


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]