I have installed ser in my redhat linux computer. I start it with /etc/init.d/ser start then when I check status use /etc/init.d/ser status It gives this message:" ser dead but subsys locked." then I try to use serctl start I got message "starting ser: cat /var/run/ser.pid: no such file or directory started pid()" What happened please help! Thanks a lot! peter
__________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/
Have the following line change in your /etc/init.d/ser file.
OPTIONS="-P /var/run/ser.pid"
Zeus
-----Original Message----- From: serusers-bounces@lists.iptel.org [mailto:serusers-bounces@lists.iptel.org] On Behalf Of Peter Liu Sent: Friday, 28 May 2004 6:14 AM To: serusers@lists.iptel.org Subject: [Serusers] help with ser
I have installed ser in my redhat linux computer. I start it with /etc/init.d/ser start then when I check status use /etc/init.d/ser status It gives this message:" ser dead but subsys locked." then I try to use serctl start I got message "starting ser: cat /var/run/ser.pid: no such file or directory started pid()" What happened please help! Thanks a lot! peter
__________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
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
--- Zeus Ng zeus.ng@isquare.com.au wrote:
Have the following line change in your /etc/init.d/ser file.
OPTIONS="-P /var/run/ser.pid"
Zeus
-----Original Message----- From: serusers-bounces@lists.iptel.org [mailto:serusers-bounces@lists.iptel.org] On Behalf Of
Peter Liu
Sent: Friday, 28 May 2004 6:14 AM To: serusers@lists.iptel.org Subject: [Serusers] help with ser
I have installed ser in my redhat linux computer. I start it with /etc/init.d/ser start then when I check status use /etc/init.d/ser status It gives this message:" ser dead but subsys
locked."
then I try to use serctl start I got message "starting ser: cat /var/run/ser.pid:
no
such file or directory started pid()" What happened please help! Thanks a lot! peter
__________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/
Serusers mailing list serusers@lists.iptel.org
__________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/
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@lists.iptel.org [mailto:serusers-bounces@lists.iptel.org] On Behalf Of Peter Liu Sent: Friday, 28 May 2004 11:22 AM To: serusers@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
Thanks, Zeus! I tried everything with "/etc/init.d/ser start" then check status with "/etc/init.d/ser status" . first it showed "ser dead but pid file exists" then when I removed pid file it showed "ser dead subsys locked" and I couldn't use serctl everytime I tried to use it it just could not response. I have reinstalled ser rpm, and now ser works. Thank you for your reply! peter
--- Zeus Ng zeus.ng@isquare.com.au wrote:
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@lists.iptel.org [mailto:serusers-bounces@lists.iptel.org] On Behalf Of
Peter Liu
Sent: Friday, 28 May 2004 11:22 AM To: serusers@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
__________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/