2010년 4월 12일 월요일

cannot restore segment prot after reloc: Permission denied 

[root@localhost libexec]# /usr/local/apache/bin/apachectl start
Syntax error on line 205 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/mod_pyapache.so into server: /usr/local/apache/libexec/mod_pyapache.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/libexec/mod_pyapache.so

댓글 없음:

댓글 쓰기