kannel cvs-20040120 bearerbox startup problems
Hi! I have been watching kannel closely for a close to two years now and finally decided to migrate over. I need to use the SMSC side of it (cimd2, SMPP and UCP). For now I'm using homegrown windows based system for it (written in delphi). I'm no longer see the point to develop the same things that kannel already has, I'm better channel my programming expertise to improve kannel. Base info: 1) kannel version:cvs-20040120 2) os: redhat 8 3) compilation and installation went ok. The problem is, that bearerbox starts up and immediately shuts down, without giving me any understandable error info. Log: 2004-01-23 09:34:25 [0] INFO: Added logfile `/var/log/kannel/kannel.log' with level `0'. 2004-01-23 09:34:25 [0] INFO: Started access logfile `/var/log/kannel/access.log'. 2004-01-23 09:34:25 [0] INFO: HTTP: Opening server at port 13000. 2004-01-23 09:34:25 [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) 2004-01-23 09:34:25 [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread) 2004-01-23 09:34:25 [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run) 2004-01-23 09:34:25 [0] INFO: 2004-01-23 09:34:25 [0] INFO: Kannel bearerbox II version cvs-20040120 starting 2004-01-23 09:34:30 [0] INFO: MAIN: Start-up done, entering mainloop 2004-01-23 09:34:30 [0] DEBUG: Shutting down Kannel... 2004-01-23 09:34:30 [0] DEBUG: shutting down smsc 2004-01-23 09:34:30 [0] DEBUG: shutting down udp 2004-01-23 09:34:30 [0] INFO: All flow threads have died, killing core 2004-01-23 09:34:30 [0] DEBUG: Waiting for 2 (gwlib/http.c:server_thread) to terminate 2004-01-23 09:34:30 [3] DEBUG: HTTP: No clients with requests, quitting. 2004-01-23 09:34:30 [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) terminates. 2004-01-23 09:34:30 [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) terminates. 2004-01-23 09:34:30 [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) terminates. 2004-01-23 09:34:30 [0] DEBUG: final clean-up for SMSCConn 2004-01-23 09:34:30 [0] INFO: Total WDP messages: received 0, sent 0 2004-01-23 09:34:30 [0] INFO: Total SMS messages: received 0, sent 0 2004-01-23 09:34:30 [0] DEBUG: Immutable octet strings: 123. kannel.conf: # BASE configuration group = core admin-port = 13000 #smsbox-port = 13001 #wapbox-port = 13002 admin-password = test status-password = test admin-deny-ip = *.*.*.* admin-allow-ip = 192.168.1.* log-file = /var/log/kannel/kannel.log log-level = 0 access-log = /var/log/kannel/access.log # SMSC connections # EMT, RLE, TELE2 #include = kannel_smsc.conf # SMSBOX SETUP group = smsbox bearerbox-host = localhost sendsms-port = 13013 log-file = /var/log/kannel/smsbox.log log-level = 0 access-log = /var/log/kannel/sms_access.log http-request-retry = 6480 http-queue-delay = 10 reply-couldnotfetch = couldnotfetch reply-couldnotrepresent = couldnotrepresent reply-requestfailed = requestfailed reply-emptymessage = emptymessage #unified-prefix = 00358,0 # SEND-SMS USERS group = sendsms-user username = tester password = foobar # SMS SERVICE Default # there should be default always group = sms-service keyword = default get-url = http://localhost/kannel.php?sender=%ptext=%atime=%toperator=%Psmsc=%i -- Andres Käver
Re: kannel cvs-20040120 bearerbox startup problems
kannel.conf: # BASE configuration group = core admin-port = 13000 #smsbox-port = 13001 #wapbox-port = 13002 admin-password = test status-password = test admin-deny-ip = *.*.*.* admin-allow-ip = 192.168.1.* log-file = /var/log/kannel/kannel.log log-level = 0 access-log = /var/log/kannel/access.log you have commented our *BOTH* smsbox-port and wapbox-port. Which means semantically that bearerbox is not acting as SMS gateway and not as WAP gateway. Which means again, that it does not act as anything. So that's why it stops acting anything, by doing nothing and stopping. ;) Stipe mailto:[EMAIL PROTECTED] --- Wapme Systems AG Münsterstr. 248 40470 Düsseldorf, NRW, Germany phone: +49.211.74845.0 fax: +49.211.74845.299 mailto:[EMAIL PROTECTED] http://www.wapme-systems.de/ --- -BEGIN PGP PUBLIC KEY BLOCK- Version: GnuPG v1.2.2 (Cygwin) mIsEP6mcYwEEAMDnUiUwrbb+xwTFWN6TxF2+XZu7/alwJMeCwMBRvXtPZqfjpPhS OkBpU0F4TrVuugz1HINTSaJTYq10AzDQXp5NkyWgckqW79nPAWuOX0dicbJk+cN2 nM2TI4KaxUDe6u8hghNEnH/i2lXsUu9apnP/iixzV81VC2je3uc9hZpnAAYptEVT dGlwZSBUb2xqIChUZWNobm9sb2d5IENlbnRlciAmIFJlc2VhcmNoIExhYikgPHRv bGpAd2FwbWUtc3lzdGVtcy5kZT6ItAQTAQIAHgUCP6mcYwIbAwYLCQgHAwIDFQID AxYCAQIeAQIXgAAKCRABV0w1BqPYRuSqA/wPzsQxao2YePENCtgRTrO86U6zg3sl OcS6CJFI4FZP5h/xD3GRsNH1+MPSvZlomDdpFnr547DGz/Kq9MXuQwVvlVig5yWZ K5dtKp1r5YLhxJQBhfirZbRFFnYmf19f18J8OoS28tuFVftDl1AIwJS3HLyBTv6H g2HyLAEKQIp30Q== =aYCI -END PGP PUBLIC KEY BLOCK-
Re: kannel cvs-20040120 bearerbox startup problems
Hi! Yeah, I missed the point, that you have to have some smsc defined! I just tought, that I start with just plain bearerbox. Problematic was, that bearerbox did not make any comment about missing-required parameters. Would be good to either document it more clearly or include some informative messages in log. -- Andres Käver kannel.conf: # BASE configuration group = core admin-port = 13000 #smsbox-port = 13001 #wapbox-port = 13002 admin-password = test status-password = test admin-deny-ip = *.*.*.* admin-allow-ip = 192.168.1.* log-file = /var/log/kannel/kannel.log log-level = 0 access-log = /var/log/kannel/access.log you have commented our *BOTH* smsbox-port and wapbox-port. Which means semantically that bearerbox is not acting as SMS gateway and not as WAP gateway. Which means again, that it does not act as anything. So that's why it stops acting anything, by doing nothing and stopping. ;) Stipe mailto:[EMAIL PROTECTED] --- Wapme Systems AG Münsterstr. 248 40470 Düsseldorf, NRW, Germany phone: +49.211.74845.0 fax: +49.211.74845.299 mailto:[EMAIL PROTECTED] http://www.wapme-systems.de/ --- -BEGIN PGP PUBLIC KEY BLOCK- Version: GnuPG v1.2.2 (Cygwin) mIsEP6mcYwEEAMDnUiUwrbb+xwTFWN6TxF2+XZu7/alwJMeCwMBRvXtPZqfjpPhS OkBpU0F4TrVuugz1HINTSaJTYq10AzDQXp5NkyWgckqW79nPAWuOX0dicbJk+cN2 nM2TI4KaxUDe6u8hghNEnH/i2lXsUu9apnP/iixzV81VC2je3uc9hZpnAAYptEVT dGlwZSBUb2xqIChUZWNobm9sb2d5IENlbnRlciAmIFJlc2VhcmNoIExhYikgPHRv bGpAd2FwbWUtc3lzdGVtcy5kZT6ItAQTAQIAHgUCP6mcYwIbAwYLCQgHAwIDFQID AxYCAQIeAQIXgAAKCRABV0w1BqPYRuSqA/wPzsQxao2YePENCtgRTrO86U6zg3sl OcS6CJFI4FZP5h/xD3GRsNH1+MPSvZlomDdpFnr547DGz/Kq9MXuQwVvlVig5yWZ K5dtKp1r5YLhxJQBhfirZbRFFnYmf19f18J8OoS28tuFVftDl1AIwJS3HLyBTv6H g2HyLAEKQIp30Q== =aYCI -END PGP PUBLIC KEY BLOCK-
Re: kannel cvs-20040120 bearerbox startup problems
Don't quote me ;-) ... but I'm guessing bearerbox is shutting down because there are no smsc connections to manage; and therefore it feels neglected and unwanted and quits (having nothing to do). On Friday, 2004-01-23 at 06:48:40 PM, Andres Käver scribbled: Hi! I have been watching kannel closely for a close to two years now and finally decided to migrate over. I need to use the SMSC side of it (cimd2, SMPP and UCP). For now I'm using homegrown windows based system for it (written in delphi). I'm no longer see the point to develop the same things that kannel already has, I'm better channel my programming expertise to improve kannel. Base info: 1) kannel version:cvs-20040120 2) os: redhat 8 3) compilation and installation went ok. The problem is, that bearerbox starts up and immediately shuts down, without giving me any understandable error info. Log: 2004-01-23 09:34:25 [0] INFO: Added logfile `/var/log/kannel/kannel.log' with level `0'. 2004-01-23 09:34:25 [0] INFO: Started access logfile `/var/log/kannel/access.log'. 2004-01-23 09:34:25 [0] INFO: HTTP: Opening server at port 13000. 2004-01-23 09:34:25 [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) 2004-01-23 09:34:25 [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread) 2004-01-23 09:34:25 [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run) 2004-01-23 09:34:25 [0] INFO: 2004-01-23 09:34:25 [0] INFO: Kannel bearerbox II version cvs-20040120 starting 2004-01-23 09:34:30 [0] INFO: MAIN: Start-up done, entering mainloop 2004-01-23 09:34:30 [0] DEBUG: Shutting down Kannel... 2004-01-23 09:34:30 [0] DEBUG: shutting down smsc 2004-01-23 09:34:30 [0] DEBUG: shutting down udp 2004-01-23 09:34:30 [0] INFO: All flow threads have died, killing core 2004-01-23 09:34:30 [0] DEBUG: Waiting for 2 (gwlib/http.c:server_thread) to terminate 2004-01-23 09:34:30 [3] DEBUG: HTTP: No clients with requests, quitting. 2004-01-23 09:34:30 [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) terminates. 2004-01-23 09:34:30 [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) terminates. 2004-01-23 09:34:30 [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) terminates. 2004-01-23 09:34:30 [0] DEBUG: final clean-up for SMSCConn 2004-01-23 09:34:30 [0] INFO: Total WDP messages: received 0, sent 0 2004-01-23 09:34:30 [0] INFO: Total SMS messages: received 0, sent 0 2004-01-23 09:34:30 [0] DEBUG: Immutable octet strings: 123. kannel.conf: # BASE configuration group = core admin-port = 13000 #smsbox-port = 13001 #wapbox-port = 13002 admin-password = test status-password = test admin-deny-ip = *.*.*.* admin-allow-ip = 192.168.1.* log-file = /var/log/kannel/kannel.log log-level = 0 access-log = /var/log/kannel/access.log # SMSC connections # EMT, RLE, TELE2 #include = kannel_smsc.conf # SMSBOX SETUP group = smsbox bearerbox-host = localhost sendsms-port = 13013 log-file = /var/log/kannel/smsbox.log log-level = 0 access-log = /var/log/kannel/sms_access.log http-request-retry = 6480 http-queue-delay = 10 reply-couldnotfetch = couldnotfetch reply-couldnotrepresent = couldnotrepresent reply-requestfailed = requestfailed reply-emptymessage = emptymessage #unified-prefix = 00358,0 # SEND-SMS USERS group = sendsms-user username = tester password = foobar # SMS SERVICE Default # there should be default always group = sms-service keyword = default get-url = http://localhost/kannel.php?sender=%ptext=%atime=%toperator=%Psmsc=%i -- Andres Käver -- Benjamin Lee Melbourne, Australia Always real.http://www.realthought.net/ __ Hindsight is always 20:20. -- Billy Wilder
Re: kannel cvs-20040120 bearerbox startup problems
Benjamin Lee wrote: Don't quote me ;-) ... but I'm guessing bearerbox is shutting down because there are no smsc connections to manage; and therefore it feels neglected and unwanted and quits (having nothing to do). which can in fact be stated as performative and resource efficient ;) Stipe mailto:[EMAIL PROTECTED] --- Wapme Systems AG Münsterstr. 248 40470 Düsseldorf, NRW, Germany phone: +49.211.74845.0 fax: +49.211.74845.299 mailto:[EMAIL PROTECTED] http://www.wapme-systems.de/ --- -BEGIN PGP PUBLIC KEY BLOCK- Version: GnuPG v1.2.2 (Cygwin) mIsEP6mcYwEEAMDnUiUwrbb+xwTFWN6TxF2+XZu7/alwJMeCwMBRvXtPZqfjpPhS OkBpU0F4TrVuugz1HINTSaJTYq10AzDQXp5NkyWgckqW79nPAWuOX0dicbJk+cN2 nM2TI4KaxUDe6u8hghNEnH/i2lXsUu9apnP/iixzV81VC2je3uc9hZpnAAYptEVT dGlwZSBUb2xqIChUZWNobm9sb2d5IENlbnRlciAmIFJlc2VhcmNoIExhYikgPHRv bGpAd2FwbWUtc3lzdGVtcy5kZT6ItAQTAQIAHgUCP6mcYwIbAwYLCQgHAwIDFQID AxYCAQIeAQIXgAAKCRABV0w1BqPYRuSqA/wPzsQxao2YePENCtgRTrO86U6zg3sl OcS6CJFI4FZP5h/xD3GRsNH1+MPSvZlomDdpFnr547DGz/Kq9MXuQwVvlVig5yWZ K5dtKp1r5YLhxJQBhfirZbRFFnYmf19f18J8OoS28tuFVftDl1AIwJS3HLyBTv6H g2HyLAEKQIp30Q== =aYCI -END PGP PUBLIC KEY BLOCK-
Re: kannel cvs-20040120 bearerbox startup problems
On Friday, 2004-01-23 at 10:45:16 PM, Stipe Tolj scribbled: *snip* there are no smsc connections to manage; and therefore it feels neglected and unwanted and quits (having nothing to do). which can in fact be stated as performative and resource efficient ;) Most definitely! ;-P -- Benjamin Lee Melbourne, Australia Always real.http://www.realthought.net/ __ Be valiant, but not too venturous. Let thy attire be comely, but not costly. -- John Lyly