This content has been marked as final. Show 6 replies
I met the same problem on OEL 6. Anyone help?
I had the same problem and found out that the init.ohasd was not spawned from the inittab.
In the init.ohasd the named pipe (/var/tmp/.oracle/npohasd) is read. If the init.ohasd doesn't run the ohasd will hang.
Finally it appeared to be the RedHat welcome screen which somehow blocked the execution of the entries in the inittab. As I configured the RHEL5 server on the command line via putty, I never walked through the RedHat welcome screen.
Once I did the init.ohasd was spawned from the inittab at the next reboot.
Edited by: user11978982 on 18-mei-2011 6:08
thanks for your reply...
Can you elaborate a bit more on how you fixed the issue and how you identified that it was the "Welcome" screen causing it?
What do you mean by this?
As I configured the RHEL5 server on the command line via putty, I never walked through the RedHat welcome screen
Our servers were installed using a kickstart and not using the interface and still we are facing the problem.
Also did you test this on RHEL6 as it is somewhat different than RHEL5?
Check the /etc/sysconfig/firstboot file. If RUN_FIRSTBOOT=YES change this to NO en reboot. This should trigger the init_ohasd from the inittab.
I've tested this on a RHEL 5 server. I'm not familiar with RHEL 6 yet.
Edited by: user11978982 on 19-mei-2011 3:26
Thanks for your reply.
I have checked this and it is set to "NO"
so this still stays an mystery for me.
cat /etc/sysconfig/firstboot RUN_FIRSTBOOT=NO
In RHEL 6 inittab is no longer supported, it uses upstart insted.
See more info in page:http://searchenterpriselinux.techtarget.com/tip/RHEL-6-ditches-System-V-init-for-Upstart-What-Linux-admins-need-to-know
To solve the issue do the following:
Create the file:/etc/init/init-oracle.conf
start on runlevel 
stop on runlevel 
exec /etc/init.d/init.ohasd run >/dev/null 2>&1 </dev/null
After the file is created, reboot and Oracle should start normaly