This content has been marked as final. Show 9 replies
Thanks. I checked the firewall setting. It is disabled.
I saw something in id output, that may be resiponsible.
I do not expect to see the 'context=user_u:system_r:unconfined_t' at the end. Does it cause the problem? How to get rid of them? They are not in the /etc/passwd file
[root@cchbi dbhome_1]# cat /etc/passwd|grep oracle oracle:x:500:501:oracle user:/home/oracle:/bin/bash [root@cchbi dbhome_1]# id oracle uid=500(oracle) gid=501(oinstall) groups=501(oinstall),50(ftp),502(dba) context=user_u:system_r:unconfined_t
Kishore KVR wrote:You can use the command getenforce to see the current mode of SELinux. To disable SELinux temporarily you can use the command setenforce Permissive. In permissive mode the denials will still occur and will be logged but the operations will not be blocked. Permissive mode is the recommend mode by Oracle Support.
I have also got the same error.
What is this "SELinux permissive"?
How to check for it and disable it?
Setting the mode with setenforce command above will not survive a reboot. If you would like to change the mode permanently see the following link.
The sestatus command provides a configurable view into the status of SELinux. The simplest form of this command shows the following information:
[root@localhost ~]# sestatus
SELinux status: enabled
SELinuxfs mount: /selinux
Current mode: enforcing
Mode from config file: enforcing
Policy version: 21
Policy from config file: targeted
You can enable and disable SELinux enforcement at runtime or configure it to start in the correct mode at boot time, using the command line or GUI. SELinux can operate in one of three modes: disabled, meaning not enabled in the kernel; permissive, meaning SELinux is running and logging but not controlling permissions; or enforcing, meaning SELinux is running and enforcing policy.
Use the setenforce command to change between permissive and enforcing modes at runtime. Use setenforce 0 to enter permissive mode; use setenforce 1 to enter enforcing mode.
I got the same error. However, I would advise against disabling SELinux. It's a security feature.
I happen to be running a default installation of the GNOME desktop in Oracle Linux 5.5. Consequently, when the error occurred, an SELinux alert appeared in GNOME's notification area.
The SELinux alert describes a targeted workaround to prevent this particular error. The error is due to a bug which I believe has already been reported. The full workaround which worked for me is as follows:
- Click OK to dismiss the installer's error message, but don't close the installer.
- Open a new terminal session for the oracle user.
- Apply the suggested workaround from the SELinux alert (note that the path may differ in your case):
$ chcon -t textrel_shlib_t '/u01/app/oracle/product/11.2.0/dbhome_1/lib/libcnltsh.so.11.1
- In the installer, click Retry to retry the Oracle Net Configuration Assistant step.
The installation ran to completion, and I was then able to connect to Enterprise Manager using the following URL. Note that it's https (rather than http, as was printed in Section 12 of the Quick Installation Guide for Linux x86_64):
If anybody sees a problem with this workaround, please post a correction. Otherwise, enjoy your new Oracle installation!