[asterisk-users] Asterisk 1.6.0.5 as non root and moh perm issue
Joseph L. Casale
JCasale at activenetwerx.com
Mon Feb 23 12:51:14 CST 2009
>The specific error is that it cannot chdir to the music on hold
>directory. Are you sure you have the right directory?
>
>what do you get when you do:
>CLI> moh show files
>and
>CLI> moh show classes
>
>The specific error is that it cannot chdir to the music on hold
>directory. Who owns the parent directory?
dev*CLI> moh show files
Class: default
dev*CLI>File: /var/lib/asterisk/moh/fpm-sunshine
dev*CLI>File: /var/lib/asterisk/moh/fpm-world-mix
dev*CLI>File: /var/lib/asterisk/moh/fpm-calm-river
dev*CLI> moh show classes
Class: default
dev*CLI>Mode: files
dev*CLI>Directory: /var/lib/asterisk/moh
dev*CLI>Use Count: 0
dev*CLI>
Even with perms set to 755, the error appears?
[root at dev ~]# asterisk -U asterisk -vvvc | egrep -i '(warn|error)'
[Feb 23 11:51:11] WARNING[8809]: res_musiconhold.c:987 moh_scan_files: chdir() failed: Permission denied
[Feb 23 11:51:11] WARNING[8809]: translate.c:645 __ast_register_translator: plc_samples 160 format f
Looks more or less to be cosmetic than anything else I am now thinking.
Thanks guys!
jlc
More information about the asterisk-users
mailing list