리자

libphp4.so: cannot restore segment prot after reloc: Permission denied 

· 18년 전 · 3296

[root@localhost libexec]# /usr/local/apache/bin/apachectl configtest
Syntax error on line 224 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server: /usr/local/apache/libexec/libphp4.so: cannot restore segment prot after reloc: Permission denied

이런 황당한 에러는... 아래와 같이 하면 해결됨.

[root@localhost libexec]# restorecon -R -v /usr/local/apache/libexec

또는

[root@localhost libexec]# chcon -t texrel_shlib_t /usr/local/apache/modules/libphp4.so

[이 게시물은 관리자님에 의해 2011-10-31 17:32:05 Linux에서 이동 됨]
|
댓글을 작성하시려면 로그인이 필요합니다. 로그인

팁게시판

디자인과 관련된 유용한 정보를 공유하세요. 질문은 상단의 QA에서 해주시기 바랍니다.

+
제목 글쓴이 날짜 조회
18년 전 조회 2,860
18년 전 조회 2,332
18년 전 조회 3,499
18년 전 조회 2,165
18년 전 조회 1,954
18년 전 조회 1,810
18년 전 조회 1,631
18년 전 조회 3,225
18년 전 조회 4,537
18년 전 조회 4,813
18년 전 조회 2,119
18년 전 조회 3,575
18년 전 조회 3,297
18년 전 조회 4,584
18년 전 조회 3,223
18년 전 조회 4,224
18년 전 조회 3,904
18년 전 조회 3,600
18년 전 조회 3,001
18년 전 조회 2,901
18년 전 조회 3,476
18년 전 조회 2,132
18년 전 조회 2,077
18년 전 조회 5,474
18년 전 조회 2,663
🐛 버그신고