----- Original Message -----
Sent: Friday, October 13, 2006 2:35
PM
Subject: connection refused
Hi, i am running kannel on ubuntu. When I restart kannel and access it
through the URL http://192.168.16.191:13000/status.
I get a response for like 10 seconds then I get the following error:
The following error was encountered:
The system returned:
(61) Connection refused
The remote host or network may be down. Please try the request again.
My kannel.conf file is:
#
# Sample configuration file for Kannel bearerbox on Debian.
# See
the documentation for explanations of fields.
#
# HTTP
administration is disabled by default. Make sure you set the
# password if
you enable it.
group = core
admin-port = 13000
admin-password =
bar
#admin-deny-ip = "*.*.*.*"
admin-allow-ip = "*.*.*.*"
smsbox-port
= 13002
#wdp-interface-name = "*"
log-file =
"/var/log/kannel/bearerbox.log"
#box-deny-ip = "*.*.*.*"
box-allow-ip =
" 127.0.0.1"
log-level = 0
access-log =
"/var/log/kannel/access.log"
http-proxy-host = "127.0.0.1"
http-proxy-port =
8080
http-proxy-exceptions = " 127.0.0.1"
http-proxy-username =
"user"
http-proxy-password = "password"
# Smsbox related
group =
smsbox
smsbox-id = smsbox1
bearerbox-host = localhost
sendsms-port =
13003
log-file = "var/log/kannel/smsbox.log"
#unified-prefix =
"00358,0"
#white-list = "http://127.0.0.1/white-list.txt"
#black-list = "http://127.0.0.1/black-list.txt"
#store-file
= "kannel.store"
My bearerbox.log file is:
2006-10-13 10:30:38 [25342] [0] INFO: Kannel bearerbox II version 1.4.0
starting
2006-10-13 10:30:38 [25342] [1] DEBUG: Thread 1
(gwlib/fdset.c:poller) maps to pid 25342.
2006-10-13 10:30:38 [25342] [2]
DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 25342.
2006-10-13
10:30:38 [25342] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) maps to pid
25342.
2006-10-13 10:30:43 [25342] [0] INFO: MAIN: Start-up done, entering
mainloop
2006-10-13 10:30:43 [25342] [0] DEBUG: Shutting down
Kannel...
2006-10-13 10:30:43 [25342] [0] DEBUG: shutting down
smsc
2006-10-13 10:30:43 [25342] [0] DEBUG: shutting down udp
2006-10-13 10:30:43 [25342] [0] INFO: All flow threads have died, killing
core
2006-10-13 10:30:43 [25342] [0] DEBUG: Waiting for 2
(gwlib/http.c:server_thread) to terminate
2006-10-13 10:30:43 [25342] [3]
DEBUG: HTTP: No clients with requests, quitting.
2006-10-13 10:30:43
[25342] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run)
terminates.
2006-10-13 10:30:43 [25342] [2] DEBUG: Thread 2
(gwlib/http.c:server_thread) terminates.
2006-10-13 10:30:43 [25342] [1]
DEBUG: Thread 1 (gwlib/fdset.c:poller) terminates.
2006-10-13 10:30:43
[25342] [0] INFO: Total WDP messages: received 0, sent 0
2006-10-13
10:30:43 [25342] [0] INFO: Total SMS messages: received 0, sent
0
2006-10-13 10:30:43 [25342] [0] DEBUG: Immutable octet strings: 105.
2006-10-13 10:30:45 [25350] [0] INFO: Added logfile
`/var/log/kannel/bearerbox.log' with level `0'.
2006-10-13 10:30:45 [25350]
[0] INFO: Started access logfile `/var/log/kannel/access.log'.
2006-10-13
10:30:45 [25350] [0] INFO: HTTP: Opening server at port 13000.
2006-10-13
10:30:45 [25350] [0] DEBUG: Started thread 1
(gwlib/fdset.c:poller)
2006-10-13 10:30:45 [25350] [0] DEBUG: Started
thread 2 (gwlib/http.c:server_thread)
2006-10-13 10:30:45 [25350] [0]
DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run)
2006-10-13 10:30:45
[25350] [0] INFO: ----------------------------------------
2006-10-13
10:30:45 [25350] [0] INFO: Kannel bearerbox II version 1.4.0
starting
2006-10-13 10:30:45 [25350] [1] DEBUG: Thread 1
(gwlib/fdset.c:poller) maps to pid 25350.
2006-10-13 10:30:45 [25350] [2]
DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 25350.
2006-10-13
10:30:45 [25350] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) maps to pid
25350.
2006-10-13 10:30:50 [25350] [0] INFO: MAIN: Start-up done, entering
mainloop
2006-10-13 10:30:50 [25350] [0] DEBUG: Shutting down
Kannel...
2006-10-13 10:30:50 [25350] [0] DEBUG: shutting down
smsc
2006-10-13 10:30:50 [25350] [0] DEBUG: shutting down udp
2006-10-13
10:30:50 [25350] [0] INFO: All flow threads have died, killing core
2006-10-13 10:30:50 [25350] [0] DEBUG: Waiting for 2
(gwlib/http.c:server_thread) to terminate
2006-10-13 10:30:50 [25350] [3]
DEBUG: HTTP: No clients with requests, quitting.
2006-10-13 10:30:50
[25350] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) terminates.
2006-10-13 10:30:50 [25350] [2] DEBUG: Thread 2
(gwlib/http.c:server_thread) terminates.
2006-10-13 10:30:50 [25350] [1]
DEBUG: Thread 1 (gwlib/fdset.c:poller) terminates.
2006-10-13 10:30:50
[25350] [0] INFO: Total WDP messages: received 0, sent 0
2006-10-13
10:30:50 [25350] [0] INFO: Total SMS messages: received 0, sent
0
2006-10-13 10:30:50 [25350] [0] DEBUG: Immutable octet strings:
105.
2006-10-13 10:31:44 [25396] [0] INFO: Added logfile
`/var/log/kannel/bearerbox.log' with level `0'.
2006-10-13 10:31:44
[25396] [0] INFO: Started access logfile
`/var/log/kannel/access.log'.
2006-10-13 10:31:44 [25396] [0] INFO: HTTP:
Opening server at port 13000.
2006-10-13 10:31:44 [25396] [0] DEBUG:
Started thread 1 (gwlib/fdset.c:poller)
2006-10-13 10:31:44 [25396] [0]
DEBUG: Started thread 2 (gwlib/http.c:server_thread)
2006-10-13 10:31:44
[25396] [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run)
2006-10-13
10:31:44 [25396] [0] INFO: ----------------------------------------
2006-10-13 10:31:44 [25396] [0] INFO: Kannel bearerbox II version 1.4.0
starting
2006-10-13 10:31:44 [25396] [1] DEBUG: Thread 1
(gwlib/fdset.c:poller) maps to pid 25396.
2006-10-13 10:31:44 [25396] [2]
DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 25396.
2006-10-13
10:31:44 [25396] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) maps to pid
25396.
2006-10-13 10:31:49 [25396] [0] INFO: MAIN: Start-up done, entering
mainloop
2006-10-13 10:31:49 [25396] [0] DEBUG: Shutting down Kannel...
2006-10-13 10:31:49 [25396] [0] DEBUG: shutting down smsc
2006-10-13
10:31:49 [25396] [0] DEBUG: shutting down udp
2006-10-13 10:31:49 [25396]
[0] INFO: All flow threads have died, killing core
2006-10-13 10:31:49
[25396] [0] DEBUG: Waiting for 2 (gwlib/http.c:server_thread) to terminate
2006-10-13 10:31:49 [25396] [3] DEBUG: HTTP: No clients with requests,
quitting.
2006-10-13 10:31:49 [25396] [3] DEBUG: Thread 3
(gw/bb_http.c:httpadmin_run) terminates.
2006-10-13 10:31:49 [25396] [2]
DEBUG: Thread 2 (gwlib/http.c:server_thread) terminates.
2006-10-13
10:31:49 [25396] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller)
terminates.
2006-10-13 10:31:49 [25396] [0] INFO: Total WDP messages:
received 0, sent 0
2006-10-13 10:31:49 [25396] [0] INFO: Total SMS
messages: received 0, sent 0
2006-10-13 10:31:49 [25396] [0] DEBUG:
Immutable octet strings: 105.
2006-10-13 10:31:50 [25407] [0] INFO: Added
logfile `/var/log/kannel/bearerbox.log' with level `0'.
2006-10-13 10:31:50
[25407] [0] INFO: Started access logfile `/var/log/kannel/access.log'.
2006-10-13 10:31:50 [25407] [0] INFO: HTTP: Opening server at port
13000.
2006-10-13 10:31:50 [25407] [0] DEBUG: Started thread 1
(gwlib/fdset.c:poller)
2006-10-13 10:31:50 [25407] [0] DEBUG: Started
thread 2 (gwlib/http.c:server_thread)
2006-10-13 10:31:50 [25407] [0]
DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run)
2006-10-13 10:31:50
[25407] [0] INFO: ----------------------------------------
2006-10-13
10:31:50 [25407] [0] INFO: Kannel bearerbox II version 1.4.0
starting
2006-10-13 10:31:50 [25407] [1] DEBUG: Thread 1
(gwlib/fdset.c:poller) maps to pid 25407.
2006-10-13 10:31:50 [25407] [2]
DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 25407.
2006-10-13
10:31:50 [25407] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) maps to pid
25407.
I am trying to set up a fake SMSC.
Please help me.
Eric