A couple of days ago I did a new install of the Oracle Database Software (on a Virtual Machine) and it kept failing. I got some oracle.cluster.verification.VerificationException error, but I could not get more information from the logs. Usually it’s a bit more detailed after the colon, but this time it just said: [hostname]: [hostname].
This morning I tried again, thinking It could have been the minimal install, so I did a basic install, but the result was the same:
---# Begin Stacktrace #--------------------------- ID: oracle.install.commons.util.exception.DefaultErrorAdvisor:37 oracle.cluster.verification.VerificationException: [HOSTNAME]: [HOSTNAME] at oracle.cluster.verification.ClusterVerification.<init>(ClusterVerification.java:231) at oracle.cluster.verification.ClusterVerification.getInstance(ClusterVerification.java:333) at oracle.install.driver.oui.OUISetupDriver.load(OUISetupDriver.java:419) at oracle.install.ivw.db.driver.DBSetupDriver.load(DBSetupDriver.java:190) at oracle.install.commons.base.driver.common.Installer.run(Installer.java:299) at oracle.install.ivw.common.util.OracleInstaller.run(OracleInstaller.java:106) at oracle.install.ivw.db.driver.DBInstaller.run(DBInstaller.java:136) at oracle.install.commons.util.Application.startup(Application.java:891) at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:165) at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:182) at oracle.install.commons.base.driver.common.Installer.startup(Installer.java:348) at oracle.install.ivw.db.driver.DBInstaller.startup(DBInstaller.java:124) at oracle.install.ivw.db.driver.DBInstaller.main(DBInstaller.java:155) ---# End Stacktrace #-----------------------------
Resolving hostname
Hostname… I tried to ping the machine, no result. I added the hostname to /etc/hosts … That worked! It could not resolve it’s hostname…
Happy de Peppie.
If you’re still persuading this, the fix is really easy. Just edit your /etc/hosts file as root and add your hostname.domainname (IANHVM…) to this file
Thank you Rads, but this was actually my solution at the end of the blog post ;)
Cheers!
Thanks for this post, saved me a lot of headache. My VM hostname is “oracle” so I had no idea what it was referring to. Teaches me to pick unique and creative hostnames in the future.
Even if you had use a creative hostname, the error is still silly. “Could not resolve hostname” would have been a better message.
Thanks a lot.. Your blog helped me . Never thought this can be the issue :)
Thanks, no that is one confusing error message. Solved my installation. Thanks for sharing!
Thanks for this post!
My silly story also has meaning for beginners:
My server name was random: linux-0hsz.
When I accidentially gone to Yast (network, DNS) I saw empty field for Name of host. I simple wrote One.
Yast saved it to /etc/hosts.
When I launch runInstaller I got linux-0hsz:linux-0hsz. I couldn’t understand from logs where the problem. To happy I found that topic and understood that oracle installer tried ping server by name.
So my mistake was that I changed DNS only but not real server name.
Thanks for this post!
My silly story also has meaning for beginners:
My server name was random: linux-0hsz.
When I accidentially gone to Yast (network, DNS) I saw empty field for Name of host. I simple wrote “One.”
Yast saved it to /etc/hosts. But menu named Hostname/DNS! So I thought that hostname also changed.
When I launch runInstaller I got linux-0hsz:linux-0hsz. I couldn’t understand from logs where the problem. To happy I found that topic and understood that oracle installer tried ping server by name.
So my mistake was that I not checked after Yast my server name.