tomcat에서 catalina.out 파일의 용량이 커지면 아래 명령어로 초기화 시킨다.

cp /dev/null catalina.out

 

 

아파치 + 톰캣 mod_proxy 연동시 503 에러 처리 방법

Apache + Tomcat mod_proxy 503 error

 

 

환경

OS - Cenos 7

Apache - 2.4

 

에러 내용

 

조치 방법(영구적으로)

vi /etc/selinux/config

 

# 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 - No SELinux policy is loaded.
SELINUX=disabled
# SELINUXTYPE= can take one of three two values:
# targeted - Targeted processes are protected,
# minimum - Modification of targeted policy. Only selected processes are protected.
# mls - Multi Level Security protection.

 

조치 방법(일시적으로 - 서버 재부팅되면 다시 설정해야 함)

/usr/sbin/setsebool httpd_can_network_connect 1


git rm --cached core.iml

git add core.iml

git commit -m "rm core.iml"


+ Recent posts