- Non-Commercial Discussion
Subject: [asterisk-users] Error opening file for reading: Permission denied
Asterisk 12.4
I am seeing message Error opening file for reading: Permission denied
several times during the asterisk startup (asterisk -cv) but it
doesn't say which file. Is there a way
On Tue, Aug 19, 2014 at 11:36 AM, Mitch Claborn mitch...@claborn.net wrote:
No, that's not it. The wording is different.
grep doesn't turn up your phrase:
~/projects/12$ grep --include=*.c --include=*.h -r Error opening file .
~/projects/12$
Are you using any 3rd party modules that aren't
I tried grep too.
No 3rd party modules - this is an out-of-the box download and build.
I'm guessing that some library function is being called to read a file
and the error is happening there?
Mitch
On 08/19/2014 02:33 PM, Matthew Jordan wrote:
On Tue, Aug 19, 2014 at 11:36 AM, Mitch
On Tue, Aug 19, 2014 at 11:36 AM, Mitch Claborn mitch...@claborn.net
No, that's not it. The wording is different.
Can you run Asterisk via strace? Something like:
sudo -u asterisk strace /usr/sbin/asterisk -c -p -U asterisk
--
Thanks in advance,
Grepping the output of the strace revealed this:
stat(/root/.terminfo, 0x7fff8622ed50) = -1 EACCES (Permission denied)
open(/root/.asterisk_history, O_RDONLY) = -1 EACCES (Permission denied)
open(/root/.odbcinst.ini, O_RDONLY) = -1 EACCES (Permission denied)
[this one many times]
That must
Asterisk 12.4
I am seeing message Error opening file for reading: Permission denied
several times during the asterisk startup (asterisk -cv) but it
doesn't say which file. Is there a way to find out which file is having
trouble?
--
Mitch
--
-users-boun...@lists.digium.com
asterisk-users-boun...@lists.digium.com on behalf of Mitch Claborn
mitch...@claborn.net
Sent: Monday, August 18, 2014 1:14 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] Error opening file for reading: Permission denied