Problem with yum and errors after Distro update

Hi,

After running the recent updates in the web GUI, it failed (on both freepbx instances i have deployed) with a yum error.

After rebooting, one of the installations has high cpu usage for a while; freepbx.log show multiple errors for:

[WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 67
[WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 76
[freepbx.INFO]: Deprecated way to add Console commands, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[freepbx.INFO]: Deprecated way to add Console commands, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/bulkhandler/Console/Bulkimport.class.php on line 10

[edited]
Also showing up this errors in the log

[CRITICAL] (admin/bootstrap.php:260) - Connection attmempt to AMI failed

Also, when i log in to shell I get a message stating that there are 46 updates pending and advising to run yum update - but when I do, no updates come up. I’ve cleaned yum cache and rebooted but still the same problem.

I’ve recently had to downgrade velocity and rhine twice due to another (?) issue - not sure if this can be related.

Thanks in advance for your help.

I am in the exact same boat today.

Anyone?

I have tried some of the other suggestions in the forum:

yum clean all
yum upgrade -y
yum reinstall kernel

returns:

[root@pbx ~]# yum clean all
Loaded plugins: fastestmirror, versionlock
Cleaning repos: sng-base sng-epel sng-extras sng-pkgs sng-updates
Cleaning up list of fastest mirrors
[root@pbx ~]# yum upgrade -y
Loaded plugins: fastestmirror, versionlock
Determining fastest mirrors
sng-base                                                                                                                                                                                              | 3.6 kB  00:00:00     
sng-epel                                                                                                                                                                                              | 4.7 kB  00:00:00     
sng-extras                                                                                                                                                                                            | 3.4 kB  00:00:00     
sng-pkgs                                                                                                                                                                                              | 3.4 kB  00:00:00     
sng-updates                                                                                                                                                                                           | 3.4 kB  00:00:00     
(1/8): sng-base/7/x86_64/group_gz                                                                                                                                                                     | 166 kB  00:00:00     
(2/8): sng-epel/7/x86_64/group_gz                                                                                                                                                                     |  88 kB  00:00:00     
(3/8): sng-epel/7/x86_64/updateinfo                                                                                                                                                                   | 992 kB  00:00:00     
(4/8): sng-extras/7/x86_64/primary_db                                                                                                                                                                 | 188 kB  00:00:00     
(5/8): sng-base/7/x86_64/primary_db                                                                                                                                                                   | 6.0 MB  00:00:00     
(6/8): sng-pkgs/7/x86_64/primary_db                                                                                                                                                                   | 662 kB  00:00:00     
(7/8): sng-epel/7/x86_64/primary_db                                                                                                                                                                   | 6.7 MB  00:00:00     
(8/8): sng-updates/7/x86_64/primary_db                                                                                                                                                                | 3.4 MB  00:00:00     
No packages marked for update
[root@pbx ~]# yum reinstall kernel
Loaded plugins: fastestmirror, versionlock
Skipping the running kernel: kernel-3.10.0-957.10.1.el7.x86_64
Loading mirror speeds from cached hostfile
Installed package kernel-3.10.0-862.6.3.el7.x86_64 (from sng-updates) not available.
Installed package kernel-3.10.0-862.9.1.el7.x86_64 (from sng-updates) not available.
Installed package kernel-3.10.0-862.14.4.el7.x86_64 (from sng-updates) not available.
Installed package kernel-3.10.0-862.3.3.el7.x86_64 (from sng-updates) not available.
Error: Nothing to do

After logging out and in again I still have a message saying there are 46 upgrades pending.

Any help would be much appreciated, thanks in advance,

You have zero issues. Ignore the message saying you have upgrades.

1 Like

The script that runs on login to update that message only runs if it has been a certain time since last checked.

2 Likes

Dear Developers, your help is highly appreciated.
I’m having 1.5G of those freepbx.log archives in /var/log with these warnings:

[2019-May-11 19:13:03] [freepbx.INFO]: Deprecated way to add Console commands, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2019-May-11 19:13:03] [freepbx.INFO]: Deprecated way to add Console commands, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2019-May-11 19:13:03] [freepbx.INFO]: Deprecated way to add Console commands, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2019-May-11 19:13:03] [freepbx.INFO]: Deprecated way to add Console commands, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2019-May-11 19:13:03] [freepbx.INFO]: Deprecated way to add Console commands, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2019-May-11 19:13:03] [freepbx.INFO]: Deprecated way to add Console commands, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2019-May-11 19:13:03] [freepbx.INFO]: Deprecated way to add Console commands, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []

Maybe not very good. I’ve started to receive emails about the storage insufficiency. What do I do? Thanks.

# du -h /var/log/asterisk/freepbx*
30M     /var/log/asterisk/freepbx.log
101M    /var/log/asterisk/freepbx.log-20180527
275M    /var/log/asterisk/freepbx.log-20190204
101M    /var/log/asterisk/freepbx.log-20190319
114M    /var/log/asterisk/freepbx.log-20190422
108M    /var/log/asterisk/freepbx.log-20190428
104M    /var/log/asterisk/freepbx.log-20190504
105M    /var/log/asterisk/freepbx.log-20190510

:hearts::heart:

These are just warnings. The log files are also rotating correctly.

:grinning: Sorry, I mean it is really NOT good at all, because it keeps writing to my harddrive each SECOND. This I/O is highly unwanted. Any way to fix it? Maybe disable something completely if possible.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.