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. Sat Apr 20, 2024 14:22
SMSTools3 Community » Help and support Bottom

[solved] problem with startup

  This topic is locked

Page:  1

Author Post
Member
Registered:
Jun 2009
Location: Cambodia
hello

i have problem with startup script
sudo /etc/init.d/sms3 start
i am running ubuntu 9.04 server

after entering command mentioned above system returns
sudo: /etc/init.d/sms3: command not found

and when i run script from bin
sudo /usr/bin/smsd

smsd is running but i have two instances of it

when i check ps -A
i see two instances and i cant send sms only recive

i have readed on this forum that this is problem with multiple instances of smsd running

here is errorr log:

2009-06-27 16:21:56,6, GSM1: Modem is registered to the network
2009-06-27 16:21:56,6, GSM1: Selecting PDU mode
2009-06-27 16:21:56,7, GSM1: -> AT+CMGF=0
2009-06-27 16:21:56,7, GSM1: Command is sent, waiting for the answer
2009-06-27 16:21:57,7, GSM1: <- OK
2009-06-27 16:21:57,7, GSM1: -> AT+CMGS=18
2009-06-27 16:21:57,7, GSM1: Command is sent, waiting for the answer
2009-06-27 16:21:57,7, GSM1: <- >
2009-06-27 16:21:57,7, GSM1: -> PDU REMOVED^Z
2009-06-27 16:21:57,7, GSM1: Command is sent, waiting for the answer
2009-06-27 16:22:57,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2009-06-27 16:22:57,7, GSM1: <-
2009-06-27 16:22:57,3, GSM1: The modem answer was not OK:
2009-06-27 16:22:57,5, GSM1: Waiting 10 sec. before retrying


« Last edit by keke on Sat Jun 27, 2009 15:59, 180 months ago. »
Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
In the Ubuntu package startup script is named /etc/init.d/smstools.

You are right about multiple instances, but in normal single modem use there should be two processes: first one is main process which spools outgoing messages and second one is modem handler.

What version of smsd you are using ( smsd -V ) ?

You were sending SMS to 385922... which is international presentation of a number in Croatia. I assume that this is correct (even when your location is Cambodia), at least international format should always be used (this depends on the version of smsd).

After one minute there was still no any answer from a modem. You might need to define your operators service center number, smsc = <number of the SMSC in international format without the starting "+"> in the modem settings of smsd.conf.

You could also check that your SIM can be used to send messages using an ordinary phone.

Member
Registered:
Jun 2009
Location: Cambodia
Topic owner
keke wrote
In the Ubuntu package startup script is named /etc/init.d/smstools.

pitonije@ubuntu:~$ sudo /etc/init.d/smstools stop
sudo: /etc/init.d/smstools: command not found

keke wrote
What version of smsd you are using ( smsd -V ) ?

v3.1.5

keke wrote
After one minute there was still no any answer from a modem. You might need to define your operators service center number, smsc = <number of the SMSC in international format without the starting "+"> in the modem settings of smsd.conf.

And that have fixed my problem

thanks keke now i am able to send sms also! works great

Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
Ok,

just copy smstools3/scripts/sms3 to /etc/init.d and then use this script. It's a part of daemon's functionality and provides a safe shutdown etc.

Thank's for using SMS Server Tools 3 :)

Member
Registered:
Jun 2009
Location: Cambodia
Topic owner
thank you for this wonderfull program !!!

works like charm on Option Icon 225 - T-mobile and ubuntu 9.04 server

  This topic is locked

Page:  1

SMSTools3 Community » Help and support Top

 
Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.