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

Masood

ایک پردیسی جو پردیس میں رہنے کے باوجود اپنے ملک سے بے پناہ محبت رکھتا ہے، اپنے ملک کی حالت پر سخت نالاں ہے۔ ایک پردیسی جس کا قلم مشکل ترین سچائی لکھنے سے باز نہیں آتا، پردیسی جسکا قلم اس وقت لکھتا ہے دل درد کی شدت سے خون گشتہ ہو جاتا ہے اور اسکے خونِ جگر کی روشنائی سے لکھے ہوئے الفاظ وہ تلخ سچائی پر مبنی ہوتے ہیں جو ہضم مشکل سے ہوتے ہیں۔۔۔ مگر یہ دیوانہ سچائی کا زہر الگنے سے باز نہیں آتا!

Add Comment

Click here to post a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Pegham Network

FREE
VIEW