Ticket #1190 (closed enhancement: fixed)
awstats reports are delayed due to a missing file
| Reported by: | anonyme | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | alternc-awstats | Version: | alternc-awstats-0.5 |
| Severity: | minor | Keywords: | |
| Cc: | coolix@… |
Description
"alternc-awstats" bash script makes use of $LOGAPACHE.1 without checking if the file represented by this variable exists. This might cause awstats.pl to stop and delays the first results by the time needed for this file to be created (could be a day or a week, depending on the logrotate policy). A patch is proposed.
Le script bash "alternc-awstats" utilise un fichier représenté par $LOGAPACHE.1 sans s'assurer qu'il existe au préalable. Cela peut causer une erreur dans awstats.pl et retarde l'exploitation des premiers résultats du temps nécessaire à l'apparition de ce fichier. (Cela peut être un jour ou une semaine, selon la politique définie dans logrotate) Un patch est proposé.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


patch