Hi,

I'm trying to use kannel version 1.0.3-1.i386 on Red Hat Linux ver9 withe a fakesmsc. 
However there seems to be a problem, both the bearerbox and smsbox failed to start. 

Another question is do I have to run the fakesmsc before running the bearerbox and the 
smsbox? I tried running the fakesmsc as:
    fakesmsc -p 14000 -i 1 -m 100 "123 345 nop"
but I get a "Permission denied" message.

Moreover, I have received a suggestion of setting the port no for the fakesmsc to 
around 14000 but this didn't solved the problem.

I don't know why these happens. Anyway I have included here my config file, as well as 
the sample runs of bearerbox and smsbox. 

Below is my config file (its actually the config file that comes with kannel with just 
a few changes on the port numbers, i did the changes because the original config 
reports the same prob) :

group = core
admin-port = 13002
smsbox-port = 13003
admin-password = bar
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
unified-prefix = "00358,0"
                                                                                
group = smsc
smsc = fake
smsc-id = FAKE
host = localhost
port = 14000
                                                                                
group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
global-sender = 123
                                                                                
group = sms-service
keyword = nop
text = "You asked nothing and I did it!"
                                                                                
group = sms-service
keyword = default
text = "No service spesified"
                                                                                
group = sendsms-user
username = tester
password = foobar

Anyway, this what happens when I run the bearerbox:
2003-11-15 06:31:14 [0] INFO: Debug_lvl = -1, log_file = <none>, log_lvl = 0
2003-11-15 06:31:14 [0] INFO: Reading configuration from 
<gw/config/kannel.conf>2003-11-15 06:31:14 [0] INFO: 
----------------------------------------
2003-11-15 06:31:14 [0] INFO: Kannel bearerbox II version 1.0.3 starting
2003-11-15 06:31:14 [0] DEBUG: Started thread 1 (gw/bb_http.c:httpadmin_run)
2003-11-15 06:31:14 [0] ERROR: connect failed
2003-11-15 06:31:14 [0] ERROR: error connecting to server `localhost' at port `20000'
2003-11-15 06:31:14 [0] ERROR: System error 111: Connection refused
2003-11-15 06:31:14 [0] PANIC: Cannot start with SMSC connection failing

And this is for the bearerbox:
2003-11-15 06:34:29 [0] INFO: Debug_lvl = -1, log_file = <none>, log_lvl = 0
2003-11-15 06:34:29 [0] INFO: Reading configuration from 
<gw/config/kannel.conf>2003-11-15 06:34:29 [0] INFO: Service global sender set as '123'
2003-11-15 06:34:29 [0] DEBUG: HTTP: Creating a new server socket <14013>.
2003-11-15 06:34:29 [0] INFO: Set up send sms service at port 14013
2003-11-15 06:34:29 [0] DEBUG: ----------------------------------------------
2003-11-15 06:34:29 [0] DEBUG: Gateway SMS BOX version 1.0.3 starting
2003-11-15 06:34:29 [0] ERROR: connect failed
2003-11-15 06:34:29 [0] ERROR: error connecting to server `localhost' at port `14001'
2003-11-15 06:34:29 [0] ERROR: System error 111: Connection refused

Thanks for taking your time to read this and I'm hoping that someone might help me.

Regards, 
joe (".) ??


____________________________________________________________
Enter now for a chance to win a 42" Plasma Television!
http://ad.doubleclick.net/clk;6413623;3807821;f?http://mocda1.com/1/c/563632/113422/313631/313631
AOL users go here: 
http://ad.doubleclick.net/clk;6413623;3807821;f?http://mocda1.com/1/c/563632/113422/313631/313631
This offer applies to U.S. Residents Only

Reply via email to