FAQ

Questions

  1. W3Perl is unable to open the log file...
  2. W3Perl is running every night but the daily graph doesn't change....
  3. I don't have any graphs in the HTML pages. What's wrong ?
  4. I don't have any background images in the pages.
  5. There are several text holes in the countries list. Why ?
  6. I don't find my hosts server in the file produced. Why ?
  7. I've choosen to log the domain activity but the package show no activity from my domain accesses.
  8. Cron-pages.pl stop telling me nothing will be output
  9. Cron-jour or cron-semaines never stop
  10. No files are produced.


Answers

  1. 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.



  2. 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.



  3. 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.



  4. Use Netscape or check your $linkpath variable in config.pl.
    You should give a path relative to the server directory.



  5. 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.



  6. * 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.



  7. Well, two possibilities : nobody use your server from your local domain or maybe you have made a mistake in the $localserver variable. Check this.



  8. * 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....



  9. 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.



  10. Are your directories writeable ?



Please do not hesitate to
contact me if you have any suggestions or general feedback (including bug reports).