Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1997 connectés 

  FORUM HardWare.fr
  Linux et OS Alternatifs

  logrotate sur mandrake 8.1

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

logrotate sur mandrake 8.1

n°81619
die488
Posté le 27-03-2002 à 10:45:18  profilanswer
 

Le root de mon serveur recoit un gentil petit mail toutes les semaines... :
error: /etc/logrotate.conf:3 unexpected text
error: /etc/logrotate.conf:4 lines must begin with a keyword or a filename (possibly in double quotes)
error: /etc/logrotate.conf:6 unexpected text
error: /etc/logrotate.conf:7 lines must begin with a keyword or a filename (possibly in double quotes)
error: /etc/logrotate.conf:9 unexpected text
error: /etc/logrotate.conf:10 lines must begin with a keyword or a filename (possibly in double quotes)
error: /etc/logrotate.conf:12 unexpected text
error: /etc/logrotate.conf:13 lines must begin with a keyword or a filename (possibly in double quotes)
error: /etc/logrotate.conf:15 unexpected text
error: /etc/logrotate.conf:16 lines must begin with a keyword or a filename (possibly in double quotes)
error: /etc/logrotate.conf:18 unexpected text
error: /etc/logrotate.conf:19 lines must begin with a keyword or a filename (possibly in double quotes)
error: /etc/logrotate.conf:21 lines must begin with a keyword or a filename (possibly in double quotes)
error: /etc/logrotate.conf:22 unexpected text
error: /etc/logrotate.conf:23 unexpected text
error: /etc/logrotate.conf:24 unexpected text
error: /etc/logrotate.conf:25, unexpected text after {
error: /etc/logrotate.conf:25 lines must begin with a keyword or a filename (possibly in double quotes)
error: /etc/logrotate.conf:26 lines must begin with a keyword or a filename (possibly in double quotes)
error: /etc/logrotate.conf:27 lines must begin with a keyword or a filename (possibly in double quotes)
error: /etc/logrotate.conf:28 unexpected text
error: /etc/logrotate.conf:29 unexpected text
error: /etc/logrotate.conf:30, unexpected text after {
error: /etc/logrotate.conf:30 lines must begin with a keyword or a filename (possibly in double quotes)
error: /etc/logrotate.conf:31 lines must begin with a keyword or a filename (possibly in double quotes)
 
Et voici le fichier en question :
 
# 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
 
# RPM packages drop log rotation information into this directory
include /etc/logrotate.d
 
# no packages own lastlog or wtmp -- we'll rotate them here
/var/log/wtmp {
    monthly
    create 0664 root utmp
    rotate 1
}
 
/var/log/lastlog {
    monthly
    rotate 1
}
 
# system-specific logs may be configured here
 
Je ne vois vraiment pas pkoi il me fait cà, si vous avez une idée ce serait sympa de la faire partager.

mood
Publicité
Posté le 27-03-2002 à 10:45:18  profilanswer
 


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Linux et OS Alternatifs

  logrotate sur mandrake 8.1

 

Sujets relatifs
comment installer alcatel speedtouch USB sur mandrake?est ce que mandrake 8.2 sait gerer le son 4.1 ?
J'arrive pas a mounter mon cdrom sous mandrake 8.1arf mon bureau arrete pas de clignoter sur mandrake 8.2 !
Mandrake Single Network Firewallprobleme de souris avec mandrake 8.2
Divx & Mandrake 8.2mandrake 8.2 et msi kt7pro2 266a
mandrake 8.2 et speedtouchConfig minimal pour mandrake 8.1?
Plus de sujets relatifs à : logrotate sur mandrake 8.1


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR