New Cpanel server DNS problem, also affects some servers after upgrade or/and update

OK, we have seen the following problem with a fresh Cpanel install. The problem is that named (Bind DNS server) is not starting and you get get hundreds of the following error messages:

Stopping named: [FAILED]
Starting named: [FAILED]

…..
chattr: Inappropriate ioctl for device while reading flags on /var/named/chroot/proc
chattr: Inappropriate ioctl for device while reading flags on /var/named/chroot/proc/scsi
chattr: Inappropriate ioctl for device while reading flags on /var/named/chroot/proc/scsi/device_info
chattr: Inappropriate ioctl for device while reading flags on /var/named/chroot/proc/scsi/scsi
chattr: Inappropriate ioctl for device while reading flags on /var/named/chroot/proc/mdstat
chattr: Inappropriate ioctl for device while reading flags on /var/named/chroot/proc/ide
chattr: Inappropriate ioctl for device while reading flags on /var/named/chroot/proc/ide/drivers
chattr: Inappropriate ioctl for device while reading flags on /var/named/chroot/*****
…….
/scripts/fixndc

/scripts/fixnamed

/scripts/upcp

/scripts/fixeverything

doesn’t fix the problem. You can actually do it yourself quickly and easily…

cd /var/named/chroot/etc

chown root.named named.conf

chmod g+r rndc.key


Comments

  1. dc says:

    after performing commands I provided above enter

    service named restart

    or you can reboot DNS server from the cPanel.
    Enjoy

Leave a Reply