Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Dave Scarbrough on August 04, 2003, 07:34:00 PM
-
Back in the e-smith 4.x days, I used to be able to use Webalizer successfully, giving me stats on both primary and separate ibays. The only issue back then was that I had to ssh in and run Webalizer manually on each set of stats, about once a week, because I could never figure out (never had the time to learn) how to cron it.
Now I'm befuddled with Mitel 5.6. I can run Webalizer, but it seems to break once a week, probably after the weird message I recieve every Sunday from the cron daemon --
/etc/cron.daily/logrotate:
proftpd: no process killed
error running postrotate script
I've checked on this message before in these forums, and it seemed the general feeling was that I could just ignore it. But it seems to be related somehow to the fact that my http-logs get changed out every week, which I don't want.
Nutshell: I would really love some input from people as to what the best solution is to get some good, RELIABLE and ACCURATE web stats off of 5.6 -- And I do have to have separate stats for each ibay and the primary directory.
Thanks in advance for any advice or help.
-
Have you looked into AWStats? It shows stats via domain name, not ibays. As long as you're using virtual domains it may be what you want/need.
-
Will this do for you ??
http://mirror.contribs.org/smeserver/contribs/dmay/mitel/contrib/awstats/
Regs
Ray
-
Thanks, Terry and Ray. This looks to be potentially awesome. However, I've installed it (was a snap) and set it to run every 5 minutes (for now) but as i check to see stats I get "The requested URL /awstats/cgi-bin/awstats.pl was not found on this server." Looking in the {ibay}/html directory, I see no "stats" directory, hidden or otherwise. What up wit dat? No help file spawned by .rpm, nothing in AWStats FAQ, I'm at a loss.
-
Oops, I meant {ibay}/cgi-bin...
-
Thanks, everyone for the advice on AWStats. This SME .rpm makes it way too easy. I was a bit freaked out at first because I got NO stats, then they started trickling in. Apparently the option to check stats isn't even available until the log shows a hit to each respective ibay. Fixed. Done deal. One remaining question is whether I'd ever be able to check stats from home ("http://www.yourdomain.com/awstats/cgi-bin/awstats.pl" or something like that...).
-
Dave Scarbrough wrote:
> Done deal. One remaining question is whether I'd ever be
> able to check stats from home
> ("http://www.yourdomain.com/awstats/cgi-bin/awstats.pl" or
> something like that...).
Since it's served up as 'part' of the server manager, you can either :
1. add your home IP address in the "Remote access" page (at the bottom)
2. PPTP into the server from home and become part of your SME server's local network
3. SSH into your SME server and forward port 980 (the server manager port) from your local machine to port 980 of the SME server.
G
PS. addendum to 1. - if you enter a subnet mask of 0.0.0.0, it effectively makes the server-manager available to all IP addresses everywhere. Not advisable, but there you go.
-
I think AWStats will still rotate your web logs after 30 days, you'll probably want to double check the contents of your logrotate script.
I could be wrong, it may be a setting specific to awstats, I recall an issue with this but I don't recall the specifics.
-
The httpd logs still rotate, but AWStats keeps it's own history of the web stats. I have my web logs going back over a year now in AWStats.
-
Awstats has been working for over a year for me. I like it. Just upgraded to latest version. It has never shown the virtual domains in there own stats screen. I have 3 web sites setup, they work as virtual domains for the outside world. The stats main screen always shows, "empty" but "active". The stats for these domains show up in my primary site stats.
Any ideas?