Re: [asterisk-users] Error opening file for reading: Permission denied

2014-08-19 Thread Mitch Claborn
- 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

Re: [asterisk-users] Error opening file for reading: Permission denied

2014-08-19 Thread Matthew Jordan
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

Re: [asterisk-users] Error opening file for reading: Permission denied

2014-08-19 Thread Mitch Claborn
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

Re: [asterisk-users] Error opening file for reading: Permission denied

2014-08-19 Thread Steve Edwards
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,

Re: [asterisk-users] Error opening file for reading: Permission denied

2014-08-19 Thread Mitch Claborn
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-users] Error opening file for reading: Permission denied

2014-08-18 Thread Mitch Claborn
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 --

Re: [asterisk-users] Error opening file for reading: Permission denied

2014-08-18 Thread Paul Greenberg
-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