New answers tagged selinux
I have disabled PAM in linux and security context wont be asked at bootup. Comment the following line in "/etc/pam.d/login" file. session [success=ok ignore=ignore module_unknown=ignore default=bad] pam_selinux.so open
Here's how to permanently change the context of a directory: # install semanage if you don't already have it: yum install policycoreutils-python # give the directory a new default context. The part at the end is a regex. semanage fcontext -a -t httpd_sys_rw_content_t "/path/to/directory(/.*)?" # apply the default context to the directory restorecon -R ...
your permissions: drwxr-sr-x 2 pedro mail xxxx cur,new,tmp only pedro(you) can write, mail(server) can only read. change user to mail, chmod 700 try again
I corrected that by re-installing the mod_ssl in CentOS 6 with yum erase mod_ssl and installing it with yum mod_ssl. That should fix it.
The issue is Resolved. It turn out to be that the labeling of the file related to java(both openjdk and oracle java) was not correct in my redhat 6 system. When i upgraded from redhat 6 to redhat 7 it started working all fine i.e sandbox java -version worked perfectly with no problems. In my redhat 7 system the .so and other java related file are labeled ...
Top 50 recent answers are included