|
From: Joaquim H. <jo...@we...> - 2006-03-23 20:21:22
|
Installing AWSTATS (6.4) from the SuSE 10 distribution, and then the webmin module, I checked that all the paths in the module config are correct, etc. and get this when I try to get my first stats fix: Failed to save AWstats report : Failed to copy template configuration : Is it looking for something else? I looks like it wants to say more after "configuration:" ;) -joho |
|
From: Yanik D. <yd...@fo...> - 2006-03-23 20:38:28
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> Joaquim Homrighausen a écrit : <blockquote cite="mid8855997.31143145279905.JavaMail.root@skinbark" type="cite"> <pre wrap="">Installing AWSTATS (6.4) from the SuSE 10 distribution, and then the webmin module, I checked that all the paths in the module config are correct, etc. and get this when I try to get my first stats fix: Failed to save AWstats report : Failed to copy template configuration : Is it looking for something else? I looks like it wants to say more after "configuration:" ;) -joho ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! <a class="moz-txt-link-freetext" href="http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642">http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642</a> - Forwarded by the Webmin mailing list at <a class="moz-txt-link-abbreviated" href="mailto:web...@li...">web...@li...</a> To remove yourself from this list, go to <a class="moz-txt-link-freetext" href="http://lists.sourceforge.net/lists/listinfo/webadmin-list">http://lists.sourceforge.net/lists/listinfo/webadmin-list</a> </pre> </blockquote> <br> Have you checked the permissions?<br> <br> <div class="moz-signature">-- <br> <div align="left"> </div> <div align="left"> <div align="left"> <div align="left" dir="ltr"><strong><font face="Arial">Yanik Doucet</font></strong></div> <div align="left" dir="ltr"><font face="Arial">FORCOM Plus</font></div> <div align="left" dir="ltr"><font face="Arial=20" size="2">________________________</font></div> <div align="left" dir="ltr"><font face="Arial" size="2"><em>1681, rue Rachel Est, bureau 28</em></font></div> <div align="left" dir="ltr"><font face="Arial" size="2"><em>Montréal (Québec) H2J 2K7</em></font></div> <div align="left" dir="ltr"><em><font face="Arial=20" size="2">514-525-PLUS</font></em></div> <div align="left" dir="ltr"><em><font face="Arial" size="2"><a title="blocked::http://www.forcom.ca/ http://www.forcom.ca/" ="20" href="blocked::http://www.forcom.ca/">http://www.forcom.ca</a></font><!--= EM--><font ="20" face="Arial" size="2"> </font> </em> <p><em><font color="#eb891b" face="Arial" size="2">l'informatique à <strong><em>votre</em></strong> rythme / <br> </font><font color="#eb891b" face="Arial=20" size="2">we provide the means, <strong><em>you</em></strong> set the pace</font><font color="#eb891b"><span style="" lang="FR-CA=20"></span></font></em></p> </div> </div> </div> <div><em> </em></div> </div> </body> </html> |
|
From: Jamie C. <jca...@we...> - 2006-03-23 20:52:57
|
On 23/Mar/2006 14:21 Joaquim Homrighausen wrote .. > > Installing AWSTATS (6.4) from the SuSE 10 distribution, and then the webmin > module, I checked that all the paths in the module config are correct, > etc. and get this when I try to get my first stats fix: > > Failed to save AWstats report : Failed to copy template configuration : > > Is it looking for something else? I looks like it wants to say more after > "configuration:" ;) Check that the file /etc/awstats/awstats.model.conf exists on your system. That is the template AWstats config that gets copied for new domains.. - Jamie |
|
From: Joaquim H. <jo...@we...> - 2006-03-31 21:48:17
|
Excellent -- that was it. I had awstats.conf there, but no .model.conf. Next question.. can I make the awstats module handle wildcard log file spec= ifications? I copy log files from one server to another, and if for some reason, the aw= stat run isn't done for a given day, I'll end up with two log files.. they = have names like access_logYYYYMMDD .. -joho ------------------------- Ursprungligt Meddelande: Fr=E5n: Jamie Cameron <jca...@we...> Datum: torsdag, 23 mars 2006 21:53 =C4mne: Re: [webmin-l] Awstats module failing on SuSE 10 Check that the file /etc/awstats/awstats.model.conf exists on your system. That is the template AWstats config that gets copied for new domains.. - Jamie |
|
From: Jamie C. <jca...@we...> - 2006-04-01 00:21:35
|
On 31/Mar/2006 15:48 Joaquim Homrighausen wrote .. > > Excellent -- that was it. I had awstats.conf there, but no .model.conf. > > Next question.. can I make the awstats module handle wildcard log file > specifications? > I copy log files from one server to another, and if for some reason, the > awstat run isn't done for a given day, I'll end up with two log files.. > they have names like access_logYYYYMMDD .. I don't think AWstats supports that unfortunately .. but anyone else should feel free to correct me if I am wrong :) - Jamie |
|
From: Joaquim H. <jo...@we...> - 2006-04-03 21:17:26
|
OK; any idea on how I could solve this with webmin? I mean, presumably I'm = not the only one using log rotation to limit the size of a log file and to = make it/them more manageable. So how would one handle a situation where sta= ts aren't generated for a given run and must be generated on the next run, = when there's also fresh "today's" stats to be processed. Looking at the LogFile directive for Awstats, this is listed: # You can also use a pipe if log file come from a pipe. # Example: "gzip -d </var/log/apache/access.log.gz |" # If there is several log files from load balancing servers : # Example: "/pathtotools/logresolvemerge.pl *.log |"=20 Perhaps WM could allow for this? -joho (awstats 6.5 is apparently out, see http://sourceforge.net/forum/forum.php?= forum_id=3D528068) ------------------------- Ursprungligt Meddelande: Fr=E5n: Jamie Cameron <jca...@we...> Till: web...@li... Datum: m=E5ndag, 3 april 2006 17:37 =C4mne: Re: [webmin-l] Awstats module failing on SuSE 10 I don't think AWstats supports that unfortunately .. but anyone else should feel free to correct me if I am wrong :) |
|
From: Jamie C. <jca...@we...> - 2006-04-03 21:45:20
|
One option would be to have logrotate run awstats just before rotating the log file. However, a better solution would be for Webmin / Virtualmin to handle this automatically, by setting the logFile option in awstats.XXX.conf to some program that outputs all compressed / rotates logs. The down side here is that this would make log processing much slower, as all rotated files would need to be un-compressed each time awstats is run.. - Jamie On 3/Apr/2006 16:17 Joaquim Homrighausen wrote .. > > OK; any idea on how I could solve this with webmin? I mean, presumably > I'm not the only one using log rotation to limit the size of a log file > and to make it/them more manageable. So how would one handle a situation > where stats aren't generated for a given run and must be generated on the > next run, when there's also fresh "today's" stats to be processed. > > Looking at the LogFile directive for Awstats, this is listed: > > # You can also use a pipe if log file come from a pipe. > # Example: "gzip -d </var/log/apache/access.log.gz |" > # If there is several log files from load balancing servers : > # Example: "/pathtotools/logresolvemerge.pl *.log |" > > Perhaps WM could allow for this? > > -joho > > > (awstats 6.5 is apparently out, see http://sourceforge.net/forum/forum.php?forum_id=3D528068) > > > > ------------------------- > Ursprungligt Meddelande: > Fr=E5n: Jamie Cameron <jca...@we...> > Till: web...@li... > Datum: m=E5ndag, 3 april 2006 17:37 > =C4mne: Re: [webmin-l] Awstats module failing on SuSE 10 > > I don't think AWstats supports that unfortunately .. but anyone else should > feel free to correct me if I am wrong :) |