Re: Problem launching with /etc/init.d/kannel

2010-01-25 Thread Nikos Balkanas
The scripts are not part of kannel and it is your responsibility from now on. Don't occupy the list about them. You have not done the most important thing: Download and compile latest CVS. BR, Nikos - Original Message - From: "CHRONIS, N." To: "Nikos Balkanas" Cc: Sent: Tuesday, J

Re: Problem launching with /etc/init.d/kannel

2010-01-25 Thread Nikos Balkanas
I gave you a starting point. You will have to customize it to your own setup. First lines are standard RedHat init scripts functions. The corefile system is standard for all Linux kernels. BR, Nikos - Original Message - From: "CHRONIS, N." To: "Nikos Balkanas" Cc: Sent: Tuesday, Ja

Re: Problem launching with /etc/init.d/kannel

2010-01-25 Thread CHRONIS, N.
Hello Niko, After trying your script, I have a segmentation fault by launching: Here is the script: #!/bin/sh # Source function library. if [ -f /etc/init.d/kannel ] ; then . /etc/init.d/kannel elif [ -f /etc/rc.d/init.d/kannel ] ; then . /etc/rc.d/init.d/kannel else exit 1 fi user="kannel"

Re: Problem launching with /etc/init.d/kannel

2010-01-25 Thread CHRONIS, N.
Hello Niko, I am trying your script, but can't understand the first line ? # Source function library. if [ -f /etc/init.d/functions ] ; then . /etc/init.d/functions elif [ -f /etc/rc.d/init.d/functions ] ; then . /etc/rc.d/init.d/functions else exit 1 fi I changed it to if [ -f /etc/init.d/k

Re: Problem launching with /etc/init.d/kannel

2010-01-25 Thread Nikos Balkanas
Small correction to script: 'status') pgrep -fl kannel | grep local ;; 'status') pgrep -fl box | grep local ;; Nikos - Original Message - From: "Nikos Balkanas" To: "CHRONIS, N." Cc: Sent: Tuesday, January 26, 2010 6:12 AM Subject: Re: Problem launching

Re: Problem launching with /etc/init.d/kannel

2010-01-25 Thread Nikos Balkanas
No. If in doubt check from terminal: gw/bearerbox -d You get no output, though. I can see 2 problems: 1) You are using a very old outdated kannel version. Please upgrade to latest CVS. 2) Do NOT use start-stop-daemon. Use an init script. The folowing will setup a corefile environment for th

Re: Problem launching with /etc/init.d/kannel

2010-01-25 Thread CHRONIS, N.
Hi Niko, I just achieve a test: And when i launch the processes from console root 27442 0.0 0.0 272488 4348 pts/2Sl 03:09 0:00 /usr/sbin/bearerbox /etc/kannel/kannel.conf root 27563 0.0 0.0 116340 3596 pts/2Sl 03:09 0:00 /usr/sbin/smsbox /etc/kannel/kannel.conf

Re: Problem launching with /etc/init.d/kannel

2010-01-25 Thread CHRONIS, N.
Hello Niko, Again a new precision When i launch now kannel with /etc/init.d/kannel start I have thoses process: kannel 12383 0.0 0.0 37104 860 ?Ss Jan25 0:00 /usr/sbin/run_kannel_box --pidfile /var/run/kannel/kannel_bearerbox.pid --no-extra-args /usr/sbin/bearerbox -v 4 --

Re: Problem launching with /etc/init.d/kannel

2010-01-25 Thread CHRONIS, N.
Hello Niko, Here is the log, as you see everything seems to work with manual launch: xxx:~# /usr/sbin/bearerbox /etc/kannel/kannel.conf [1] 17633 xxx:~# 2010-01-26 01:18:04 [17633] [0] INFO: Debug_lvl = -1, log_file = , log_lvl = 0 2010-01-26 01:18:04 [17633] [0] INFO: MYSQL: Connected to serve

Re: No such a file or directory

2010-01-25 Thread C. Savinovich
I found the solution!. I want to thank you all guys for that outpouring of support and sympathy to my post. For the record, I will like to post the solution: Problem: on a Sierra Airbus 881 Wireless Modem, everything indicated that the SMS message was accepted for transmission, however, the mess

Re: sending WAPPush for IMPS client

2010-01-25 Thread Nikos Balkanas
Hi, You forgot configuration. Request a dlr and include that in bb logs. Also post detailed smsbox logs. BR, Nikos - Original Message - From: Latitude Test To: Nikos Balkanas Cc: users Sent: Monday, January 25, 2010 2:42 PM Subject: Re: sending WAPPush for IMPS client

Re: Problem launching with /etc/init.d/kannel

2010-01-25 Thread Nikos Balkanas
Hi Niko, From a console type: gw/bearerbox And post output. If not output is created check /var/log/messages for any segfaults. If that fails try: ldd gw/bearerbox to see if you are linking to a wrong (32bit) library. BR, Nikos - Original Message - From: "CHRONIS, N." To: "Jo

Re: Problem launching with /etc/init.d/kannel

2010-01-25 Thread CHRONIS, N.
Hello Jovan, The startup script is the same also. Nothing has been changed. Strange error. Kannel is started by start-stop-daemon. No error, processes launched, but log file not recording with the old kannel.conf I really don't know how to fix this. I tryed so much things... If anyone can hel

Re: Sending Mutiple sms using PHP script

2010-01-25 Thread Juan Nin
hints: for(), foreach() ;) On Mon, Jan 25, 2010 at 2:07 PM, Kannan wrote: > Hi Friends.. > >     I have list of numbers in php array.How to send sms to those > numbers in the array using the php script through the Kannel. > > > > > > > -- > With regards, > > Kannan. R. P, > Blog @: http://kann

Problem launching with /etc/init.d/kannel

2010-01-25 Thread CHRONIS, N.
Hello everybody, I migrated my server to a 64 bits server. Server is Debian stable. Kannel is 1.4.1 After an apt-get install kannel, the services is launched properly, but after I enter my "old" (working) config, nothing happend, and no log files appear, eithe no error. But if I launch it manua

Sending Mutiple sms using PHP script

2010-01-25 Thread Kannan
Hi Friends.. I have list of numbers in php array.How to send sms to those numbers in the array using the php script through the Kannel. -- With regards, Kannan. R. P, Blog @: http://kannan4k.wordpress.com/

Re: sending WAPPush for IMPS client

2010-01-25 Thread Latitude Test
Hi Nikos, Please review the logs and guide. ... DEBUG: SMPP PDU 815c298 dump: DEBUG: type_name: submit_sm DEBUG: command_id: 4 = 0x0004 DEBUG: command_status: 0 = 0x DEBUG: sequence_number: 147194 = 0x00023efa DEBUG: service_type: NULL DEBUG: source_addr_ton: 5 = 0x000

Re: SMS box Panic

2010-01-25 Thread Sandesh Waman // Viva
Ok Nikos I will do it from next time. For time being the issue has been resolved as there is no smsc list (smpp account) mentioned in conf file hence I was getting error. Thanks & Regards, Sandesh 2010/1/25 Nikos Balkanas > Hi, > > Never post logs without the relevant configuration file. >

Re: SMS box Panic

2010-01-25 Thread Nikos Balkanas
Hi, Never post logs without the relevant configuration file. BR, Nikos - Original Message - From: Sandesh Waman // Viva To: Kannel Users Sent: Monday, January 25, 2010 12:37 PM Subject: SMS box Panic Dear All, I am using smpp, I got following error when I restarting ka

SMS box Panic

2010-01-25 Thread Sandesh Waman // Viva
Dear All, I am using smpp, I got following error when I restarting kannel. Kindly check PDU logs, I will be obliged if you help me regarding this. 2010-01-25 14:56:45 [31298] [0] ERROR: connect failed 2010-01-25 14:56:45 [31298] [0] ERROR: System error 111: Connection refused 2010-01-25 14:56:45