I'v tried sqlbox with your config file and it is working.
Check if you'v compiled kannel and sqlbox with mysql support.

Regards,
M

On 8/5/06, Cavit Dolgun <[EMAIL PROTECTED]> wrote:




Hi all,



Since the patch for sqlbox was not working for me I downloaded and installed
sqlbox-standalone. After installation when I try to run sqlbox conffile I
get the following error message:



2006-08-05 16:25:56 [29668] [0] INFO: Starting to log to file
/var/log/kannel/kannel-sqlbox.log level 0

2006-08-05 16:25:56 [29668] [0] INFO: Added logfile
`/var/log/kannel/kannel-sqlbox.log' with level `0'.

2006-08-05 16:25:56 [29668] [0] PANIC: No proper SQL server defined.

2006-08-05 16:25:56 [29668] [0] PANIC: sqlbox(gw_panic+0xd1) [0x8066b89]

2006-08-05 16:25:56 [29668] [0] PANIC: sqlbox(main+0x4f9) [0x805066d]

2006-08-05 16:25:56 [29668] [0] PANIC:
/lib/libc.so.6(__libc_start_main+0xc6) [0xb81de6]

2006-08-05 16:25:56 [29668] [0] PANIC: sqlbox [0x804f39d]



This is my config file:



group = sqlbox

id = sqlbox-db

smsbox-id = smsbox

#global-sender = ""

bearerbox-host = localhost

bearerbox-port = 13001

smsbox-port = 13005

smsbox-port-ssl = false

sql-log-table = sent_sms

sql-insert-table = send_sms

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

log-level = 0

#white-list = ""

#black-list = ""

#white-list-regex = ""

#ssl-client-certkey-file = ""

#ssl-server-cert-file = ""

#ssl-server-key-file = ""

#ssl-trusted-ca-file = ""



group = mysql-connection

id = sqlbox-db

host = localhost

username = myuser

password = mypass

database = delivery

max-connections = 10







The username and the password for the db are ok I can login using mysql to
the database "delivery" using that username and password.





Any ideas what I am doing wrong?



Thanks

Reply via email to