I am using PBX Version 2.210.62-2
This morning the system was hung or non-responsive, our only recourse was to shut the power off and restart. This normally works without a hitch. But this morning, the server restarted but asterisk did not start. Looking at the log file /var/log/asterisk/full I found these log entries.
[2013-04-03 12:02:44] VERBOSE config.c: == Parsing ‘/etc/asterisk/asterisk.conf’: [2013-04-03 12:02:44] VERBOSE config.c: == Found
[2013-04-03 12:02:44] WARNING db.c: Couldn’t prepare statement ‘CREATE TABLE IF NOT EXISTS astdb(key VARCHAR(256), value VARCHAR(256), PRIMARY KEY(key))’: disk I/O error
[2013-04-03 12:02:44] WARNING db.c: Couldn’t create astdb table: disk I/O error
To me it looks like the database that asterisk uses is corrupt. Can someone confirm this and instruct me the proper way to repair?
I would try to restore from backup but the option is not available now in FreePBX.
Thank you in advance for your help!