Hi,
I don't know chekconfig. But I do know that you need to start bearerbox,
before you start smsbox. An init script should do the jib nicely.
BR,
Nikos
----- Original Message -----
From: "Wilhelm Ellmann | Fontera" <[email protected]>
To: <[email protected]>
Sent: Thursday, September 17, 2009 10:55 AM
Subject: Kannel does not start correctly on server restart
Hello,
I have installed Kannel using pre-compiled binary package version
1.4.2-1.el5.rf. I have set up Kannel so that I have a Bearerbox and a
Smsbox running successfully. My problem is that I live in a country where
it is not unlikely that the power dips, so I have set kannel to start
automatically on startup using chkconfig. Now when my machine starts up I
get the following error message and the Smsbox does not start. Thanks for
you help.
2009-09-17 09:53:22 [2686] [0] INFO: HTTP: Opening server at port 13013.
2009-09-17 09:53:22 [2686] [0] INFO: Set up send sms service at port 13013
2009-09-17 09:53:22 [2686] [0] ERROR: connect failed
2009-09-17 09:53:22 [2686] [0] ERROR: System error 111: Connection refused
2009-09-17 09:53:22 [2686] [0] ERROR: error connecting to server
`127.0.0.1' at port `13001'
2009-09-17 09:53:22 [2686] [0] PANIC: Couldn't connect to the bearerbox.
2009-09-17 09:53:22 [2686] [0] PANIC: /usr/sbin/smsbox(gw_panic+0xe2)
[0x8088922]
2009-09-17 09:53:22 [2686] [0] PANIC: /usr/sbin/smsbox(main+0xf31)
[0x8053f51]
2009-09-17 09:53:22 [2686] [0] PANIC:
/lib/libc.so.6(__libc_start_main+0xdc) [0x68de8c]
2009-09-17 09:53:22 [2686] [0] PANIC: /usr/sbin/smsbox [0x8052831]
--
Kind Regards,
Wilhelm Ellmann
Developer
FONTERA - Expanding your Mobile Horizon
www.fontera.com
Office: +27 21 439 9059
Fax: +27 21 439 9234
Mobile: +27 82 820 3587
Email: [email protected]
Confidentiality: This email is from Fontera. The contents are confidential
and may be protected by professional privilege. The contents are intended
only for the named recipient of this email. If you are not the intended
recipient you are hereby notified that any use, reproduction, disclosure
or distribution of the information contained in this email is prohibited.
If you have received this email in error, please reply to us immediately
and delete the document.
VIRUSES: Any loss/damage incurred by using this material is not the
sender's responsibility. Fontera's entire liability will be limited to
re-supplying the material. No warranty is made that this material is free
from computer virus or defect.