Pages : 1
#1 Le 07/09/2012, à 02:45
- alfirdaous
[RESOLU]Le fichier error.log d'apache2
Bonjour,
Le fichier error.log d'apache2 devenu tres lent, alors je l'ai supprime et je l'ai recree et attribue les meme droits, en vain aucune erreur ne s'enregistre la dans:
-rw-r----- 1 root adm 1 2012-09-07 03:43 error.log
Merci pour votre aide
EDIT: Apres redemarrage du serveur ca marche
Dernière modification par alfirdaous (Le 10/09/2012, à 23:27)
Hors ligne
#2 Le 09/09/2012, à 01:35
- Maisondouf
Re : [RESOLU]Le fichier error.log d'apache2
Installes 'logrotate', c'est un utilitaire qui gère la taille des fichiers log et qui les archive au fur et à mesure qu'ils grandissent.
ASUS M5A88-v EVO avec AMD FX(tm)-8120 Eight-Core Processor, OS principal Precise 12.04.1 LTS 63bits½
Bricoleur, menteur, inculte, inadapté social et mythomane, enfin d'après certains....
"the secret of my form is summed up in two words, no sport" (Winston Churchill)
Hors ligne
#3 Le 10/09/2012, à 03:14
- alfirdaous
Re : [RESOLU]Le fichier error.log d'apache2
voila la configuration que j'ai fais:
# see "man logrotate" for details
# rotate log files weekly
weekly
# keep 4 weeks worth of backlogs
rotate 4
# create new (empty) log files after rotating old ones
create
# uncomment this if you want your log files compressed
compress
# packages drop log rotation information into this directory
include /etc/logrotate.d
# no packages own wtmp, or btmp -- we'll rotate them here
/var/log/wtmp {
missingok
monthly
create 0664 root utmp
rotate 1
}
/var/log/btmp {
missingok
monthly
create 0660 root utmp
rotate 1
}
# system-specific logs may be configured here
Hors ligne
#5 Le 10/09/2012, à 23:26
- alfirdaous
Re : [RESOLU]Le fichier error.log d'apache2
J'ai redemarre le serveur et ca a marche
Hors ligne
#7 Le 11/09/2012, à 11:18
- alfirdaous
Re : [RESOLU]Le fichier error.log d'apache2
merci Djerfy
Hors ligne
Pages : 1