Good Day All,

I am totally new to Kannel. The status always give
*GSMModem*    AT2[GSMModem] (connecting, rcvd 0, sent 0, failed 0, queued 0
msgs)

I am attaching the various logs and the config files

I am using a gsm modem as smsc

Please help me out

Anand Ayyappan


"Formal education will make you a living; self-education will make you a
fortune." - Jim Rohn

Post free classified ads at http://www.getkochi.com

Attachment: kannel.conf
Description: Binary data

2009-04-02 09:43:06 [4367] [0] INFO: Added logfile `/var/log/kannel/smsbox.log' with level `0'.
2009-04-02 09:43:06 [4367] [0] INFO: Service global sender set as '919946945888'
2009-04-02 09:43:06 [4367] [0] INFO: HTTP: Opening server at port 13013.
2009-04-02 09:43:06 [4367] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 4367.
2009-04-02 09:43:06 [4367] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller)
2009-04-02 09:43:06 [4367] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 4367.
2009-04-02 09:43:06 [4367] [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread)
2009-04-02 09:43:06 [4367] [0] INFO: Set up send sms service at port 13013
2009-04-02 09:43:06 [4367] [3] DEBUG: Thread 3 (gw/smsbox.c:sendsms_thread) maps to pid 4367.
2009-04-02 09:43:06 [4367] [0] DEBUG: Started thread 3 (gw/smsbox.c:sendsms_thread)
2009-04-02 09:43:06 [4367] [0] DEBUG: ----------------------------------------------
2009-04-02 09:43:06 [4367] [0] DEBUG: Kannel smsbox version 1.4.1 starting
2009-04-02 09:43:06 [4367] [4] DEBUG: Thread 4 (gw/smsbox.c:obey_request_thread) maps to pid 4367.
2009-04-02 09:43:06 [4367] [0] DEBUG: Started thread 4 (gw/smsbox.c:obey_request_thread)
2009-04-02 09:43:06 [4367] [5] DEBUG: Thread 5 (gw/smsbox.c:url_result_thread) maps to pid 4367.
2009-04-02 09:43:06 [4367] [0] DEBUG: Started thread 5 (gw/smsbox.c:url_result_thread)
2009-04-02 09:43:06 [4367] [6] DEBUG: Thread 6 (gw/smsbox.c:http_queue_thread) maps to pid 4367.
2009-04-02 09:43:06 [4367] [0] DEBUG: Started thread 6 (gw/smsbox.c:http_queue_thread)
2009-04-02 09:43:06 [4367] [0] INFO: Connected to bearerbox at localhost port 13001.
2009-04-02 09:43:06 [4367] [7] DEBUG: Thread 7 (gw/heartbeat.c:heartbeat_thread) maps to pid 4367.
2009-04-02 09:43:06 [4367] [0] DEBUG: Started thread 7 (gw/heartbeat.c:heartbeat_thread)
2009-04-02 09:43:05 [4355] [6] DEBUG: AT2[GSMModem]: detecting modem type
2009-04-02 09:43:05 [4355] [6] INFO: AT2[GSMModem]: opening device
2009-04-02 09:43:05 [4355] [6] DEBUG: AT2[GSMModem]: device opened
2009-04-02 09:43:06 [4355] [6] DEBUG: AT2[GSMModem]: device opened
2009-04-02 09:43:06 [4355] [6] INFO: AT2[GSMModem]: speed set to 57600
2009-04-02 09:43:06 [4355] [6] DEBUG: AT2[GSMModem]: --> ^M
2009-04-02 09:43:05 [4355] [0] INFO: Added logfile `/var/log/kannel/smskannel.log' with level `0'.
2009-04-02 09:43:05 [4355] [0] INFO: Started access logfile `/tmp/access.log'.
2009-04-02 09:43:05 [4355] [0] INFO: HTTP: Opening server at port 13000.
2009-04-02 09:43:05 [4355] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 4355.
2009-04-02 09:43:05 [4355] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller)
2009-04-02 09:43:05 [4355] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 4355.
2009-04-02 09:43:05 [4355] [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread)
2009-04-02 09:43:05 [4355] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) maps to pid 4355.
2009-04-02 09:43:05 [4355] [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run)
2009-04-02 09:43:05 [4355] [0] DEBUG: starting smsbox connection module
2009-04-02 09:43:05 [4355] [0] INFO: BOXC: 'smsbox-max-pending' not set, using default (100).
2009-04-02 09:43:05 [4355] [4] DEBUG: Thread 4 (gw/bb_boxc.c:sms_to_smsboxes) maps to pid 4355.
2009-04-02 09:43:05 [4355] [0] DEBUG: Started thread 4 (gw/bb_boxc.c:sms_to_smsboxes)
2009-04-02 09:43:05 [4355] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run) maps to pid 4355.
2009-04-02 09:43:05 [4355] [0] DEBUG: Started thread 5 (gw/bb_boxc.c:smsboxc_run)
2009-04-02 09:43:05 [4355] [0] INFO: Set SMS resend frequency to 60 seconds.
2009-04-02 09:43:05 [4355] [0] INFO: SMS resend retry set to unlimited.
2009-04-02 09:43:05 [4355] [0] INFO: DLR rerouting for smsc id <GSMModem> disabled.
2009-04-02 09:43:05 [4355] [0] INFO: Added logfile `/var/log/kannel/smsc.log' with level `0'.
2009-04-02 09:43:05 [4355] [0] INFO: AT2[GSMModem]: configuration doesn't show modemtype. will autodetect
2009-04-02 09:43:05 [4355] [6] DEBUG: Thread 6 (gw/smsc/smsc_at.c:at2_device_thread) maps to pid 4355.
2009-04-02 09:43:05 [4355] [6] INFO: Logging thread `6' to logfile `/var/log/kannel/smsc.log' with level `0'.
2009-04-02 09:43:05 [4355] [0] DEBUG: Started thread 6 (gw/smsc/smsc_at.c:at2_device_thread)
2009-04-02 09:43:05 [4355] [7] DEBUG: Thread 7 (gw/bb_smscconn.c:sms_router) maps to pid 4355.
2009-04-02 09:43:05 [4355] [7] DEBUG: sms_router: time to sleep 30.00 secs.
2009-04-02 09:43:05 [4355] [0] DEBUG: Started thread 7 (gw/bb_smscconn.c:sms_router)
2009-04-02 09:43:05 [4355] [0] INFO: ----------------------------------------
2009-04-02 09:43:05 [4355] [0] INFO: Kannel bearerbox II version 1.4.1 starting
2009-04-02 09:43:05 [4355] [0] ERROR: fopen failed: couldn't open `/tmp/kannel.store'
2009-04-02 09:43:05 [4355] [0] ERROR: System error 2: No such file or directory
2009-04-02 09:43:05 [4355] [0] ERROR: fopen failed: couldn't open `/tmp/kannel.store.new'
2009-04-02 09:43:05 [4355] [0] ERROR: System error 2: No such file or directory
2009-04-02 09:43:05 [4355] [0] ERROR: fopen failed: couldn't open `/tmp/kannel.store.bak'
2009-04-02 09:43:05 [4355] [0] ERROR: System error 2: No such file or directory
2009-04-02 09:43:05 [4355] [0] INFO: Cannot open any store file, starting a new one
2009-04-02 09:43:05 [4355] [8] DEBUG: Thread 8 (gw/bb_store.c:store_dumper) maps to pid 4355.
2009-04-02 09:43:05 [4355] [8] DEBUG: Dumping 0 messages to store
2009-04-02 09:43:05 [4355] [0] DEBUG: Started thread 8 (gw/bb_store.c:store_dumper)
2009-04-02 09:43:05 [4355] [0] INFO: MAIN: Start-up done, entering mainloop
2009-04-02 09:43:05 [4355] [0] DEBUG: AT2[GSMModem]: start called
2009-04-02 09:43:05 [4355] [7] DEBUG: sms_router: gwlist_len = 0
2009-04-02 09:43:06 [4355] [5] INFO: Client connected from <127.0.0.1> 
2009-04-02 09:43:06 [4355] [9] DEBUG: Thread 9 (gw/bb_boxc.c:function) maps to pid 4355.
2009-04-02 09:43:06 [4355] [5] DEBUG: Started thread 9 (gw/bb_boxc.c:function)
2009-04-02 09:43:06 [4355] [10] DEBUG: Thread 10 (gw/bb_boxc.c:boxc_sender) maps to pid 4355.
2009-04-02 09:43:06 [4355] [9] DEBUG: Started thread 10 (gw/bb_boxc.c:boxc_sender)
2009-04-02 09:44:57 [4355] [2] DEBUG: HTTP: Creating HTTPClient for `127.0.0.1'.
2009-04-02 09:44:57 [4355] [2] DEBUG: HTTP: Created HTTPClient area 0x99cb258.
2009-04-02 09:44:57 [4355] [3] DEBUG: HTTP: Resetting HTTPClient for `127.0.0.1'.
2009-04-02 09:45:00 [4355] [3] DEBUG: HTTP: Resetting HTTPClient for `127.0.0.1'.
2009-04-02 09:46:00 [4355] [1] DEBUG: Timeout for fd:34 appeares.
2009-04-02 09:46:00 [4355] [1] DEBUG: HTTP: Destroying HTTPClient area 0x99cb258.
2009-04-02 09:46:00 [4355] [1] DEBUG: HTTP: Destroying HTTPClient for `127.0.0.1'.

Reply via email to