When reloading, permissions on files within /var/lib/asterisk/agi-bin change from “-rwxrwxrwx 1 asterisk asterisk” to “-rwxrwx— 1 asterisk asterisk”, and as dial-parties is then unuseable, calls fail to reach extensions. Is there any reason this would be happening, and what can I do to change it? I am running FPBX 2.9.0.7 with Asterisk 1.8.
Please let me know if I can provide any additional information.
There was no resolution to this. My httpd.conf is also set to user:asterisk group:asterisk. I have not tried changing owner to root, nor do i want to. Where do I set how the permissions are defined?
What DID change prior to this happening was that I added space to the LVM asterisk is on. I can’t think of why that would break things, but maybe someone has more insight than I do. Any thoughts?
I did not have this trouble before increasing the size of the LVM on the PBX. Everything loaded fine, applying settings did not change anything. Right now I just need to get asterisk running as asterisk; does anyone have any idea how I can revert this?
Just found something that may make a difference; /etc/sysconfig/asterisk has USER/GROUP commented out. I will enable them, and see how that changes things. If anyone has any thoughts on any negative side effects this may have, please let me know. As far as I can tell permissions are right everywhere; the issue is asterisk not being run as asterisk.
Uncommented those lines and asterisk is now running as asterisk. Clicking apply does not appear to break things; we will see if this stays true tomorrow during service.