And that is why your kannel is shutting down.  Your main.conf is missing a
lot of must-have parameters.
The kannel package comes with a sample and basic configuration file. Look it
up and start from there.

Kind regards,
P.

On Tue, Oct 25, 2011 at 10:51 PM, Fourat ZOUARI <[email protected]> wrote:

> All my configuration is the main.conf file containing this:
>
> group = core
>> admin-port = 1300
>> admin-password = fxxbar
>
>
> These 3 lines shall keep bearerbox running and listening on port 1300.
>
>
>
> On Tue, Oct 25, 2011 at 8:49 PM, Otandeka Simon Peter <[email protected]
> > wrote:
>
>>
>> Please post your configuration file. There could be an error.
>>
>> P.
>>
>>
>> On Tue, Oct 25, 2011 at 10:37 PM, Fourat ZOUARI <[email protected]> wrote:
>>
>>> Hi,
>>>
>>> I've just compiled Kannel 1.4.3 and tried to start bearerbox like this:
>>>
>>> # /usr/local/sbin/bearerbox -v 0 main.conf
>>>
>>> 2011-10-25 20:29:53 [19391] [0] INFO: Debug_lvl = 0, log_file = <none>,
>>>> log_lvl = 0
>>>
>>> 2011-10-25 20:29:53 [19391] [0] WARNING: DLR: using default 'internal'
>>>> for storage type.
>>>
>>> 2011-10-25 20:29:53 [19391] [0] INFO: DLR using storage type: internal
>>>
>>> 2011-10-25 20:29:53 [19391] [0] DEBUG: Kannel bearerbox version `1.4.3'.
>>>
>>> Build `Oct 25 2011 20:27:35', compiler `4.4.3'.
>>>
>>> System Linux, release 2.6.32-32-generic-pae, version #62-Ubuntu SMP Wed
>>>> Apr 20 22:10:33 UTC 2011, machine i686.
>>>
>>> Hostname app-kannel, IP 127.0.1.1.
>>>
>>> Libxml version 2.7.6.
>>>
>>> Using OpenSSL 0.9.8k 25 Mar 2009.
>>>
>>> Using native malloc.
>>>
>>>
>>>> 2011-10-25 20:29:53 [19391] [0] WARNING: Kannel was compiled without WAP
>>>> support
>>>
>>> 2011-10-25 20:29:53 [19391] [0] INFO: HTTP: Opening server at port 1300.
>>>
>>> 2011-10-25 20:29:53 [19391] [0] DEBUG: Started thread 1
>>>> (gwlib/fdset.c:poller)
>>>
>>> 2011-10-25 20:29:53 [19391] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller)
>>>> maps to pid 19391.
>>>
>>> 2011-10-25 20:29:53 [19391] [0] DEBUG: Started thread 2
>>>> (gwlib/http.c:server_thread)
>>>
>>> 2011-10-25 20:29:53 [19391] [2] DEBUG: Thread 2
>>>> (gwlib/http.c:server_thread) maps to pid 19391.
>>>
>>> 2011-10-25 20:29:53 [19391] [0] DEBUG: Started thread 3
>>>> (gw/bb_http.c:httpadmin_run)
>>>
>>> 2011-10-25 20:29:53 [19391] [3] DEBUG: Thread 3
>>>> (gw/bb_http.c:httpadmin_run) maps to pid 19391.
>>>
>>> 2011-10-25 20:29:53 [19391] [0] INFO:
>>>> ----------------------------------------
>>>
>>> 2011-10-25 20:29:53 [19391] [0] INFO: Kannel bearerbox II version 1.4.3
>>>> starting
>>>
>>> 2011-10-25 20:29:58 [19391] [0] INFO: MAIN: Start-up done, entering
>>>> mainloop
>>>
>>> 2011-10-25 20:29:58 [19391] [0] DEBUG: Shutting down Kannel...
>>>
>>> 2011-10-25 20:29:58 [19391] [0] DEBUG: shutting down smsc
>>>
>>> 2011-10-25 20:29:58 [19391] [0] INFO: All flow threads have died, killing
>>>> core
>>>
>>> 2011-10-25 20:29:58 [19391] [0] DEBUG: Waiting for 2
>>>> (gwlib/http.c:server_thread) to terminate
>>>
>>> 2011-10-25 20:29:58 [19391] [3] DEBUG: HTTP: No clients with requests,
>>>> quitting.
>>>
>>> 2011-10-25 20:29:58 [19391] [3] DEBUG: Thread 3
>>>> (gw/bb_http.c:httpadmin_run) terminates.
>>>
>>> 2011-10-25 20:29:58 [19391] [2] DEBUG: Thread 2
>>>> (gwlib/http.c:server_thread) terminates.
>>>
>>> 2011-10-25 20:29:58 [19391] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller)
>>>> terminates.
>>>
>>> 2011-10-25 20:29:58 [19391] [0] INFO: Total SMS messages: received 0,
>>>> sent 0
>>>
>>> 2011-10-25 20:29:58 [19391] [0] DEBUG: Immutable octet strings: 58.
>>>
>>>
>>> As for the main.conf file, i've simplified it to the minimum so i can
>>> focus more on the problem, here is it:
>>>
>>> group = core
>>>> admin-port = 1300
>>>> admin-password = fxxbar
>>>
>>>
>>> Any idea ?
>>>
>>> thanks
>>>
>>
>>
>

Reply via email to