2012年10月16日 星期二
Oracle VM - OVMAPI_4010E Attempt to send command: discover_server to server: 192.168.xxx.xxx failed.
[Error Message on VM Manager Console]
OVMAPI_4010E Attempt to send command: discover_server to server: 192.168.xxx.xxx failed.
[/var/log/ovs-agent.log on VM Server]
[2012-10-15 15:05:21 2478] DEBUG (OVSCommons:124) discover_server: ()
[2012-10-15 15:05:21 2478] ERROR (OVSCommons:143) catch_error: rpmdb open failed
Traceback (most recent call last):
File "/opt/ovs-agent-3.0/OVSCommons.py", line 141, in wrapper
return func(*args)
File "/opt/ovs-agent-3.0/OVSDiscoverServer.py", line 129, in discover_server
pkgs = host.list_package('ovs-agent')
File "/opt/ovs-agent-3.0/host.py", line 235, in list_package
mi = ts.dbMatch("name", name)
TypeError: rpmdb open failed
這時就是VM Server端的rpmdb出了問題,用下列方式run一遍,重建rpmdb後,再到VM manager的console做rediscover即可解決。
# tar cvzf rpmdb-backup.tar.gz /var/lib/rpm
# rm /var/lib/rpm/__db.00*
# rpm --rebuilddb
# rpm -qa | sort ---> # to make sure everything's okay
訂閱:
張貼留言 (Atom)
Thank You. This was a great help and solved my issue quickly.
回覆刪除