Issue
# /etc/init.d/lighttpd restart
Stopping lighttpd: [FAILED]
Starting lighttpd: 2012-06-03 00:57:12: (server.c.722) couldn't set 'max filedescriptors' Permission denied
[FAILED]
Solution:
Install SE utils
yum install policycoreutils-pythonCreate SELinux module to allow lighttpd to set its own open file descriptors limit
/usr/sbin/semodule -DB
# /etc/init.d/auditd restart
Stopping auditd: [ OK ]
Starting auditd: [ OK ]
#grep lighttpd /var/log/audit/audit.log | audit2allow -M lighttpdmaxfds
#/usr/sbin/semodule -i lighttpdmaxfds.pp
# /etc/init.d/lighttpd restart
Stopping lighttpd: [FAILED]
Starting lighttpd: [ OK ]
# /usr/sbin/semodule -B
i found 2 solutions for this problem, this one worked. thanks for posting
ReplyDelete