Re: [Smslink-users] SMSlink question...
Status: Beta
Brought to you by:
panderss
|
From: Philippe A. <pa...@ib...> - 2008-01-14 13:20:14
|
Hello Todd, Todd M. H=E9bert wrote: > Hello, I am using smslink.. and it reports to be: >=20 > SMS-Link for Linux, ver 0.56b (11/05/04) OK. >=20 > I have queuing setup, and it's working..with one very serious caveat. >=20 >=20 > If the sms_serv program is started while there are messages queued up > waiting to be sent, it will send them fine... but then it will not > send anything else. >=20 > I keep getting this in my logs: <DATE-TIME> <server> sms_serv[<PID>]: > OUTBOX check canceled, <1> child procs already. >=20 > If I start the server with nothing in the queue, I get this in the > logs: >=20 > <DATE-TIME> <server> sms_serv[<C-PID>]: initiating OUTBOX check.=20 > <DATE-TIME> <server> sms_serv[<C-PID>]: FILE outbox check begins.=20 > <DATE-TIME> <server> sms_serv[<C-PID>]: FILE outbox check: <0> queue > file(s) processed. <DATE-TIME> <server> sms_serv[<C-PID>]: FILE > outbox check: finished. <DATE-TIME> <server> sms_serv[<PID>]: OUTBOX > check canceled, <1> child procs already. >=20 > ( PID =3D parent thread PID, C-PID =3D Child thread PID.) Known bug! Please upgrade to ver. 0.56b-4, available here as a pre-release: <http://smslink.sourceforge.net/archive/devel/> >=20 > According to the online documentation, sms_serv should be > automatically generating a PID file: /var/run/sms_serv.pid >=20 > This file is not being auto-generated by sms_serv. Known bug, please upgrade to 0.56b-4 ;-) (actually fixed in 0.56b-2). >=20 > I have tried modifying the init script so that it creates & destroys > the PID file as appropriate.. and I have checked, the PID being > stored in the file is correct. New init scripts are already provided in 0.56b-4 for SuSE and RHAT >=20 > I am guessing that sms_serv uses it's PID in order to determine if > there are "child procs already" No it doesn't. The child list is cleaned by the father when it receives a SIGCHLD. HTH Cheers. Bye. Ph. A. --=20 *Philippe Andersson* Unix System Administrator IBA Particle Therapy | Tel: +32-10-475.983 Fax: +32-10-487.707 eMail: pa...@ib... <http://www.iba-worldwide.com> The contents of this e-mail message and any attachments are intended solely= for =20 the recipient (s) named above. This communication is intended to be and to = =20 remain confidential and may be protected by intellectual property rights. A= ny =20 use of the information contained herein (including but not limited to, tota= l or =20 partial reproduction, communication or distribution of any form) by persons= =20 other than the designated recipient(s) is prohibited. Please notify the sen= der =20 immediately by e-mail if you have received this e-mail by mistake and delet= e =20 this e-mail from your system. E-mail transmission cannot be guaranteed to b= e =20 secure or error-free. Ion Beam Applications does not accept liability for a= ny =20 such errors. Thank you for your cooperation. |