Submitted by clop on Mon, 01/30/2012 - 08:06
I got a problem on virtualmin 3.9 GPL installed as a webmin module on webmin in 1.580. The system is debian 6.0.4 up to date.
When i try to go to edit user on each domain or if i try to add a new domaine i got the problem : Error - Perl execution failed
Undefined subroutine &bind8::list_slave_servers called at virtual-server-lib-funcs.pl line 3758.
I found a workaround : to comment lines 3758 and 3759 in virtual-server-lib-funcs.pl.
Status:
Closed (fixed)
Comments
Submitted by andreychek on Mon, 01/30/2012 - 09:30 Comment #1
That can happen if Webmin was updated, but for some reason not restarted correctly during that update.
Try restarting Webmin with this command:
/etc/init,d/webmin restart
After you do that, does it that error stop occurring?
Submitted by clop on Mon, 01/30/2012 - 10:24 Comment #2
I tried that.
I tried also to reinstall virtualmin module and webmin.
Submitted by JamieCameron on Mon, 01/30/2012 - 11:19 Comment #3
Is your Webmin perhaps missing some modules? You can check if the BIND module is installed, by going to Servers -> BIND DNS Server ..
Submitted by clop on Tue, 01/31/2012 - 03:53 Comment #4
I tried too ! i had uninstall Bind webmin module and re-install bind webmin module. Same problem.
Submitted by JamieCameron on Tue, 01/31/2012 - 12:26 Comment #5
You really don't want to un-install any Webmin modules, unless your system is really low on disk space.
Do you still get this error even though you can see the BIND DNS Server module under the Servers category?
Submitted by clop on Tue, 01/31/2012 - 16:48 Comment #6
I uninstalled and reinstalled bind webmin module just for test. The problem concerned 10 debian server in production. I used the workaround at 9 and the 10 is for reproduice the bug.
The bind dns server isn't installed on the server and bind webmin module is in "Un-used Modules".
So for test, i installed Bind9, did a "Refresh Modules" in webmin, the bind webmin module went in "servers" section, but the problem was here.
Submitted by JamieCameron on Tue, 01/31/2012 - 16:52 Comment #7
Ok, I found the cause of this .. it can happen if the DNS feature is disabled globally in Virtualmin.
The work-around is to re-enable it at System Settings -> Features and Plugins, by checking the box next to the "BIND DNS domain" feature. You can un-check the box in the "Default?" column if you don't want new virtual servers to get a DNS zone by default..
We will release a proper fix for this shortly..
Submitted by orrd on Tue, 02/07/2012 - 12:48 Comment #8
It appears to be not possible to turn on the "BIND DNS domain" feature either. If I check the box for that setting it generates this error:
"Failed to save enabled features : The BIND DNS server version 8 or 9 does not appear to be installed on your system, or has not yet been set up properly in Webmin's BIND DNS Server module. If your system does not use BIND, it should be disabled in Virtualmin's module configuration page."
I'm going to try the solution "comment lines 3758 and 3759 in virtual-server-lib-funcs.pl" as mentioned in the original message.
Submitted by JamieCameron on Tue, 02/07/2012 - 12:53 Comment #9
I have also released a 3.902 version of Virtualmin GPL which fixes this properly - you can download it from http://www.webmin.com/vdownload.html
Submitted by Issues on Tue, 02/21/2012 - 13:17 Comment #10
Automatically closed -- issue fixed for 2 weeks with no activity.