yum update
fwconsole ma upgradeall
fwconsole ma upgrade endpoint --edge
fwconsole reload
reboot
Asterisk wasn’t running on reboot. So I tried to restart
[jbusch@watson ~]$ sudo fwconsole restart
[sudo] password for jbusch:
Asterisk not currently running
Running FreePBX shutdown...
Core FastAGI Server is not running
RestApps Server is not running
UCP Node Server is not running
Chat Server is not running
Zulu Server is not running
Wanrouter: No valid Sangoma Hardware found, if you have no Sangoma cards this is OK
Stopping DAHDi for Digium Cards
DAHDi Stopped
In Firewall.class.php line 281:
Hook file '/var/spool/asterisk/incron/firewall.stopfirewall' was not picked up by Incron after 5 seconds. Is it not running?
restart [-i|--immediate] [--] [<args>]...
[jbusch@watson ~]$
My experience: error with incron version 0.5.12-11.el7
Ok with version 0.5.10-10.sng7
Whith incron 0.5.12-11.el7
systemctl status incrond.service
● incrond.service - Inotify System Scheduler
Loaded: loaded (/usr/lib/systemd/system/incrond.service; enabled; vendor preset: disabled)
Active: active (running) since Tue 2019-04-23 15:39:43 CEST; 23s ago
Process: 12093 ExecStart=/usr/sbin/incrond (code=exited, status=0/SUCCESS)
Main PID: 12094 (incrond)
CGroup: /system.slice/incrond.service
└─12094 /usr/sbin/incrond
Apr 23 15:39:48 pbx.wiseavocats.be incrond[12094]: cannot create watch for system table legacy: (28) No space left on device
Apr 23 15:39:48 pbx.wiseavocats.be incrond[12094]: cannot create watch for system table legacy: (28) No space left on device
Apr 23 15:39:48 pbx.wiseavocats.be incrond[12094]: cannot create watch for system table legacy: (28) No space left on device
Apr 23 15:39:48 pbx.wiseavocats.be incrond[12094]: cannot create watch for system table legacy: (28) No space left on device
Apr 23 15:39:48 pbx.wiseavocats.be incrond[12094]: cannot create watch for system table legacy: (28) No space left on device
Apr 23 15:39:48 pbx.wiseavocats.be incrond[12094]: cannot create watch for system table legacy: (28) No space left on device
Apr 23 15:39:48 pbx.wiseavocats.be incrond[12094]: cannot create watch for system table legacy: (28) No space left on device
Apr 23 15:39:48 pbx.wiseavocats.be incrond[12094]: cannot create watch for system table legacy: (28) No space left on device
Apr 23 15:39:48 pbx.wiseavocats.be incrond[12094]: cannot create watch for system table legacy: (28) No space left on device
Apr 23 15:39:48 pbx.wiseavocats.be incrond[12094]: cannot create watch for system table legacy: (28) No space left on device
after a downgrade to incron version 0.5.10-10.sng7 (yum downgrade incron)
systemctl status incrond.service
● incrond.service - Inotify System Scheduler
Loaded: loaded (/usr/lib/systemd/system/incrond.service; enabled; vendor preset: disabled)
Active: active (running) since Tue 2019-04-23 15:40:47 CEST; 1h 1min ago
Process: 12699 ExecStart=/usr/sbin/incrond (code=exited, status=0/SUCCESS)
Main PID: 12701 (incrond)
CGroup: /system.slice/incrond.service
└─12701 /usr/sbin/incrond
Apr 23 15:40:47 pbx.wiseavocats.be incrond[12701]: loading user tables
Apr 23 15:40:47 pbx.wiseavocats.be incrond[12701]: loading table for user root
Apr 23 15:40:47 pbx.wiseavocats.be incrond[12701]: ready to process filesystem events
Apr 23 15:41:00 pbx.wiseavocats.be incrond[12701]: (system::sysadmin) CMD (/usr/bin/sysadmin_manager framework.yum-check-updates)
Apr 23 15:41:00 pbx.wiseavocats.be incrond[12701]: (system::sysadmin) CMD (/usr/bin/sysadmin_manager framework.yum-check-updates)
Apr 23 15:41:00 pbx.wiseavocats.be sysadmin-hook[12747]: sysadmin hook started - ["/usr/bin/sysadmin_manager",“framework.yum-check-updates”]
Apr 23 15:41:00 pbx.wiseavocats.be sysadmin-hook[12748]: sysadmin hook started - ["/usr/bin/sysadmin_manager",“framework.yum-check-updates”]
Apr 23 15:41:00 pbx.wiseavocats.be sysadmin-hook[12748]: File ‘/var/spool/asterisk/incron/framework.yum-check-updates’ didn’t exist. That’s unpossible (Are you runn…anually?)
Apr 23 15:41:00 pbx.wiseavocats.be sysadmin-hook[12747]: Security check passed. Running '/var/www/html/admin/modules/framework/hooks/yum-check-updates ’
Apr 23 15:41:00 pbx.wiseavocats.be sysadmin-hook[12748]: Security check passed. Running '/var/www/html/admin/modules/framework/hooks/yum-check-updates ’
Hint: Some lines were ellipsized, use -l to show in full.
New version incron.x86_64 0:0.5.12-11.el7 not allow # as comment in files placed in /etc/incron.d/
If delete all lines started with # incron will work properly.
[jbusch@watson ~]$ sudo yum downgrade incron
Loaded plugins: fastestmirror, versionlock
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package incron.x86_64 0:0.5.10-10.sng7 will be a downgrade
---> Package incron.x86_64 0:0.5.12-11.el7 will be erased
--> Finished Dependency Resolution
Dependencies Resolved
=======================================================================================================================================
Package Arch Version Repository Size
=======================================================================================================================================
Downgrading:
incron x86_64 0.5.10-10.sng7 sng-pkgs 91 k
Transaction Summary
=======================================================================================================================================
Downgrade 1 Package
Total download size: 91 k
Is this ok [y/d/N]: y
Downloading packages:
incron-0.5.10-10.sng7.x86_64.rpm | 91 kB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : incron-0.5.10-10.sng7.x86_64 1/2
Cleanup : incron-0.5.12-11.el7.x86_64 2/2
Verifying : incron-0.5.10-10.sng7.x86_64 1/2
Verifying : incron-0.5.12-11.el7.x86_64 2/2
Removed:
incron.x86_64 0:0.5.12-11.el7
Installed:
incron.x86_64 0:0.5.10-10.sng7
Complete!
[jbusch@watson ~]$ sudo fwconsole restart
Asterisk not currently running
Running FreePBX shutdown...
Core FastAGI Server is not running
RestApps Server is not running
UCP Node Server is not running
Chat Server is not running
Zulu Server is not running
Wanrouter: No valid Sangoma Hardware found, if you have no Sangoma cards this is OK
Stopping DAHDi for Digium Cards
DAHDi Stopped
Running FreePBX startup...
Running Asterisk pre from Dahdiconfig module
Wanrouter: No valid Sangoma Hardware found, if you have no Sangoma cards this is OK
Starting DAHDi for Digium Cards
DAHDi Started
Running Asterisk pre from Firewall module
Running Asterisk pre from Sysadmin module
Running Sysadmin Hooks
Restarting fail2ban
fail2ban Restarted
Updating License Information for 63875063
Checking Vpn server
Starting Asterisk...
[============================] 15 secs
Asterisk Started
Running Asterisk post from Core module
Running Asterisk post from Dahdiconfig module
Running Asterisk post from Endpoint module
Running Asterisk post from Restapps module
Starting RestApps Server...
Broadcast message from [email protected] (Tue Apr 23 10:21:38 2019):
Firewall service now starting.
[>---------------------------] < 1 sec
Started RestApps Server. PID is 23103
Running Asterisk post from Ucp module
Starting UCP Node Server...
[>---------------------------] 1 sec
Started UCP Node Server. PID is 23537
Running Asterisk post from Xmpp module
Starting Chat Server...
[>---------------------------] 1 sec
Started Chat Server. PID is 23709
Running Asterisk post from Zulu module
This product is not licensed
[jbusch@watson ~]$
In new version incron added “recursive directory watching”, maybe # in files placed in /etc/incron.d/ breaks down path to monitoing and “recursive watching” try to watch all files in disk.
Yeah I kind of came to the same conclusion. Also EPEL is using a fork of incron (as far as I can tell) as the original maintainer’s site still has listed 0.5.10.