• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Named broke after up2date

Z

zike

Guest
Named broke on my Plesk 7.5.1 after the update of cache-nameserver. After reading about it I notice thi is a problem. Is there a current fix for this or does anyone know how to fix this issue? Here is the error I get currently. Already tried every fix I can think of even installing the older rpm.. nothing works at this point..

Starting named: /etc/named.conf:6: change directory to '/var/named' failed: file not found
/etc/named.conf:6: parsing failed

Jan 22 06:31:33.678 starting BIND 9.2.4 -g
Jan 22 06:31:33.679 using 4 CPUs
Jan 22 06:31:33.683 loading configuration from '/etc/named.conf'
Jan 22 06:31:33.690 no IPv6 interfaces found
Jan 22 06:31:33.690 listening on IPv4 interface lo, 127.0.0.1#53
Jan 22 06:31:33.691 listening on IPv4 interface eth0, 207.44.178.205#53
Jan 22 06:31:33.691 listening on IPv4 interface eth0:1, 207.44.178.48#53
Jan 22 06:31:33.691 listening on IPv4 interface eth0:2, 207.44.178.204#53
Jan 22 06:31:33.692 listening on IPv4 interface eth0:3, 207.44.178.206#53
Jan 22 06:31:33.692 listening on IPv4 interface eth0:4, 207.44.178.207#53
Jan 22 06:31:33.692 listening on IPv4 interface eth0:5, 207.44.178.208#53
Jan 22 06:31:33.692 listening on IPv4 interface eth0:6, 207.44.178.209#53
Jan 22 06:31:33.697 command channel listening on 127.0.0.1#953
Jan 22 06:31:33.697 ignoring config file logging statement due to -g option
Jan 22 06:31:33.697 couldn't open pid file '/var/run/named/named.pid': Permission denied
Jan 22 06:31:33.697 exiting (due to early fatal error)
Error in configuration file /etc/named.conf : [FAILED]


Here is the error I get in plesk when I try and start named:

ERROR Up LevelUp Level


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

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

0: /usr/local/psa/admin/htdocs/server/restart_services.php:2 psaerror(string "Unable to make action: Unable to manage service by dnsmng: dnsmng: Service named failed to start: Operation not permitted")



Thanks for you help everyone.
 
UPDATE FIXED:

If anyone has this issue I found out the fix just by exploring. The fix is rather simple:

cd cd /var/named/run-root/etc/
mv named.conf named.conf.bak
cp named.conf.upgrader_saved named.conf
/etc/rc.d/init.d/named restart

Done.

After this change everything started working once more. Now this may not fix everyone,but it worked for me.
 
Originally posted by zike
UPDATE FIXED:

If anyone has this issue I found out the fix just by exploring. The fix is rather simple:

cd cd /var/named/run-root/etc/
mv named.conf named.conf.bak
cp named.conf.upgrader_saved named.conf
/etc/rc.d/init.d/named restart

Done.

After this change everything started working once more. Now this may not fix everyone,but it worked for me.

Thanks man, I owe you big time :)
 
This also works on Plesk 7.1.x

Thanks for this info.. saved my butt from the frying pan.... :)
 
Back
Top