#1668 BIND does not appear to be running on the slave server

1.140
closed
5
2004-06-17
2004-06-16
Anonymous
No

When trying to apply changes on slave DNS server, I get
an error:
"BIND does not appear to be running on the slave
server". I have confirmed the slave server is running.

If I comment out line 39 ($pid ||
&error($text{'restart_erunning'});) of
/usr/libexec/webmin/bind8/restart_slave.cgi on the
master server, it seems to restart named on the slave
server.

Fedora Core 1
webmin-1.140
bind-9.2.2
perl-5.8.3-16
httpd-2.0.48-1.2

My Email: lacjoe@wsinc.com

Discussion

  • Jamie Cameron

    Jamie Cameron - 2004-06-17
    • status: open --> closed
     
  • Jamie Cameron

    Jamie Cameron - 2004-06-17

    Logged In: YES
    user_id=129364

    I see the cause of this - Webmin may be reading the wrong
    PID file on the slave server if it is running chroot'd. The next
    release will fix this properly ..

     
  • James Deucker

    James Deucker - 2004-11-17

    Logged In: YES
    user_id=1160647

    here's a patch I made that fixes the problem, I /think/ it's
    "right. I posted it in another bug without logging in (oops):

    # diff -u /usr/libexec/webmin/bind8/restart_slave.cgi
    restart_slave.cgi
    --- /usr/libexec/webmin/bind8/restart_slave.cgi 2004-11-13
    15:01:27.000000000 +1100
    +++ restart_slave.cgi 2004-11-17 12:38:55.000000000 +1100
    @@ -14,7 +14,7 @@
    $sver = &remote_foreign_call($in{'slave'}, "bind8",
    "get_webmin_version");
    if ($sver >= 1.140) {
    # Call new function to get PID file from slave
    - $pidfile = &remote_foreign_call($in{'slave'},
    "bind8", "get_pid_file");
    + $pidfile = &remote_foreign_call($in{'slave'},
    "bind8", "get_chroot") . &remote_foreign_call($in{'slave'},
    "bind8", "get_pid_file");
    }
    else {
    # Argh .. fall back to using old method

     
  • Jamie Cameron

    Jamie Cameron - 2004-11-17

    Logged In: YES
    user_id=129364

    Thanks for the patch - I will incorporate it (or something like
    it) into the next Webmin release ..

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks