SMS Server Tools 3
This site is hosted by Kekekasvi.com
 Menu
Basic information:
Additional information:
Support:
Get SMS Server Tools 3:
Additional Options

 Sponsored links

 Search
Custom Search

 Visitor locations
 
 SMS Server Tools 3 Community
Welcome, Guest. Please login or register. Wed Jan 20, 2021 23:24
SMSTools3 Community » Help and support Bottom

Not sending

Login and Post Reply

Page:  1

Author Post
Member
Registered:
Sep 2013
Location: Israel
Operating system name and version: Red Hat Enterprise Linux Server release 5.9 (Tikanga)
Version of smsd: smstools-2.2.20.tar.gz
Smsd installed from: ssmstools-2.2.20.tar.gz
Name and model of a modem / phone: EasyGate GSM Gateway
Interface: serial

Lately (4days agao) my SMS gateway stopped sending sms, before that it was running without problem

[root@linux2 sent]# vi /etc/smsd.conf

devices = GSM1
logfile = /var/log/smsd.log
outgoing = /var/spool/sms/outgoing
incoming = /var/spool/sms/incoming
checked = /var/spool/sms/checked
failed = /var/spool/sms/failed
sent = /var/spool/sms/sent
loglevel = 7
whitelist = /etc/sms/whitelist.1
##################

[GSM1]
device = /dev/ttyS0
incoming = no
baudrate = 9600
send_delay = 10
#primary_memory = SM
#secondary_memory = SR
rtscts = no



logs:

2013-09-06 10:43:09,6, smsd: Moved file /var/spool/sms/checked/send_Z28166 to /var/spool/sms/sent
2013-09-06 10:48:55,2, smsd: Smsd main program received termination signal.
2013-09-06 10:48:55,2, GSM1: Modem handler 0 has received termination signal, will terminate after current task has been finished.
2013-09-06 10:48:55,2, smsd: Smsd main program is awaiting the termination of all modem handlers.
2013-09-06 10:48:55,2, GSM1: Modem handler 0 terminated.
2013-09-06 10:48:55,2, smsd: Smsd main program terminated.
2013-09-06 10:48:56,2, smsd: Smsd v2.2.20 started.
2013-09-06 10:48:56,6, GSM1: Modem handler 0 has started.
2013-09-06 10:48:56,6, smsd: outgoing file checker has started.
2013-09-06 10:49:17,6, smsd: Moved file /var/spool/sms/outgoing/send_G28989 to /var/spool/sms/checked
2013-09-06 10:49:27,6, smsd: I have to send 1 short message for /var/spool/sms/checked/send_G28989
2013-09-06 10:49:27,6, GSM1: Sending SMS from to 0777xxxxxxxxx
2013-09-06 10:49:27,6, GSM1: Checking if modem is ready
2013-09-06 10:49:27,7, GSM1: -> AT
2013-09-06 10:49:27,7, GSM1: Command is sent, waiting for the answer
2013-09-06 10:49:27,7, GSM1: <- AT
OK
2013-09-06 10:49:27,6, GSM1: Checking if Modem is registered to the network
2013-09-06 10:49:27,7, GSM1: -> AT+CREG?
2013-09-06 10:49:27,7, GSM1: Command is sent, waiting for the answer
2013-09-06 10:49:27,7, GSM1: <- AT+CREG?
+CREG: 0,1
OK
2013-09-06 10:49:27,6, GSM1: Modem is registered to the network
2013-09-06 10:49:27,6, GSM1: Selecting PDU mode
2013-09-06 10:49:27,7, GSM1: -> AT+CMGF=0
2013-09-06 10:49:28,7, GSM1: Command is sent, waiting for the answer
2013-09-06 10:49:28,7, GSM1: <- AT+CMGF=0
OK
2013-09-06 10:49:28,7, GSM1: -> AT+CMGS=17
2013-09-06 10:49:28,7, GSM1: Command is sent, waiting for the answer
2013-09-06 10:49:28,7, GSM1: <- AT+CMGS=17
>
2013-09-06 10:49:28,7, GSM1: -> 0011000A91707784783000F1FF04F4F29C0E
2013-09-06 10:49:29,7, GSM1: Command is sent, waiting for the answer
2013-09-06 10:49:31,7, GSM1: <- 0011000A91707784783000F1FF04F4F29C0E
+CMGS: 41
OK
2013-09-06 10:49:31,5, GSM1: SMS sent, To: 0777xxxxxxxxxx
2013-09-06 10:49:31,6, smsd: Moved file /var/spool/sms/checked/send_G28989 to /var/spool/sms/sent
2013-09-06 10:50:58,6, smsd: Moved file /var/spool/sms/outgoing/send_V29180 to /var/spool/sms/checked
2013-09-06 10:51:02,6, smsd: I have to send 1 short message for /var/spool/sms/checked/send_V29180
2013-09-06 10:51:02,6, GSM1: Sending SMS from to 0777xxxxxxxxxxx
2013-09-06 10:51:02,6, GSM1: Checking if modem is ready
2013-09-06 10:51:02,7, GSM1: -> AT
2013-09-06 10:51:02,7, GSM1: Command is sent, waiting for the answer
2013-09-06 10:51:02,7, GSM1: <- AT
OK
2013-09-06 10:51:02,6, GSM1: Checking if Modem is registered to the network
2013-09-06 10:51:02,7, GSM1: -> AT+CREG?
2013-09-06 10:51:03,7, GSM1: Command is sent, waiting for the answer
2013-09-06 10:51:03,7, GSM1: <- AT+CREG?
+CREG: 0,1
OK
2013-09-06 10:51:03,6, GSM1: Modem is registered to the network
2013-09-06 10:51:03,6, GSM1: Selecting PDU mode
2013-09-06 10:51:03,7, GSM1: -> AT+CMGF=0
2013-09-06 10:51:03,7, GSM1: Command is sent, waiting for the answer
2013-09-06 10:51:03,7, GSM1: <- AT+CMGF=0
OK
2013-09-06 10:51:03,7, GSM1: -> AT+CMGS=17
2013-09-06 10:51:03,7, GSM1: Command is sent, waiting for the answer
2013-09-06 10:51:04,7, GSM1: <- AT+CMGS=17
>
2013-09-06 10:51:04,7, GSM1: -> 0011000A91707784783000F1FF04F4F29C0E
2013-09-06 10:51:04,7, GSM1: Command is sent, waiting for the answer
2013-09-06 10:51:06,7, GSM1: <- 0011000A91707784783000F1FF04F4F29C0E
+CMGS: 42
OK
2013-09-06 10:51:06,5, GSM1: SMS sent, To: 0777xxxxxxxxx
2013-09-06 10:51:06,6, smsd: Moved file /var/spool/sms/checked/send_V29180 to /var/spool/sms/sent



[root@linux2 sent]# ls
MMTP20130905_001.txt MMTP20130905_013.txt MMTP20130905_025.txt SDC20130905_007.txt send_A26408 send_h15280 send_t15275
MMTP20130905_002.txt MMTP20130905_014.txt MMTP20130905_026.txt SDC20130905_008.txt send_aA9148 send_Hx9862 send_t16799
MMTP20130905_003.txt MMTP20130905_015.txt MMTP20130905_027.txt SDC20130905_009.txt send_B17872 send_K14995 send_t28571
MMTP20130905_004.txt MMTP20130905_016.txt MMTP20130905_028.txt SDC20130905_010.txt send_D17519 send_L15258 send_v15263
MMTP20130905_005.txt MMTP20130905_017.txt MMTP20130905_029.txt SDC20130905_011.txt send_e11483 send_l24461 send_V20055
MMTP20130905_006.txt MMTP20130905_018.txt MMTP20130905_030.txt SDC20130905_012.txt send_e15443 send_L24745 send_V29180
MMTP20130905_007.txt MMTP20130905_019.txt SDC20130905_001.txt SDC20130905_013.txt send_E25001 send_M15290 send_wx8353
MMTP20130905_008.txt MMTP20130905_020.txt SDC20130905_002.txt SDC20130905_014.txt send_Es7927 send_ma7931 send_X17302
MMTP20130905_009.txt MMTP20130905_021.txt SDC20130905_003.txt SDC20130905_015.txt send_f15285 send_q17005 send_x27464
MMTP20130905_010.txt MMTP20130905_022.txt SDC20130905_004.txt SDC20130905_016.txt send_F25362 send_qf9235 send_z13658
MMTP20130905_011.txt MMTP20130905_023.txt SDC20130905_005.txt SDC20130905_017.txt send_g16727 send_s15409 send_Z28166
MMTP20130905_012.txt MMTP20130905_024.txt SDC20130905_006.txt SDC20130905_018.txt send_G28989 send_s15460 test.txt
[root@linux2 sent]# cd ..
[root@linux2 sms]# ls -al
total 432
drwxr-xr-x 11 root root 4096 May 24 2008 .
drwxr-xr-x 16 root root 4096 Oct 1 2009 ..
drwxrwxrwx 2 root root 16384 Sep 6 10:51 checked
drwxr-xr-x 50 root root 4096 Jan 7 2008 errors
drwxrwxrwx 2 root root 4096 Sep 5 15:12 failed
drwxrwxrwx 2 root root 163840 Sep 6 08:26 incoming
drwxr-xr-x 2 root root 4096 Jan 7 2008 locks
drwxr-xr-x 2 root root 4096 Jan 7 2008 named_pipes
drwxrwxrwx 2 root root 4096 Sep 6 10:50 outgoing
drwxrwxrwx 2 root root 217088 Sep 6 10:51 sent
drwxr-xr-x 50 root root 4096 Jan 7 2008 services
[root@linux2 sms]# cd failed/
[root@linux2 failed]# ls
send_Zm8402
[root@linux2 failed]# cd ..
[root@linux2 sms]# cd incoming/
[root@linux2 incoming]# ls
GSM1.XX28zErT GSM1.XX96iLef GSM1.XXaZwY2c GSM1.XXDYJ83F GSM1.XXJoE1LA GSM1.XXoqUxhq GSM1.XXsRBfOa GSM1.XXVuzlSm
GSM1.XX3vPpfs GSM1.XX9W7SQc GSM1.XXbjNtDw GSM1.XXeZZ6qk GSM1.XXLJuiwc GSM1.XXOThV0C GSM1.XXU39REH GSM1.XXVYcISp
GSM1.XX4IhU39 GSM1.XX9WnL5v GSM1.XXBoJifu GSM1.XXFTpsZY GSM1.XXlp7gSN GSM1.XXP6QZ5G GSM1.XXugNevB GSM1.XXwB9ae9
GSM1.XX6eB5xW GSM1.XXacxTiz GSM1.XXdHCGFk GSM1.XXJa7oLi GSM1.XXNzlryr GSM1.XXPQeSXN GSM1.XXuIbKNE GSM1.XXxesKnW
GSM1.XX8a3YOh GSM1.XXaGqsvc GSM1.XXdQigx9 GSM1.XXjMdABK GSM1.XXoHVnbc GSM1.XXPVzo4J GSM1.XXvnyzGp GSM1.XXZGE5zn
[root@linux2 incoming]# cd ..

Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
This site is for the version 3.x of smstools.

Anyways, your log shows that 2 messages were spooled, and they both were sent. If there is nothing after the line 2013-09-06 10:51:06,6, smsd: Moved file /var/spool/sms/checked/send_V29180 to /var/spool/sms/sent, I can only imagine that smsd processes were killed with SIGKILL, or the filesystem had gone to read-only mode, because of some failure with hardware. If this is the case, you would have definitely noticed it. If this is not the case, you should check if smsd processes are running, when nothing is sent and nothing is shown in the log, but you are sure that the system should run and send messages.

Member
Registered:
Sep 2013
Location: Israel
Topic owner
Would it help to install the new version?
if yes what would be the procedure to uninstall old release and install the latest one under RHEL 5?

Member
Registered:
Sep 2013
Location: Israel
Topic owner
The modem said ERROR or did not answer

I keep getting the above message ...

Member
Registered:
Sep 2013
Location: Israel
Topic owner
The modem said ERROR or did not answer.
2013-09-10 08:05:51,4, GSM1: Sending SMS to 0777xxxxxxxxxxxx failed
2013-09-10 08:05:51,6, smsd: Moved file /var/spool/sms/checked/send_k17784 to /var/spool/sms/failed
2013-09-10 08:05:51,2, GSM1: Fatal error: sending failed 3 times. Blocking 3600 sec.

Member
Registered:
Sep 2013
Location: Muenster, NRW, Germany
Hello,
just one guess... are the SMS stored on the SIM card? Is this memory full?
Maybe you want to test the card in a cellphone?
Bye,
Tom

Login and Post Reply

Page:  1

SMSTools3 Community » Help and support Top

 
Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.