Fehler bei: test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily

  • Hallo,


    erst mal ein ganz dolles Danke an das Team von IMSCP das es hier bei Euch Vorwärts geht
    Der erste Eindruck ist sehr positiv, alles Sachen scheinen soweit zu laufen (neu Aufgesetzt Debian 6 mit i-MSCP 1.0.1.5 build: 20111025 )
    Was mich sehr freut ist das der Login ins Admin Pannel auch via HTTPS nun von Hause aus geht.
    Da das ganze noch Beta ist, gibt es noch die eine oder andere Sache die vielleicht gefixt werden kann.


    Folgedes habe ich bei mir gefunden:

    Quote

    /var/log/chkrootkit.log existiert nicht oder ist leer


    Die Datei ist da und hat 644, selbst wenn ich ihr 777 gebe wird sie nicht beschrieben



    wie sollte ich diese Sachen am Besten bereinigen
    Danke schon mal für die Mühe....und bitte auf Deutsch


    MfG. Akinos

    Edited once, last by Akinos ().

  • About:


    Code
    1. error: imscp:38 duplicate log entry for /var/log/apache2/users/admin.web4.domainXYZ.com-access.logerror: found error in /var/log/apache2/users/*.log , skippingerror: imscp:59 duplicate log entry for /var/log/apache2/backup/*.log.preverror: found error in /var/log/apache2/backup/*.log.prev , skippingerror: imscp:71 duplicate log entry for /var/log/imscp/imscp-apache-logger.stderrerror: found error in "/var/log/imscp/imscp-apache-logger.stderr" /var/log/imscp/imscp-apache-logger.stdout , skipping


    I confirm. it's just duplicate entries that are in both /etc/logrotate.d/apache2 and /var/logrotate.d/imscp


    About


    Code
    1. error: failed to rename /var/log/proftpd/ftp_traff.log to /var/log/proftpd/ftp_traff.log.1: Datei oder Verzeichnis nicht gefunden


    Should not occurs because we are using the missingok directive.


    Can you post the content of both files ?

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Hallo,


    die Datei ftp_traff.log ist leer, sie wurde nicht beschrieben, Rechte hat sie 644


    die Datei ftp_traff.log.1 gibt es nicht


    wo soll ich am besten die doppelten Sachen raus nehmen ?


    in /etc/logrotate.d/apache2 oder ist es besser in /var/logrotate.d/imscp



    besten danke schon für die Antworten

    Edited once, last by Akinos ().

  • yes will be in beta Version i-MSCP 1.0.1.6 (Beta 6) (or you can use master branche for it if you do not want to wait beta 6; see goover`s script for easy update). Thank you for reporting

  • Cool
    You right. proftpd create this file like this:
    -rw-r--r-- 1 root root 0 3 nov. 20:16 ftp_traff.log


    If at i-MSCP setup, this file doesn't exist, the installer create it with correct permissions.


    Code
    1. if(! -f "$main::imscpConfig{'TRAFF_LOG_DIR'}$self::proftpdConfig{'FTP_TRAFF_LOG'}") { my $file = iMSCP::File->new( filename => "$main::imscpConfig{'TRAFF_LOG_DIR'}$self::proftpdConfig{'FTP_TRAFF_LOG'}" ); $rs |= $file->save(); $rs |= $file->mode(0644); $rs |= $file->owner( $main::imscpConfig{'ROOT_USER'}, $main::imscpConfig{'ROOT_GROUP'} ); }


    Akinos


    About the duplicate entries, if I think about future (multi server), I'll say you to remove them from the imscp file.


    I think you can remove these entries from the imscp file:

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206