1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice

Named broke after up2date

Discussion in 'Plesk for Linux - 8.x and Older' started by zike, Jan 22, 2005.

  1. zike

    zike Guest

    0
     
    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.
     
  2. zike

    zike Guest

    0
     
    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.
     
  3. tabacco

    tabacco Guest

    0
     
    Thanks man, I owe you big time :)
     
  4. Herby

    Herby Guest

    0
     
    thx !!!
     
  5. Galactic Zero

    Galactic Zero Guest

    0
     
    This also works on Plesk 7.1.x

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