Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
If you are interested in log statistics, I have compiled webalizer with geolizer patch.
http://www.mrunix.net/webalizer/
http://sysd.org/stas/node/10
Example pages (username=stats, password=stats):
http://sysd.org/hybrid/stats/
Following packages are provided:
webalizer-2.01-10-1.tgz
GeoIP-1.4.4-1.tgz (from MaxMind)
db-4.6.21-3.tgz (from Oracle)
gd-2.0.35-1.tgz
jpeg-6b-1.tgz
freetype-2.3.5-1.tgz
libpng-1.2.26-1.tgz
fontconfig-2.5.0-1.tgz
Installation instruction and packages can be found here:
http://81.216.140.39/dns-323/packages/
Have fun.
Offline
Hey, cant reach any of these files. Would love to have this functions on my dns323
Offline
Hi,
The server has been down couple of days, in same time I was away for vacation.
The server should be up and running now.
// forre
Offline
Thanks a lot.
I can install everything and edit the config file, create the usage folder but it then stalls on (foprever until i press ctrl+c:
What can be the problem?
root@DNS-323:/mnt/HD_a2/www/pages/usage# webalizer -c /ffp/etc/webalizer.conf
Webalizer Xtended RB23 (14-Sep-2008) / Linux 2.6.12.6-arm1 / English
Copyright 2005-2008 by Patrick K. Frei
Based on Webalizer V2.01-10
Using logfile STDIN (clf)
Using default GeoIP database:
GEO-106FREE 20080901 Build 1 Copyright (c) 2007 MaxMind LLC All Rights Reserved
Creating output in current directory
Hostname for reports is 'DNS-323'
History file not found...
Offline
Hi,
does /ffp/etc/webalizer.conf exist?
Which editor have you used to edit the configuration file?
It seams that the logfile not has been specified in the configuration file and using STDIN insted.
cut from webalizer webalizer.conf.sample:
# LogFile defines the web server log file to use. If not specified here or
# on the command line, input will default to STDIN. If log filename ends in
# '.gz' (ie: a gzip compressed file) or in '.bz2' (ie: a bzip2 compressed
# file), it will be decompressed on the fly as it is being read.
#LogFile /var/lib/httpd/logs/access_log
if you followed the instructions, the output should be like this
...
Using logfile /mnt/HD_a2/www/logs/access.log (clf)
Using GeoIP database /ffp/share/GeoIP/GeoIP.dat
...
//forre
Offline
Just curious, looks like webalizer has "native Geolocation services". Anyone know the diff between GeoIP and native support? Looks like it'll be exactally the same rendering GeoIP useless.... Dunno tho.
Offline
Looks like the devs provide their own Geolocation database to assign countries to resolved addresses. Other than that, I don't think there's much of a difference.
Offline
Yea. I've been running webalizer since I posted. I just compiled it with the built-in GeoDB instead of GeoIP. Also, there is "native" GeoIP support as well in webalizer. Native as in you can configure --with-GeoIP if you have the GeoIP library installed. Looks like that patch is rendered useless with perhaps the exception of using MB instead of KB..... That could be easily reverse engineered from the patch.
Anyhoo.... Looks the same. Country flags and what not. You can password protect your /wwwroot/webalizer directory in lighttpd.conf and even use mod.redirect to force an SSL connection.... Put something like this in a /ffp/etc/fun_plug.local:
if [ -f /ffp/var/packages/webalizer-* ]; then if ! crontab -l | grep webalizer > /dev/null 2>&1 ; then crontab -l > /ffp/tmp/crontab.tmp echo "*/30 * * * * /ffp/bin/webalizer" >> /ffp/tmp/crontab.tmp crontab /ffp/tmp/crontab.tmp rm /ffp/tmp/crontab.tmp fi fi
Last edited by madpenguin (2009-03-13 22:42:37)
Offline
forre wrote:
Hi,
does /ffp/etc/webalizer.conf exist?
Which editor have you used to edit the configuration file?
It seams that the logfile not has been specified in the configuration file and using STDIN insted.
cut from webalizer webalizer.conf.sample:
# LogFile defines the web server log file to use. If not specified here or
# on the command line, input will default to STDIN. If log filename ends in
# '.gz' (ie: a gzip compressed file) or in '.bz2' (ie: a bzip2 compressed
# file), it will be decompressed on the fly as it is being read.
#LogFile /var/lib/httpd/logs/access_log
if you followed the instructions, the output should be like this
...
Using logfile /mnt/HD_a2/www/logs/access.log (clf)
Using GeoIP database /ffp/share/GeoIP/GeoIP.dat
...
//forre
Hi Forre,
yes the file does exist, and has been copied from /examples directory. It has then been "chomd 0777" and then edited using Notepad++ from the samba share (windows). I just tried to redo everything but get the same results.
/m
Offline