Try adding box-allow-ip = "127.0.0.1" to core group.
_____ From: Iqbal_Ir [mailto:[EMAIL PROTECTED] Sent: 13 March 2008 20:40 To: [email protected] Subject: gw/smsbox.c:http_queue_thread connect failed Dear all, I'm a newbie in Kannel. I'm using Maestro 100 Lite modem (wavecom chipset), Kannel.1.4.1 on Ubuntu 7.10 64bit. I found this error while use kannel: [EMAIL PROTECTED]:~$ smsbox /etc/kannel/kannel.conf 2008-03-13 14:52:46 [13813] [0] INFO: Debug_lvl = -1, log_file = <none>, log_lvl = 0 2008-03-13 14:52:46 [13813] [0] DEBUG: Loading include file `/etc/kannel/smsc.conf' (on line 22 of file /etc/kannel/kannel.conf). 2008-03-13 14:52:46 [13813] [0] DEBUG: Loading include file `/etc/kannel/modems.conf' (on line 16 of file /etc/kannel/smsc.conf). 2008-03-13 14:52:46 [13813] [0] DEBUG: Kannel smsbox version `1.4.1'. Build `Nov 11 2006 21:58:18', compiler `4.1.2 20061103 (prerelease) (Ubuntu 4.1.1-18ubuntu2)'. System Linux, release 2.6.22-14-generic, version #1 SMP Tue Feb 12 02:46:46 UTC 2008, machine x86_64. Hostname unknown-localhost, IP 127.0.1.1. Libxml version 2.6.26. Using OpenSSL 0.9.8b 04 May 2006. Compiled with MySQL 5.0.26, using MySQL 5.0.45. Using native malloc. 2008-03-13 14:52:46 [13813] [0] INFO: Starting to log to file /var/log/kannel/smsbox.log level 0 2008-03-13 14:52:46 [13813] [0] INFO: Added logfile `/var/log/kannel/smsbox.log' with level `0'. 2008-03-13 14:52:46 [13813] [0] INFO: Service global sender set as '1231231234' 2008-03-13 14:52:46 [13813] [0] INFO: Logging accesses to '/var/log/kannel/access.log'. 2008-03-13 14:52:46 [13813] [0] INFO: Started access logfile `/var/log/kannel/access.log'. 2008-03-13 14:52:46 [13813] [0] INFO: HTTP: Opening server at port 13031. 2008-03-13 14:52:46 [13813] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) 2008-03-13 14:52:46 [13813] [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread) 2008-03-13 14:52:46 [13813] [0] INFO: Set up send sms service at port 13031 2008-03-13 14:52:46 [13813] [0] DEBUG: Started thread 3 (gw/smsbox.c:sendsms_thread) 2008-03-13 14:52:46 [13813] [0] DEBUG: ---------------------------------------------- 2008-03-13 14:52:46 [13813] [0] DEBUG: Kannel smsbox version 1.4.1 starting 2008-03-13 14:52:46 [13813] [0] DEBUG: Started thread 4 (gw/smsbox.c:obey_request_thread) 2008-03-13 14:52:46 [13813] [0] DEBUG: Started thread 5 (gw/smsbox.c:url_result_thread) 2008-03-13 14:52:46 [13813] [0] DEBUG: Started thread 6 (gw/smsbox.c:http_queue_thread) 2008-03-13 14:52:46 [13813] [0] ERROR: connect failed 2008-03-13 14:52:46 [13813] [0] ERROR: System error 111: Connection refused 2008-03-13 14:52:46 [13813] [0] ERROR: error connecting to server `localhost' at port `13001' 2008-03-13 14:52:46 [13813] [0] PANIC: Couldn't connect to the bearerbox. 2008-03-13 14:52:46 [13813] [0] PANIC: smsbox(gw_panic+0x193) [0x43b7b3] 2008-03-13 14:52:46 [13813] [0] PANIC: smsbox(main+0xc94) [0x40e0b4] 2008-03-13 14:52:46 [13813] [0] PANIC: /lib/libc.so.6(__libc_start_main+0xf4) [0x2b6a0777cb44] 2008-03-13 14:52:46 [13813] [0] PANIC: smsbox [0x40cd99] What cause of this problem and how to fix this...?? Attached is my kannel.conf file Any suggestion would be appreciated. Thank you, Iqbal_Ir
