Re: kannel cvs-20040120 bearerbox startup problems

Benjamin Lee <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
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=%p&text=%a&time=%t&operator=%P&smsc=%i
> 
> 
> -- 
> Andres Käver
> 
> 

-- 
Benjamin Lee
Melbourne, Australia         "Always real."    http://www.realthought.net/

__________________________________________________________________________
Hindsight is always 20:20.
		-- Billy Wilder
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.