Oracle VM Manager 3.4.6 Installation and Issues

0
600

I have been working on Oracle VM Installation and Configuration for past few days. Here are some of the errors I faced during the Oracle VM Manager installation.

I installed Oracle Linux 7.4 for running Oracle VM Manager. Firstly once you download the ISO, use the mount command to extract the ISO.

[root@vmmgr ~]# mkdir /mnt/iso
[root@vmmgr ~]# mount -o loop /u01/soft/vmmgr.iso /mnt/iso
mount: /dev/loop0 is write-protected, mounting read-only
[root@vmmgr ~]# cd /mnt/iso
[root@vmmgr iso]# ls
components createOracle.sh oracle-validated.params ovmm-installer.bsx OvmSDK_3.4.6.2265.zip runInstaller.sh sample.yml TRANS.TBL

First run createOracle.sh to create all the necessary users, groups, Kernel or OS Settings needed for the OVM. This was smooth and didn’t have any issues. Then you need to run the runInstaller.sh where I faced few issues.

First time when I tried to run it from /u01, I got the below issue which is because you cannot run the runInstaller from /root, /u01,/tmp* file systems.

[root@vmmgr soft]# ls
components createOracle.sh oracle-validated.params ovmm-installer.bsx OvmSDK_3.4.6.2265.zip runInstaller.sh sample.yml TRANS.TBL vmmgr.iso
[root@vmmgr soft]# ./runInstaller.sh
Invalid mountpoint /u01…

So I ran it from /mnt/iso. Then I faced another issue.

[root@vmmgr iso]# ./runInstaller.sh
Oracle VM Manager Release 3.4.6 Installer
Oracle VM Manager Installer log file:
/var/log/ovmm/ovm-manager-3-install-2019-08-31-153802.log
Please select an installation type:
1: Install
2: Upgrade
3: Uninstall
4: Help
Select Number (1-4): 1
Verifying installation prerequisites …
softnofiles should be set to 8192 but was 1024
Configuration verification failed …
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such

When I verified ulimit values, they all looked fine but I realized, I previously used the 12.2 Preinstall RPM which created its own configuration file. You can find it and fix it as below:

[root@vmmgr iso]# find /etc/security/limits.d -type f -exec grep nofile {} \; -print
oracle-database-server-12cR2-preinstall setting for nofile soft limit is 1024
oracle soft nofile 1024
oracle-database-server-12cR2-preinstall setting for nofile hard limit is 65536
oracle hard nofile 65536
/etc/security/limits.d/oracle-database-server-12cR2-preinstall.conf
[root@vmmgr iso]# vi /etc/security/limits.d/oracle-database-server-12cR2-preinstall.conf

Edit the value in /etc/security/limits.d/oracle-database-server-12cR2-preinstall.conf and then run the runInstaller again.

LEAVE A REPLY

Please enter your comment!
Please enter your name here