본문 바로가기
리눅스

[APACHE] APACHE가 소스설치 후 자동으로 올라오지않을때

by 얼빵이 2020. 10. 15.
반응형

 

 

APACHE 소스 설치 후

 

cp /usr/local/apache/bin/apachectl /etc/init.d/httpd

chkconfig --add httpd
chkconfig --level 2345 httpd on

 

위와같이 서비스 추가를 해주고

서버를 재구동 해도 APACHE가 올라오지 않아

 

messege로그를 확인해본 결과 아래와 같은 에러가 올라왔다

 

Oct 15 09:30:28 localhost httpd: /usr/sbin/httpd: error while loading shared libraries: libaprutil-1.so.0: cannot open shared object file: No such file or directory Oct 15 09:30:28 localhost systemd: httpd.service: main process exited, code=exited, status=127/n/a

Oct 15 09:30:28 localhost systemd: Failed to start The Apache HTTP Server.

Oct 15 09:30:28 localhost systemd: Unit httpd.service entered failed state.

Oct 15 09:30:28 localhost sm-notify[2041]: Version 1.3.0 starting Oct 15 09:30:28 localhost systemd: httpd.service failed.

 

내가 해결한 방법은 다음과 같다

 

yum -y install apr-util-devel

 

참쉽죠?

 

 

반응형

댓글


TOP

TEL. 02.1234.5678 / 경기 성남시 분당구 판교역로