Unable to read /etc/asterisk/asterisk.conf or it was missing a directories section
This occurs after entering the ./install -n command
Using both most current versions via git and tarball.
Looking in the directory I see asterisk.conf is there and owned by Asterisk (running as root)
Solved. It was a (!) in the file
But when i am removed the (!) ,i am not able to start the asterisk.
You are replying to a 2 year old post.
Little things have changed since…
Please post the full error you get, if you can, please open a new topic as well…
After I removed the (!) here was the result.
[[email protected] freepbx]# ./install -n
./install: line 2: ?php: No such file or directory
./install: line 3: namespace: command not found
./install: line 5: syntax error near unexpected token ‘0’
./install: line 5: `set_time_limit(0);’
Any thoughts? TIA
you removed the ! on line 1 of the install script, that is not the one in question, it is the one in asterisk.conf (if it is still there )
Got it. Thanks! it’s working now