hello all! I just installed kannel and configured wapbox on RH 7.2. I running kannel services as root from this from script: #!/bin/sh
#start-stop-daemon-1.0.3 --start --exec /usr/local/bin/bearerbox-1.0.3 --pidfile /var/run/kannel.pid --make-pidfile -- /usr/local/etc/kannel/kannel.conf bearerbox -- /usr/local/etc/kannel/kannel.conf& wapbox -- /usr/local/etc/kannel/kannel.conf& smsbox -- /usr/local/etc/kannel/kannel.conf& and have the following errors: smsbox.log: 2002-05-30 09:12:44 [0] INFO: Added logfile `/var/log/kannel/smsbox.log' with level `0'. 2002-05-30 09:12:44 [0] INFO: Service global sender set as '13013' 2002-05-30 09:12:44 [0] INFO: Started access logfile `/var/log/kannel/kannel.access'. 2002-05-30 09:12:44 [0] DEBUG: HTTP: Creating a new server socket <13013>. 2002-05-30 09:12:44 [0] INFO: Set up send sms service at port 13013 2002-05-30 09:12:44 [0] DEBUG: ---------------------------------------------- 2002-05-30 09:12:44 [0] DEBUG: Gateway SMS BOX version 1.0.3 starting 2002-05-30 09:12:44 [0] ERROR: connect failed 2002-05-30 09:12:44 [0] ERROR: error connecting to server `localhost' at port `13003' 2002-05-30 09:12:44 [0] ERROR: System error 111: Connection refused 2002-05-30 09:12:54 [0] INFO: Connected to Bearer Box at localhost port 13003 wapbox.log: 2002-05-30 09:12:44 [0] INFO: Added logfile `/var/log/kannel/wapbox.log' with level `0'. 2002-05-30 09:12:44 [0] INFO: Starting to log to file /var/log/kannel/wapbox.log level 0 2002-05-30 09:12:44 [0] INFO: ------------------------------------------------------------ 2002-05-30 09:12:44 [0] INFO: WAP box version 1.0.3 starting up. 2002-05-30 09:12:44 [0] DEBUG: Started thread 1 (gw/timers.c:watch_timers) 2002-05-30 09:12:44 [0] DEBUG: Started thread 2 (gw/wsp-session.c:main_thread) 2002-05-30 09:12:44 [0] DEBUG: Started thread 3 (gw/wsp-unit.c:main_thread) 2002-05-30 09:12:44 [0] DEBUG: Started thread 4 (gw/wtp_init.c:main_thread) 2002-05-30 09:12:44 [0] DEBUG: Started thread 5 (gw/wtp_resp.c:main_thread) 2002-05-30 09:12:44 [0] DEBUG: Started thread 6 (gw/wap-appl.c:main_thread) 2002-05-30 09:12:44 [0] ERROR: connect failed 2002-05-30 09:12:44 [0] ERROR: error connecting to server `localhost' at port `9201' 2002-05-30 09:12:44 [0] ERROR: System error 5: Input/output error 2002-05-30 09:12:44 [0] PANIC: Couldn't connect to bearer box localhost:9201. Where I'm wrong?? my kannel.conf: group = core admin-port = 13000 admin-password = admin4bar status-password = statusbar admin-deny-ip = "*.*.*.*" admin-allow-ip = "127.0.0.1" wapbox-port = 9201 smsbox-port = 13003 wdp-interface-name = "*" log-file = "/var/log/kannel/bearerbox.log" log-level = 0 #box-deny-ip = "*.*.*.*" #box-allow-ip = "127.0.0.1" box-allow-ip = "*.*.*.*" group = wapbox bearerbox-host = localhost log-file = "/var/log/kannel/wapbox.log" access-log = "/var/log/kannel/kannel.access" log-level = 0 group = smsbox bearerbox-host = localhost sendsms-port = 13013 global-sender = 13013 access-log = "/var/log/kannel/kannel.access" log-file = "/var/log/kannel/smsbox.log" log-level = 0 sendsms-url = "/cgi-bin/sendsms" sendota-url = "/cgi-bin/sendota" sendsms-chars = "0123456789" reply-requestfaled = "SMS Request Faled!" group = smsc smsc = smpp smsc-id = SMPP interface-version= 3.3 host = 10.10.10.10 port = 2000 receive-port = 2000 system-id = wap smsc-password = "wap" system-type = Wap address-range = "" allowed-prefix = "7928;8928;928" source-addr-ton = 1 source-addr-npi = 1 group = sms-service keyword = default text = "No service specified" group = sendsms-user username = tester password = foo user-deny-ip = "*.*.*.*" user-allow-ip = "127.0.0.1" forced-smsc = SMPP Thanx for any helps. Yury.
