Website is not working after domain is unsuspended

Created:

2016-12-12 03:44:55 UTC

Modified:

2017-08-08 13:35:23 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Website is not working after domain is unsuspended

Applicable to:

  • Plesk 12.5 for Linux

Symptoms

Website is not working after domain is unsuspended.

Restarting DNS server returns the following error message and then the service cannot be started:

# service named restart
zone example.com/IN: loading from master file example.com failed: file not found
zone example.com/IN: not loaded due to errors.
_default/example.com/IN: file not found

Update of DNS zone for all domains results in:

# MYSQL_PWD=`cat /etc/psa/.psa.shadow` mysql -Dpsa -Ns -e"SELECT name FROM dns_zone" | while read dz ; do /usr/local/psa/admin/sbin/dnsmng --update $dz ; done
Unexpected error: Cannot write /var/named/chroot/var/ampadv.it.saved_by_psa: Permission denied

Cause

Immutable bit attribute is set on directory /var/named/chroot/var :

    # lsattr /var/named/chroot/
...
----i---------- /var/named/chroot/var
...

Resolution

Remove the immutable bit attribute:

   # chattr -i /var/named/chroot/var
Have more questions? Submit a request
Please sign in to leave a comment.