• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

BIND failed after update...will not run

J

jeffparis

Guest
Bind failed after upgrade to 8.0, cannot restart.

I see this in Plesk when I restart BIND:


ERROR: PleskFatalException


Unable to make action: Unable to manage service by dnsmng: dnsmng: Service named failed to start

--------------------------------------------------------------------------------

0: /usr/local/psa/admin/plib/common_func.php3:174
psaerror(string 'Unable to make action: Unable to manage service by dnsmng: dnsmng: Service named failed to start')
1: /usr/local/psa/admin/htdocs/server/restart_services.php:30




after update, plesk removed all installed domains from named.conf. I tried replacing, what did I do wrong?



------BEGIN-----



// $Id: named.conf,v 1.1.1.1 2001/10/15 07:44:36 kap Exp $

options {
allow-recursion {
localnets;
};
directory "/var";
auth-nxdomain no;
pid-file "/var/run/named/named.pid";
};

//Use with the following in named.conf, adjusting the allow list as needed:

key "rndc-key" {
algorithm hmac-md5;
secret "CeMgS23y0oWE20nyv0x40Q==";
};

controls {
inet 127.0.0.1 port 953
allow { 127.0.0.1; } keys { "rndc-key"; };
};

// Setting up secondaries is way easier and the rough picture for this
// is explained below.
//
// If you enable a local name server, don't forget to enter 127.0.0.1
// into your /etc/resolv.conf so this server will be queried first.
// Also, make sure to enable it in /etc/rc.conf.




/*
zone "domain.com" {
type slave;
file "s/domain.com.bak";
masters {
192.168.1.1;
};
};

zone "0.168.192.in-addr.arpa" {
type slave;
file "s/0.168.192.in-addr.arpa.bak";
masters {
192.168.1.1;
};
};
*/

zone "." {
type hint;
file "named.root";
};

zone "campingmemberships.com" {
type master;
file "campingmemberships.com";
allow-transfer {
66.90.73.197;
common-allow-transfer;
};
};
zone "fivestarcampground.com" {
type master;
file "fivestarcampground.com";
allow-transfer {
66.90.73.197;
common-allow-transfer;
};
};
zone "membercampgrounds.com" {
type master;
file "membercampgrounds.com";
allow-transfer {
66.90.73.197;
common-allow-transfer;
};
};
zone "netcheeze.com" {
type master;
file "netcheeze.com";
allow-transfer {
66.90.73.197;
common-allow-transfer;
};
};
zone "oneshuffle.net" {
type master;
file "oneshuffle.net";
allow-transfer {
66.90.73.197;
common-allow-transfer;
};
};
zone "yblegal.com" {
type master;
file "yblegal.com";
allow-transfer {
66.90.73.197;
common-allow-transfer;
};
};





-----------END --------------
 
Try again, this time, when it fails, tail /var/log/messages, and show us what it gives referencing "named" and/or named.conf.
 
Check and make sure the RNDC key in your named.conf and rndc.conf match. Again, as stated above, dump the named errors from your /var/log/messages file.

Also did you restore your named.conf over the blank one?

Thx
James
 
Back
Top