Hi Linda:

    You have to be sure that no previous instance of bearerbox is
running when you intend to start the new one.

Try

ps -ef | grep bearerbox

if you get a line containing bearerbox in it, stop it. If this fails,
kill the process. Then, start it again. This is causing the "bind
failed" error.

Best regards,
Rodrigo.

On 11/10/05, linda <[EMAIL PROTECTED]> wrote:
> Hello,
>
> When starting Kannel and start bearerbox, I got these errors.
> Could you please help me figure out how to solve these problems??
>
> Do I need to start and stop Kannel anytime I use that?
> Because I saw start and stop only in Installing Kannel.
> Here is the problem when I start Kannel.
>
> [EMAIL PROTECTED] gateway-1.4.0]$ /etc/rc.d/init.d/kannel start
> Writing config files from database.
> Starting WAP gateway: bearerboxstart-stop-daemon: Unable to set gid to 500
> .
>
>
> And after that I tried to start bearerbox:
>
>
> [EMAIL PROTECTED] gw]$ ./bearerbox -v 1 /etc/kannel/kannel.conf
> ...
> 2005-11-10 09:26:09 [28722] [0] INFO: HTTP: Opening server at port 13000.
> 2005-11-10 09:26:09 [28722] [0] ERROR: bind failed
> 2005-11-10 09:26:09 [28722] [0] ERROR: System error 98: Address already in use
> 2005-11-10 09:26:09 [28722] [0] INFO: BOXC: 'smsbox-max-pending' not set, 
> using
> default (100).
> 2005-11-10 09:26:09 [28722] [3] ERROR: bind failed
> 2005-11-10 09:26:09 [28722] [3] ERROR: System error 98: Address already in use
> 2005-11-10 09:26:09 [28722] [3] PANIC: Could not open smsbox port 13001
> ...
> 2005-11-10 09:26:09 [28722] [0] ERROR: Couldn't bind a UDP socket to port 9200
> 2005-11-10 09:26:09 [28722] [0] ERROR: System error 98: Address already in use
> 2005-11-10 09:26:09 [28722] [3] PANIC: ./bearerbox [0x8055a24]
> 2005-11-10 09:26:09 [28722] [3] PANIC: ./bearerbox [0x80bcbcc]
> 2005-11-10 09:26:09 [28722] [0] ERROR: Couldn't bind a UDP socket to port 9201
> 2005-11-10 09:26:09 [28722] [0] ERROR: System error 98: Address already in use
> ...
> 2005-11-10 09:26:09 [28722] [6] PANIC: gwlib/socket.c:380: read_available:
> Assertion `fd >= 0' failed.
>
> Thank you very much for your help
>
>
>
>
>

Reply via email to