Hello Mickael,
your start script for debian is set up for a kannel WAP gateway, not an SMS gateway. You're starting the wrong parts of the software.
Your system is running bearerbox (good) and wapbox (bad). Instead of wapbox the startscript should start smsbox, so you just need to edit this part of the script manually.
|
> |
kannel 32517 0.0 0.2 7032 1444 ? Ss 05:52 0:00 /usr/sbin/run_kannel_box --pidfile /var/run/kannel/kannel_bea kannel 32518 0.0 0.5 106640 2616 ? Sl 05:52 0:00 /usr/sbin/bearerbox -v 4 -- /etc/kannel/kannel.conf kannel 32532 0.0 0.2 7032 1444 ? Ss 05:52 0:00 /usr/sbin/run_kannel_box --pidfile /var/run/kannel/kannel_wap kannel 32533 0.0 0.5 73980 2668 ? Sl 05:52 0:00 /usr/sbin/wapbox -v 4 -- /etc/kannel/kannel.conf |
--
Best regards,
Thomas mailto:[EMAIL PROTECTED]
Title: Re[2]: Kannel, this software does it work?Hello Mickael,
your start script for debian is set up for a kannel WAP gateway, not an SMS gateway. You#re starting the wrong parts of the software.
Your system is running bearerbox (good) and wapbox (bad). Instead of wapbox the startscript should start smsbox, so you just need to edit this part of the script manually.
Wednesday, April 2, 2008, 6:32:52 AM, you wrote:
|
> |
Alejandro Guerrieri a écrit : Looks like smsbox is not running. Try: ps auxwww | grep smsbox Maybe the init script it's not working, or something is wrong on the conf file that prevents smsbox to start. ns1:~# ps auxwww | grep smsbox root 341 0.0 0.1 3468 704 pts/1 S+ 06:23 0:00 grep smsbox ns1:~# ps aux kannel 32517 0.0 0.2 7032 1444 ? Ss 05:52 0:00 /usr/sbin/run_kannel_box --pidfile /var/run/kannel/kannel_bea kannel 32518 0.0 0.5 106640 2616 ? Sl 05:52 0:00 /usr/sbin/bearerbox -v 4 -- /etc/kannel/kannel.conf kannel 32532 0.0 0.2 7032 1444 ? Ss 05:52 0:00 /usr/sbin/run_kannel_box --pidfile /var/run/kannel/kannel_wap kannel 32533 0.0 0.5 73980 2668 ? Sl 05:52 0:00 /usr/sbin/wapbox -v 4 -- /etc/kannel/kannel.conf Check also on your logfiles. /tmp/smsbox.log does not even exist!! If everything fails, try starting the boxes manually: First run bearerbox /path/to/bearerbox /path/to/conf-file And then, on another console: /path/to/smsbox /path/to/conf-file I do not understand why you ask me to verify whether the daemon runs as well insisted that the port operates 13000. This is the "SEND-SMS 13013" which does not start ... Mickael If something crashes badly, you'll get the output right in your face ;) Hope it helps, Alejandro On Wed, Apr 2, 2008 at 12:59 AM, Mickael - System Administrator (WebD Services) <[EMAIL PROTECTED]> wrote: Hello. I installed Kannel.on Debian. apt-get install kannel I'm configure: group = core admin-port = 13000 admin-password = test #admin-deny-ip = "*.*.*.*" admin-allow-ip = "*.*.*.*"" It's OK. Running !. http://server:13000 wrote: Kannel bearerbox version `1.4.1'. Build `Oct 17 2006 02:55:06', compiler `4.1.2 20061007 (prerelease) (Debian 4.1.1-16)'. System Linux, release 2.6.8-3-686, version #1 Thu Feb 9 07:39:48 UTC 2006, machine i686. Good !! :-) I am trying to create a "send-sms". group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13013 global-sender = 123 log-file = "/tmp/smsbox.log" /etc/init.d/kannel restart (or start + stop) ns1:/etc/kannel# telnet localhost 13013 Trying 127.0.0.1... telnet: Unable to connect to remote host: Connection refused For 2 days I try. Mickael. |
--
Best regards,
Thomas mailto:[EMAIL PROTECTED]
smime.p7s
Description: S/MIME Cryptographic Signature
