Thanks Nikos,
for the tip i tried that, i found out the problem was actually mine , i had 
added a new line to the kannel.conf (max-messages=0) but unintentionally spelt 
it as max-message=0 (notice the s) so Kannel could not start after the restart. 
This was outputed in the logs of the bearerbox<conf file> command you 
suggested. Kannel now works.

Thanks a lot.




________________________________
From: Nikos Balkanas <[EMAIL PROTECTED]>
To: harry larry <[EMAIL PROTECTED]>; [email protected]
Sent: Thursday, November 27, 2008 4:12:03 AM
Subject: Re: Kannel startup issues


Well, it could be a problem with the init script (unlikely) or a problem with 
the configuration file.
Try to run by hand:
 
bearerbox <conf file> &
 
And watch the output. If there is a problem you should see a PANIC just before 
it stops. If it gets up repeat for boxes boxes, same mode one at a time. 
 
BR,
Nikos
 
 
----- Original Message ----- 
From: harry larry 
To: [email protected] 
Sent: Wednesday, November 26, 2008 7:23 PM
Subject: Kannel startup issues

Hi Everyone,

I have a deployment of kannel that has been working for a while now, even 
though it is still in development stage. The kannel connectes to 2 smsc's and 
has logs for the 2 bearerbox, sendbox and the smsservice groups. The kannel 
just stopped by itself and when i issue a startup command

/etc/rc.d/init.d/kannel start

 it says okay, but kannel status command

/etc/rc.d/init.d/kannel status
 tells me the bearerbox and sendbox is still shutdown. None of these commands 
gets to the log files. Is there a way i can remedy the situation, thanks for 
your help.

These are the last lines in he bearerbox logs:

2008-11-26 12:27:14 [23874] [0] INFO: Kannel bearerbox II version 1.4.1 starting
2008-11-26 12:27:14 [23874] [0] INFO: MAIN: Start-up done, entering mainloop
2008-11-26 12:27:14 [23874] [7] DEBUG: Thread 7 (gw/smsc/smsc_smpp.c:io_thread) 
maps to pid 23874.
2008-11-26 12:27:14 [23874] [7] INFO: Logging thread `7' to logfile 
`/var/log/kannel/smsc2.log' with level `0'.
2008-11-26 12:27:14 [23874] [5] INFO: Client connected from <127.0.0.1> 
2008-11-26 12:27:14 [23874] [8] DEBUG: Thread 8 (gw/bb_smscconn.c:sms_router) 
maps to pid 23874.
2008-11-26 12:27:14 [23874] [5] DEBUG: Started thread 9 (gw/bb_boxc.c:function)
2008-11-26 12:27:14 [23874] [9] DEBUG: Thread 9 (gw/bb_boxc.c:function) maps to 
pid 23874.
2008-11-26 12:27:14 [23874] [8] DEBUG: sms_router: time to sleep 30.00 secs.
2008-11-26 12:27:14 [23874] [8] DEBUG: sms_router: gwlist_len = 0
2008-11-26 12:27:14 [23874] [9] DEBUG: Started thread 10 
(gw/bb_boxc.c:boxc_sender)
2008-11-26 12:27:14 [23874] [10] DEBUG: Thread 10 (gw/bb_boxc.c:boxc_sender) 
maps to pid 23874.
2008-11-26 12:57:26 [23874] [10] DEBUG: send_msg: sending msg to box: 
<127.0.0.1>
2008-11-26 12:57:26 [23874] [10] DEBUG: boxc_sender: sent message to <127.0.0.1>
2008-11-26 12:57:26 [23874] [9] DEBUG: boxc_receiver: sms received
2008-11-26 12:57:26 [23874] [9] DEBUG: send_msg: sending msg to box: <127.0.0.1>
2008-11-26 12:57:26 [23874] [9] DEBUG: boxc_receiver: got ack
2008-11-26 12:57:43 [23874] [9] DEBUG: boxc_receiver: heartbeat with load value 
0 received
2008-11-26 13:23:38 [23874] [2] DEBUG: HTTP: Creating HTTPClient for 
`172.16.113.69'.
2008-11-26 13:23:38 [23874] [2] DEBUG: HTTP: Created HTTPClient area 0x86beb40.
2008-11-26 13:23:38 [23874] [3] DEBUG: HTTP: Resetting HTTPClient for 
`172.16.113.69'.
2008-11-26 13:23:59 [23874] [3] DEBUG: HTTP: Resetting HTTPClient for 
`172.16.113.69'.
2008-11-26 13:24:59 [23874] [1] DEBUG: Timeout for fd:34 appeares.
2008-11-26 13:24:59 [23874] [1] DEBUG: HTTP: Destroying HTTPClient area 
0x86beb40.
2008-11-26 13:24:59 [23874] [1] DEBUG: HTTP: Destroying HTTPClient for 
`172.16.113.69'.
2008-11-26 13:34:48 [23874] [10] DEBUG: send_msg: sending msg to box: 
<127.0.0.1>
2008-11-26 13:34:48 [23874] [10] DEBUG: boxc_sender: sent message to <127.0.0.1>
2008-11-26 13:34:48 [23874] [9] DEBUG: boxc_receiver: got ack
2008-11-26 13:34:48 [23874] [9] DEBUG: boxc_receiver: sms received
2008-11-26 13:34:48 [23874] [9] DEBUG: send_msg: sending msg to box: <127.0.0.1>
2008-11-26 13:34:48 [23874] [9] DEBUG: boxc_receiver: sms received
2008-11-26 13:34:48 [23874] [9] DEBUG: send_msg: sending msg to box: <127.0.0.1>
2008-11-26 13:35:13 [23874] [9] DEBUG: boxc_receiver: heartbeat with load value 
0 received
2008-11-26 13:39:38 [23874] [9] DEBUG: boxc_receiver: sms received
2008-11-26 13:39:38 [23874] [9] DEBUG: send_msg: sending msg to box: <127.0.0.1>
2008-11-26 13:41:43 [23874] [9] INFO: Connection closed by the box <127.0.0.1>
2008-11-26 13:41:43 [23874] [10] DEBUG: send_msg: sending msg to box: 
<127.0.0.1>
2008-11-26 13:41:43 [23874] [10] DEBUG: Thread 10 (gw/bb_boxc.c:boxc_sender) 
terminates.
2008-11-26 13:41:43 [23874] [9] DEBUG: Thread 9 (gw/bb_boxc.c:function) 
terminates.
2008-11-26 13:41:43 [23874] [0] WARNING: Killing signal or HTTP admin command 
received, shutting down...
2008-11-26 13:41:43 [23874] [0] DEBUG: Shutting down Kannel...
2008-11-26 13:41:43 [23874] [0] DEBUG: shutting down smsc
2008-11-26 13:41:43 [23874] [0] DEBUG: Shutting down SMSCConn 
SMPP:172.17.5.247:3787/3787:vmob87:esme (slow)
2008-11-26 13:41:44 [23874] [0] DEBUG: SMSCConn 
SMPP:172.17.5.247:3787/3787:vmob87:esme shut down.
2008-11-26 13:41:44 [23874] [0] DEBUG: Shutting down SMSCConn 
SMPP:10.200.6.248:3787/3787:vmob87:esme (slow)
2008-11-26 13:41:45 [23874] [0] DEBUG: SMSCConn 
SMPP:10.200.6.248:3787/3787:vmob87:esme shut down.
2008-11-26 13:41:45 [23874] [0] DEBUG: shutting down udp
2008-11-26 13:41:45 [23874] [4] DEBUG: Thread 4 (gw/bb_boxc.c:sms_to_smsboxes) 
terminates.
2008-11-26 13:41:45 [23874] [8] DEBUG: Thread 8 (gw/bb_smscconn.c:sms_router) 
terminates.
2008-11-26 13:41:45 [23874] [0] INFO: All flow threads have died, killing core
2008-11-26 13:41:45 [23874] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run) 
terminates.
2008-11-26 13:41:45 [23874] [0] DEBUG: Waiting for 2 
(gwlib/http.c:server_thread) to terminate
2008-11-26 13:41:45 [23874] [3] DEBUG: HTTP: No clients with requests, quitting.
2008-11-26 13:41:45 [23874] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) 
terminates.
2008-11-26 13:41:45 [23874] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) 
terminates.
2008-11-26 13:41:45 [23874] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) 
terminates.
2008-11-26 13:41:45 [23874] [0] INFO: Total WDP messages: received 0, sent 0
2008-11-26 13:41:45 [23874] [0] INFO: Total SMS messages: received 2, sent 4
2008-11-26 13:41:45 [23874] [0] DEBUG: Immutable octet strings: 190.



      

Reply via email to