J
jaime
Guest
Hi Guys,
I just installed a new server with PSA 7.5.4 and Bind doesn't want to start. Also I can't send mail using the phpformail(). Below is the error I get when I try to restart named from the control Panel.
Feb 10 09:53:04 web named[3771]: starting BIND 9.2.4 -u named -c /etc/named.conf -u named -t /var/named/run-root
Feb 10 09:53:04 web named[3771]: using 1 CPU
Feb 10 09:53:04 web named: named startup succeeded
Feb 10 09:53:04 web named[3771]: loading configuration from '/etc/named.conf'
Feb 10 09:53:04 web named[3771]: listening on IPv4 interface lo, 127.0.0.1#53
Feb 10 09:53:04 web named[3771]: listening on IPv4 interface eth0, 172.16.4.4#53
Feb 10 09:53:04 web named[3771]: command channel listening on 127.0.0.1#953
Feb 10 09:53:04 web named[3771]: could not open entropy source /dev/random: permission denied
Feb 10 09:53:04 web kernel: audit(1139586784.090:0): avc: denied { read } for pid=3772 exe=/usr/sbin/named name=random dev=md4 ino=1818641 scontext=user_u:system_r:named_t tcontext=root
bject_r:named_zone_t tclass=chr_file
Feb 10 09:53:04 web kernel: audit(1139586784.090:0): avc: denied { write } for pid=3772 exe=/usr/sbin/named name=named dev=md4 ino=1818635 scontext=user_u:system_r:named_t tcontext=root
bject_r:named_zone_t tclass=dir
Feb 10 09:53:04 web named[3771]: couldn't open pid file '/var/run/named/named.pid': Permission denied
Feb 10 09:53:04 web named[3771]: exiting (due to early fatal error)
Feb 10 09:53:04 web kernel: audit(1139586784.358:0): avc: denied { getattr } for pid=3809 exe=/usr/sbin/rndc path=/var/named/run-root/etc/rndc.conf dev=md4 ino=1818632 scontext=user_u:system_r:ndc_t tcontext=root
bject_r:named_zone_t tclass=file
Feb 10 09:53:05 web kernel: audit(1139586785.381:0): avc: denied { getattr } for pid=3819 exe=/usr/sbin/rndc path=/var/named/run-root/etc/rndc.conf dev=md4 ino=1818632 scontext=user_u:system_r:ndc_t tcontext=root
bject_r:named_zone_t tclass=file
Feb 10 09:53:06 web kernel: audit(1139586786.404:0): avc: denied { getattr } for pid=3826 exe=/usr/sbin/rndc path=/var/named/run-root/etc/rndc.conf dev=md4 ino=1818632 scontext=user_u:system_r:ndc_t tcontext=root
bject_r:named_zone_t tclass=file
Thanks In Advance.
Jaime
I just installed a new server with PSA 7.5.4 and Bind doesn't want to start. Also I can't send mail using the phpformail(). Below is the error I get when I try to restart named from the control Panel.
Feb 10 09:53:04 web named[3771]: starting BIND 9.2.4 -u named -c /etc/named.conf -u named -t /var/named/run-root
Feb 10 09:53:04 web named[3771]: using 1 CPU
Feb 10 09:53:04 web named: named startup succeeded
Feb 10 09:53:04 web named[3771]: loading configuration from '/etc/named.conf'
Feb 10 09:53:04 web named[3771]: listening on IPv4 interface lo, 127.0.0.1#53
Feb 10 09:53:04 web named[3771]: listening on IPv4 interface eth0, 172.16.4.4#53
Feb 10 09:53:04 web named[3771]: command channel listening on 127.0.0.1#953
Feb 10 09:53:04 web named[3771]: could not open entropy source /dev/random: permission denied
Feb 10 09:53:04 web kernel: audit(1139586784.090:0): avc: denied { read } for pid=3772 exe=/usr/sbin/named name=random dev=md4 ino=1818641 scontext=user_u:system_r:named_t tcontext=root
Feb 10 09:53:04 web kernel: audit(1139586784.090:0): avc: denied { write } for pid=3772 exe=/usr/sbin/named name=named dev=md4 ino=1818635 scontext=user_u:system_r:named_t tcontext=root
Feb 10 09:53:04 web named[3771]: couldn't open pid file '/var/run/named/named.pid': Permission denied
Feb 10 09:53:04 web named[3771]: exiting (due to early fatal error)
Feb 10 09:53:04 web kernel: audit(1139586784.358:0): avc: denied { getattr } for pid=3809 exe=/usr/sbin/rndc path=/var/named/run-root/etc/rndc.conf dev=md4 ino=1818632 scontext=user_u:system_r:ndc_t tcontext=root
Feb 10 09:53:05 web kernel: audit(1139586785.381:0): avc: denied { getattr } for pid=3819 exe=/usr/sbin/rndc path=/var/named/run-root/etc/rndc.conf dev=md4 ino=1818632 scontext=user_u:system_r:ndc_t tcontext=root
Feb 10 09:53:06 web kernel: audit(1139586786.404:0): avc: denied { getattr } for pid=3826 exe=/usr/sbin/rndc path=/var/named/run-root/etc/rndc.conf dev=md4 ino=1818632 scontext=user_u:system_r:ndc_t tcontext=root
Thanks In Advance.
Jaime