Keywords: Mode: All keywords (AND) |
Wed Jan 12, 2011 14:21
|
xefil: Seems really strange.
BTW I've copied (scp) directly from one host where it works to this one.
And... now it works!!!
I've not hold a copy of the old config or I would make a diff between the two files, even if they are identical...
Thank's anyway!
:)
Simon
|
Wed Jan 12, 2011 14:02
|
xefil: Operating system name and version: CentOS 5.5 64bit
Version of smsd: 3.1.14
Smsd installed from: sources
Name and model of a modem / phone: Siemens MC35i
Interface: serial
Hi, I'm trying my modem on a second server but obtain a strange error:
2011-01-12 14:56:48,2, smsd: Smsd v3.1.14 started.
2011-01-12 14:56:48,2, smsd: Running as root:root.
2011-01-12 14:56:48,2, smsd: There was 1 error while reading the config file:
2011-01-12 14:56:48,2, smsd: - There are no devices specified.
2011-01-12 14:56:48,7, smsd: Running startup_check (shell): /var/spool/sms/incoming/smsd_script.FB9bRL /tmp/smsd_data.kwpSVi
2011-01-12 14:56:48,7, smsd: Done: startup_check (shell), execution time 0 sec., status: 0 (0)
2011-01-12 14:56:48,2, smsd: There was 1 major problem found.
2011-01-12 14:56:48,2, smsd: Smsd mainprocess terminated.
Why this?
Config file:
devices = MC35I
logfile = /var/log/smsd.log
loglevel = 7
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
stats = /var/spool/sms/stats
stats_interval = 300
autosplit = 3
alarmhandler = /root/scripts/sms/sms_alarmhandler.sh
alarmlevel = 4
eventhandler = /root/scripts/sms/sms_eventhandler.sh
blocktime = 120
receive_before_send = yes
[MC35I]
device = /dev/ttyS0
incoming = yes
cs_convert = yes
init = AT+CPMS="MT","MT","MT"
check_memory_method = 31
init2 = AT+CSQ
Software downloaded and installed (compiled) without problems.
thank's for help.
Simon
|
Wed Jan 12, 2011 07:55
|
xefil:
Serial port can be opened, but the modem does not answer. Check the serial cable, and that it is connected to the correct connector in the server.
I'll check it better. I suppose there is a conflict problem with activation of embedded management interface to redirect console over lan, but have to investigate better.
In case of new errors I'll post it here, thank's!
Simon
|
Tue Jan 11, 2011 15:27
|
xefil: Operating system name and version: CentOS 5.5 64bit
Version of smsd: 3.1.14
Smsd installed from: sources
Name and model of a modem / phone: Siemens MC35i
Interface: serial
Hello, I'm having the following issue with the Siemens MC35i:
2011-01-11 16:19:02,2, smsd: Smsd v3.1.14 started.
2011-01-11 16:19:02,2, smsd: Running as root:root.
2011-01-11 16:19:02,7, smsd: Running startup_check (shell): /var/spool/sms/incoming/smsd_script.iP5kpI /tmp/smsd_data.0Xgq45
2011-01-11 16:19:02,7, smsd: Done: startup_check (shell), execution time 0 sec., status: 0 (0)
2011-01-11 16:19:02,4, smsd: File mode creation mask: 022 (0644, rw-r--r--).
2011-01-11 16:19:02,5, smsd: Outgoing file checker has started. PID: 5437.
2011-01-11 16:19:02,7, smsd: All PID's: 5437,5439
2011-01-11 16:19:02,5, SIEMENS_MC35i: Modem handler 0 has started. PID: 5439.
2011-01-11 16:19:02,5, SIEMENS_MC35i: Using check_memory_method 31: CMGL is used and messages are taken from the list.
2011-01-11 16:19:02,6, SIEMENS_MC35i: I have to send 1 short message for /var/spool/sms/checked/send_g31340
2011-01-11 16:19:02,6, SIEMENS_MC35i: Checking device for incoming SMS
2011-01-11 16:19:02,6, SIEMENS_MC35i: Checking if modem is ready
2011-01-11 16:19:02,7, SIEMENS_MC35i: -> AT
2011-01-11 16:21:53,5, smsd: Moved file /var/spool/sms/outgoing/send_zD5492 to /var/spool/sms/checked
2011-01-11 16:21:53,7, SIEMENS_MC35i: Command is sent, waiting for the answer
2011-01-11 16:21:58,7, SIEMENS_MC35i: put_command expected (OK)|(ERROR), timeout occurred. 1.
2011-01-11 16:21:58,7, SIEMENS_MC35i: <-
2011-01-11 16:21:58,7, SIEMENS_MC35i: -> .
Seems it freezes... ?!
this is my config:
devices = SIEMENS_MC35i
logfile = /var/log/smsd.log
loglevel = 9
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
stats = /var/spool/sms/stats
stats_interval = 300
autosplit = 3
alarmhandler = /root/scripts/sms/sms_alarmhandler.sh
alarmlevel = 4
eventhandler = /root/scripts/sms/sms_eventhandler.sh
blocktime = 120
receive_before_send = yes
[SIEMENS_MC35i]
device = /dev/ttyS0
incoming = yes
cs_convert = yes
init = AT+CPMS="SM"
check_memory_method = 31
init2 = AT+CSQ
I've added "init", "init2" and memory_mode (31) only today. Until some weeks ago the device was ok. It's possible something on system is changed. Is there a way to troubleshoot manually the modem or maybe something wrong?
Thank's
Simon
|
Fri Sep 24, 2010 07:23
|
xefil: Thank you for the answer.
Well, I work in a datacenter, this is the reason why I know I need an external antenna. For us is enough to have a good signal.
Thank you for the suggestions.
Cheers!
Simon
|
Tue Sep 21, 2010 13:43
|
xefil: Thank you for answer.
My only doubt is about the antenna. I've to install these servers into different Datacenters. Would be great if I could use an external antenna in addiction. I cannot understood on the site if the device can add external antenna.
Ideas?
Or other suggestions as well ;)
Thank's!
simon
|
Tue Sep 21, 2010 09:27
|
xefil: Operating system name and version:
Version of smsd:
Smsd installed from: sources / package repository / from elsewhere...
Name and model of a modem / phone:
Interface: serial / USB / some adapter...
Hello to all!
I'm planning to create a monitoring system with 8 servers.
It's time to add sms interface to send alerts. Also I've to purchase 8 sms modem with USB interface to connect to CentOS (64bit) servers.
Can someone suggest me a good, not so expensive modem to use with smstools3?
I'm still smstools3 user on another monitoring system. It works perfectly! :-)
Thank you!
Simon
|
Thu Feb 25, 2010 13:31
|
xefil: Thank you, I was trying exactly something similar as solution (PHP).
Thank's!!
Simon
|
Thu Feb 25, 2010 11:38
|
xefil: Operating system name and version: CentOS 5.4
Version of smsd: Version 3.1.6
Smsd installed from: sources
Name and model of a modem / phone: Nokia
Interface: serial
Hello!
I've a server that sends sms via GSM modem (serial connected). Until here all ok. Now I need another server sends sms trought the first server. Is there a way to use master server as sms gateway to send sms from remote server? They are connected via LAN from different locations.
Thank's
Simon
|
Fri Oct 09, 2009 08:57
|
xefil: Thank you for the fast answer!
BTW great job, I'll upgrade anyway asap.
Simon
|
Fri Oct 09, 2009 08:40
|
xefil: CentOS 5.3:
Version of smsd - not yet implemented:
Hello to all.
I've smstools version 2 installed on different servers. I would upgrade to this version and have a simply question.
Is there a way to SEND a CALL that play a WAV (voice) file instead of sending an sms?
If not, is it on a roadmap ? :)
Thank's
Simon
|