Hi Rayson,

 

I did the change you said but I still got the same error, even if I start the sqlbox or the smsbox.  

What could it be?  I even install a brand new fedora 3 server with a fresh copy of kannel without mysql support nor sqlbox, but I got the same problem.

 

What else can I try?

 

thanks

 

Luis Valencia


From: Rayson Lee [mailto:[EMAIL PROTECTED]
Sent: Miércoles, 26 de Abril de 2006 11:15 p.m.
To: 'Luis Valencia'; 'Kavuri Prasad'; 'Alejandro J. Ramirez'
Cc: users@kannel.org
Subject: RE: smsbox-port in non-exisiting group

 

Hi Luis,

 

You have to specify smsbox-id=sqlbox2 under the smsbox group, so that sqlbox can find the right smsbox to use.

 

Best regards,

 

Rayson Lee

InnoAge Hong Kong Limited

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Luis Valencia
Sent: Friday, April 21, 2006 10:41 PM
To: 'Kavuri Prasad'; 'Alejandro J. Ramirez'
Cc: users@kannel.org
Subject: RE: smsbox-port in non-exisiting group

 

He is my kannel.conf, my smsbox.conf and my sqlbox.conf, I doubt there’s something wrong, because the whole system was working properly before I downgraded the Mysql, Php and Apache versions.  Obviously I re-installed Kannel before the downgrading. 

 

Many thanks folks

 

KANNEL.CONF

 

group = core

admin-port = 13000

wapbox-port = 13002

smsbox-port= 13003

admin-password = xxx

wdp-interface-name = "*"

log-file = "/var/log/kannel/core.log"

log-level = 1

access-log = "/var/log/kannel/access.log"

store-file = "/etc/kannel/sms-store-file"

unified-prefix = "+502,00502,0;+,00"

dlr-storage = "mysql"

 

include = "/etc/kannel/sqlbox.conf"

include = "/etc/kannel/mysql.conf"

include = "/etc/kannel/smsbox.conf"

include = "/etc/kannel/wapbox.conf"

 

 

SMSBOX.CONF

 

group = smsc

.

.

.

.

 

 

group = smsbox

bearerbox-host = localhost

bearerbox-is-sqlbox = true

sendsms-url= "">

global-sender= 911

sendsms-port= 13100

log-file = "/var/log/kannel/smsbox.log"

log-level = 1

reply-requestfailed= Error

 

group= sendsms-user

.

.

 

 

group= sms-service

.

.

.

 

 

#group= sms-service

#keyword= default

#text= "gracias por utilizar los servicios del 911 Comcel"

 

SQLBOX.CONF

 

group = sqlbox

id = dlr-db2

smsbox-id = sqlbox2

bearerbox-host = "127.0.0.1"

smsbox-port = 13005

smsbox-port-ssl = false

sql-log-table = sent_sms

sql-insert-table = send_sms

global-sender = 911

log-file = "/var/log/kannel/sqlbox.log"

log-level = 1

 

Luis Valencia

Asistencia Global S.A.

Tel. 2428 1470 x 2523

Fax. 2428 1472


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kavuri Prasad
Sent: Jueves, 20 de Abril de 2006 09:52 p.m.
To: Luis Valencia
Subject: Re: smsbox-port in non-exisiting group

 

Would you be able to post your kannel.conf ... the sms-box group is defined there so we need that to analyse ..

Regards,
Prasad

On 4/21/06, Luis Valencia <[EMAIL PROTECTED]> wrote:

Hi,

 

I have compiled kannel 1.4.0 in fedora 3 and everything was ok, I run the bearerbox and ok, but when I run the sqlbox or smsbox I got a Panic error:

 

[EMAIL PROTECTED] ~]# /usr/local/sbin/sqlbox -v 1 /etc/kannel/sqlbox.conf

2006-04-20 12:04:49 [18257] [0] INFO: Debug_lvl = 1, log_file = <none>, log_lvl = 0

2006-04-20 12:04:49 [18257] [0] PANIC: Trying to fetch variable `smsbox-port' in non-existing group

2006-04-20 12:04:49 [18257] [0] PANIC: /usr/local/sbin/sqlbox(gw_panic+0x174) [0x806ce38]

2006-04-20 12:04:49 [18257] [0] PANIC: /usr/local/sbin/sqlbox(cfg_get_real+0x39) [0x805ae09]

2006-04-20 12:04:49 [18257] [0] PANIC: /usr/local/sbin/sqlbox(cfg_get_integer+0x23) [0x805aef8]

2006-04-20 12:04:49 [18257] [0] PANIC: /usr/local/sbin/sqlbox [0x80505c1]

2006-04-20 12:04:49 [18257] [0] PANIC: /usr/local/sbin/sqlbox(main+0x140) [0x8050965]

2006-04-20 12:04:49 [18257] [0] PANIC: /lib/tls/libc.so.6(__libc_start_main+0xd3) [0x3a1e23]

2006-04-20 12:04:49 [18257] [0] PANIC: /usr/local/sbin/sqlbox [0x804f6c9]

 

What could be the problem here??  Thanks in advance for all your help

 

Juan Valencia

 

Reply via email to