Ticket #1190 (closed enhancement: fixed)

Opened 4 years ago

Last modified 4 years ago

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

alternc-awstats.patch Download (567 bytes) - added by anonyme 4 years ago.
patch

Change History

Changed 4 years ago by anonyme

patch

comment:1 Changed 4 years ago by azerttyu

  • Status changed from new to closed
  • Resolution set to fixed

(In [2499]) Ne pas perdre une rotation sur la g303251n303251ration des stats

Note: See TracTickets for help on using tickets.