FAQ
Questions
- W3Perl is unable to open the log file...
- W3Perl is running every night but the daily graph doesn't change....
- I don't have any graphs in the HTML pages. What's wrong ?
- I don't have any background images in the pages.
- There are several text holes in the countries list. Why ?
- I don't find my hosts server in the file produced. Why ?
- I've choosen to log the domain activity but the package show no
activity from my domain accesses.
- Cron-pages.pl stop telling me nothing will be output
- Cron-jour or cron-semaines never stop
- No files are produced.
Answers
- The httpd log file should be readable by users (but not writeable
of course !). Ask nicely your admistrator system to rectify this.
A 'chmod 644' on the log file is enough to run w3perl.
- Cron-jour.pl should run when cron-pages or cron-inc have completed his job.
In the crontab, run the cron-jour program later
(idem for cron-semaines.pl and cron-mois.pl)
Run cron-inc.pl just after midnight but run the others scripts perl on the
morning.
- Something is missing....make sure you have fly elsewhere in your system. Verify also the path you gave for them in
the config.pl file.
- Use Netscape or check your $linkpath variable in config.pl.
You should give a path relative to the server directory.
- There are missing country codes in "pays-conv" (found in the Ressources
directory). Run the
cron-inc.pl manually or delete the redirection output "> /dev/null 2>&1"
in the crontab, it will inform you about the missing
codes.
- * You should first scan your local domain ($locallog = 1).
* Maybe have you put your host in the nolog option ? Remove it so.
* Or maybe your host don't have a right reverse DNS table. In this case,
you should find your host in the unknow country list.
* The package assume name site are no longer than 9 fields.
- Well, two possibilities : nobody use your server from your
local domain or maybe you have made a mistake in the $localserver
variable. Check this.
-
* Check your $tri variable. It should be "/" if you want to scan all
your log file or a subdirectory to scan only a part of your log file. Perhaps
you try to scan the logfile with a directory you don't have in your server.
* Maybe you are excluding all your server from being scanned ! Check @excluderepert in
config.pl
* Log file should be more than one day long to run cron-pages.pl.
Wait the next day to have a bigger logfile.
* If you are using a one day long logfile. 
You should use w3perl in this way :
First day : at midnight, move your logfile to logfile.old and then use
cron-pages.pl on logfile.old
Day + 1 : at midnight delete logfile.old, move the current logfile to logfile.old and run
cron-inc.pl
Day + 2 : same as day + 1....
- One of your file in the directory Date should be wrong. You should
have twice the same date in the file time-stat, time-repert or/and
time-repertsize.
- Are your directories writeable ?
Please do not hesitate to contact me
if you have any suggestions or general feedback (including bug reports).