It's very easy to read something to do with your MySQL connection details. Either it's not running or you specified wrong details in the kannel's configuration.
2012/10/24 sudhir meena <[email protected]> > Good Afternoon > Sir, > > I had a error when starting bearerbox from mysql the error as below: > > [root@mx sbin]# ./bearerbox > 2012-10-24 20:32:12 [52783] [0] INFO: Debug_lvl = -1, log_file = <none>, > log_lvl = 0 > 2012-10-24 20:32:12 [52783] [0] DEBUG: Loading include file `atm.conf' (on > line 28 of file kannel.conf). > 2012-10-24 20:32:12 [52783] [0] ERROR: MYSQL: can not connect to database! > 2012-10-24 20:32:12 [52783] [0] ERROR: MYSQL: Can't connect to local MySQL > server through socket '/tmp/mysql.sock' (111) > 2012-10-24 20:32:12 [52783] [0] ERROR: MYSQL: can not connect to database! > 2012-10-24 20:32:12 [52783] [0] ERROR: MYSQL: Can't connect to local MySQL > server through socket '/tmp/mysql.sock' (111) > 2012-10-24 20:32:12 [52783] [0] ERROR: MYSQL: can not connect to database! > 2012-10-24 20:32:12 [52783] [0] ERROR: MYSQL: Can't connect to local MySQL > server through socket '/tmp/mysql.sock' (111) > 2012-10-24 20:32:12 [52783] [0] ERROR: MYSQL: can not connect to database! > 2012-10-24 20:32:12 [52783] [0] ERROR: MYSQL: Can't connect to local MySQL > server through socket '/tmp/mysql.sock' (111) > 2012-10-24 20:32:12 [52783] [0] ERROR: MYSQL: can not connect to database! > 2012-10-24 20:32:12 [52783] [0] ERROR: MYSQL: Can't connect to local MySQL > server through socket '/tmp/mysql.sock' (111) > 2012-10-24 20:32:12 [52783] [0] PANIC: DLR: MySQL: database pool has no > connections! > 2012-10-24 20:32:12 [52783] [0] PANIC: ./bearerbox(gw_panic+0x147) > [0x479de7] > 2012-10-24 20:32:12 [52783] [0] PANIC: ./bearerbox(dlr_init_mysql+0x2ce) > [0x4199be] > 2012-10-24 20:32:12 [52783] [0] PANIC: ./bearerbox(dlr_init+0x7c) > [0x4182fc] > 2012-10-24 20:32:12 [52783] [0] PANIC: ./bearerbox(main+0xdd) [0x40cedd] > 2012-10-24 20:32:12 [52783] [0] PANIC: > /lib64/libc.so.6(__libc_start_main+0xfd) [0x3ebd21ecdd] > 2012-10-24 20:32:12 [52783] [0] PANIC: ./bearerbox() [0x40c0e9] > > > -- > *Sudhir Kumar Meena > Linux System Engineer > +91-8373902596 > Acube Promotion House Pvt. Ltd. > * >
