Hello there:

I have the following error:

2012-08-24 23:55:32 [8051] [0] INFO: Starting to log to file
/home/adan/kannel-sqlbox.log    level 0
2012-08-24 23:55:32 [8051] [0] INFO: Added logfile
`/home/adan/kannel-sqlbox.log' with lev   el `0'.
*2012-08-24 23:55:32 [8051] [0] ERROR: MYSQL: can not connect to database!
2012-08-24 23:55:32 [8051] [0] ERROR: MYSQL: Unknown MySQL server host
'192.168.42.105' (0   )
2012-08-24 23:55:32 [8051] [0] PANIC: SQLBOX: MySQL: database pool has no
connections!*
2012-08-24 23:55:32 [8051] [0] PANIC:
/usr/local/sbin/sqlbox(gw_backtrace+0xae) [0x426b3e]
2012-08-24 23:55:32 [8051] [0] PANIC:
/usr/local/sbin/sqlbox(gw_panic+0x165) [0x426cb5]
2012-08-24 23:55:32 [8051] [0] PANIC:
/usr/local/sbin/sqlbox(sqlbox_init_mysql+0x34c) [0x4   0b7ac]
2012-08-24 23:55:32 [8051] [0] PANIC: /usr/local/sbin/sqlbox(main+0x2eb)
[0x40958b]
2012-08-24 23:55:32 [8051] [0] PANIC:
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x   ed) [0x7f95b8ef876d]
2012-08-24 23:55:32 [8051] [0] PANIC: /usr/local/sbin/sqlbox() [0x40980d]

I have installed MySQL workbench and I can connect to the database, and I
have searched internet for help with no success. Can anyone help me please?
Thanks in advance

This is my configuration:

group = sqlbox
id = sqlbox-db
smsbox-id = sqlbox
bearerbox-host = localhost
bearerbox-port = 13001
smsbox-port = 13005
smsbox-port-ssl = false
sql-log-table = sent_sms
sql-insert-table = send_sms
log-level = 0
log-file = "/home/adan/kannel-sqlbox.log"

group = mysql-connection
id = sqlbox-db
host = 192.168.42.105
username = root
password = password
database = kannel
~

Reply via email to