My FreePBX distro has (previously) been running without problem.
FreePBX distro 10.13.66-20; Asterisk 11.25.1
On reboot, fwconsole start, or any update script, eventually the system gets to:
... Running FreePBX startup... Taking too long? Customize the chown command, See http://wiki.freepbx.org/display/FOP/FreePBX+Chown+Conf Setting Permissions... Setting base permissions...
And then nothing more.
using ‘top’ at the CLI shows the command ‘find’ at the top of the list, consitently using 6-8% of the CPU, seemingly with no end in sight.
Setting verbosity to -vvv gives me no insight, yielding:
[[email protected] ~]# fwconsole chown -vvv Setting Permissions... Setting base permissions...
and then nothing more.
I’ve let the system sit at that point for over an hour…no change…‘find’ remains taking up 6-8% of the CPU.
If I use ‘fwconsole restart’ it gets asterisk running as that apparently skips the chown step.
After that starts, the GUI reported:
Reload failed because retrieve_conf encountered an error: 1
Log from System Admin module regarding the update to 66-20 looks clean:
2017-05-11 17:17:36: (10.13.66-20) Now running 10.13.66-20 script 2017-05-11 17:17:36: (10.13.66-20) Starting stage 1 2017-05-11 17:20:59: (10.13.66-20) Stage 1 complete ...2...3...4...5...6... 2017-05-11 17:39:00: (10.13.66-20) Upgrade script complete 2017-05-11 17:39:00: (10.13.66-20) Upgrade process successfully completed!
I have not had to reboot since that update, until this morning, so things had been running well for months after that update.
I have not had an /etc/asterisk/freepbx_chown.conf file when the system was operating previously.
I would gladly blacklist offending directories/files, if I knew which to blacklist.
In an attempt to get past this I did create a freepbx_chown.conf temporarily with:
[blacklist] directory = /
But that made no difference so I removed it.
At the console, my system is still at “Setting base permissions…”, but through ssh I have it running via ‘fwconsole restart’ and as far as my users know, everything is working fine.
I appreciate any thoughts anyone has on my chown issue.