Hi, Please post configuration file(s)
BR, Nikos ----- Original Message ----- From: heni karaa To: [email protected] Sent: Friday, October 09, 2009 9:18 PM Subject: HTTP: No clients with requests, quitting/PANIC: Couldn't connect to the bearerbox. Dear all, After typing the following command: $ /home/src/gateway-1.4.3/gw/bearerbox.exe /etc/kannel-1.4.3/kannel.conf No sms is indicated as sent, bellow the result: 2009-10-09 19:05:53 [1476] [0] INFO: Debug_lvl = -1, log_file = <none>, log_lvl= 0 2009-10-09 19:05:53 [1476] [0] WARNING: DLR: using default 'internal' for storage type. 2009-10-09 19:05:53 [1476] [0] INFO: DLR using storage type: internal 2009-10-09 19:05:53 [1476] [0] DEBUG: Kannel bearerbox version `1.4.3'. Build `Oct 8 2009 08:58:17', compiler `3.4.4 (cygming special, gdc 0.12, using dmd 0.125)'. System CYGWIN_NT-5.1, release 1.5.25(0.156/4/2), version 2008-06-12 19:34, machine i686. Hostname Libxml version 2.7.3. Using OpenSSL 0.9.8k 25 Mar 2009. Using native malloc. 2009-10-09 19:05:53 [1476] [0] INFO: HTTP: Opening server at port 13000. 2009-10-09 19:05:53 [1476] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) 2009-10-09 19:05:53 [1476] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 1476. 2009-10-09 19:05:53 [1476] [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread) 2009-10-09 19:05:53 [1476] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 1476. 2009-10-09 19:05:53 [1476] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) maps to pid 1476. 2009-10-09 19:05:53 [1476] [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run) 2009-10-09 19:05:53 [1476] [0] INFO: ---------------------------------------- 2009-10-09 19:05:53 [1476] [0] INFO: Kannel bearerbox II version 1.4.3 starting 2009-10-09 19:05:58 [1476] [0] INFO: MAIN: Start-up done, entering mainloop 2009-10-09 19:05:58 [1476] [0] DEBUG: Shutting down Kannel... 2009-10-09 19:05:58 [1476] [0] DEBUG: shutting down smsc 2009-10-09 19:05:58 [1476] [0] DEBUG: shutting down udp 2009-10-09 19:05:58 [1476] [0] INFO: All flow threads have died, killing core 2009-10-09 19:05:58 [1476] [0] DEBUG: Waiting for 2 (gwlib/http.c:server_thread) to terminate 2009-10-09 19:05:58 [1476] [3] DEBUG: HTTP: No clients with requests, quitting. 2009-10-09 19:05:58 [1476] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) terminates. 2009-10-09 19:05:58 [1476] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) terminates. 2009-10-09 19:05:58 [1476] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) terminates. 2009-10-09 19:05:58 [1476] [0] INFO: Total WDP messages: received 0, sent 0 2009-10-09 19:05:58 [1476] [0] INFO: Total SMS messages: received 0, sent 0 2009-10-09 19:05:58 [1476] [0] DEBUG: Immutable octet strings: 126. When i type this command $ /home/src/gateway-1.4.3/gw/smsbox.exe /etc/kannel-1.4.3/kannel.conf i have the following response PANIC: Couldn't connect to the bearerbox. 2009-10-09 19:07:36 [2840] [0] INFO: Debug_lvl = -1, log_file = <none>, log_lvl= 0 2009-10-09 19:07:36 [2840] [0] DEBUG: Kannel smsbox version `1.4.3'. Build `Oct 8 2009 08:58:17', compiler `3.4.4 (cygming special, gdc 0.12, using dmd 0.125)'. System CYGWIN_NT-5.1, release 1.5.25(0.156/4/2), version 2008-06-12 19:34, machine i686. Hostname Libxml version 2.7.3. Using OpenSSL 0.9.8k 25 Mar 2009. Using native malloc. 2009-10-09 19:07:36 [2840] [0] INFO: HTTP: Opening server at port 13013. 2009-10-09 19:07:36 [2840] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) 2009-10-09 19:07:36 [2840] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 2840. 2009-10-09 19:07:36 [2840] [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread) 2009-10-09 19:07:36 [2840] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 2840. 2009-10-09 19:07:36 [2840] [0] INFO: Set up send sms service at port 13013 2009-10-09 19:07:36 [2840] [3] DEBUG: Thread 3 (gw/smsbox.c:sendsms_thread) maps to pid 2840. 2009-10-09 19:07:36 [2840] [0] DEBUG: Started thread 3 (gw/smsbox.c:sendsms_thread) 2009-10-09 19:07:36 [2840] [0] DEBUG: ---------------------------------------------- 2009-10-09 19:07:36 [2840] [0] DEBUG: Kannel smsbox version 1.4.3 starting 2009-10-09 19:07:36 [2840] [0] DEBUG: dumping group (sendsms-user): 2009-10-09 19:07:36 [2840] [0] DEBUG: <group> = <sendsms-user> 2009-10-09 19:07:36 [2840] [0] DEBUG: <username> = <tester> 2009-10-09 19:07:36 [2840] [0] DEBUG: <password> = <foobar> 2009-10-09 19:07:36 [2840] [0] DEBUG: dumping group (sendsms-user): 2009-10-09 19:07:36 [2840] [0] DEBUG: <user-allow-ip> = <127.0.0.1> 2009-10-09 19:07:36 [2840] [0] DEBUG: <user-deny-ip> = <*.*.*.*> 2009-10-09 19:07:36 [2840] [0] DEBUG: <group> = <sendsms-user> 2009-10-09 19:07:36 [2840] [0] DEBUG: <username> = <kannel> 2009-10-09 19:07:36 [2840] [0] DEBUG: <password> = <rL4y> 2009-10-09 19:07:36 [2840] [0] DEBUG: Started thread 4 (gw/smsbox.c:obey_request_thread) 2009-10-09 19:07:36 [2840] [4] DEBUG: Thread 4 (gw/smsbox.c:obey_request_thread) maps to pid 2840. 2009-10-09 19:07:36 [2840] [0] DEBUG: Started thread 5 (gw/smsbox.c:url_result_thread) 2009-10-09 19:07:36 [2840] [5] DEBUG: Thread 5 (gw/smsbox.c:url_result_thread) maps to pid 2840. 2009-10-09 19:07:36 [2840] [0] DEBUG: Started thread 6 (gw/smsbox.c:http_queue_thread) 2009-10-09 19:07:36 [2840] [6] DEBUG: Thread 6 (gw/smsbox.c:http_queue_thread) maps to pid 2840. 2009-10-09 19:07:37 [2840] [0] ERROR: connect failed 2009-10-09 19:07:37 [2840] [0] ERROR: System error 111: Connection refused 2009-10-09 19:07:37 [2840] [0] ERROR: error connecting to server `localhost' at port `13001' 2009-10-09 19:07:37 [2840] [0] PANIC: Couldn't connect to the bearerbox. Please advise. Best Regards, Hιni
