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:

[su_highlight background=”#fffb99″]zcat /var/lib/psa/dumps/mysql.daily.dump.0.gz | MYSQL_PWD=`cat /etc/psa/.psa.shadow` mysql -u admin psa[/su_highlight]

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

[su_highlight background=”#fffb99″]./plesk-installer[/su_highlight]

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.

December 2020
M T W T F S S
 123456
78910111213
14151617181920
21222324252627
28293031  

PG Special