Hey,
While this is also related to Virtualmin, I decided to post it as a Webmin bug as it happened after the upgrade to the latest version of Webmin 1.490-1
I am given the following error upon submitting the form to create a new "virtual server" through Virtualmin GPL.
Error - Perl execution failed
Undefined subroutine &virtual_server::check_webmin_port_clash called at /usr/libexec/webmin/virtual-server/feature-web.pl line 948.
Thanks in advance for a fix to this!
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Sat, 10/03/2009 - 16:42 Comment #1
That's surprising, as a check of the code doesn't show that function as missing.
Which OS are you running Webmin on there?
Also, does restarting Webmin with the command /etc/webmin/restart run as root fix it?
CentoOS 5.3, and no I tried that before submitting the bug report.
Submitted by JamieCameron on Sat, 10/03/2009 - 19:27 Comment #3
I just tried this on a fully-updated CentOS 5.3 system, but couldn't re-produce this error.
If you go to System Settings -> Features and Plugins, is the " SSL website" feature enabled? If not, does enabling it help?
Jamie,
I don't use SSL at all, so it is disabled by default, which has been the case for a long time.
However, in looking around the system I did notice a problem which may relate to this issue.
System Settings > Server Templates > Default Settings > Apache Website
There is a field on this page labeled "Port number for SSL virtual hosts"
This field is blank, which should reflect "443" if memory serves me correct. However changing the value and saving, does not actually update the field.
I'm not sure how long this has been an issue, or if it is like this intensionally.
Anyways, the on-going issue happens when I try to enable "Web virtual server" during the "Create Virtual Server" operation.
Again this only started happening after upgrading to the latest Webmin/Usermin earlier today.
Hopefully we can find a solution, as I may need to create a few new Virtual Servers shortly.
Thanks again!
Ok, I did a test to see if Webmin itself was really causing the problem.
I downgraded back to 1.480-1, but the issue seemed to persist. So I upgraded back to the current version of 1.490-1.
This whole thing has got me confused.
Is there anyway to reinstall Virtualmin over top the existing install, perhaps to fix any broken or corrupt files?
I'm sort of pulling at straws here, cause I really need to get this fixed ASAP.
Any suggestions would be appreciated.
Submitted by JamieCameron on Sun, 10/04/2009 - 00:15 Comment #6
I don't think the SSL port number is a direct cause of this, but may be a symptom of the same problem.
Does it help if you enable the SSL feature though? You don't have to actually use it in any domains, but due to the way the code is written it may need to be enabled to allow virtual server creation to work..
Submitted by JamieCameron on Sun, 10/04/2009 - 00:17 Comment #7
One option would be to force-reinstall the Virtualmin RPM package, with a command like :
rpm -U --force http://download.webmin.com/download/virtualmin/wbm-virtual-server-3.73.gpl-1.noarch.rpm
this would fix any missing files.
I did the forced upgrade, and things seem to be working fine again.
Now I've just got to tweak a few settings that were changed as a result (nothing major)
Thank so much Jamie for your dedication towards offering this amazing support!
If there is anything I can do for you, in terms of helping, I'd be happy to contribute whatever I can!
Kudos!
BTW, this also fixed the missing 443 port number on the "Apache Websites" configuration page.
Submitted by JamieCameron on Sun, 10/04/2009 - 01:49 Comment #10
Cool, glad that worked! My guess is that the file /usr/libexec/webmin/virtual-server/feature-ssl.pl got deleted or corrupted somehow.. and the RPM re-install fixed it.
Submitted by Issues on Sun, 10/18/2009 - 05:20 Comment #11
Automatically closed -- issue fixed for 2 weeks with no activity.