Undefined subroutine &net::active_interfaces called at virtual-server-lib-funcs.pl line 3457.

After upgrading Virtualmin to version 3.91.gpl GPL on Amazon AWS amazon linux instance (Amazon Linux AMI release 2012.03) with Webmin 1.580 I get error in the IP address and forwarding section when trying to create a virtual server:

Error - Perl execution failed Undefined subroutine &net::active_interfaces called at virtual-server-lib-funcs.pl line 3457.

Note: Recheck and refresh configuration

gives this error: The Network Configuration module is not supported on your operating system. Virtualmin needs this module to manage virtual network interfaces.

It used to work just fine before the upgrade.

Where do I look to fix this?



As a temporary work around I have commented out (#) lines 3457, 3441 and 3442.

Now I don't get the error, but would prefer, if there was a proper fix.

Anyone have any ideas?

One possible cause for that error is if the Webmin process somehow became out of sync with the files on your file system.

Can you try just restarting Webmin (with "/etc/init.d/webmin restart"), to see if that resolves it?

After restarting Webmin, make sure that there is only one Webmin process running. To do that, run this command:

ps auxw | grep miniserv | grep webmin

That should only return one result.

How did you install Virtualmin on Amazon Linux exactly? Was it using our AMI, or did you just do an install from our script?