Did I do something wrong on a fresh install?

So, Funny story.

The computer I was using had no USB Support, and I had no disks. Ergo, I used Serva to install. Funnily enough, I got prompted by a Sangoma-OS Graphical install wizard - to which I attempted to use to the best of my knowledge.

Now, I waited it out, and I’m quite displeased that I am getting an error.

Whoops \ Exception \ ErrorException (E_WARNING)
file(/etc/asterisk/asterisk.conf): failed to open stream: Permission denied

To be exact.

think anyone can help me out on this?

Note - I did use “fwconsole chown” - I just recieved the same response.

chown -R asterisk:asterisk /etc/asterisk

Didnt even try to work. Still got the same error.

I dont know what you mean by this.

Which OS did you use?

For installation - Windows 7 using Serva. TFTP the files.

I chose the 32Bit Legacy (Stable). Forgot the name of it.

ls -l /etc/asterisk

Pretty sure i’d be called out for spam if I didnt use Pastebin - -rw-rw-r--. 1 asterisk asterisk 767 Aug 7 17:16 ari_additional.conf-rw-rw- - Pastebin.com

No. You wouldn’t have

ps aux | egrep 'httpd'

root 678 0.0 1.3 542856 25236 ? Ss 17:50 0:02 /usr/sbin/httpd -DFOREGROUND
asterisk 1745 0.0 0.9 544152 17568 ? S 17:50 0:00 /usr/sbin/httpd -DFOREGROUND
asterisk 1746 0.0 0.9 544136 17520 ? S 17:50 0:00 /usr/sbin/httpd -DFOREGROUND
asterisk 1747 0.0 1.1 546452 22696 ? S 17:50 0:00 /usr/sbin/httpd -DFOREGROUND
asterisk 1748 0.0 0.9 544152 17856 ? S 17:50 0:00 /usr/sbin/httpd -DFOREGROUND
asterisk 1749 0.0 0.9 544136 17520 ? S 17:50 0:00 /usr/sbin/httpd -DFOREGROUND
asterisk 11258 0.0 0.9 544152 17560 ? S 17:52 0:00 /usr/sbin/httpd -DFOREGROUND
root 12250 0.0 0.0 112648 928 pts/1 S+ 22:19 0:00 grep -E --color=auto httpd
[root@sopretty ~]#

Everything is correct. There is no reason for you to be getting permission denied errors.

Tell that to the machine. :confused:

https://issues.freepbx.org/browse/FREEPBX-15522

I suggest a reinstall. Something is not right.

I closed your ticket as I don’t see the point of opening it if we cant reproduce it.

Try to switch to the Asterisk user and go can cat the file yourself

su asterisk
cat /etc/asterisk/asterisk.conf