Keywords: Mode: All keywords (AND) |
Thu Aug 05, 2010 07:59
|
hamradio: I have 2 modem of same type and model avalaible, but actually I use only one with a WIND IT sim. I have encountered a big issue the 99% of sms sent to +31 was missed and never received.
So I decided to use the 2nd mode with a sim by an other operator.
My wish is to continue to receive all incoming sms by modem #1/WIND and if the sms is originated from a +31 subscriber a sent the reply by modem #2/ not WIND.
Can I do it with smstools3, at the moment I don't remember the version but it's running full steam from April 2009 with zero problem.
Thank Carlo
|
Sun Aug 30, 2009 18:21
|
hamradio:
You are running a daemon as an user smsd and the .LOCK file was owned by smsd:dialout. And the startup check was unable to remove this file. The format of error message is: "Cannot unlink file <filename>: <reason>". What has been the reason?
The lock issue appeared when I copy by winscp the sent file to my pc running XP, and after I copy this file to outgoing into server I assigneg a chmod=777.
I must do it because a owners claims because he don't receive my sms with username e password, but it's sent. Sometimes sms from Italy to CH or DE are missed, I sent its by Wind.
What GNU/Linux you are running and from where the smsd is installed (from the package repository or from the sources)?
An istance of Ubuntu 8.0.4 running under Proxmox Enviroment.
|
Sun Aug 30, 2009 17:47
|
hamradio: Yes, I see it in the log and delete both files manually, and manually I resent the sms msg.
Now SMStools is running.
Carlo
|
Sun Aug 30, 2009 17:09
|
hamradio:
Are you running smsd as an unpriviledged user? Probably there is a permission problem. Who owns those .LOCK files?
If I run ps aux I have 2 statement for SMSD and for boths the 1st column is = smsd.
About lock file
Group = dialout
User = smsd.
I have not many sms traffic because SMStools is applied into a geographic Wifi networks authentication software, and actually I haven't nont many owners.
Ciao Carlo
|
Sun Aug 30, 2009 13:46
|
hamradio: I think to have find the problem, I generated to long msg text, about 250 chr, and so its are splitted into 2 .
I'm observing too close the log, if I'll find more problem I write here.
Another question; into "checked" there are 2 file same name both one with the LOCK added to tail.
SMStools don't can move it to send folder and so closed execution.
Is there a manner to check if SMStools stopped and restart it byself?
Ciao Carlo
|
Sat Aug 29, 2009 06:14
|
hamradio:
This sounds like there is one retry for each message. I cannot guess the reason without the logfile.
With loglevel = 7, show a piece of smsd.log here. Use Private tag to protect the data (see this post for details).
I'm not a Linux guru what means and how to set the log level to 7?
Tnx Carlo
|
Fri Aug 28, 2009 16:25
|
hamradio: Sms version 3.0.10
it works very fine but it sents each message 2 times.
It don't create the "sending" file message 2 times, it creates only one instance but sent it 2 time.
I don't see the double trasmission in my sql log with 2 equal records, but each records have msg_id field step by 2, 98-100-102 and so.
Initially I don't give my attention, but the telco operatos bill shows all sent messages duplicated.
Anyone can help me.
Tnx Carlo
|