maestro: Operating system name and version: Ubuntu 10.04 LTS
Version of smsd: 3.1.6
Smsd installed from: package repository
Name and model of a modem: Siemens MC35i
Interface: serial
Yesterday I installed our new monitoring server with nagios. To send status messages via SMS i used in previous installations the SMSTools. This worked every time perfect since yesterday. Sending a SMS doesn't work and I got unexpected timeout messages in smsd.log
I changed serial cable and the modem. The server is a Dell R310
But still got the message:
2010-09-08 07:08:50,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:08:55,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2010-09-08 07:08:55,7, GSM1: <-
2010-09-08 07:08:56,7, GSM1: -> AT
Hope somebody could help me :(
But first here is my smsd.conf
devices = GSM1
logfile = /var/log/smstools/smsd.log
infofile = /var/run/smstools/smsd.working
pidfile = /var/run/smstools/smsd.pid
outgoing = /var/spool/sms/outgoing
checked = /var/spool/sms/checked
failed = /var/spool/sms/failed
incoming = /var/spool/sms/incoming
sent = /var/spool/sms/sent
stats = /var/log/smstools/smsd_stats
loglevel = 7
autosplit = 3
[GSM1]
init = AT+CPMS="SM"
device = /dev/ttyS0
incoming = yes
baudrate = 9600
rtscts = yes
cs_convert = yes
report = no
Finally the complete log:
2010-09-08 07:08:17,2, smsd: Smsd v3.1.6 started.
2010-09-08 07:08:17,2, smsd: Running as smsd:dialout.
2010-09-08 07:08:17,7, smsd: Running startup_check (shell): /tmp/smsd_script.RjNoXk /tmp/smsd_data.Pvjbdo
2010-09-08 07:08:17,7, smsd: Done: startup_check (shell), execution time 0 sec., status: 0 (0)
2010-09-08 07:08:17,4, smsd: File mode creation mask: 022 (0644, rw-r--r--).
2010-09-08 07:08:17,5, smsd: Outgoing file checker has started. PID: 2957.
2010-09-08 07:08:17,5, GSM1: Modem handler 0 has started. PID: 2958.
2010-09-08 07:08:17,5, GSM1: Using check_memory_method 1: CPMS is used.
2010-09-08 07:08:17,6, GSM1: Checking device for incoming SMS
2010-09-08 07:08:17,6, GSM1: Checking if modem is ready
2010-09-08 07:08:17,7, GSM1: -> AT
2010-09-08 07:08:17,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:08:18,7, GSM1: <- AT OK
2010-09-08 07:08:18,6, GSM1: Pre-initializing modem
2010-09-08 07:08:18,7, GSM1: -> ATE0+CMEE=1
2010-09-08 07:08:18,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:08:18,7, GSM1: <- ATE0+CMEE=1 OK
2010-09-08 07:08:18,6, GSM1: Checking if modem needs PIN
2010-09-08 07:08:18,7, GSM1: -> AT+CPIN?
2010-09-08 07:08:18,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:08:19,7, GSM1: <- +CPIN: READY OK
2010-09-08 07:08:19,6, GSM1: Initializing modem
2010-09-08 07:08:19,7, GSM1: -> AT+CPMS="SM"
2010-09-08 07:08:19,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:08:19,7, GSM1: <- +CMS ERROR: 314 ((U)SIM busy)
2010-09-08 07:08:29,7, GSM1: -> AT+CPMS="SM"
2010-09-08 07:08:29,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:08:30,7, GSM1: <- +CPMS: 0,20,0,45,0,45 OK
2010-09-08 07:08:30,7, GSM1: -> AT+CSQ
2010-09-08 07:08:30,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:08:30,7, GSM1: <- +CSQ: 18,99 OK
2010-09-08 07:08:30,6, GSM1: Checking if Modem is registered to the network
2010-09-08 07:08:30,7, GSM1: -> AT+CREG?
2010-09-08 07:08:30,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:08:31,7, GSM1: <- +CREG: 0,1 OK
2010-09-08 07:08:31,6, GSM1: Modem is registered to the network
2010-09-08 07:08:31,6, GSM1: Selecting PDU mode
2010-09-08 07:08:31,7, GSM1: -> AT+CMGF=0
2010-09-08 07:08:31,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:08:31,7, GSM1: <- O
2010-09-08 07:08:31,7, GSM1: -> AT+CMGF=0
2010-09-08 07:08:31,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:08:32,7, GSM1: <- O
2010-09-08 07:08:32,7, GSM1: -> AT+CIMI
2010-09-08 07:08:32,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:08:32,7, GSM1: <- 262019639093557 OK
2010-09-08 07:08:33,7, GSM1: -> AT+CGSN
2010-09-08 07:08:33,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:08:33,7, GSM1: <- 350301411390493 OK
2010-09-08 07:08:33,5, GSM1: CGSN: 350301411390493
2010-09-08 07:08:33,5, GSM1: IMSI: 262019639093557
2010-09-08 07:08:33,6, GSM1: Checking if reading of messages is supported
2010-09-08 07:08:33,7, GSM1: -> AT+CPMS?
2010-09-08 07:08:33,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:08:33,7, GSM1: <- +CPMS: "SM",0,20,"MT",0,45,"MT",0,45 OK
2010-09-08 07:08:33,6, GSM1: Checking memory size
2010-09-08 07:08:34,7, GSM1: -> AT+CPMS?
2010-09-08 07:08:34,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:08:34,7, GSM1: <- +CPMS: "SM",0,20,"MT",0,45,"MT",0,45 OK
2010-09-08 07:08:34,6, GSM1: Used memory is 0 of 20
2010-09-08 07:08:34,6, GSM1: No SMS received
2010-09-08 07:08:44,6, GSM1: Checking device for incoming SMS
2010-09-08 07:08:44,6, GSM1: Checking if modem is ready
2010-09-08 07:08:44,7, GSM1: -> AT
2010-09-08 07:08:44,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:08:44,7, GSM1: <- O
2010-09-08 07:08:45,7, GSM1: -> ^Z
2010-09-08 07:08:45,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:08:50,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2010-09-08 07:08:50,7, GSM1: <-
2010-09-08 07:08:50,7, GSM1: -> AT
2010-09-08 07:08:50,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:08:50,7, GSM1: <- O
2010-09-08 07:08:50,7, GSM1: -> ^Z
2010-09-08 07:08:50,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:08:55,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2010-09-08 07:08:55,7, GSM1: <-
2010-09-08 07:08:56,7, GSM1: -> AT
2010-09-08 07:08:56,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:08:56,7, GSM1: <- O
2010-09-08 07:08:56,7, GSM1: -> ^Z
2010-09-08 07:08:56,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:09:01,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2010-09-08 07:09:01,7, GSM1: <-
2010-09-08 07:09:01,7, GSM1: -> AT
2010-09-08 07:09:01,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:09:02,7, GSM1: <- O
2010-09-08 07:09:02,7, GSM1: -> ^Z
2010-09-08 07:09:02,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:09:07,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2010-09-08 07:09:07,7, GSM1: <-
2010-09-08 07:09:07,7, GSM1: -> AT
2010-09-08 07:09:07,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:09:07,7, GSM1: <- O
2010-09-08 07:09:07,7, GSM1: -> ^Z
2010-09-08 07:09:07,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:09:12,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2010-09-08 07:09:12,7, GSM1: <-
2010-09-08 07:09:13,7, GSM1: -> AT
2010-09-08 07:09:13,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:09:13,7, GSM1: <- O
2010-09-08 07:09:13,7, GSM1: -> ^Z
2010-09-08 07:09:13,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:09:18,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2010-09-08 07:09:18,7, GSM1: <-
2010-09-08 07:09:18,7, GSM1: -> AT
2010-09-08 07:09:18,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:09:19,7, GSM1: <- O
2010-09-08 07:09:19,7, GSM1: -> ^Z
2010-09-08 07:09:19,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:09:24,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2010-09-08 07:09:24,7, GSM1: <-
2010-09-08 07:09:24,7, GSM1: -> AT
2010-09-08 07:09:24,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:09:24,7, GSM1: <- O
2010-09-08 07:09:25,7, GSM1: -> ^Z
2010-09-08 07:09:25,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:09:30,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2010-09-08 07:09:30,7, GSM1: <-
2010-09-08 07:09:30,7, GSM1: -> AT
2010-09-08 07:09:30,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:09:30,7, GSM1: <- O
2010-09-08 07:09:30,7, GSM1: -> ^Z
2010-09-08 07:09:30,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:09:35,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2010-09-08 07:09:35,7, GSM1: <-
2010-09-08 07:09:36,7, GSM1: -> AT
2010-09-08 07:09:36,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:09:36,7, GSM1: <- O
2010-09-08 07:09:36,7, GSM1: -> ^Z
2010-09-08 07:09:36,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:09:41,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2010-09-08 07:09:41,7, GSM1: <-
2010-09-08 07:09:41,7, GSM1: -> AT
2010-09-08 07:09:41,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:09:42,7, GSM1: <- O
2010-09-08 07:09:42,7, GSM1: -> ^Z
2010-09-08 07:09:42,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:09:47,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2010-09-08 07:09:47,7, GSM1: <-
2010-09-08 07:09:47,3, GSM1: Modem is not ready to answer commands (Timeouts: 1)
2010-09-08 07:09:57,6, GSM1: Checking device for incoming SMS
2010-09-08 07:09:57,6, GSM1: Checking if modem is ready
2010-09-08 07:09:57,7, GSM1: -> AT
2010-09-08 07:09:57,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:09:57,7, GSM1: <- O
2010-09-08 07:09:57,7, GSM1: -> ^Z
2010-09-08 07:09:57,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:10:02,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2010-09-08 07:10:02,7, GSM1: <-
2010-09-08 07:10:03,7, GSM1: -> AT
2010-09-08 07:10:03,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:10:03,7, GSM1: <- O
2010-09-08 07:10:03,7, GSM1: -> ^Z
2010-09-08 07:10:03,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:10:08,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2010-09-08 07:10:08,7, GSM1: <-
2010-09-08 07:10:08,7, GSM1: -> AT
2010-09-08 07:10:08,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:10:09,7, GSM1: <- O
2010-09-08 07:10:09,7, GSM1: -> ^Z
2010-09-08 07:10:09,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:10:14,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2010-09-08 07:10:14,7, GSM1: <-
2010-09-08 07:10:14,7, GSM1: -> AT
2010-09-08 07:10:14,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:10:14,7, GSM1: <- O
2010-09-08 07:10:15,7, GSM1: -> ^Z
2010-09-08 07:10:15,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:10:20,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2010-09-08 07:10:20,7, GSM1: <-
2010-09-08 07:10:20,7, GSM1: -> AT
2010-09-08 07:10:20,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:10:20,7, GSM1: <- O
2010-09-08 07:10:20,7, GSM1: -> ^Z
2010-09-08 07:10:20,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:10:25,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2010-09-08 07:10:25,7, GSM1: <-
2010-09-08 07:10:26,7, GSM1: -> AT
2010-09-08 07:10:26,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:10:26,7, GSM1: <- O
2010-09-08 07:10:26,7, GSM1: -> ^Z
2010-09-08 07:10:26,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:10:31,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2010-09-08 07:10:31,7, GSM1: <-
2010-09-08 07:10:31,7, GSM1: -> AT
2010-09-08 07:10:31,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:10:32,7, GSM1: <- O
2010-09-08 07:10:32,7, GSM1: -> ^Z
2010-09-08 07:10:32,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:10:37,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2010-09-08 07:10:37,7, GSM1: <-
2010-09-08 07:10:37,7, GSM1: -> AT
2010-09-08 07:10:37,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:10:37,7, GSM1: <- O
2010-09-08 07:10:37,7, GSM1: -> ^Z
2010-09-08 07:10:37,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:10:42,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2010-09-08 07:10:42,7, GSM1: <-
2010-09-08 07:10:43,7, GSM1: -> AT
2010-09-08 07:10:43,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:10:43,7, GSM1: <- O
2010-09-08 07:10:43,7, GSM1: -> ^Z
2010-09-08 07:10:43,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:10:48,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2010-09-08 07:10:48,7, GSM1: <-
2010-09-08 07:10:48,7, GSM1: -> AT
2010-09-08 07:10:48,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:10:49,7, GSM1: <- O
2010-09-08 07:10:49,7, GSM1: -> ^Z
2010-09-08 07:10:49,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:10:54,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2010-09-08 07:10:54,7, GSM1: <-
2010-09-08 07:10:54,7, GSM1: -> AT
2010-09-08 07:10:54,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:10:54,7, GSM1: <- O
2010-09-08 07:10:55,7, GSM1: -> ^Z
2010-09-08 07:10:55,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:11:00,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2010-09-08 07:11:00,7, GSM1: <-
2010-09-08 07:11:00,3, GSM1: Modem is not ready to answer commands (Timeouts: 1)
2010-09-08 07:11:10,6, GSM1: Checking device for incoming SMS
2010-09-08 07:11:10,6, GSM1: Checking if modem is ready
2010-09-08 07:11:10,7, GSM1: -> AT
2010-09-08 07:11:10,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:11:10,7, GSM1: <- O
2010-09-08 07:11:10,7, GSM1: -> ^Z
2010-09-08 07:11:10,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:11:15,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2010-09-08 07:11:15,7, GSM1: <-
2010-09-08 07:11:15,7, GSM1: -> AT
2010-09-08 07:11:15,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:11:16,7, GSM1: <- O
2010-09-08 07:11:16,7, GSM1: -> ^Z
2010-09-08 07:11:16,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:11:21,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2010-09-08 07:11:21,7, GSM1: <-
2010-09-08 07:11:21,7, GSM1: -> AT
2010-09-08 07:11:21,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:11:22,7, GSM1: <- O
2010-09-08 07:11:22,7, GSM1: -> ^Z
2010-09-08 07:11:22,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:11:27,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2010-09-08 07:11:27,7, GSM1: <-
2010-09-08 07:11:27,7, GSM1: -> AT
2010-09-08 07:11:27,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:11:27,7, GSM1: <- O
2010-09-08 07:11:27,7, GSM1: -> ^Z
2010-09-08 07:11:27,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:11:32,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2010-09-08 07:11:32,7, GSM1: <-
2010-09-08 07:11:33,7, GSM1: -> AT
2010-09-08 07:11:33,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:11:33,7, GSM1: <- O
2010-09-08 07:11:33,7, GSM1: -> ^Z
2010-09-08 07:11:33,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:11:38,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2010-09-08 07:11:38,7, GSM1: <-
2010-09-08 07:11:38,7, GSM1: -> AT
2010-09-08 07:11:38,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:11:39,7, GSM1: <- O
2010-09-08 07:11:39,7, GSM1: -> ^Z
2010-09-08 07:11:39,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:11:44,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2010-09-08 07:11:44,7, GSM1: <-
2010-09-08 07:11:44,7, GSM1: -> AT
2010-09-08 07:11:44,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:11:44,7, GSM1: <- O
2010-09-08 07:11:45,7, GSM1: -> ^Z
2010-09-08 07:11:45,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:11:50,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2010-09-08 07:11:50,7, GSM1: <-
2010-09-08 07:11:50,7, GSM1: -> AT
2010-09-08 07:11:50,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:11:50,7, GSM1: <- O
2010-09-08 07:11:50,7, GSM1: -> ^Z
2010-09-08 07:11:50,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:11:55,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2010-09-08 07:11:55,7, GSM1: <-
2010-09-08 07:11:56,7, GSM1: -> AT
2010-09-08 07:11:56,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:11:56,7, GSM1: <- O
2010-09-08 07:11:56,7, GSM1: -> ^Z
2010-09-08 07:11:56,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:12:01,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2010-09-08 07:12:01,7, GSM1: <-
2010-09-08 07:12:01,7, GSM1: -> AT
2010-09-08 07:12:01,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:12:02,7, GSM1: <- O
2010-09-08 07:12:02,7, GSM1: -> ^Z
2010-09-08 07:12:02,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:12:07,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2010-09-08 07:12:07,7, GSM1: <-
2010-09-08 07:12:07,7, GSM1: -> AT
2010-09-08 07:12:07,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:12:07,7, GSM1: <- O
2010-09-08 07:12:07,7, GSM1: -> ^Z
2010-09-08 07:12:07,7, GSM1: Command is sent, waiting for the answer
2010-09-08 07:12:12,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2010-09-08 07:12:12,7, GSM1: <-
2010-09-08 07:12:12,3, GSM1: Modem is not ready to answer commands (Timeouts: 1)
2010-09-08 07:12:22,6, GSM1: Checking device for incoming SMS
2010-09-08 07:12:22,6, GSM1: Checking if modem is ready
|