こちらのサイトを参考に構築を実施したところ、
仮想テープドライブ作成にて以下のエラーが発生。
# /usr/sbin/amlabel DailySet1 DailySet1-01 slot 1
/usr/sbin/amlabel: symbol lookup error: /usr/lib/libamanda-2.6.1p2.so: undefined symbol: g_slist_free_full
ライブラリの不足が原因で発生するエラーのようなので、
必要になるライブラリがどのパッケージに含まれるか確認。
$ yum whatprovides */libglib-2.0.so.0
glib2-2.28.8-10.el6.i686 : A library of handy utility functions
Repo : base
Matched from:
Filename : /lib/libglib-2.0.so.0
firefox-60.1.0-5.el6.centos.i686 : Mozilla Firefox Web browser
Repo : updates
Matched from:
Filename : /usr/lib/firefox/bundled/lib/libglib-2.0.so.0
firefox-60.1.0-6.el6.centos.i686 : Mozilla Firefox Web browser
Repo : updates
Matched from:
Filename : /usr/lib/firefox/bundled/lib/libglib-2.0.so.0
glib2-2.26.1-7.el6_5.i686 : A library of handy utility functions
Repo : installed
Matched from:
Filename : /lib/libglib-2.0.so.0
glib2をインストール
# yum install -y glib2
~
Updated:
glib2.i686 0:2.28.8-10.el6
Complete!
再度、仮想テープドライブ作成のコマンドを実行
# su amandabackup
$ /usr/sbin/amlabel DailySet1 DailySet1-01 slot 1
labeling tape in slot 1 (file:/var/lib/amanda/vtl):
Reading label...
Found an empty tape.
Writing label DailySet1-01..
Checking label...
Success!
これで解決。
コメント