My Oracle Support Banner

Oracle VM: ovs-agent SMF Service Fails To Become Online After Solaris 11.4 SRU 54 Update (Doc ID 2931334.1)

Last updated on JULY 06, 2023

Applies to:

Oracle VM - Version 3.4.1 to 3.4.6 [Release OVM34]
Oracle Solaris on SPARC (64-bit)

Symptoms

The Oracle VM Server for SPARC was not communicating with the Oracle VM Manager after the server was updated to Oracle Solaris 11.4 SRU 54.
The ovm related services were showing the following status

# svcs -a | grep -i ovm
online 20YY-MM-DDT13:03:07 svc:/ovm/ovs-config:default
offline 20YY-MM-DDT13:01:58 svc:/ovm/ovmwatch:default
maintenance 20YY-MM-DDT15:37:03 svc:/ovm/ovs-agent:default
# agtctl status
log server (pid 1709) is running...
notificationserver server is stopped
remaster server is stopped
monitor server is stopped
ha server is stopped
stats server is stopped
xmlrpc server is stopped
fsstats server is stopped
apparentsize server is stopped

The ovs-agent was reporting the following error in the SMF Service log.

# cat /var/svc/log/ovm-ovs-agent:default.log
.........
Traceback (most recent call last):
File "/usr/sbin/agtctl", line 118, in <module>
main()
File "/usr/sbin/agtctl", line 103, in main
agent_shutdown()
File "/usr/sbin/agtctl", line 61, in agent_shutdown
remaster.teardown_master_server()
File "/usr/lib/python2.7/site-packages/agent/daemon/remaster.py", line 82, in teardown_master_server
if is_clustered():
File "/usr/lib/python2.7/site-packages/agent/lib/settings.py", line 153, in is_clustered
return (get_membership_state() == MEMBERSHIP_STATE_CLUSTERED and
File "/usr/lib/python2.7/site-packages/agent/lib/settings.py", line 106, in get_membership_state
if get_cluster_flag():
File "/usr/lib/python2.7/site-packages/agent/lib/settings.py", line 79, in get_cluster_flag
return read_item(LOCAL_SERVER_DB, "clustered")
File "/usr/lib/python2.7/site-packages/agent/lib/db.py", line 90, in read_item
db = AgentDB(db_name, db_home)
File "/usr/lib/python2.7/site-packages/agent/lib/db.py", line 46, in __init__
self.db = dbshelve.open(db_file, db_oflags)
File "/usr/lib/python2.7/shelve.py", line 243, in open
return DbfilenameShelf(filename, flag, protocol, writeback)
File "/usr/lib/python2.7/shelve.py", line 227, in __init__
Shelf.__init__(self, anydbm.open(filename, flag), protocol, writeback)
File "/usr/lib/python2.7/anydbm.py", line 85, in open
return mod.open(file, flag, mode)
gdbm.error: Malformed database file header
/usr/sbin/agtctl has failed (rv=1)
[ 20YY-Mmm-DD 15:50:34 Method "start" exited with status 95. ]
[ 20YY-Mmm-DD 15:58:06 Leaving maintenance because disable requested. ]
[ 20YY-Mmm-DD 15:58:06 No 'cleanup' method defined. Treating as :true. ]

 

Changes

The Oracle VM Server for SPARC server was updated to Solaris 11.4 SRU 54.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.