[Smslink-users] SMSlink question...
Status: Beta
Brought to you by:
panderss
|
From: <to...@ii...> - 2008-01-14 00:29:58
|
Hello,
I am using smslink.. and it reports to be:
SMS-Link for Linux, ver 0.56b (11/05/04)
I have queuing setup, and it's working..with one very serious caveat.
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.
I keep getting this in my logs:
<DATE-TIME> <server> sms_serv[<PID>]: OUTBOX check canceled, <1> child procs already.
If I start the server with nothing in the queue, I get this in the logs:
<DATE-TIME> <server> sms_serv[<C-PID>]: initiating OUTBOX check.
<DATE-TIME> <server> sms_serv[<C-PID>]: FILE outbox check begins.
<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.
( PID = parent thread PID, C-PID = Child thread PID.)
According to the online documentation, sms_serv should be automatically generating a PID file: /var/run/sms_serv.pid
This file is not being auto-generated by sms_serv.
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.
I am guessing that sms_serv uses it's PID in order to determine if there are "child procs already" and aborts the outbox check if it finds that "pidof sms_serv" returns values other than that stored in /var/run/sms_serv.pid, but for some reason is not able to track the PID correctly on this system.
I have tried setting the --pidfile value (alternately using -i when --pidfile did not work) and it tells me that it is an unsupported option.
I have also tried making symlinks to the pidof executable in a couple of places it might be expected on other distributions.
This machine is running Debian 4 with a 2.6 series kernel.
It is an installation that was handed to me completely undocumented. (It shall NOT remain so!!! [he said valiantly]) ;)
Has anyone run across this?
Thanks,
Todd M. Hébert.
Sorry about any company information below this line.. it is required under Irish law, so I cannot omit it.
**********************************************************************
"Private Confidential & Privileged"
This Email and any files and attachments transmitted with it are
confidential and/or privileged. They are intended solely for
the use of the intended recipient. Any views and opinions expressed
are those of the individual author/sender and are not necessarily
shared or endorsed by Independent Newspapers (Ireland) Limited or any
associated or related company. The content of this Email and any file
or attachment transmitted with it may have been changed or altered
without the consent of the author. If you are not the intended
recipient, please note that any review, dissemination, disclosure,
alteration, printing, circulation or transmission of this Email and/or
any file or attachment transmitted with it, is prohibited and may be
unlawful. If you have received this Email or any file attachment
transmitted with it in error, please notify su...@ii... or contact
Systems Administrator Tel: +353 (1) 411 2244
Internet Interaction Limited
3050 Lake Drive, Citywest digital Park, Co Dublin
CRO # 247783
|