FreePBX 14: Errors w/ yum update yesterday to sangoma-pbx-1902-2.sng7

FreePBX 14.0.5.25 Distro

I ran a yum update yesterday which updated exactly one package: sangoma-pbx-1902-2.sng7.

This update installed rabbitmq-server and its erlang dependencies.
While running the yum update I got the following errors after verification and before cleanup:

“Machine not eligible for ftp configuration”

Probably because I already had FTP configured (for phone provisioning).
For what purpose was the update trying to configure FTP?
Is something not working now because of this?

“Failed to execute operation: No such file or directory”

Cryptic.
Would be helpful to know what file/directory was missing.

“Failed to start redis.service: Unit not found.”

Looks like that’s from systemctl.
Unit not found because redis is not installed (‘yum list installed | grep redis’).
What needs redis? rabbitmq-server?
Should it have been installed during this update?

BTW, what in FreePBX is using rabbitmq-server?

Thanks!

It would be helpful to see the actual output of all this and not cherry picked lines that have no context without the surrounding output to go with it.

Here you go.
Do you see anything in there that identifies the mystery file/directory?

Loaded plugins: fastestmirror, versionlock
Transaction ID : 8
Begin time : Thu Feb 7 21:28:49 2019
Begin rpmdb : 693:112a400a073b4ee2641124750afb6a473082fb0d
End time : 21:29:29 2019 (40 seconds)
End rpmdb : 716:ca247a43d2626b6230db2548f543f654d493ad52
User : root
Return-Code : Success
Command Line : update
Transaction performed with:
Installed rpm-4.11.3-32.el7.x86_64 @anaconda/1805
Installed yum-3.4.3-158.7.sng7.noarch @anaconda/1805
Installed yum-metadata-parser-1.1.4-10.el7.x86_64 @anaconda/1805
Installed yum-plugin-fastestmirror-1.1.31-46.el7_5.noarch @sng-updates
Packages Altered:
Dep-Install erlang-asn1-R16B-03.18.el7.x86_64 @sng-epel
Dep-Install erlang-compiler-R16B-03.18.el7.x86_64 @sng-epel
Dep-Install erlang-crypto-R16B-03.18.el7.x86_64 @sng-epel
Dep-Install erlang-erts-R16B-03.18.el7.x86_64 @sng-epel
Dep-Install erlang-hipe-R16B-03.18.el7.x86_64 @sng-epel
Dep-Install erlang-inets-R16B-03.18.el7.x86_64 @sng-epel
Dep-Install erlang-kernel-R16B-03.18.el7.x86_64 @sng-epel
Dep-Install erlang-mnesia-R16B-03.18.el7.x86_64 @sng-epel
Dep-Install erlang-os_mon-R16B-03.18.el7.x86_64 @sng-epel
Dep-Install erlang-otp_mibs-R16B-03.18.el7.x86_64 @sng-epel
Dep-Install erlang-public_key-R16B-03.18.el7.x86_64 @sng-epel
Dep-Install erlang-runtime_tools-R16B-03.18.el7.x86_64 @sng-epel
Dep-Install erlang-sasl-R16B-03.18.el7.x86_64 @sng-epel
Dep-Install erlang-sd_notify-0.1-1.el7.x86_64 @sng-epel
Dep-Install erlang-snmp-R16B-03.18.el7.x86_64 @sng-epel
Dep-Install erlang-ssl-R16B-03.18.el7.x86_64 @sng-epel
Dep-Install erlang-stdlib-R16B-03.18.el7.x86_64 @sng-epel
Dep-Install erlang-syntax_tools-R16B-03.18.el7.x86_64 @sng-epel
Dep-Install erlang-tools-R16B-03.18.el7.x86_64 @sng-epel
Dep-Install erlang-xmerl-R16B-03.18.el7.x86_64 @sng-epel
Dep-Install php56w-pecl-igbinary-1.2.1-2.w7.x86_64 @sng-pkgs
Dep-Install php56w-pecl-redis-2.2.7-1.w7.x86_64 @sng-pkgs
Dep-Install rabbitmq-server-3.3.5-34.el7.noarch @sng-epel
Updated sangoma-pbx-1807-1.sng7.noarch @sng-pkgs
Update 1902-2.sng7.noarch @sng-pkgs
Scriptlet output:
1 Redirecting to /bin/systemctl restart httpd.service
2 Locking password for user PlcmSpIp.
3 passwd: Success
4 Redirecting to /bin/systemctl restart xinetd.service
5 Machine not eligible for ftp configuration.
6 Failed to execute operation: No such file or directory
7 Failed to start redis.service: Unit not found.
history info

This is an RPM so when you update it runs the same commands it ran previously over again.

No idea what this is. It is not happening for me

yum clean all
yum upgrade sangoma-pbx

FreePBX

Nothing right now. it is installed and then immediately disabled at this time.

Yes

Nothing right now. it is installed and then immediately disabled at this time.

1 Like

I omitted the ‘yum clean all’ and did the ‘yum upgrade sangoma-pbx’.

From your reply it wasn’t clear that there was an error in sangoma-pbx-1902-2, but apparently there was, because you (or someone) put up a sangoma-pbx-1902-3, which installed redis and jemalloc. Comparing the scriptlet output from 1902-2 (previous post) and 1902-3 (below), the failed mystery operation in the 1902-2 install appears to be:

6 Created symlink from /etc/systemd/system/multi-user.target.wants/redis.service to /usr/lib/systemd/system/redis.service.

This makes sense: redis had not been installed.

Transaction history:

Loaded plugins: fastestmirror, versionlock
Transaction ID : 9
Begin time : Fri Feb 8 15:13:49 2019
Begin rpmdb : 716:ca247a43d2626b6230db2548f543f654d493ad52
End time : 15:14:00 2019 (11 seconds)
End rpmdb : 718:b5825ec71716f106a1d693def0fb141fb0af6a04
User : root
Return-Code : Success
Command Line : load-transaction yum_save_tx.2019-02-08.14-45.HZCWVO.yumtx
Transaction performed with:
Installed rpm-4.11.3-32.el7.x86_64 @anaconda/1805
Installed yum-3.4.3-158.7.sng7.noarch @anaconda/1805
Installed yum-metadata-parser-1.1.4-10.el7.x86_64 @anaconda/1805
Installed yum-plugin-fastestmirror-1.1.31-46.el7_5.noarch @sng-updates
Packages Altered:
Dep-Install jemalloc-3.6.0-1.el7.x86_64 @sng-epel
Dep-Install redis-3.2.12-1.el7.x86_64 @sng-epel
Updated sangoma-pbx-1902-2.sng7.noarch @sng-pkgs
Update 1902-3.sng7.noarch @sng-pkgs
Scriptlet output:
1 Redirecting to /bin/systemctl restart httpd.service
2 Locking password for user PlcmSpIp.
3 passwd: Success
4 Redirecting to /bin/systemctl restart xinetd.service
5 Machine not eligible for ftp configuration.
6 Created symlink from /etc/systemd/system/multi-user.target.wants/redis.service to /usr/lib/systemd/system/redis.service.
history info

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