I don't quite follow your questions but I'll try to explain.
With /etc/init.d/ser, if ser dies and does not remove the pid file properly,
you will get the error "ser dead but pid file exists". Normally, ser will
remove the file. You can manually remove it if it wasn't the case. In
redhat, it also create the file /var/lock/subsys/ser which serctl does not
handle. Also, make sure the line
ser=/usr/local/sbin/ser # full path of your ser
The /etc/init.d/ser is more suitable for system boot time and shutdown.
Normally, you should just use serctl to control ser.
-----Original Message-----
From: serusers-bounces(a)lists.iptel.org
[mailto:serusers-bounces@lists.iptel.org] On Behalf Of Peter Liu
Sent: Friday, 28 May 2004 11:22 AM
To: serusers(a)lists.iptel.org
Subject: RE: [Serusers] help with ser
Thank you very much, Zeus!
After puting OPTIONS="-P /var/run/ser.pid" to ser
file.
when I check status "ser dead but pid file exists"
and also I can use my serctl utility.
Before everything worked fine, but I don't know why
suddenly this happened. Would you give me some
explanations?
Thanks again,
Peter