Web Server/Apache(5)
-
조치 방법 모름
audit2why < /var/log/audit/audit.log type=AVC msg=audit(1610170213.215:77): avc: denied { map } for pid=1594 comm="httpd" path="/run/httpd/mod_jk.shm.1594" dev="tmpfs" ino=43327 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:httpd_var_run_t:s0 tclass=file permissive=0 Was caused by: Unknown - would be allowed by active policy Possible mismatch between this policy and the one un..
2021.01.09 -
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.
systemctl start httpd 실행 1월 06 21:20:30 localhost.localdomain httpd[7627]: httpd: Syntax error on line 59 of /etc/httpd/conf/httpd.conf: Can't locate API module structure `jk_moudle' in file /etc/ht> 오타로 인한 에러 LoadModule jk_module modles/mode_jk.so -> LoadModule jk_module modules/mode_jk.so ● httpd.service - The Apache HTTP Server Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; v..
2021.01.09 -
아파치 버전 확인
httpd -v httpd -V
2021.01.09 -
module 내용 보기
strings mod_jk.so | grep -i mod_jk
2021.01.06 -
아파치 설치
아파치 설치 yum -y install httpd 방화벽 오픈 firewall-cmd --permanent --add-service=http firewall-cmd --permanent --add-service=https firewall-cmd --reload 부딩시 자동 실행하도록 등록 systemctl enable httpd 아파치 시작 systemctl start httpd mod_jk 설치를 위한 패키지 설치 yum -y install gcc gcc-c++ httpd-devel Tomcat Connectors JK12 다운 wget -c 링크주소 압축풀기 tar zxvf 파일 설치된 디렉토리의 /native로 이동 ./configure --with-apxs=/usr/bin/apxs make mak..
2021.01.04