Asterisk Non-root – Selinux – Astdb

Home » Asterisk Users » Asterisk Non-root – Selinux – Astdb
Asterisk Users 2 Comments

Hi

I’m trying to use Asterisk running as non-root user and selinux enabled. Asterisk is running ok, but astdb not works. When i try to put in astdb, console shows this message:

WARNING[1853]: db.c:350 ast_db_put: Couldn’t execute statment: SQL logic error or missing database

CentOS 7.5.1804
Asterisk certified/13.21-cert3

[root@sv03 asterisk]# ls -lahZ /var/lib/asterisk/astdb.sqlite3
-rw-r—–. asterisk asterisk unconfined_u:object_r:asterisk_var_lib_t:s0
/var/lib/asterisk/astdb.sqlite3

Can anyone help?

Thanks.

Rafael S. Saraiva

2 thoughts on - Asterisk Non-root – Selinux – Astdb