From: Thomas L. <th...@th...> - 2005-10-21 00:58:49
|
Jaime, Thanks for the quick responses! Hmm... o.k. I think I've figured it out. I was invoking the scripts directly, instead for through the "wrapper" (which gives the environment) in /etc/webmin/whatever... It appears that when I "recovered" the files for VirtualMin and Webmin, somehow VirtualMin and Webmin got out of sync, and the Webmin manager for Webalizer didn't realize that any of the virtual domains were set up to have reporting enabled. I figured this out when I noticed that two domains I added yesterday were set up differently, and when I went into the Webalizer interface in Webmin directly, and saw that reporting was turned off for all the other domains... So I guess I get to manually turn Webalizer reporting off, then on again, for each and every one of the 90+ domains hosted on the site... On a related subject: this is a real weakness of Virtualmin, from my perspective - the inability to globally manipulate large numbers of domains to perform an indentical function, or to easily inspect the "properties" of a large number of domains (or what one particular setting is set to for a large number of domains). I would love to be able to bring up a screen with nothing on it, for example, but the "Mysql" option setting (turn on or off), or the Webalizer setting, or to be able to configure the "View" when I look at the domain listings. Now, certainly, I could write a script which bypasses the web interface and manipulates all the files directly ... but I'd rather not. At the moment, with 100 domains, the hassle factor associated with a script (along with the risks of screwing something up) isn't worth it... on the other hand, sitting there for an hour clicking through every domain via a relatively slow web interface (is AJAX on the menu at any point) isn't my idea of fun, or productivity. However, if, say, I had even 300 or 400 domains, I'd probably write a script. 1000 - definitely. Suicide would be preferable to doing it manually. If Webmin/Virtualmin had some kind of batch functionality - even (horrors) a command line batch interface, that would be extremely useful. My guess is that people will find it most useful when they are first getting used to Webmin, and realize that they don't like the default settings they gave the first seventy domains they set up... Or in a recovery situation like mine, where something didn't quite jell... Thomas Message: 7 Subject: Re: [webmin-l] Error message from a host of scripts... From: Jamie Cameron <jca...@we...> To: web...@li... Organization: Date: 21 Oct 2005 09:31:25 +1000 Reply-To: web...@li... Odd .. I cannot re-produce this bug on my own systems. Does it still happen if you create a new scheduled backup in Webmin 1.240? - Jamie On Fri, 2005-10-21 at 08:27, Thomas Leavitt wrote: > I'm running webmin 1.240 from www.webmin.com - the Mandriva packages are > a step behind. > > I deliberately never installed the Mandriva rpm. > > # rpm -qa | grep webmin > webmin-1.240-1 > # > > > > Thomas > > Message: 5 > From: Jamie Cameron <jca...@we...> > To: web...@li... > Subject: Re: [webmin-l] Error message from a host of scripts... > Date: Thu, 20 Oct 2005 20:01:00 1000 > Reply-To: web...@li... > > Hi Thomas, > Is the Webmin 1.240 package you are using from www.webmin.com, or some > other source? I don't really trust the Mandriva packages :-) > > - Jamie > > -----Original Message----- > > From: Thomas Leavitt <th...@th...> > Subj: [webmin-l] Error message from a host of scripts... > Date: Thu 20 Oct 2005 6:55 pm > Size: 1K > To: web...@li... > > I get something similar to this: > > Undefined subroutine &main::init_config called at ./fsdump-lib.pl line > 7. > Compilation failed in require at ./backup.pl line 6. > > from a host of scripts. > > This occurs whether I execute the file via cron, or execute the file > interactively. > > Here's the code section from fsdump-lib.pl > > do '../web-lib.pl'; > &init_config(); > > > ... if I add a require '../web-lib-funcs.pl'; line right after the > web-lib line, I don't get this error. > > ../web-lib-funcs.pl is where init_config is. > > I'm running webmin 1.240 from www.webmin.com > > Note: I also get this running the same script off my desktop, which uses > the webmin sourced from Mandriva, and is I think 1.230. > > I see other complaints about this in various web forums, but no clear > answers yet... > > Thomas > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > - > Forwarded by the Webmin mailing list at web...@li... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-list |