IT/WEB(12)
-
[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] tomcat-connector 구성 간 오류. gcc: error: /usr/lib/rpm/redhat/redhat-hardened-cc1: No such file or directory
내용: gcc: error: /usr/lib/rpm/redhat/redhat-hardened-cc1: No such file or directory tomcat-connector make 시, rpm-config 데몬도 필요. gcc: error: /usr/lib/rpm/redhat/redhat-hardened-cc1: No such file or directory make[1]: *** [../scripts/build/rules.mk:36: jk_ajp12_worker.lo] Error 1 make[1]: Leaving directory '/home/srv/sobis2/tomcat-connectors-1.2.48-src/native/common' make: *** [Makefile:470: all-re..
2020.11.14 -
[httpd] tomcat-connector 구성 간 오류. /usr/lib64/apr-1/build/libtool: line 1752: gcc: command not found
내용: /usr/lib64/apr-1/build/libtool: line 1752: gcc: command not found gcc가 설치되어있지 않아 발생. /usr/lib64/apr-1/build/libtool: line 1752: gcc: command not found make[1]: *** [../scripts/build/rules.mk:36: jk_ajp12_worker.lo] Error 1 make[1]: Leaving directory '/home/Service/tomcat-connectors-1.2.48-src/native/common' make: *** [Makefile:470: all-recursive] Error 1 해결방안: # yum install gcc -y
2020.11.14 -
[httpd] tomcat-connector 구성 간 오류. Invalid location for apxs: '/usr/bin/apxs'
내용: configure: error: Invalid location for apxs: '/usr/bin/apxs' tomcat-connector 구성 시, httpd-devel가 설치되지 않아 발생한 오류. 해결 방안: # yum install httpd-devel -y
2020.11.14 -
[httpd] SSL Library Error: error:0200100D:system library:fopen:Permission denied
내용: Invalid command 'SSLEngine', perhaps misspelled or defined by a module not included in the server configuration SSL Library Error: error:0200100D:system library:fopen:Permission denied SSL 모듈이 설치되어 있지 않아 발생한 오류. 해결방법: # yum install mod_ssl
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