Kannel Start/Stop Restart Script

2013-01-12 Thread michael osakede
Hi, Can anyone point me in the direction of a script that can start/stop/restart bearerbox/smsbox/sqlbox? Regards, Michael

Re: Kannel Start/Stop Restart Script

2013-01-12 Thread Milan P. Stanic
On Sat, 2013-01-12 at 07:04, michael osakede wrote: Can anyone point me in the direction of a script that can start/stop/restart bearerbox/smsbox/sqlbox? Look in the utils directory of the source archive/file. -- Kind regards, Milan --

Re: Kannel Start/Stop Restart Script

2013-01-12 Thread michael osakede
Hi, i get this : Usage: ./run_kannel_box [--pidfile PIDFILE] [--min-delay SECONDS] BOXPATH [boxoptions...] from run_kannel_box. how do I use this to start Bearerbox/smsbox/sqlbox? Michael From: Milan P. Stanic m...@arvanta.net To: users@kannel.org

Re: Kannel Start/Stop Restart Script

2013-01-12 Thread Nicolas de Bari Embriz Garcia Rojas
Hi, I like to use daemontools, for example, the run file for bearerbox could contain something like -- #!/bin/sh exec /usr/local/sbin/bearerbox -v 1 -p /var/run/kannel/bearerbox.pid /usr/home/LAB/kannel/conf/kannel.conf -- regards On Sat, Jan 12, 2013 at 3:04 PM, michael osakede

Re: Kannel Start/Stop Restart Script

2013-01-12 Thread spameden
check /etc/init.d/kannel from debian kannel package 2013/1/12 Nicolas de Bari Embriz Garcia Rojas nb...@backup.sh: Hi, I like to use daemontools, for example, the run file for bearerbox could contain something like -- #!/bin/sh exec /usr/local/sbin/bearerbox -v 1 -p

Re: Kannel Start/Stop Restart Script

2013-01-12 Thread Milan P. Stanic
On Sat, 2013-01-12 at 07:21, michael osakede wrote: i get this : Usage: ./run_kannel_box [--pidfile PIDFILE] [--min-delay SECONDS] BOXPATH [boxoptions...] from run_kannel_box. how do I use this to start Bearerbox/smsbox/sqlbox? run_kannel_box is not script. You can use it in scripts

RE: Kannel Start/Stop Restart Script

2013-01-12 Thread Sarfaraz Jamal
Here is a script we use for restarting kannel: #!/bin/sh clear echo Restarting the process, please allow 15 seconds... kill -9 $(/sbin/pidof smsbox) kill -9 $(/sbin/pidof bearerbox) cd /opt/gw sleep 5 nohup ./bearerbox -v 1 bearerbox.log sleep 5 nohup ./smsbox -v 1 smsbox.log cd /root clear

Re: Kannel Start/Stop Restart Script

2013-01-12 Thread Milan P. Stanic
On Sat, 2013-01-12 at 13:45, Sarfaraz Jamal wrote: Here is a script we use for restarting kannel: #!/bin/sh clear echo Restarting the process, please allow 15 seconds... kill -9 $(/sbin/pidof smsbox) kill -9 $(/sbin/pidof bearerbox) cd /opt/gw sleep 5 nohup ./bearerbox -v 1

Re: Kannel Start/Stop Restart Script

2013-01-12 Thread michael osakede
Hi, I tried to do this using php ?php  $out=exec(nohup /usr/local/sbin/bearerbox /root/smskannel.conf ); echo $out;  ? when i check the process ps aux | grep box the bearerbox process is not running, any idea what am doing wrong and how i can fix this? Michael

Re: Kannel Start/Stop Restart Script

2013-01-12 Thread Nicolas de Bari Embriz Garcia Rojas
Kannel is not a point and click ware. before going further take a break, and think what you are doing. starting up kannel with php is like trying to heat a microwave with matches. 1. PHP is a programming language that can help you to manager your data, but it is not recommended to use PHP for

Long Messages using httpsmsc

2013-01-12 Thread michael osakede
Hi, bellow is my config for my httpsmsc, when i send more than 160 character the message gets delivered as 2 separate messages. what do I add to the config to allow for concatenation or allow the message to deliver as one sms? group = smsc smsc = http system-type = generic port = 13015