11g Release 2 for Windows – Grid Infrastructure Installation Buggy?
I just tried installing Oracle 11g Relese 2 on Windows 2008 R2 64-bit and Windows 2008. The system were installed with Windows 2008 and 2008 R2 standard edition 64-bit on a VMWARE server with 4 core with two core assigned to each virtual machine.
Until now i was unable to install it successfully. It always failed with:
[INS-20802] Grid Infrastructure Configuration failed
This is a short blog post about my findinds. Maybe someone else experience this issue as well and leaves a comment.
After the installation ran for some time it failed on the second node. Some debugging and re-installation hours later i guess the grid installation is buggy at least on Windows 2008 and Windows 2008 R2. Hows that? Well: Look at the following pictures all taken from the SECOND node. The services on the first (= installation node) are fine and running. All log files look fine. On the second node i am completely unable to find any error messages in the log files. Everything looks fine… but the windows event log shows some failed services which are most probably causing the error.
During installation on the second node some services are created by the oracle installer. The first service to be created is names OracleOUIVC8Service which seems to install some kind of VC libraries:
Picture #1: Oracle seems to install some VC++ Runtime libraries during cluster installation. For doing so a service is created and then started. Starting this service shall install the VC runtime library. But unfortunately the service seems to be unable to start within 30 seconds, causing the following error:
Picture #1: A timeout was reached (30000 milliseconds) while waiting for the OracleOUIVC8Service service to connect
Picture #2: Note that ONE second after the OracleOUIVC8Service failed to start the windows installer entered the running state. What was installed then? The answer is in picture #3.
Picture #3: According to the windows installer the Microsoft Visual C++ 2005 Redistributable was installed. It took 3 seconds from the windows installer to enter the running start (= start of the installation at 07:27:24 show in the picture above) to the end of the installation which was successful. This is shown in the following pictures:
Picture #4 shows the failing installation service for the grid infrastructure home and/or configuration which fails with:
A timeout was reached (30000 milliseconds) while waiting for the OracleOUIOraCrs11g_home1Service service to connect
This does not surprise me at all. If there are some libraries missing the installer will most probably fail. But i guess the point is here that the service are created in a incorrect way. I DO see the java.exe from the installer in the process list – but only AFTER the start of the service failed….
For debugging i tried several thing:
- Install on Windows 2008 R2 64-bit
- Install on Windows 2008 64-bit
- Pre-Install the VC Runtime
- Increase the allowed time to start for a service to 180 seconds
Increasing the service start timeout value
Trying to increase the maximum allowed time for a service to start from 30 to 180 seconds didn’t even help. The node itself was completely idle during the service start. But the VC installation started RIGHT AFTER the service start time out after 180 seconds and was completed within 4 seconds. This makes me believe in some kind of error. And so i decided to blog about this problem because i have not yet found anything on the web.
In the following picture you can see the service OracleOUIVC8Service trying to start.
The command line being used for that was:
D:\Temp\2\OraInstall2010-04-17_02-20-52AM\ext\bin\vcredist_x64.exe /q:a /c:"VCREDI~1.EXE /q:a /c:""msiexec /i vcredist.msi /qn"" "
As you can see the system was completely idle during service startup with plenty of free memory.
An except from the windows event log shows the service failed to start after 180 seconds (the value specified in milliseconds was increased by adding ServicesPipeTimeout to HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control; so 180000 means 180 seconds):
Right after the service failed to start the windows installer entered the running state and installed the VC redistributable:
So this also leads me to the assumtion there is some bug in the grid infrastructure installer.
Another possibility is that this error is caused by using VMWARE virtualization. But at the moment i dont have a reason to think so.