내용:
configure: error: Invalid location for apxs: '/usr/bin/apxs'
tomcat-connector 구성 시, httpd-devel가 설치되지 않아 발생한 오류.
해결 방안:
# yum install httpd-devel -y
내용:
configure: error: Invalid location for apxs: '/usr/bin/apxs'
tomcat-connector 구성 시, httpd-devel가 설치되지 않아 발생한 오류.
해결 방안:
# yum install httpd-devel -y
내용:
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
내용:
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
[httpd] tomcat-connector 구성 간 오류. Invalid location for apxs: '/usr/bin/apxs' (0) | 2020.11.14 |
---|---|
[httpd] SSL Library Error: error:0200100D:system library:fopen:Permission denied (0) | 2020.11.14 |
[jenkins] jenkins 설치하기. (0) | 2020.11.14 |
[nginx] proxy 사용 시, index 구문 미 작동. (0) | 2020.11.14 |
[Windows] 오류: api-ms-win-crt-runtime-l1-1-0.dll이 없습니다. (0) | 2020.11.14 |
먼저, jenkins.repo를 yum repository에 추가한다.
# wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo # rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key # yum upgrade -y
jdk와 함께 설치해주면 끝.
# yum install jenkins java-1.8.0-openjdk-devel -y # systemctl daemon-reload
서비스를 실행하고 상태를 확인해 준다.
# systemctl start jenkins && systemctl status jenkins
[httpd] SSL Library Error: error:0200100D:system library:fopen:Permission denied (0) | 2020.11.14 |
---|---|
[httpd] /etc/httpd/modules/mod_jk.so: cannot open shared object file: Permission denied (0) | 2020.11.14 |
[nginx] proxy 사용 시, index 구문 미 작동. (0) | 2020.11.14 |
[Windows] 오류: api-ms-win-crt-runtime-l1-1-0.dll이 없습니다. (0) | 2020.11.14 |
[Tomcat] centos에서 tomcat 서비스로 등록하기 (0) | 2020.11.14 |
서비스 구성 상, 기본적으로는 proxy를 통해 WAS로 처리하고,
일부 컨텐츠만 정적으로 처리하려고 했더니, proxy 설정 때문인지 index 구문이 정상적으로 작동하지 않았다.
./nginx_vserver.conf
~
location / {
root <WEB_root>;
index index.html;
include nginx_vserver_service_proxy.conf;
}
~
rewrite를 이용하여 해결.
./nginx_vserver.conf
~
location / {
root <WEB_root>;
index index.html;
rewrite ^/$ /index.html;
include nginx_vserver_service_proxy.conf;
}
~
[httpd] /etc/httpd/modules/mod_jk.so: cannot open shared object file: Permission denied (0) | 2020.11.14 |
---|---|
[jenkins] jenkins 설치하기. (0) | 2020.11.14 |
[Windows] 오류: api-ms-win-crt-runtime-l1-1-0.dll이 없습니다. (0) | 2020.11.14 |
[Tomcat] centos에서 tomcat 서비스로 등록하기 (0) | 2020.11.14 |
[AWS] CLI로 비밀번호 확인 하기. (0) | 2020.11.14 |