mod_jk(2)
-
[httpd] tomcat-connector 구성 간 오류. No JkShmFile defined in httpd.conf. Using default /etc/httpd/logs/jk-runtime-status
내용: No JkShmFile defined in httpd.conf. Using default /etc/httpd/logs/jk-runtime-status SELinux에 차단되어 발생한 오류로, SELinux를 비활성화 하거나 보안 context 변경. 아래는 보안 contex를 변경하여 해결. [Thu Nov 05 14:05:45.411188 2020] [jk:warn] [pid 16594:tid 139963507755328] No JkShmFile defined in httpd.conf. Using default /etc/httpd/logs/jk-runtime-status 해결방안: # chcon -u system_u -r object_r -t httpd_modules_t /etc/httpd/mo..
2020.11.14 -
[httpd] /etc/httpd/modules/mod_jk.so: cannot open shared object file: Permission denied
내용: httpd: Syntax error on line 60 of /etc/httpd/conf/httpd.conf: Cannot load modules/mod_jk.so into server: /etc/httpd/modules/mod_jk.so: cannot open shared object file: Permission denied. SELinux가 엑세스를 차단하여 발생한 오류로, SELinux를 비활성화 하거나 보안 context 변경. 아래는 보안 contex를 변경하여 해결. 해결 방법: # chcon -t textrel_shlib_t /usr/lib64/httpd/modules/mod_jk.so # chcon -u system_u -t httpd_modules_t mod_jk.so
2020.11.14