Wednesday, June 27, 2007

Disabling the SeLinux security

Have you ever encounter an issue conncting to mysql server through JDBC connection. eg: SocketException Check the /etc/selinux/config file and change the SELINUX=disabled.

sample entries...

# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - SELinux is fully disabled.
# SELINUXTYPE= type of policy in use. Possible values are:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.

No comments: