Unsolved

This post is more than 5 years old

1 Message

6321

March 22nd, 2006 17:00

Problem starting Oracle when Linux boots

Hello,
 
We recently purchased Dell PowerEdge 2850 servers with Red Hat Enterprise Linux ES 4 pre-loaded.  Dell had just loaded the base version of RHEL 4- no updates.  I installed Oracle10g R2 and set it up to start automatically, by creating /etc/init.d/dbora, and adding soft links to /etc/rc3.d and /etc/rc5.d.  I rebooted the machine and Oracle started up fine.  Then I loaded all the updates from RHN, including all the kernel updates.  When I next rebooted my machine, Oracle did not start.  The server console appeared to hang during startup.  When I ssh'd in from another machine, I saw that the machine was hung trying to run dbora. Specifically, it was hung trying to su to the oracle user. /var/log/messages showed:
Mar 21 10:23:27 redhatcaddb7 su(pam_unix)[2781]: session opened for user oracle by (uid=0)
Mar 21 10:23:27 redhatcaddb7 dbora: Do you want to choose a different one?
I know this is affected by the SELinux settings, because I tried disabling SELinux and the script worked when I rebooted.  What's the simplest way to configure SELinux to resolve this issue, without having to completely disable it?
Thanks,
Heather

2 Intern

 • 

815 Posts

April 4th, 2006 12:00

I think this should explain the issue:

http://oss.oracle.com/projects/ocfs2/

RHEL4 U2 users are advised that OCFS2 currently does not work with SELinux enabled. One needs to disable SELinux (using tool system-config-securitylevel) to get the O2CB service to execute. A ticket has been logged with Red Hat on this issue.

No Events found!

Top