Sorry, my bad, the order was right. sqlbox should sit inbetween smsbox and sqlbox :P
Are you sure sqlbox is running when you start smsbox? Try running each box from the command line without --daemonize and paste the relevant log entries from stdout. Regards, Alex On Wed, Nov 25, 2009 at 12:41 PM, jyotiranjan panda <[email protected]>wrote: > Dear Alex, > > the same error I am geting, please look into my config if I have to change > anything? > > I am connecting as smsbox <------> sqlbox<----------------> bearerbox > > Regards > Jyoti > > > > On 11/25/09, Alejandro Guerrieri <[email protected]> wrote: >> >> If you're connecting sqlbox to smsbox, as it appears to be the case, then >> you should start smsbox _before_ sqlbox. >> >> >> Hope it helps, >> >> >> Alex >> >> On Wed, Nov 25, 2009 at 12:19 PM, jyotiranjan panda <[email protected] >> > wrote: >> >>> Hi all, >>> I am not able to run sqlbox with kannel-1.4.1. >>> I have made a start script where I am starting bearerbox then sqlbox then >>> smsbox. >>> bearerbox and sqlbox are starting smoothly but when smsbox starts it >>> gaves folowing error with panic. >>> ----------------------------------------------------------------- >>> Wed Nov 25 04:39:10 IST 2009 : Bringing the test SMS CONNECTOR up >>> 2009-11-25 04:39:10 [25005] [0] WARNING: DLR: using default 'internal' >>> for storage type. >>> Wed Nov 25 04:39:15 IST 2009 : Bringing the sqlbox CONNECTOR up >>> Wed Nov 25 04:39:15 IST 2009 : Bringing the test SMS SERVER up >>> 2009-11-25 04:39:15 [25018] [0] ERROR: connect failed >>> 2009-11-25 04:39:15 [25018] [0] ERROR: System error 111: Connection >>> refused >>> 2009-11-25 04:39:15 [25018] [0] ERROR: error connecting to server >>> `localhost' at port `14003' >>> 2009-11-25 04:39:15 [25018] [0] PANIC: Couldn't connect to the bearerbox. >>> 2009-11-25 04:39:15 [25018] [0] PANIC: /home/admin/smsbox(gw_panic+0xe6) >>> [0x8085946] >>> 2009-11-25 04:39:15 [25018] [0] PANIC: /home/admin/smsbox(main+0xf0a) >>> [0x80538fa] >>> 2009-11-25 04:39:15 [25018] [0] PANIC: >>> /lib/libc.so.6(__libc_start_main+0xdc) [0x77bdec] >>> 2009-11-25 04:39:15 [25018] [0] PANIC: /home/admin/smsbox [0x8052241] >>> >>> -------------------------------------------------------------------------------------- >>> I have two config file one is sqlbox.conf and smskannel.conf. >>> -------------------------------- >>> smskannel.conf >>> -------------------------------- >>> >>> group = core >>> admin-port = 13012 >>> smsbox-port = 13015 >>> admin-password = bar >>> status-password = foo >>> log-file = "/home/admin/log/gwsc.log" >>> log-level = 0 >>> store-file = "/home/admin/log/gwstore1.log" >>> access-log = "/home/admin/log/gwaccess.log" >>> >>> group = smsc >>> smsc = smpp >>> smsc-id = SMPP_CLIENT >>> host = ******* >>> transceiver-mode = 1 >>> port = **** >>> smsc-username = **** >>> smsc-password = ***** >>> msg-id-type = 3 >>> system-type = "CMT" >>> address-range = . >>> source-addr-ton = 1 >>> source-addr-npi = 1 >>> dest-addr-ton = 1 >>> dest-addr-npi = 1 >>> >>> group = smsbox >>> bearerbox-host = localhost >>> bearerbox-port = 14003 >>> smsbox-id = smsbox >>> sendsms-port = 13013 >>> log-file = "/home/admin/log/gwss.log" >>> access-log = "/home/admin/log/gwaccess.log" >>> log-level = 0 >>> >>> group = sendsms-user >>> username = ***** >>> password = ***** >>> max-messages = 10 >>> concatenation = true >>> >>> --------------------------------------------------------------------------------------------------- >>> sqlbox.conf >>> >>> --------------------------------------------------------------------------------------------------- >>> >>> group = sqlbox >>> id = sqlbox >>> smsbox-id = smsbox02 >>> bearerbox-host = localhost >>> bearerbox-port= 13015 >>> smsbox-port = 14003 >>> smsbox-port-ssl = false >>> sql-log-table = sent_sms >>> sql-insert-table = send_sms >>> log-file = "/home/admin/log/sqlbox.log" >>> log-level = 5 >>> >>> group = mysql-connection >>> id = sqlbox >>> host = localhost >>> username = root >>> password = ****** >>> database = ****** >>> port = 3306 >>> max-connections = 40 >>> >>> >>> ---------------------------------------------------------------------------------------------------------------------- >>> >>> Waiting for reply >>> >>> Regards >>> >>> Jyoti >>> >> >> >> > >
