Hi David,

> 2008-02-17 04:32:38 [15441] [0] PANIC: Couldn't connect to the bearerbox.

    Is your bearerbox running BEFORE starting smsbox? It must.

Best regards.

On Feb 18, 2008 7:40 PM, David Bruno <[EMAIL PROTECTED]> wrote:
> Hi,
> I've been using SMS providers that have http api's for years. But now
> I need to go directly to an SMSC via SMPP.  I found some online
> tutorials and tried installing kannel myself. It compiled, but still
> no success.  I only need it for the basic function of send messages
> from my applications to the SMSC. I'm not dealing with modems or
> incoming messages.
> I would appreciate any assistance in installing it and sending from a
> PHP script.  Is other sofware required. How do I start the service?
> This was the output when I first ran smsbox: It starts out ok, but
> then there's a connection failed error.
>
> thank you,
> Bruno
>
> 2008-02-17 04:32:11 [9980] [0] PANIC: ./smsbox [0x805151d]
> 2008-02-17 04:32:38 [15441] [0] INFO: Debug_lvl = -1, log_file =
> <none>, log_lvl                = 0
> 2008-02-17 04:32:38 [15441] [0] DEBUG: Kannel smsbox version `1.4.1'.
> Build `Feb 17 2008 03:49:14', compiler `3.4.5 20051201 (Red Hat 3.4.5-2)'.
> System Linux, release 2.6.9-023stab043.1-smp, version #1 SMP Mon Mar 5
> 16:35:19                MSK 2007, machine i686.
> Libxml version 2.6.16.
> Using native malloc.
>
> 2008-02-17 04:32:38 [15441] [0] INFO: Service global sender set as '13013'
> 2008-02-17 04:32:38 [15441] [0] INFO: HTTP: Opening server at port 13013.
> 2008-02-17 04:32:38 [15441] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller)
> 2008-02-17 04:32:38 [15441] [0] DEBUG: Started thread 2
> (gwlib/http.c:server_thr               ead)
> 2008-02-17 04:32:38 [15441] [0] INFO: Set up send sms service at port 13013
> 2008-02-17 04:32:38 [15441] [0] DEBUG: Started thread 3
> (gw/smsbox.c:sendsms_thr               ead)
> 2008-02-17 04:32:38 [15441] [0] DEBUG:
> -----------------------------------------               -----
> 2008-02-17 04:32:38 [15441] [0] DEBUG: Kannel smsbox version 1.4.1 starting
> 2008-02-17 04:32:38 [15441] [0] DEBUG: Started thread 4
> (gw/smsbox.c:obey_reques               t_thread)
> 2008-02-17 04:32:38 [15441] [0] DEBUG: Started thread 5
> (gw/smsbox.c:url_result_               thread)
> 2008-02-17 04:32:38 [15441] [3] DEBUG: Thread 3
> (gw/smsbox.c:sendsms_thread) map               s to pid 15441.
> 2008-02-17 04:32:38 [15441] [0] DEBUG: Started thread 6
> (gw/smsbox.c:http_queue_               thread)
> 2008-02-17 04:32:38 [15441] [2] DEBUG: Thread 2
> (gwlib/http.c:server_thread) map               s to pid 15441.
> 2008-02-17 04:32:38 [15441] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller)
> maps to p               id 15441.
> 2008-02-17 04:32:38 [15441] [0] ERROR: connect failed
> 2008-02-17 04:32:38 [15441] [0] ERROR: System error 111: Connection refused
> 2008-02-17 04:32:38 [15441] [4] DEBUG: Thread 4
> (gw/smsbox.c:obey_request_thread               ) maps to pid 15441.
> 2008-02-17 04:32:38 [15441] [0] ERROR: error connecting to server
> `127.0.0.1' at                port `13001'
> 2008-02-17 04:32:38 [15441] [0] PANIC: Couldn't connect to the bearerbox.
> 2008-02-17 04:32:38 [15441] [5] DEBUG: Thread 5
> (gw/smsbox.c:url_result_thread)                maps to pid 15441.
> 2008-02-17 04:32:38 [15441] [0] PANIC: ./smsbox(gw_panic+0xa3) [0x807cf3f]
> 2008-02-17 04:32:38 [15441] [0] PANIC: ./smsbox(main+0xc1f) [0x8056537]
> 2008-02-17 04:32:38 [15441] [0] PANIC:
> /lib/tls/libc.so.6(__libc_start_main+0xd3               ) [0xb7d53e23]
>
>

Reply via email to