Re: Kannel not connecting to smsc

2009-04-17 Thread Tharanga
Are u running kannel under root permission ? may be a permission problem ? Tharanga Abeyseela Tony wrote: I have kannel installed and running fine and I'm able to submit messages to the server using HTTP. However I can't see any activity in the log files suggesting kannel is trying

Re: Kannel not connecting to smsc

2009-04-17 Thread Tony
Hi Kannel is running as the kannel user. I changed the log level to 0 and restarted kannel but still don't see any mention of it trying to connect to the smsc. Here is the contents of kannel.log: 2009-04-17 10:54:08 [14654] [0] INFO: Added logfile `/var/log/kannel/kannel.log' with level `0'.

Kannel not connecting to smsc

2009-04-17 Thread Tony
I have kannel installed and running fine and I'm able to submit messages to the server using HTTP. However I can't see any activity in the log files suggesting kannel is trying to connect to my smsc and send the messages. Even on startup I can't find any mention in the log files of it trying

Re: Kannel not connecting to smsc

2009-04-17 Thread Tony
Here is my startup script #!/bin/sh # Configuration file CONF=/etc/kannel/kannel.conf SMS1_CONF=/etc/kannel/kannel.conf # Kannel boxes BEARERBOX=/usr/local/sbin/bearerbox SMSBOX=/usr/local/sbin/smsbox # Debug level: 0..4 DEBUGLEVEL=0 # Kannel user account USER=kannel # Check that boxes

Re: Kannel not connecting to smsc

2009-04-17 Thread Tharanga
try system-type=SMPP Tharanga wrote: startup script seems ok. Have u checked all ur config details with ur SMPP provider ? try a tcpdump to ur smpp server address and see, any connections going from kannel to that IP address. and also netstat can help... but binding details should be

Re: Kannel not connecting to smsc

2009-04-17 Thread Eduardo Raad
Oops sorry guys I did not see the question had been already replied :) Sent from my BlackBerry® wireless device -Original Message- From: Tharanga thara...@roomsnet.com Date: Fri, 17 Apr 2009 15:27:02 To: Tonyt...@eurisp.co.uk Cc: us...@vm1.kannel.org Subject: Re: Kannel not connecting

Re: Kannel not connecting to smsc

2009-04-17 Thread Tony
Thanks all for the advice. I'll start making some changes as suggested and see what I come up with. Thanks Tony - Original Message - From: Eduardo Raad To: Tharanga ; users-boun...@vm1.kannel.org ; Tony Cc: us...@vm1.kannel.org Sent: Friday, April 17, 2009 12:09 PM

Re: Kannel not connecting to smsc

2009-04-17 Thread Cezary Siwek
Hello, try to add log-file = /var/log/kannel/mysmsc.log log-level = 0 into your smsc/smpp section to get more debug information Regards #- # SMSC CONNECTIONS group = smsc smsc = smpp host = ip address removed port = 8100 smsc-username =

Re: Kannel not connecting to smsc

2009-04-17 Thread Tharanga
How u start kannel ? can u send ur startup script Tony wrote: Hi Kannel is running as the kannel user. I changed the log level to 0 and restarted kannel but still don't see any mention of it trying to connect to the smsc. Here is the contents of kannel.log: 2009-04-17 10:54:08 [14654]

Re: Kannel not connecting to smsc

2009-04-17 Thread Eduardo Raad
Tony, I suggest you change the log files location in the core group configuration to some folder to which your user has write permissions. Another option is to run Kannel as root but I don't recommend that for a production environment. Eduardo Sent from my BlackBerry® wireless device

smsbox not starting

2009-04-17 Thread Elton Hoxha
Hi guys, I was running kannel for 2 weeks with no problems. Today I had to change the conf file adding one other SMPP connection. After I started bearerbox binding all the clients, I started the smsbox but I noticed the failure hours later 2009-04-17 08:23:46 [27278] [0] INFO: Added logfile

Re: Kannel not connecting to smsc

2009-04-17 Thread Tharanga
startup script seems ok. Have u checked all ur config details with ur SMPP provider ? try a tcpdump to ur smpp server address and see, any connections going from kannel to that IP address. and also netstat can help... but binding details should be pumped to kannel.log. (smsc connection

why it is dying?

2009-04-17 Thread Pyro Surya
Linux version 2.6.18-92.el5 (xxbu...@builderxx.centos.org) (gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)) #1 SMP Tue Jun 10 18:51:06 EDT 2008 Linux #1 SMP Tue Jun 10 18:51:06 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux 2009-04-17 05:31:33 [14770] [38] PANIC: System error 12: Cannot allocate memory

Re: smsbox not starting

2009-04-17 Thread Milan P. Stanic
On Fri, 2009-04-17 at 14:32, Elton Hoxha wrote: I was running kannel for 2 weeks with no problems. Today I had to change the conf file adding one other SMPP connection. After I started bearerbox binding all the clients, I started the smsbox but I noticed the failure hours later 2009-04-17

Re: smsbox not starting

2009-04-17 Thread Elton Hoxha
Hi, Actually I use 4 bearerbox instances separating my connections. I never had this type of error even using this configuration below. group = core admin-port = 13000 smsbox-port = 13010 sendsms-port = 13015 group = core admin-port = 13000 smsbox-port = 13020 sendsms-port = 13016 group = core

Re: smsbox not starting

2009-04-17 Thread seikath
Hi, whats the use of four instances ? use one bearerbox to handle all the smsc connections .. Elton Hoxha wrote: Hi, Actually I use 4 bearerbox instances separating my connections. I never had this type of error even using this configuration below. group = core admin-port = 13000

Re: smsbox not starting

2009-04-17 Thread Milan P. Stanic
On Fri, 2009-04-17 at 15:00, Elton Hoxha wrote: Actually I use 4 bearerbox instances separating my connections. I never had this type of error even using this configuration below. Interesting idea :). But it is useless (at least) and can lead to problems. Actually, that can be cause of your

Re: smsbox not starting

2009-04-17 Thread Elton Hoxha
I use multiple instances because when I add other connections I dont want to affect the actual ones. So I dont need to stop and start all the connections, but just one bearerbox instance that holds some specific connections. On Fri, Apr 17, 2009 at 3:12 PM, seikath seik...@gmail.com wrote:

Re: smsbox not starting

2009-04-17 Thread narendra reddy
just add one more smsc that's it no need to add more cores and add use diff ports On Fri, Apr 17, 2009 at 7:21 PM, Elton Hoxha elt...@gmail.com wrote: In theory it can be right what you said Milan, but practically I have started multiple bearerbox instances running on the admin-port 13000

Re: smsbox not starting

2009-04-17 Thread Elton Hoxha
In theory it can be right what you said Milan, but practically I have started multiple bearerbox instances running on the admin-port 13000 without having problems for weeks :) On Fri, Apr 17, 2009 at 3:44 PM, Milan P. Stanic m...@arvanta.net wrote: On Fri, 2009-04-17 at 15:00, Elton Hoxha

Re: why it is dying?

2009-04-17 Thread Alvaro Cornejo
Message gives the error Kannel cant get required memory to run. Try closing some apps to free up memory and test again Regards Alvaro |-| Envíe y Reciba Datos y mensajes de Texto

Re: smsbox not starting

2009-04-17 Thread seikath
i understand the idea, but in reality, all modern smsc will keep the MO traffic in the queue till your esme bind again ... so its safe to add new smsc and restart the bearerbox ... and i dont think you add new smsc very often :) Elton Hoxha wrote: I use multiple instances because when I add

Re: why it is dying?

2009-04-17 Thread Alvaro Cornejo
I think there is an special flag/parameter for compiling kannel in a 64bit environnement. Check mailinglist for details |-| Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde

Re: Looking for a kannel consultant

2009-04-17 Thread seikath
try commercial list as well commerc...@kannel.org William Maas wrote: Hello, We are a media company located in central America and actually we looking for a kannel expert/consultant to improve our SMS platform. Interested ones please contact me at this list or directly to my

Re: smsbox not starting

2009-04-17 Thread Nikos Balkanas
Hi, That's not possible. It contradicts all socket theory. Besides, when you access through HTTP tcp 13000, which one of the boxes are you administering? Just assign different admin port to each one. You cannot disable it. Nikos - Original Message - From: Elton Hoxha To:

Re: Kannel not connecting to smsc

2009-04-17 Thread Nikos Balkanas
Hi, Don't use NULL in your configuration. NULL is a string with value NULL, whereas configuration expects legitimate value or nothing at all, in which case it takes it as NULL. Just comment out all NULLs and you should be OK. BR, Nikos - Original Message - From: Tony To:

Re: why it is dying?

2009-04-17 Thread Nikos Balkanas
Hi, Please run logs @level 0 giving 10 more lines at start before the problem. Nikos - Original Message - From: Pyro Surya To: users@kannel.org Sent: Friday, April 17, 2009 1:56 PM Subject: why it is dying? Linux version 2.6.18-92.el5 (xxbu...@builderxx.centos.org) (gcc

Re: smsbox not starting

2009-04-17 Thread Elton Hoxha
Its totally possibleall 4 conf files used by 4 bearerboxes have the same admin-port 13000 and the routing of SMS through different SMPP connections is done without problems. My problem consisted only at sms-box error message that I couldnt understand but I suspect it was because one old smsbox

Re: smsbox not starting

2009-04-17 Thread Nikos Balkanas
OK, then, please rewrite all C and sockets and start your own college...Assuming of course that all bearerbox instances live on the same server... - Original Message - From: Elton Hoxha To: Nikos Balkanas Cc: users@kannel.org Sent: Saturday, April 18, 2009 1:10 AM

Re: smsbox not starting

2009-04-17 Thread Alejandro Guerrieri
Elton, it's not possible for more than one process to listen on the same address/port combination at the same time. Once a process attachs to a socket, it locks it until it releases. That's the address already in use error you get. It's just like trying to put two keys on the same lock at the

Re: smsbox not starting

2009-04-17 Thread Elton Hoxha
I think there is a misunderstanding. I was refering to the port that SMS-BOX is listening and we got confused with the admin-port. Of course all my instances have different sms-box ports. I was just claiming that, having the admin-port 13000 for all instances that bind successfully, it does not