Dies ist eine mobil optimierte Seite, die schnell lädt. Wenn Sie die Seite ohne Optimierung laden möchten, dann klicken Sie auf diesen Text.

/var/log löschen

    Nobody is reading this thread right now.
AW: /var/log löschen

Wenn Du das löschen musst unbedingterweise:

Code:
rm -f /var/log/*.log

Und ab dafür!

Scherz beiseite, was sagt:

Code:
df -h

?
 
AW: /var/log löschen

Ja muss ehrlich sagen, habe deine Post falsch gelesen und habe geadacht seit Sonntag 50 MB und das wäre doch etwas zu viel.
sonst hätte ich dich nicht durch die ganzen Verzeichnisse geschickt
 
AW: /var/log löschen

Mach mal ein
Code:
df -h
dann ein
Code:
apt-get clean
und dann noch mal
Code:
df -h
Das löscht die ganzen Dateileichen.

MfG
 
AW: /var/log löschen

apt-get clean löscht den Inhalt von /var/cache/apt/archives. Hat also mit /var/log gar nix zu tun
 
AW: /var/log löschen

Hm,

lange Rede kurzer Sinn, sind das denn SO sensible Daten?

So lassen wenn der Speicherplatz locker reicht, ansonsten halt weg damit...

Just my 2 Cents
 
AW: /var/log löschen

ich weis nicht wie das bei eurem IPC geht , aber bei meinem Ubuntu werden es jede nacht um 3:30 die alten LOG's alle gelöscht , das erledigt die Logrotate funktion

sowas müste doch auch im eurem IPC möglich sein
 
AW: /var/log löschen

Bei "unserem" IPC macht das auch Logrotate und hat somit nichts mit "unserem" IPC zu tun. Hab ich aber schon in Post #2 geschrieben.
Aber schön das du auch wach bist
 
AW: /var/log löschen

Wie sehe ich denn ob logrotate aktiv ist und wann werden alte datein von System gelöscht
 
AW: /var/log löschen

Hatte dieses in der console:

root@igel-m300c ~ > logrotate -f /etc/logrotate.conf
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.

root@igel-m300c ~ > invoke-rc.d rsyslog rotate
[ ok ] Closing open files: rsyslogd.

Hoffe es ist alles soweit richtig
 
AW: /var/log löschen

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.
Um diese Meldungen aus dem Log zu bekommen mach mal folgendes
Code:
chmod 644 /var/log/*
 
AW: /var/log löschen

Werde morgen weiter machen muss zur Nacht Schicht
 
Für die Nutzung dieser Website sind Cookies erforderlich. Du musst diese akzeptieren, um die Website weiter nutzen zu können. Erfahre mehr…