1. Diese Seite verwendet Cookies. Wenn du dich weiterhin auf dieser Seite aufhältst, akzeptierst du unseren Einsatz von Cookies. Weitere Informationen

Problem Logrotate spuckt Fehlermeldung aus

Dieses Thema im Forum "CS Root & Vserver" wurde erstellt von Matze1403, 29. April 2012.

  1. Matze1403
    Offline

    Matze1403 Ist gelegentlich hier

    Registriert:
    7. Februar 2011
    Beiträge:
    63
    Zustimmungen:
    13
    Punkte für Erfolge:
    0
    Ort:
    Leeeipzsch
    Mein Logrotate funzt net,woran könnte das liegen....Irgendwie scheinen da ein paar Berechtigungen zu fehlen.

    [TABLE="class: stripeMe, width: 451"]

    [TD="align: left"]Kernel Version[/TD]
    [TD="align: left"]3.2.0-2-486 i586[/TD]
    [TR="class: even"]
    [TD="align: left"]Distributionsname[/TD]
    [TD="align: left"][​IMG] Debian GNU/Linux testing (wheezy)[/TD]
    [/TR]
    [/TABLE]

    IPC 11.3 mit den Scripten logmini.sh tmp2ram.sh


    Nach dem Befehl " logrotate -d /etc/logrotate.conf" kommt folgende Meldung

    Code:
    rotating pattern: /var/log/apt/term.log  monthly (12 rotations)
    empty log files are not rotated, old logs are removed
    considering log /var/log/apt/term.log
    error: skipping "/var/log/apt/term.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
    
    
    rotating pattern: /var/log/apt/history.log  monthly (12 rotations)
    empty log files are not rotated, old logs are removed
    considering log /var/log/apt/history.log
    error: skipping "/var/log/apt/history.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
    
    
    rotating pattern: /var/log/aptitude  monthly (6 rotations)
    empty log files are not rotated, old logs are removed
    considering log /var/log/aptitude
    error: skipping "/var/log/aptitude" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
    
    
    rotating pattern: /var/log/dpkg.log  monthly (12 rotations)
    empty log files are not rotated, old logs are removed
    considering log /var/log/dpkg.log
    error: skipping "/var/log/dpkg.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
    
    
    rotating pattern: /var/log/alternatives.log  monthly (12 rotations)
    empty log files are not rotated, old logs are removed
    considering log /var/log/alternatives.log
    error: skipping "/var/log/alternatives.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
    
    
    rotating pattern: /var/log/exim4/mainlog /var/log/exim4/rejectlog  after 1 days (10 rotations)
    empty log files are not rotated, old logs are removed
    considering log /var/log/exim4/mainlog
    error: skipping "/var/log/exim4/mainlog" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
    considering log /var/log/exim4/rejectlog
    error: skipping "/var/log/exim4/rejectlog" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
    
    
    rotating pattern: /var/log/exim4/paniclog  10485760 bytes (10 rotations)
    empty log files are not rotated, old logs are removed
    considering log /var/log/exim4/paniclog
    error: skipping "/var/log/exim4/paniclog" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
    
    
    rotating pattern: /var/log/fail2ban.log  weekly (4 rotations)
    empty log files are rotated, old logs are removed
    considering log /var/log/fail2ban.log
    error: skipping "/var/log/fail2ban.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
    not running postrotate script, since no logs were rotated
    
    
    rotating pattern: /var/log/proftpd/proftpd.log
    /var/log/proftpd/controls.log
     weekly (7 rotations)
    empty log files are not rotated, old logs are removed
    considering log /var/log/proftpd/proftpd.log
    error: skipping "/var/log/proftpd/proftpd.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
    considering log /var/log/proftpd/controls.log
    error: skipping "/var/log/proftpd/controls.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
    not running postrotate script, since no logs were rotated
    
    
    rotating pattern: /var/log/proftpd/xferlog
    /var/log/proftpd/xferreport
     monthly (7 rotations)
    empty log files are not rotated, old logs are removed
    considering log /var/log/proftpd/xferlog
    error: skipping "/var/log/proftpd/xferlog" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
    considering log /var/log/proftpd/xferreport
    error: skipping "/var/log/proftpd/xferreport" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
    not running prerotate script, since no logs will be rotated
    not running postrotate script, since no logs were rotated
    
    
    rotating pattern: /var/log/syslog
     3145728 bytes (1 rotations)
    empty log files are not rotated, old logs are removed
    considering log /var/log/syslog
    error: skipping "/var/log/syslog" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
    not running postrotate script, since no logs were rotated
    
    
    rotating pattern: /var/log/mail.info
    /var/log/mail.warn
    /var/log/mail.err
    /var/log/mail.log
    /var/log/daemon.log
    /var/log/kern.log
    /var/log/auth.log
    /var/log/user.log
    /var/log/lpr.log
    /var/log/cron.log
    /var/log/debug
    /var/log/messages
     1048576 bytes (1 rotations)
    empty log files are not rotated, old logs are removed
    considering log /var/log/mail.info
    error: skipping "/var/log/mail.info" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
    considering log /var/log/mail.warn
    error: skipping "/var/log/mail.warn" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
    considering log /var/log/mail.err
    error: skipping "/var/log/mail.err" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
    considering log /var/log/mail.log
    error: skipping "/var/log/mail.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
    considering log /var/log/daemon.log
    error: skipping "/var/log/daemon.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
    considering log /var/log/kern.log
    error: skipping "/var/log/kern.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
    considering log /var/log/auth.log
    error: skipping "/var/log/auth.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
    considering log /var/log/user.log
    error: skipping "/var/log/user.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
    considering log /var/log/lpr.log
    error: skipping "/var/log/lpr.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
    considering log /var/log/cron.log
    error: skipping "/var/log/cron.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
    considering log /var/log/debug
    error: skipping "/var/log/debug" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
    considering log /var/log/messages
    error: skipping "/var/log/messages" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
    not running postrotate script, since no logs were rotated
    
    
    rotating pattern: /var/log/ipc/CCcam-iusers.log
    /var/log/ipc/CCcam-bcommands.log
    /var/log/ipc/CCcam-restart-*.log
     1048576 bytes (1 rotations)
    empty log files are not rotated, old logs are removed
    considering log /var/log/ipc/CCcam-iusers.log
    error: skipping "/var/log/ipc/CCcam-iusers.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
    considering log /var/log/ipc/CCcam-bcommands.log
    error: skipping "/var/log/ipc/CCcam-bcommands.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
    considering log /var/log/ipc/CCcam-restart-20120427_2200.log
    error: skipping "/var/log/ipc/CCcam-restart-20120427_2200.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
    considering log /var/log/ipc/CCcam-restart-20120427_2223.log
    error: skipping "/var/log/ipc/CCcam-restart-20120427_2223.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
    considering log /var/log/ipc/CCcam-restart-20120427_2259.log
    error: skipping "/var/log/ipc/CCcam-restart-20120427_2259.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
    considering log /var/log/ipc/CCcam-restart-20120428_0947.log
    error: skipping "/var/log/ipc/CCcam-restart-20120428_0947.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
    considering log /var/log/ipc/CCcam-restart-20120428_1005.log
    error: skipping "/var/log/ipc/CCcam-restart-20120428_1005.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
    considering log /var/log/ipc/CCcam-restart-20120428_1431.log
    error: skipping "/var/log/ipc/CCcam-restart-20120428_1431.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
    not running postrotate script, since no logs were rotated
    not running postrotate script, since no logs were rotated
    not running postrotate script, since no logs were rotated
    not running postrotate script, since no logs were rotated
    not running postrotate script, since no logs were rotated
    not running postrotate script, since no logs were rotated
    not running postrotate script, since no logs were rotated
    not running postrotate script, since no logs were rotated
    
    
    rotating pattern: /var/log/wtmp  monthly (1 rotations)
    empty log files are rotated, old logs are removed
    considering log /var/log/wtmp
    error: skipping "/var/log/wtmp" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
    
    
    rotating pattern: /var/log/btmp  monthly (1 rotations)
    empty log files are rotated, old logs are removed
    considering log /var/log/btmp
    error: skipping "/var/log/btmp" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
    rsyslog
    /var/log/syslog
    {
    rotate 1
    daily
    size 3M
    missingok
    notifempty
    delaycompress
    compress
    postrotate
    invoke-rc.d rsyslog reload > /dev/null
    endscript
    }


    /var/log/mail.info
    /var/log/mail.warn
    /var/log/mail.err
    /var/log/mail.log
    /var/log/daemon.log
    /var/log/kern.log
    /var/log/auth.log
    /var/log/user.log
    /var/log/lpr.log
    /var/log/cron.log
    /var/log/debug
    /var/log/messages
    {
    rotate 1
    daily
    size 1M
    missingok
    notifempty
    compress
    delaycompress
    sharedscripts
    postrotate
    invoke-rc.d rsyslog reload > /dev/null
    endscript
    }


    /var/log/ipc/CCcam-iusers.log
    /var/log/ipc/CCcam-bcommands.log
    /var/log/ipc/CCcam-restart-*.log
    {
    rotate 1
    daily
    size 1M
    missingok
    notifempty
    delaycompress
    compress
    postrotate
    invoke-rc.d rsyslog reload > /dev/null
    endscript
    }

    logrotate.conf
    # see "man logrotate" for details
    # rotate log files weekly
    hourly


    # 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
     
    #1
  2. phantom

    Nervigen User Advertisement

  3. aragorn
    Online

    aragorn Guest

    ich vermute das es daher kommt weil planlos irgend welche rechte/owner von dir geändert wurden

    kein english übersetzer zu hand? oder einfach mal die fehlermeldung bei google eingeben
    tipp: guck auch mal in das verzeichniss /etc/logrotate.d/ ob es dort für das betreffene file eine config gibt weil in dein configs die du hier gepostet hast steht zum beispiel gar kein /var/log/fail2ban.log usw drin also wird es ein eigenes config file dafür geben wo du dann sowas wie "su USER GROUP" eintragen müsstest aber eben passend für den jeweiligen dienst damit er dort auch schreiben darf usw
     
    #2
  4. Matze1403
    Offline

    Matze1403 Ist gelegentlich hier

    Registriert:
    7. Februar 2011
    Beiträge:
    63
    Zustimmungen:
    13
    Punkte für Erfolge:
    0
    Ort:
    Leeeipzsch
    Das war`s Danke
     
    #3

Diese Seite empfehlen