If you've ever wondered how one problem leads to the next you just got to do a bit of hacking to find out why.
After hacking around with re-installing Oracle VM Manager in a new Exalogic VM Guest, which I blogged about under the title Owned by Another Manager I was forced to uninstall Oracle VM Manager which is where I hit this problem.
To cut a long story short I was installing Oracle VM Manager 3.2.8 into an existing Oracle Database which had already had an OVS schema installed into it and for a change I had removed it using the officially documented de-installation process available at http://docs.oracle.com/cd/E35328_01/E35330/html/vmiug-manager-uninstalling.html. What it doesn't tell you is that it doesn't do the job properly if you have used an external Oracle Database rather than the embedded MySQL one.
After running;
After hacking around with re-installing Oracle VM Manager in a new Exalogic VM Guest, which I blogged about under the title Owned by Another Manager I was forced to uninstall Oracle VM Manager which is where I hit this problem.
To cut a long story short I was installing Oracle VM Manager 3.2.8 into an existing Oracle Database which had already had an OVS schema installed into it and for a change I had removed it using the officially documented de-installation process available at http://docs.oracle.com/cd/E35328_01/E35330/html/vmiug-manager-uninstalling.html. What it doesn't tell you is that it doesn't do the job properly if you have used an external Oracle Database rather than the embedded MySQL one.
After running;
$ ./runInstaller.sh --uuid=0004fb0000010000d1b7eca67025e1c1The installation got to step 3 of 9 and spat out the following;
Step 3 of 9 : Database schema ...An existing Oracle VM database schema was found. How should the install proceed? 1: Use the existing Oracle VM database schema with the Oracle VM manager UUID stored in the database 2: Remover the existing Oracle Vm database schema, create a new Oracle VM database schema and use the provided UUID 3: Abort
Select Number (1-3): 2Dropping the old database schema 'ovs' ...Creating database schema 'ovs' ...Failed to add Oracle VM Manager schema to Oracle Database
ORA-02379: profile OVMM_PROFILE already existsThe solution to the problem is quite simple all you need to do is logon to the Oracle database and run the command;
SQL> drop profile OVMM_PROFILE;
Profile dropped.
SQL>