Asterisk database locked?


I get an error message all the time on the CLI:
" WARNING[13486]: db.c:288 db_execute_sql: Error executing SQL (COMMIT): database is locked"
But, when I check, I have no problem to connect to my databases in mysql server.

I don’t know what it means and how can I fix this problem?

Thank you in advance,

Make sure the SELINUX is disabled

vi /etc/selinux/config


Once the Configuration is changed, reboot the server for changes to take effect.

This should basically solve the issue.