Fixing OVM 3.1.1 Database

I found myself in a situation where I had “ghost” repository servers in presented to my nfs repository. This stopped my from being able to import anything into the repository. Not good. So I found this quick fix….


Ran as follows:
/etc/init.d/ovmm stop

NOTE: cat /u01/app/oracle/ovm-manager-3/.config (This provides some of the info you need to connect to your db if you have forgotten.)

cd /u01/app/oracle/ovm-manager-3/bin/
./ –fixup –dbhost=localhost –dbport=1521 –dbsid=OVM –dbuser=ovs –dbpass=password

This ran fixed errors.

Restarted OVM Manager:
/etc/init.d/ovmm start

Leave a Reply

Your email address will not be published. Required fields are marked *