Hi I have installed SMSLib in my PC for communicating with DHIS to
send SMS. After that I made  configuration in DHIS but the sms service
didn't start. The configuration in DHIS was like this:

Gateway type:modem Gateway

Gateway Name: Modem    

Port *: /dev/ttyUSB2
    
BaudRate *: 9600     

Polling interval in seconds: *: 1
     
Manufacturer: Huawei     

Model:     

PIN:     

Inbound:     Yes

Outbound: Yes

------------------------------------------------------------------------------------------------------------
In SMSLib I ran this command to see if it was working and I got this 
message;

ubuntu@ubuntu-HP-ProBook-4530s:~$ 
cd/usr/src/smslib_source/smslib/dist/classes
bash: cd/usr/src/smslib_source/smslib/dist/classes: No such file or 
directory
ubuntu@ubuntu-HP-ProBook-4530s:~$ cd 
/usr/src/smslib_source/smslib/dist/classes
ubuntu@ubuntu-HP-ProBook-4530s:/usr/src/smslib_source/smslib/dist/classes$
java org.smslib.smsserver.SMSServer
SMSLib: A Java API library for sending and receiving SMS via a GSM
modem or other supported gateways.
This software is distributed under the terms of the Apache v2.0 License.
Web Site: http://smslib.org

SMSLib API version: 3.5.3
SMSServer version: 3.5.3
0      2013-03-21 01:33:04,113 [main] INFO  org.smslib.Service  -
SMSLib: A Java API library for sending and receiving SMS via a GSM
modem or other supported gateways.
This software is distributed under the terms of the Apache v2.0 License.
Web Site: http://smslib.org
3      2013-03-21 01:33:04,116 [main] INFO  org.smslib.Service  - Version: 
3.5.3
3      2013-03-21 01:33:04,116 [main] INFO  org.smslib.Service  - JRE
Version: 1.7.0_15
6      2013-03-21 01:33:04,119 [main] INFO  org.smslib.Service  - JRE
Impl Version: 23.7-b01
6      2013-03-21 01:33:04,119 [main] INFO  org.smslib.Service  - O/S:
Linux / i386 / 3.5.0-17-generic
9      2013-03-21 01:33:04,122 [main] INFO
org.smslib.smsserver.SMSServer  - SMSServer: set balancer to:
RoundRobinLoadBalancer
24     2013-03-21 01:33:04,137 [main] INFO
org.smslib.smsserver.SMSServer  - SMSServer: added gateway modem1 /
Default Serial Modem Gateway.
25     2013-03-21 01:33:04,138 [main] INFO
org.smslib.queues.DefaultQueueManager  - Queue directory not defined.
Queued messages will not be saved to filesystem.
26     2013-03-21 01:33:04,139 [main] DEBUG
org.smslib.threading.AServiceThread  - Initialized.
27     2013-03-21 01:33:04,140 [NotifyQueueManager] DEBUG
org.smslib.threading.AServiceThread  - Running...
27     2013-03-21 01:33:04,140 [NotifyQueueManager] DEBUG
org.smslib.notify.NotifyQueueManager$NotificationQueueManager  -
NotifyQueueManager running...
27     2013-03-21 01:33:04,140 [main] DEBUG
org.smslib.threading.AServiceThread  - Initialized.
28     2013-03-21 01:33:04,141 [DelayQueueManager] DEBUG
org.smslib.threading.AServiceThread  - Running...
28     2013-03-21 01:33:04,141 [DelayQueueManager] DEBUG
org.smslib.queues.AbstractQueueManager$DelayQueueManager  -
DelayQueueManager running...
29     2013-03-21 01:33:04,142 [main] DEBUG
org.smslib.threading.AServiceThread  - Initialized.
29     2013-03-21 01:33:04,142 [WatchDog] DEBUG
org.smslib.threading.AServiceThread  - Running...
33     2013-03-21 01:33:04,146 [Thread-4] INFO
org.smslib.modem.ModemGateway  - GTW: modem1: Starting gateway, using
Generic AT Handler.
33     2013-03-21 01:33:04,146 [Thread-4] INFO
org.smslib.modem.SerialModemDriver  - GTW: modem1: Opening: COM1
@57600
RXTX fhs_lock() Error: creating lock file: /var/lock/LCK..ttyUSB0:
File existsRXTX fhs_lock() Error: creating lock file:
/var/lock/LCK..ttyUSB0: File existsRXTX fhs_lock() Error: creating
lock file: /var/lock/LCK..ttyUSB0: File exists125    2013-03-21
01:33:04,238 [Thread-4] INFO  org.smslib.modem.SerialModemDriver  -
GTW: modem1: Closing: COM1 @57600
1036   2013-03-21 01:33:05,149 [NotifyQueueManager] DEBUG
org.smslib.notify.NotifyQueueManager$NotificationQueueManager  -
NotifyQueueManager end...
1036   2013-03-21 01:33:05,149 [DelayQueueManager] DEBUG
org.smslib.queues.AbstractQueueManager$DelayQueueManager  -
DelayQueueManager end...
1137   2013-03-21 01:33:05,250 [NotifyQueueManager] DEBUG
org.smslib.threading.AServiceThread  - Running...
1137   2013-03-21 01:33:05,250 [NotifyQueueManager] DEBUG
org.smslib.notify.NotifyQueueManager$NotificationQueueManager  -
NotifyQueueManager running...
1238   2013-03-21 01:33:05,351 [WatchDog] DEBUG
org.smslib.threading.AServiceThread  - Stopped.
1238   2013-03-21 01:33:05,351 [main] INFO
org.smslib.modem.ModemGateway  - GTW: modem1: Stopping gateway...
1239   2013-03-21 01:33:05,352 [main] INFO
org.smslib.modem.SerialModemDriver  - GTW: modem1: Closing: COM1
@57600
1239   2013-03-21 01:33:05,352 [main] INFO
org.smslib.modem.ModemGateway  - GTW: modem1: Gateway stopped.
1239   2013-03-21 01:33:05,352 [NotifyQueueManager] DEBUG
org.smslib.notify.NotifyQueueManager$NotificationQueueManager  -
NotifyQueueManager end...
1340   2013-03-21 01:33:05,453 [NotifyQueueManager] DEBUG
org.smslib.threading.AServiceThread  - Running...
1340   2013-03-21 01:33:05,453 [NotifyQueueManager] DEBUG
org.smslib.notify.NotifyQueueManager$NotificationQueueManager  -
NotifyQueueManager running...
1341   2013-03-21 01:33:05,454 [NotifyQueueManager] DEBUG
org.smslib.notify.NotifyQueueManager$NotificationQueueManager  -
NotifyQueueManager end...
1440   2013-03-21 01:33:05,553 [NotifyQueueManager] DEBUG
org.smslib.threading.AServiceThread  - Stopped.
1442   2013-03-21 01:33:05,555 [main] ERROR
org.smslib.smsserver.SMSServer  - SMSServer error!
org.smslib.GatewayException: Comm library exception:
java.lang.RuntimeException: gnu.io.NoSuchPortException
    at 
org.smslib.modem.SerialModemDriver.connectPort(SerialModemDriver.java:102)
    at org.smslib.modem.AModemDriver.connect(AModemDriver.java:114)
    at org.smslib.modem.ModemGateway.startGateway(ModemGateway.java:189)
    at org.smslib.Service$1Starter.run(Service.java:277)
1446   2013-03-21 01:33:05,559 [main] INFO
org.smslib.modem.ModemGateway  - GTW: modem1: Stopping gateway...
1446   2013-03-21 01:33:05,559 [main] INFO
org.smslib.modem.SerialModemDriver  - GTW: modem1: Closing: COM1
@57600
1447   2013-03-21 01:33:05,560 [main] INFO
org.smslib.modem.ModemGateway  - GTW: modem1: Gateway stopped.
6450   2013-03-21 01:33:10,563 [main] INFO
org.smslib.smsserver.SMSServer  - SMSServer exiting normally.
6452   2013-03-21 01:33:10,565 [Thread-0] INFO
org.smslib.smsserver.SMSServer$Shutdown  - SMSServer shutting down,
please wait...
6453   2013-03-21 01:33:10,566 [Thread-0] INFO
org.smslib.modem.ModemGateway  - GTW: modem1: Stopping gateway...
6453   2013-03-21 01:33:10,566 [Thread-0] INFO
org.smslib.modem.SerialModemDriver  - GTW: modem1: Closing: COM1
@57600
6454   2013-03-21 01:33:10,567 [Thread-0] INFO
org.smslib.modem.ModemGateway  - GTW: modem1: Gateway stopped.

May you please help me to get out of this problem.

-- 
JOSEPH THOBIAS
P.O.BOX 490,
DODOMA.
*Phone*:+255 713951382
*email:* [email protected]
*website:* www.udom.ac.tz

-- 
You received this message because you are subscribed to the Google Groups 
"SMSLib Discussion Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/smslib?hl=en.
To view this discussion on the web visit 
https://groups.google.com/d/msg/smslib/-/79l7VjUjo84J.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to