[asterisk-users] Unable to open Asterisk database
Giorgio Incantalupo
gincantalupo at fgasoftware.com
Mon Oct 16 01:39:50 MST 2006
Hi Benjamin,
I checked in every place and it seems all right. The strangest thing is
that _Asterisk is writing CDR records inside the right table_....that's
why I do not understand this message. I would expect Asterisk not to
fill in the DB.
Can I ignore the warning?
TIA
Giorgio Incantalupo
Benjamin Jacob wrote:
> Giorgio Incantalupo wrote:
>
>> Hi,
>> I'm using mysql to store my cdr data. I compiled asterisk-addon
>> module without problems and I see nothing unusual in my
>> cdr_mysql.conf but when I do a reload I get this messages (never seen
>> before):
>>
>> Oct 16 09:43:16 WARNING[8576]: db.c:67 dbinit: Unable to open
>> Asterisk database
>> Oct 16 09:43:16 WARNING[8576]: db.c:423 ast_db_gettree: Database
>> unavailable
>>
>> But If I try to connect from shell it works without any problem.
>>
>> Does anybody know why?
>>
>> Giorgio Incantalupo
>> _______________________________________________
>> --Bandwidth and Colocation provided by Easynews.com --
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>> http://lists.digium.com/mailman/listinfo/asterisk-users
>>
> cross check ur modules.conf and cdr_mysql.conf
> modules.conf shud have 'load => cdr_addon_mysql.so'
>
> neway.. its something to do with your sql configuration,
> wrong passwords, usernames, host and permissions on sql.
>
> seen these errors too often. n the reasons r human error.
>
> cheerz
> Ben.
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
More information about the asterisk-users
mailing list