Menu

#4801 Perl execution failed attempting to edit a slave reverse zone

1.810
closed-fixed
nobody
5
2016-08-25
2016-08-11
Cory Eakins
No

Attempting to edit a slave reverse zone record results in the following error:

*HTTP/1.0 500 Perl execution failed Server: MiniServ/1.810 Date: Thu, 11 Aug 2016 18:44:03 GMT Content-type: text/html; Charset=iso-8859-1 Connection: close

Error - Perl execution failed

Can't use an undefined value as a symbol reference at records-lib.pl line 111.*

Discussion

  • Jamie Cameron

    Jamie Cameron - 2016-08-12
    • status: open --> closed-fixed
     
  • Jamie Cameron

    Jamie Cameron - 2016-08-12

    Known issue, we will release a patch for this shortly.

     
  • Cory Eakins

    Cory Eakins - 2016-08-15

    I tested the fixed module, that is available, and I still have exactly the same error.

     
  • Per Weisteen

    Per Weisteen - 2016-08-16
    Tested the patch and I'm still getting the same error when trying to edit slave zone. Master zones work ok.
    
     
  • Cory Eakins

    Cory Eakins - 2016-08-16

    Confirmed. Patch from github doesn't fix the problem.

     
  • Tanoazoo

    Tanoazoo - 2016-08-16

    2nd Confirmation. Patch from github doesn't fix the problem.

     
  • Jamie Cameron

    Jamie Cameron - 2016-08-17

    Can anyone who is seeing this check if a zone file exists for the slave zone, and if so what does it contain?

     
  • Per Weisteen

    Per Weisteen - 2016-08-17

    Running Bind 9.9.4 all my slave zones exists and are in binary (raw) format as pr. default from Bind 9.9. Tested one zone using "masterfile-format text;" statement in the zone declaration in named.conf. That fixed it for that specific zone. Seems you may have to check zone file format and then run named-compilezone if the zone is in raw format.

     
  • Tanoazoo

    Tanoazoo - 2016-08-17

    Hello,
    Along with the information from Per Weisteen for zones in raw format. I have tested several dns slave zones with success. By editing /etc/bind/named.conf.local (UbuntuLTS 14.04) and adding "masterfile-format text;" to each dns slave zone of the named.conf.local file, save, and restart bind I was then able to chose the dns slave zone and its properties without the error message.

    *** NOTE *** backup your 'named.conf.local' file before making any adjustments and modifications. Just a good rule of thumb.

    I've included a snapshot.
    Cheers!

    Ohh... Bind v9.9.5 on Ubuntu 14.04LTS

     

    Last edit: Tanoazoo 2016-08-17
  • Jamie Cameron

    Jamie Cameron - 2016-08-18

    Ok, so that's the trigger - when the zone file isn't in text format. I will fix this in the next release (and probably release an updated BIND module)

     
  • Taylor Duncan

    Taylor Duncan - 2016-08-23

    I am running Centos 7. If the config file in a different location? I am also having the same issue.

     
  • C G Norlén

    C G Norlén - 2016-08-23
    masterfile-format text;
    

    ... worked well. :-)

    ... that is - on 5 out of 6 zones

     

    Last edit: C G Norlén 2016-08-23
  • Jamie Cameron

    Jamie Cameron - 2016-08-24

    Ok, I've just released an updated BIND module that includes a fix for this. You can either get it from http://www.webmin.com/updates.html , or wait for Webmin to prompt you to install it on the System Information page.

     
    • Taylor Duncan

      Taylor Duncan - 2016-08-24

      Thanks Jamie! The update works beautifully.

       
  • Tanoazoo

    Tanoazoo - 2016-08-24

    Thanks Jamie, the recent fix worked. Though maybe I should of mentioned this some some time ago ever since 1.801. From the slave dns server the user can choose a DNS slave and display the slave type properties. But when you check on the 'View Records File' an error message 'This zone is in raw binary format, and so cannot be displayed as text'. Verify the screen shots. To resolve this issue and be able to verify the slave zone 'View Records File'... I had to make sure the 'masterfile-format text;' was added to the slave zone of the named.conf.local. With this change I was able to view in 'View Records File'.

     
  • Jamie Cameron

    Jamie Cameron - 2016-08-25

    That's expected - the "View Records File" option shows the raw unformatted slave file, which wouldn't make sense for binary format.

     
  • Tanoazoo

    Tanoazoo - 2016-08-25

    Thanks Jamie, I will modify the named.conf.local file and manually add 'masterfile-format text;' per slave dns.
    Cheers,

     

Log in to post a comment.