Operating System Updates (Yum Error)

FreePBX Distro
FreePBX: 14.0.11
Asterisk: 13.22.0
PBX Firmware: 12.7.6-1904-1.sng7
PBX Service Pack: 1.0.0.0

I successfully installed 50+ module updates via the web interface (not command line). I had to do a few rounds of updates to install the module updates that had dependencies, but all that eventually worked itself out.

Then when I went to install OS updates, I ran into an error. The System updates were taking a really long time, and it looked like there were over 500 updates it was installing. Some updates did install, but then it seemed to hang. I saw messages that it was waiting for a process to free up something before it could continue. Then it finally failed with the following message:

Operating System Updates (Yum Error)

Yum update failed to finish. Please see ‘/dev/shm/yumwrapper/yum-update.log’
Undefined index: yum-update

I checked yum-update.log as instructed, but it has a lot of characters that I don’t know how to interpret (see image). I did notice from the timestamps in the logs that updates ran for 27 minutes before ending.

Annotation%202019-04-30%20093304

Now when I go to System Updates and check, I’m not seeing any available updates.

I wasn’t sure if I should try ‘yum update’ from CLI or not. I read another thread that said we mostly shouldn’t be using CLI (maybe that was out of context). When I login to the CLI, the FreePBX welcome/status message shows that I have 267 System updates available and 41 PBX module updates available. However, in the Module Admin, I don’t see any available updates there either.

Anyway, just wanted to get an expert’s input on what I should try next.

This happened on our production & backup (warm spare) system. Both systems seem to be fine. The production one is still processing calls and operating as usual. I’m wanting to get everything updated and in order so we can get prepped for the upgrade to v15 when the stable release comes out. Looking forward to it! I’m also wanting to test enabling FastAGI in our current v14 system for its performance boosts as Andrew explained here: https://www.freepbx.org/performance-improvements-in-freepbx/

Is it helpful to have an up-to-date system (System updates) to be able to turn on the FastAGI feature in v14?

Thanks!

yum clean all
yum upgrade -y
yum reinstall kernel

Bradm413, did you have any luck following tm1000’s suggestion? Running into the same thing myself and my setup is identical to yours.

Is there an issue here? If you followed my advice then you are good to go.

Thanks for the help. By the time I logged back into the CLI, on the production server I now see:

Your system is currently up to date!
Your PBX is up to date.

I haven’t done anything since this morning when I posted this.

On the warm spare, I see now I have 57 System updates available. So I went ahead and ran the yum commands you specified. Once it completed, I logged out & logged back into the CLI, and now all is well.

If you can spare a few minutes to give me a high level explanation of what I just did, that would be helpful in case I run into a similar situation.

Also, any idea why the status changed on our main server without my intervention?

Thanks!

This is not always accurate

Thanks for the info. Then what should this be used for?

Just replying again to see if anyone can help me understand if I should rely on these status messages in the CLI. I want to make sure I am looking at the right things. Thanks!

Best way is to check in the GUI for updates.

After doing updates, and you SSH back in you can sometimes still see the available updates notification. VS the GUI, when you refresh, it no longer shows the available updates.

Thanks for the clarification! :slight_smile:

Hi,

Followed the advise but on the last command I get:-

[root@nwpbx ~]# yum reinstall kernel
Loaded plugins: fastestmirror, versionlock
Skipping the running kernel: kernel-3.10.0-862.9.1.el7.x86_64
Loading mirror speeds from cached hostfile
Resolving Dependencies
–> Running transaction check
—> Package kernel.x86_64 0:3.10.0-957.10.1.el7 will be installed
–> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size

Reinstalling:
kernel x86_64 3.10.0-957.10.1.el7 sng-updates 48 M
Not available:
kernel x86_64 3.10.0-693.21.1.el7 - 0.0
kernel x86_64 3.10.0-862.3.3.el7 - 0.0
kernel x86_64 3.10.0-862.6.3.el7 - 0.0

Transaction Summary

Reinstall 1 Package
Not available 3 Packages

Total download size: 48 M
Installed size: 63 M
Is this ok [y/d/N]: y
Downloading packages:
sng-updates/7/x86_64/prestodelta | 511 kB 00:00
kernel-3.10.0-957.10.1.el7.x86_64.rpm | 48 MB 00:04
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : kernel-3.10.0-957.10.1.el7.x86_64 1/1
depmod: ERROR: fstatat(10, oct612x.ko): No such file or directory
depmod: ERROR: fstatat(11, r1t1.ko): No such file or directory
depmod: ERROR: fstatat(11, rcbfx.ko): No such file or directory
depmod: ERROR: fstatat(11, rxt1.ko): No such file or directory
depmod: ERROR: fstatat(10, dahdi_voicebus.ko): No such file or directory
depmod: ERROR: fstatat(10, wcb4xxp.ko): No such file or directory
depmod: ERROR: fstatat(10, wct4xxp.ko): No such file or directory
depmod: ERROR: fstatat(10, wctc4xxp.ko): No such file or directory
depmod: ERROR: fstatat(10, wctdm24xxp.ko): No such file or directory
depmod: ERROR: fstatat(10, wcte12xp.ko): No such file or directory
depmod: ERROR: fstatat(10, xpd_bri.ko): No such file or directory
depmod: ERROR: fstatat(10, xpd_echo.ko): No such file or directory
depmod: ERROR: fstatat(10, xpd_fxo.ko): No such file or directory
depmod: ERROR: fstatat(10, xpd_fxs.ko): No such file or directory
depmod: ERROR: fstatat(10, xpd_pri.ko): No such file or directory
depmod: ERROR: fstatat(10, xpp.ko): No such file or directory
depmod: ERROR: fstatat(9, dahdi.ko): No such file or directory
depmod: ERROR: fstatat(9, dahdi_dynamic.ko): No such file or directory
depmod: ERROR: fstatat(9, dahdi_dynamic_eth.ko): No such file or directory
depmod: ERROR: fstatat(9, dahdi_dynamic_ethmf.ko): No such file or directory
depmod: ERROR: fstatat(9, dahdi_dynamic_loc.ko): No such file or directory
depmod: ERROR: fstatat(9, dahdi_echocan_jpah.ko): No such file or directory
depmod: ERROR: fstatat(9, dahdi_echocan_kb1.ko): No such file or directory
depmod: ERROR: fstatat(9, dahdi_echocan_mg2.ko): No such file or directory
depmod: ERROR: fstatat(9, dahdi_echocan_oslec.ko): No such file or directory
depmod: ERROR: fstatat(9, dahdi_echocan_sec.ko): No such file or directory
depmod: ERROR: fstatat(9, dahdi_echocan_sec2.ko): No such file or directory
depmod: ERROR: fstatat(9, dahdi_transcode.ko): No such file or directory
depmod: ERROR: fstatat(9, pciradio.ko): No such file or directory
depmod: ERROR: fstatat(9, tor2.ko): No such file or directory
depmod: ERROR: fstatat(9, wcfxo.ko): No such file or directory
depmod: ERROR: fstatat(9, wct1xxp.ko): No such file or directory
depmod: ERROR: fstatat(9, wctdm.ko): No such file or directory
depmod: ERROR: fstatat(9, wcte11xp.ko): No such file or directory
depmod: ERROR: fstatat(10, echo.ko): No such file or directory
depmod: ERROR: fstatat(9, af_wanpipe.ko): No such file or directory
depmod: ERROR: fstatat(9, wanec.ko): No such file or directory
depmod: ERROR: fstatat(9, wanpipe_syncppp.ko): No such file or directory
depmod: ERROR: fstatat(9, wanrouter.ko): No such file or directory
depmod: ERROR: fstatat(10, oct612x.ko): No such file or directory
depmod: ERROR: fstatat(11, r1t1.ko): No such file or directory
depmod: ERROR: fstatat(11, rcbfx.ko): No such file or directory
depmod: ERROR: fstatat(11, rxt1.ko): No such file or directory
depmod: ERROR: fstatat(10, dahdi_voicebus.ko): No such file or directory
depmod: ERROR: fstatat(10, wcb4xxp.ko): No such file or directory
depmod: ERROR: fstatat(10, wct4xxp.ko): No such file or directory
depmod: ERROR: fstatat(10, wctc4xxp.ko): No such file or directory
depmod: ERROR: fstatat(10, wctdm24xxp.ko): No such file or directory
depmod: ERROR: fstatat(10, wcte12xp.ko): No such file or directory
depmod: ERROR: fstatat(10, xpd_bri.ko): No such file or directory
depmod: ERROR: fstatat(10, xpd_echo.ko): No such file or directory
depmod: ERROR: fstatat(10, xpd_fxo.ko): No such file or directory
depmod: ERROR: fstatat(10, xpd_fxs.ko): No such file or directory
depmod: ERROR: fstatat(10, xpd_pri.ko): No such file or directory
depmod: ERROR: fstatat(10, xpp.ko): No such file or directory
depmod: ERROR: fstatat(9, dahdi.ko): No such file or directory
depmod: ERROR: fstatat(9, dahdi_dynamic.ko): No such file or directory
depmod: ERROR: fstatat(9, dahdi_dynamic_eth.ko): No such file or directory
depmod: ERROR: fstatat(9, dahdi_dynamic_ethmf.ko): No such file or directory
depmod: ERROR: fstatat(9, dahdi_dynamic_loc.ko): No such file or directory
depmod: ERROR: fstatat(9, dahdi_echocan_jpah.ko): No such file or directory
depmod: ERROR: fstatat(9, dahdi_echocan_kb1.ko): No such file or directory
depmod: ERROR: fstatat(9, dahdi_echocan_mg2.ko): No such file or directory
depmod: ERROR: fstatat(9, dahdi_echocan_oslec.ko): No such file or directory
depmod: ERROR: fstatat(9, dahdi_echocan_sec.ko): No such file or directory
depmod: ERROR: fstatat(9, dahdi_echocan_sec2.ko): No such file or directory
depmod: ERROR: fstatat(9, dahdi_transcode.ko): No such file or directory
depmod: ERROR: fstatat(9, pciradio.ko): No such file or directory
depmod: ERROR: fstatat(9, tor2.ko): No such file or directory
depmod: ERROR: fstatat(9, wcfxo.ko): No such file or directory
depmod: ERROR: fstatat(9, wct1xxp.ko): No such file or directory
depmod: ERROR: fstatat(9, wctdm.ko): No such file or directory
depmod: ERROR: fstatat(9, wcte11xp.ko): No such file or directory
depmod: ERROR: fstatat(10, echo.ko): No such file or directory
depmod: ERROR: fstatat(9, af_wanpipe.ko): No such file or directory
depmod: ERROR: fstatat(9, wanec.ko): No such file or directory
depmod: ERROR: fstatat(9, wanpipe_syncppp.ko): No such file or directory
depmod: ERROR: fstatat(9, wanrouter.ko): No such file or directory
Verifying : kernel-3.10.0-957.10.1.el7.x86_64 1/1

Installed:
kernel.x86_64 0:3.10.0-957.10.1.el7

Complete!
[root@nwpbx ~]#

Any thoughts on what the problem is?

I’m not expert enough to tell you what to try next, but have you tried logging back in to the GUI to see if your original issue(s) have been resolved? At the end of your console command, it does appear to have completed.

There isn’t an issue. That output is normal. You dont have TDM hardware on your machine.

Same thing here, Yum error after what seemed like a pretty big update.

Followed Andrews 3 commands but Yum error remains.
ver 14.0.11
12.7.6-1904-1.sng7

Why don’t you post the error.

That’s all it says in the GUI. Yum Error and below that no updates needed. The commands you recommended ran without throwing an obvious error I could see.
Other than not receiving VM attachments with the VM message ( in another thread) the system is working. I’m not fluent in the command line, what commands would help diagnose this?

Try (on the cli)

yum clean all
yum upgrade -y

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