Hello, Sorry for sending too much emails.. but kannel keeps on crashing. Here is the last part of the log file:
2005-09-03 07:59:48 [52299] [7] DEBUG: command_status: 0 = 0x00000000 2005-09-03 07:59:48 [52299] [7] DEBUG: sequence_number: 375 = 0x00000177 2005-09-03 07:59:48 [52299] [7] DEBUG: SMPP PDU dump ends. 2005-09-03 07:59:48 [52299] [7] DEBUG: SMPP[smscid]: Got PDU: 2005-09-03 07:59:48 [52299] [7] DEBUG: SMPP PDU 0x8101e00 dump: 2005-09-03 07:59:48 [52299] [7] DEBUG: type_name: enquire_link_resp 2005-09-03 07:59:48 [52299] [7] DEBUG: command_id: 2147483669 = 0x80000015 2005-09-03 07:59:48 [52299] [7] DEBUG: command_status: 0 = 0x00000000 2005-09-03 07:59:48 [52299] [7] DEBUG: sequence_number: 375 = 0x00000177 2005-09-03 07:59:48 [52299] [7] DEBUG: SMPP PDU dump ends. 2005-09-03 08:00:01 [52299] [2] DEBUG: HTTP: Creating HTTPClient for `[my ip]'. 2005-09-03 08:00:01 [52299] [3] DEBUG: Shutting down Kannel... 2005-09-03 08:00:01 [52299] [3] DEBUG: shutting down smsc 2005-09-03 08:00:01 [52299] [3] DEBUG: Shutting down SMSCConn FAKE, slow 2005-09-03 08:00:01 [52299] [3] DEBUG: Shutting down SMSCConn SMPP:213.33.209.18:4400/4400:2rsant:VMA (slow) 2005-09-03 08:00:01 [52299] [6] DEBUG: smsc_fake connection has completed shutdown. 2005-09-03 08:00:01 [52299] [6] DEBUG: Thread 6 (gw/smsc/smsc_fake.c:fake_listener) terminates. 2005-09-03 08:00:01 [52299] [7] DEBUG: SMPP[smscid]: Sending unbind: 2005-09-03 08:00:01 [52299] [7] DEBUG: SMPP PDU 0x8101e00 dump: 2005-09-03 08:00:01 [52299] [7] DEBUG: type_name: unbind 2005-09-03 08:00:01 [52299] [7] DEBUG: command_id: 6 = 0x00000006 2005-09-03 08:00:01 [52299] [7] DEBUG: command_status: 0 = 0x00000000 2005-09-03 08:00:01 [52299] [7] DEBUG: sequence_number: 376 = 0x00000178 2005-09-03 08:00:01 [52299] [7] DEBUG: SMPP PDU dump ends. 2005-09-03 08:00:01 [52299] [7] DEBUG: SMPP[smscid]: Got PDU: 2005-09-03 08:00:01 [52299] [7] DEBUG: SMPP PDU 0x8101e00 dump: 2005-09-03 08:00:01 [52299] [7] DEBUG: type_name: unbind_resp 2005-09-03 08:00:01 [52299] [7] DEBUG: command_id: 2147483654 = 0x80000006 2005-09-03 08:00:01 [52299] [7] DEBUG: command_status: 0 = 0x00000000 2005-09-03 08:00:01 [52299] [7] DEBUG: sequence_number: 376 = 0x00000178 2005-09-03 08:00:01 [52299] [7] DEBUG: SMPP PDU dump ends. 2005-09-03 08:00:01 [52299] [7] DEBUG: SMPP[smscid]: io_thread: break and shutting down 2005-09-03 08:00:01 [52299] [7] DEBUG: Thread 7 (gw/smsc/smsc_smpp.c:io_thread) terminates. 2005-09-03 08:00:01 [52299] [3] DEBUG: SMSCConn SMPP:213.33.209.18:4400/4400:2rsant:VMA shut down. 2005-09-03 08:00:01 [52299] [3] DEBUG: shutting down udp 2005-09-03 08:00:01 [52299] [3] DEBUG: HTTP: Destroying HTTPClient area 0x8122840. 2005-09-03 08:00:01 [52299] [3] DEBUG: HTTP: Destroying HTTPClient for `[myip]'. 2005-09-03 08:00:01 [52299] [4] DEBUG: Thread 4 (gw/bb_boxc.c:sms_to_smsboxes) terminates. 2005-09-03 08:00:01 [52299] [10] DEBUG: send_msg: sending msg to box: <127.0.0.1> 2005-09-03 08:00:01 [52299] [10] DEBUG: Thread 10 (gw/bb_boxc.c:boxc_sender) terminates. 2005-09-03 08:00:01 [52299] [9] INFO: Connection closed by the box <127.0.0.1> 2005-09-03 08:00:01 [52299] [9] DEBUG: Thread 9 (gw/bb_boxc.c:function) terminates. 2005-09-03 08:00:01 [52299] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run) terminates. 2005-09-03 08:00:01 [52299] [8] DEBUG: Thread 8 (gw/bb_smscconn.c:sms_router) terminates. 2005-09-03 08:00:07 [52299] [0] WARNING: Killing signal or HTTP admin command received, shutting down... 2005-09-03 08:00:07 [52299] [0] INFO: All flow threads have died, killing core 2005-09-03 08:00:07 [52299] [0] DEBUG: Waiting for 2 (gwlib/http.c:server_thread) to terminate 2005-09-03 08:00:07 [52299] [3] DEBUG: HTTP: No clients with requests, quitting. 2005-09-03 08:00:07 [52299] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) terminates. 2005-09-03 08:00:07 [52299] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) terminates. 2005-09-03 08:00:07 [52299] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) terminates. 2005-09-03 08:00:07 [52299] [0] INFO: Total WDP messages: received 0, sent 0 2005-09-03 08:00:07 [52299] [0] INFO: Total SMS messages: received 0, sent 1 2005-09-03 08:00:07 [52299] [0] DEBUG: Immutable octet strings: 171. What the hell happened at 8am local time? Thanks in advance for your help. Best Regards, Reuben Sant ______________________ Address: "Soleado", Bidnija Road, Bidnija, Limits of St.Paul's Bay. SPB 13. Malta Mob: (+356) 79 313645 [try this first pls] Tel: (+356) 21 424222 Email: [EMAIL PROTECTED] MSN: [EMAIL PROTECTED] Web: http://www.reubensant.net ----- Original Message ----- From: "Rodrigo Cremaschi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[email protected]> Sent: Friday, September 02, 2005 3:35 PM Subject: Re: Kannel Suicide Hi Reuben, I would recommend you to test one connection at a time. Set loglevel to 0, check the log files to see what is happening. Kannel should not behave in such a way. Send conf file and the relevant log file to the list if you cannot see what is wrong. Best regards. Rodrigo. On 9/2/05, Reuben Sant <[EMAIL PROTECTED]> wrote: > > Hello, > > I have just installed kannel and I am testing it with my SMSC via SMPP. > First of all, the provider gave me 2 logins just in case. I have created two > groups with these logins and when kannel starts it tries to connect to both > of them. Is that ok to put more than one group in the conf? > > My problem is that when I start kannel and send an sms via the HTTP service > on my server everything is ok and I leave bearerbox and smsbox running. But > when I check back on them, I always find something wrong. Sometimes smsbox > kills itself and the HTTP service is no longer available.. Sometimes both > processes kill themselves. Sometimes brearerbox looses connection with the > SMSC and I have to restart bearerbox for it to try to login again. Is there > a way how this can be avoided? If the connection is lost with the SMSC, can > bearerbox reconnect to the SMSC automatically? If the processes are > terminated unexpectedly, can I create a bash script that detects if they are > running and if not, it launches them? I was going to killall bearerbox and > killall smsbox every few hours and re launch them again but it is not very > wise because kannel might still be down for hours until the next killall and > relaunch commands are executed. I dont afford one second of downtime. And if > kannel was performing ok, it would have been killed and relaunched for > nothing. Can anyone help please in avoiding kannel to commit suicide? Or if > it does, can we resurrect it immediately? > > Best Regards, > > > Reuben Sant > > ______________________ > Address: "Soleado", Bidnija Road, Bidnija, Limits of St.Paul's Bay. SPB 13. > Malta > Mob: (+356) 79 313645 [try this first pls] > Tel: (+356) 21 424222 > Email: [EMAIL PROTECTED] > MSN: [EMAIL PROTECTED] > Web: http://www.reubensant.net > >
