Everything worked just fine, and today i needed to install new Asterisk server(I used second VM machine to do so) and I followed the same tutorial, however after doing the exact same set of steps, after trying to start asterisk console with asterisk -r this message shows:
Unable to open Asterisk database ‘/var/lib/asterisk/astdb.sqlite3’: unable to open database file
ASTdb initialization failed. ASTERISK EXITING!
This DB is not in /var/lib/asterisk/ directory. In the first server I installed, it is. So does anybody have any idea on why didnt this db installed this time?
Does anybody have idea on how to fix it? Or what did I do wrong?
There is no installation for the database. Asterisk opens it (which creates it if it does not exist) at startup, and if the table isn’t created also creates it.
Did this prevent Asterisk from starting? Does the user Asterisk is running as have permissions to that directory?
It was actually in the video as well, i feel stupid for overseeing it. Sorry for wasting your time. But i appreciate you trying to help me, plus you forwarded me to the right direction. So thank you