munin-updateでエラー

ご苦労さん

※写真と本文は関係ありません。


muninインストール直後にエラー、yum updateすると治る。というのが毎回起きるので詳しく調べた。

# /usr/share/munin/munin-update
Can't load '/usr/lib64/perl5/vendor_perl/auto/RRDs/RRDs.so' for module RRDs: /lib64/libpango-1.0.so.0: undefined symbol: g_log_structured_standard at /usr/lib64/perl5/DynaLoader.pm line 190.
 at /usr/share/perl5/vendor_perl/Munin/Master/UpdateWorker.pm line 19.
Compilation failed in require at /usr/share/perl5/vendor_perl/Munin/Master/UpdateWorker.pm line 19.
BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/Munin/Master/UpdateWorker.pm line 19.
Compilation failed in require at /usr/share/perl5/vendor_perl/Munin/Master/Update.pm line 17.
BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/Munin/Master/Update.pm line 17.
Compilation failed in require at /usr/share/munin/munin-update line 14.
BEGIN failed--compilation aborted at /usr/share/munin/munin-update line 14.

cronで5分おきに実行されてるので、メールが5分おきに来る…。
『pango undefined symbol』ググるとglib2のバージョンが云々というのを見つけた。
FS#57869 : [pango] undefined symbol: g_log_structured_standard
glib2をupdateしたら治った。

# yum install glib2
読み込んだプラグイン:product-id, remove-with-leaves, search-disabled-repos, show-leaves, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
依存性の解決をしています
--> トランザクションの確認を実行しています。
---> パッケージ glib2.x86_64 0:2.50.3-3.el7 を 更新
---> パッケージ glib2.x86_64 0:2.56.1-2.el7 を アップデート
--> 依存性解決を終了しました。

依存性を解決しました

========================================================================================================================
 Package             アーキテクチャー     バージョン                   リポジトリー                                容量
========================================================================================================================
更新します:
 glib2               x86_64               2.56.1-2.el7                 rhui-rhel-7-server-rhui-rpms               2.5 M

トランザクションの要約
========================================================================================================================
更新  1 パッケージ

総ダウンロード容量: 2.5 M
Is this ok [y/d/N]: y
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
glib2-2.56.1-2.el7.x86_64.rpm                                                                    | 2.5 MB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  更新します              : glib2-2.56.1-2.el7.x86_64                                                               1/2 
  整理中                  : glib2-2.50.3-3.el7.x86_64                                                               2/2 
  検証中                  : glib2-2.56.1-2.el7.x86_64                                                               1/2 
  検証中                  : glib2-2.50.3-3.el7.x86_64                                                               2/2 

更新:
  glib2.x86_64 0:2.56.1-2.el7                                                                                           

完了しました!
# sudo -u munin /usr/share/munin/munin-update
#