[Asterisk-Users] Unable to open Asterisk database

Luki lugosoft at gmail.com
Wed Mar 29 17:26:26 MST 2006


Erick,

> I now want to run asterisk with the -U asterisk and -G asterisk
> credentials. When I do it I have the error (asterisk is a valid
> user/group in the system with nologin as shell):
> /var/log/asterisk/messages:
> WARNING[5230] db.c: Unable to open Asterisk database
> WARNING[5230] db.c: Database unavailable

I believe this refers to the AstDB not the mySQL database. Make sure
the astdb file is writeable by user asterisk. The file is usually in
/var/lib/astdb.

--Luki



More information about the asterisk-users mailing list