Il giorno 15/ott/2010, alle ore 14.48, Luca ha scritto:

> Oct 15 14:30:01 sviluppo /USR/SBIN/CRON[3413]: (www-data) CMD ([ -x 
> /usr/share/awstats/tools/update.sh ] && /usr/share/awstats/tools/update.sh)
> Oct 15 14:30:02 sviluppo /USR/SBIN/CRON[3411]: (CRON) error (grandchild #3413 
> failed with exit status 1)
> 
> Se lancio lo scrpt da shell come root, non ricevo nessun errore, quindi 
> dovrebbe essere un problema di permessi.
> 
> Qualcuno si è imbattuto nello stesso problema ed è riuscito a risolverlo?

awstats va a scrivere in zone dove l'utente www-data non ha permessi manco 
morto.
potresti cambiare i diritti di accesso alla cartella dove awstats scrive con lo 
stesso
utente con cui viene eseguito lo script (www-data). Lo stesso vale per i file 
che sono contenuti
nella cartella.


la directory in questione e' /var/lib/awstats.

--
mauro [at] majaglug [dot] net





--
Per REVOCARE l'iscrizione alla lista, inviare un email a
[email protected] con oggetto "unsubscribe". Per
problemi inviare un email in INGLESE a [email protected]

To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: 
http://lists.debian.org/[email protected]

Rispondere a