RE: Problem starting kannel with dlr-storage mysql
Don't know it the misspelling 'mySql' with a capital S could be the issue ??? You have to provide your conf file in order we take a look on the full configuration. Regards -Original Message- From: Knaan Ratosh [mailto:[EMAIL PROTECTED] Sent: dimanche 11 novembre 2007 02:32 To: Rodrigo Cremaschi; Enver ALTIN Cc: users@kannel.org Subject: RE: Problem starting kannel with dlr-storage mysql I don't start the kanne; in a different way when using the dlr-storage=mysql. And when using internal I don't have the problem. So how can it be related to the order in which I start the services? Anyways, when starting only berearbox I get the following exception: [EMAIL PROTECTED] sbin]# ./bearerbox -v 0 /usr/local/kannel/etc/kannel.conf 2007-11-11 09:58:29 [26371] [0] INFO: Debug_lvl = 0, log_file = , log_lvl = 0 2007-11-11 09:58:29 [26371] [0] PANIC: DLR: storage type 'mySql' is not supported! 2007-11-11 09:58:29 [26371] [0] PANIC: ./bearerbox(gw_panic+0xa3) [0x80dd347] 2007-11-11 09:58:29 [26371] [0] PANIC: ./bearerbox(dlr_init+0x1c0) [0x8083e88] 2007-11-11 09:58:29 [26371] [0] PANIC: ./bearerbox(main+0xec) [0x807a450] 2007-11-11 09:58:29 [26371] [0] PANIC: /lib/tls/libc.so.6(__libc_start_main+0xe3) [0x30be33] 2007-11-11 09:58:29 [26371] [0] PANIC: ./bearerbox [0x8079ed9] Meaning it says mysql is not supported, and this is after I compiled it with mysql specifically. So what can it be? Knaan Ratosh Acting VP R&D AxisMobile Ltd. Consumer Mobile Email Tel: Int +972-3-7685529 Mobile: Int +972-54-3138460 [EMAIL PROTECTED] -Original Message- From: Rodrigo Cremaschi [mailto:[EMAIL PROTECTED] Sent: Friday, November 09, 2007 2:44 PM To: Enver ALTIN Cc: users@kannel.org Subject: Re: Problem starting kannel with dlr-storage mysql Hi Knaan, > 2007-11-09 07:21:48 [2652] [0] ERROR: error connecting to server `localhost' at port `13002' > 2007-11-09 07:21:48 [2652] [0] PANIC: Couldn't connect to the bearerbox. Be sure that bearerbox is up and running before starting any other box. On Nov 9, 2007 7:30 AM, Enver ALTIN <[EMAIL PROTECTED]> wrote: > On Fri, 2007-11-09 at 10:05 +0200, Knaan Ratosh wrote: > > I was trying to start the kannel using dlr-storage=mysql, but the it > > fails. The logs in the wapbox.log say: > > wapbox.log doesn't help, in order to understand the problem we need the > output from bearerbox. > -- > Enver > This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals & computer viruses. _ Antivirus avast! <http://www.avast.com> : message Sortant sain. Base de donnees virale (VPS) : 07-1, 11/11/2007 Analyse le : 12/11/2007 00:01:18 avast! - copyright (c) 1988-2007 ALWIL Software.
RE: Problem starting kannel with dlr-storage mysql
I don't start the kanne; in a different way when using the dlr-storage=mysql. And when using internal I don't have the problem. So how can it be related to the order in which I start the services? Anyways, when starting only berearbox I get the following exception: [EMAIL PROTECTED] sbin]# ./bearerbox -v 0 /usr/local/kannel/etc/kannel.conf 2007-11-11 09:58:29 [26371] [0] INFO: Debug_lvl = 0, log_file = , log_lvl = 0 2007-11-11 09:58:29 [26371] [0] PANIC: DLR: storage type 'mySql' is not supported! 2007-11-11 09:58:29 [26371] [0] PANIC: ./bearerbox(gw_panic+0xa3) [0x80dd347] 2007-11-11 09:58:29 [26371] [0] PANIC: ./bearerbox(dlr_init+0x1c0) [0x8083e88] 2007-11-11 09:58:29 [26371] [0] PANIC: ./bearerbox(main+0xec) [0x807a450] 2007-11-11 09:58:29 [26371] [0] PANIC: /lib/tls/libc.so.6(__libc_start_main+0xe3) [0x30be33] 2007-11-11 09:58:29 [26371] [0] PANIC: ./bearerbox [0x8079ed9] Meaning it says mysql is not supported, and this is after I compiled it with mysql specifically. So what can it be? Knaan Ratosh Acting VP R&D AxisMobile Ltd. Consumer Mobile Email Tel: Int +972-3-7685529 Mobile: Int +972-54-3138460 [EMAIL PROTECTED] -Original Message- From: Rodrigo Cremaschi [mailto:[EMAIL PROTECTED] Sent: Friday, November 09, 2007 2:44 PM To: Enver ALTIN Cc: users@kannel.org Subject: Re: Problem starting kannel with dlr-storage mysql Hi Knaan, > 2007-11-09 07:21:48 [2652] [0] ERROR: error connecting to server `localhost' at port `13002' > 2007-11-09 07:21:48 [2652] [0] PANIC: Couldn't connect to the bearerbox. Be sure that bearerbox is up and running before starting any other box. On Nov 9, 2007 7:30 AM, Enver ALTIN <[EMAIL PROTECTED]> wrote: > On Fri, 2007-11-09 at 10:05 +0200, Knaan Ratosh wrote: > > I was trying to start the kannel using dlr-storage=mysql, but the it > > fails. The logs in the wapbox.log say: > > wapbox.log doesn't help, in order to understand the problem we need the > output from bearerbox. > -- > Enver > This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals & computer viruses.
Re: Problem starting kannel with dlr-storage mysql
Hi Knaan, > 2007-11-09 07:21:48 [2652] [0] ERROR: error connecting to server `localhost' > at port `13002' > 2007-11-09 07:21:48 [2652] [0] PANIC: Couldn't connect to the bearerbox. Be sure that bearerbox is up and running before starting any other box. On Nov 9, 2007 7:30 AM, Enver ALTIN <[EMAIL PROTECTED]> wrote: > On Fri, 2007-11-09 at 10:05 +0200, Knaan Ratosh wrote: > > I was trying to start the kannel using dlr-storage=mysql, but the it > > fails. The logs in the wapbox.log say: > > wapbox.log doesn't help, in order to understand the problem we need the > output from bearerbox. > -- > Enver >
Re: Problem starting kannel with dlr-storage mysql
On Fri, 2007-11-09 at 10:05 +0200, Knaan Ratosh wrote: > I was trying to start the kannel using dlr-storage=mysql, but the it > fails. The logs in the wapbox.log say: wapbox.log doesn't help, in order to understand the problem we need the output from bearerbox. -- Enver signature.asc Description: This is a digitally signed message part
Problem starting kannel with dlr-storage mysql
Hi, I was trying to start the kannel using dlr-storage=mysql, but the it fails. The logs in the wapbox.log say: 2007-11-09 07:21:48 [2652] [0] INFO: Starting to log to file /usr/local/kannel/log/wapbox.log level -1 2007-11-09 07:21:48 [2652] [0] DEBUG: syslog parameter is none 2007-11-09 07:21:48 [2652] [0] INFO: 2007-11-09 07:21:48 [2652] [0] INFO: Kannel wapbox version 1.4.1 starting up. 2007-11-09 07:21:48 [2652] [0] DEBUG: Started thread 1 (wap/wsp_session.c:main_thread) 2007-11-09 07:21:48 [2652] [0] DEBUG: Started thread 2 (wap/wsp_unit.c:main_thread) 2007-11-09 07:21:48 [2652] [0] DEBUG: Started thread 3 (wap/wsp_push_client.c:main_thread) 2007-11-09 07:21:48 [2652] [0] DEBUG: Started thread 4 (wap/timers.c:watch_timers) 2007-11-09 07:21:48 [2652] [0] DEBUG: Started thread 5 (wap/wtp_init.c:main_thread) 2007-11-09 07:21:48 [2652] [0] DEBUG: Started thread 6 (wap/wtp_resp.c:main_thread) 2007-11-09 07:21:48 [2652] [0] DEBUG: Started thread 7 (gw/wap-appl.c:main_thread) 2007-11-09 07:21:48 [2652] [0] DEBUG: Started thread 8 (gw/wap-appl.c:return_replies_thread) 2007-11-09 07:21:48 [2652] [0] DEBUG: Started thread 9 (gw/wap_push_ota.c:main_thread) 2007-11-09 07:21:48 [2652] [0] INFO: HTTP: Opening server at port 8380. 2007-11-09 07:21:48 [2652] [0] DEBUG: Started thread 10 (gwlib/fdset.c:poller) 2007-11-09 07:21:48 [2652] [0] DEBUG: Started thread 11 (gwlib/http.c:server_thread) 2007-11-09 07:21:48 [2652] [0] DEBUG: Started thread 12 (gw/wap_push_ppg.c:ota_read_thread) 2007-11-09 07:21:48 [2652] [0] DEBUG: Started thread 13 (gw/wap_push_ppg.c:http_read_thread) 2007-11-09 07:21:48 [2652] [0] DEBUG: Started thread 14 (gw/wap_push_ppg.c:pap_request_thread) 2007-11-09 07:21:48 [2652] [0] ERROR: connect failed 2007-11-09 07:21:48 [2652] [0] ERROR: System error 111: Connection refused 2007-11-09 07:21:48 [2652] [0] ERROR: error connecting to server `localhost' at port `13002' 2007-11-09 07:21:48 [2652] [0] PANIC: Couldn't connect to the bearerbox. 2007-11-09 07:21:48 [2652] [0] PANIC: /usr/local/kannel/sbin/wapbox(gw_panic+0xa3) [0x80d26cb] 2007-11-09 07:21:48 [2652] [0] PANIC: /usr/local/kannel/sbin/wapbox(main+0x581) [0x807da71] 2007-11-09 07:21:48 [2652] [0] PANIC: /lib/tls/libc.so.6(__libc_start_main+0xe3) [0x30be33] 2007-11-09 07:21:48 [2652] [0] PANIC: /usr/local/kannel/sbin/wapbox [0x807c509] When I removed the dlr-storage=mysql and replaced it with inernal storage, everything worked fine. I tried to compile kannel using the following configure and I stil have he same problem: ./configure --with-mysql --with-mysql-dir=/usr/local/mysql --prefix=/usr/local/kannel-complied or ./configure --with-mysql --with-mysql-dir=/usr/local/mysql --prefix=/usr/local/kannel-complied --with-dlr=mysql What should I do in order to make it work? Knaan Ratosh Acting VP R&D AxisMobile Ltd. Consumer Mobile Email Tel: Int +972-3-7685529 Mobile: Int +972-54-3138460 [EMAIL PROTECTED]