Categories

دسمبر 2020
پیرمنگلبدھجمعراتجمعہہفتہاتوار
 123456
78910111213
14151617181920
21222324252627
28293031 
Linux

BIND Domain Name Server Error

BIND Domain Name Server Error

Today I decided to upgrade the Debian version from 9 Stretch to 10 Buster. During the upgrade, a BIND Domain Name Server Error stopped the upgrade.

It is almost a pleasure to update a Linux server. But sometimes issues may occur – that is what happened to me today. I will write it down here for others if they experience something similar.

I followed this excellent blog:

Update-Upgrade Debian 9 to 10

But during the ‘apt full-upgrade’ something went wrong.

The system threw the error above and stopped the upgrade: Although the error is a permission error but believe me, the error message shown above is misleading! It had NOTHING to do with the permission of a certain file at all.

It was a BIND Domain Name Server Error!

The Apache was gone! Couldn’t start it, hence no access to the Plesk Admin either. 

Tried different things, searched and read different blogs, but nothing helped.

When nothing helped, I decided to reinstall Plesk Control Panel! Neither this was possible!!! Dig down into the different error logs,  until I came across a log file, pointing to missing Plesk Database – PSA!!!

Went into MySql to confirm it, and yes, the PSA database was gone! Nowhere to find in the databases! How come????!!! Anyway.

Luckily the system always keeps a dump of this database in /var/lib/psa/dumps directory.

Restored the database with the following command:

 zcat /var/lib/psa/dumps/mysql.daily.dump.0.gz | MYSQL_PWD=`cat /etc/psa/.psa.shadow` mysql -u admin psa 

After a while, the restore was completed. Then rerun the Plesk Installation command:

 ./plesk-installer 

After the completion of the installer, everything was working as before.

I got upgraded my Debian to 10.7 and Plesk to the latest version!

Lesson learned? Read the right log files!!!!!


Pegham Logo Retina

About the author

pgadmin

Masood

Add Comment

Click here to post a comment

Discover more from Pegham

Subscribe now to keep reading and get access to the full archive.

Continue reading

Pegham

FREE
VIEW