Check the docs. You have to run bearerbox first.
Regards, Alejandro On 10/19/07, hafez ahmad <[EMAIL PROTECTED]> wrote: > > Hi All, > I setup kannel on my ubuntu box using apt-get, I need to run and test the > SMS gateway, I don't have SMSC to test with, > is there a fake SMSC that I could testing with, when I run the command > smsbox I get the following output: > > "2007-10-19 22:50:02 [12832] [0] INFO: Starting to log to file > /var/log/kannel/smsbox.log level 0 > 2007-10-19 22:50:02 [12832] [0] INFO: Added logfile > `/var/log/kannel/smsbox.log' with level `0'. > 2007-10-19 22:50:02 [12832] [0] DEBUG: > ---------------------------------------------- > 2007-10-19 22:50:02 [12832] [0] DEBUG: Kannel smsbox version 1.4.1 starting > 2007-10-19 22:50:02 [12832] [0] DEBUG: Started thread 1 > (gw/smsbox.c:obey_request_thread) > 2007-10-19 22:50:02 [12832] [0] DEBUG: Started thread 2 > (gw/smsbox.c:url_result_thread) > 2007-10-19 22:50:02 [12832] [0] DEBUG: Started thread 3 > (gw/smsbox.c:http_queue_thread) > 2007-10-19 22:50:02 [12832] [0] ERROR: connect failed > 2007-10-19 22:50:02 [12832] [0] ERROR: System error 111: Connection refused > 2007-10-19 22:50:02 [12832] [0] ERROR: error connecting to server > `localhost' at port `13002' > 2007-10-19 22:50:02 [12832] [0] PANIC: Couldn't connect to the bearerbox. > 2007-10-19 22:50:02 [12832] [0] PANIC: smsbox(gw_panic+0x107) [0x8086367] > 2007-10-19 22:50:02 [12832] [0] PANIC: smsbox(main+0xf0a) [0x8053baa] > 2007-10-19 22:50:02 [12832] [0] PANIC: > /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xdc) > [0xb78b9ebc] > 2007-10-19 22:50:02 [12832] [0] PANIC: smsbox [0x80524e1] > " > > Is there problem with this output my kannel.conf file is: > " > group = core > admin-port = 13000 > admin-password = bar > admin-deny-ip = "*.*.*.*" > admin-allow-ip = "" > smsbox-port = 13002 > #wapbox-port = 13002 > #wdp-interface-name = "*" > #wdp-interface-name = "*" > log-file = "/var/log/kannel/bearerbox.log" > box-deny-ip = "*.*.*.*" > box-allow-ip = "127.0.0.1" > > > #group = wapbox > #bearerbox-host = localhost > #log-file = "/var/log/kannel/wapbox.log" > > group = smsbox > bearerbox-host = localhost > log-file = "/var/log/kannel/smsbox.log" > " > > any help, > Thanks, > Hafez -- Alejandro Guerrieri Magicom http://www.magicom-bcn.net/ LinkedIn: http://www.linkedin.com/in/aguerrieri
