Cluster Webmin Servers -> Virtualmin Virtual Servers problem

Reprocedure : 1- Install VirtualMin 2- Webmin -> Cluser -> Cluster Webmin Servers -> Add server 3- Try to cluster edit config of Virtualmin Virtual Servers (GPL) : https://WEBMIN-IP-ADDRESS:10000/cluster-webmin/edit_config.cgi?type=mod&...

Returns :

Require virtual-server/config_info.pl failed :

Can't locate ./virtual-server-lib.pl in @INC (@INC contains: /usr/share/webmin/virtual-server /usr/share/webmin /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl . ..) at /usr/share/webmin/virtual-server/config_info.pl line 2.

Status: 
Closed (fixed)

Comments

Do you have the Virtualmin module installed on the master system? If not, you should install it .. even if you aren't going to use it.

Mostafa's picture
Submitted by Mostafa on Sat, 10/23/2010 - 23:57

Of course , I have installed a virtualmin in fresh debian, lenny. For some purposes I needed to change all virtual servers (30+) to use mod_php instead of php-cgi then saw that such error occurs. I have tested it on 3 different vps servers.

So are you looking to change 30 domains all on the same system, or are they on different systems?

If you want to switch to mod_php for all domains on one machine, this would be easiest done with a script that calls the Virtualmin API, like :

for dom in \`virtualmin list-domains --name-only --with-feature web\`; do
  virtualmin modify-web --domain $dom --mode mod_php
done
Mostafa's picture
Submitted by Mostafa on Sun, 10/24/2010 - 22:46

Dear Jamie, here is a bug tracker, not a support center for virtualmin! Please test if this bug exist or not ( First : Webmin -> Cluser -> Cluster Webmin Servers -> Add server Then : Webmin -> Cluser -> Cluster Webmin Servers -> SERVER -> VirtualMin virtual servers GPL -> Edit config )

Ok, I see the bug now ... this will be fixed in the next Virtualmin release.

Automatically closed -- issue fixed for 2 weeks with no activity.