Confixx löscht keine alten Logfiles

Plesk, Confixx, Froxlor, SysCP, SeCoTo, IspCP, etc.
Post Reply
raid
Posts: 119
Joined: 2003-08-01 09:32
 

Confixx löscht keine alten Logfiles

Post by raid »

Hallo,

ich wende mich verzweifelt an euch, in der Hoffnung, dass jemand eine Idee hat.

Also es geht um einen Server mit SuSE 11.3 und Confixx 3.3.6.

Im Normalfall hat ja jeder einzelne Confixx-User auf dem Server z.B. nach dem einloggen via FTP das Verzeichnis /log/old wo vermutlich Logrotate die User-Logfiles einer Woche gepackt archiviert. Dies funktioniert auch, aber Confixx löscht diese gepackten archivierten Logfiles nicht mehr, wie sonst üblich nach 90 Tagen.

Die confixx_main.conf:

Code: Select all

# rotate logfile if greater than value (kb) after analysis
$apacheBackupSize = '10240';

# day on which logfiles will be rotated, ignoring size on this day (0=Sun, set to 8 to disable)
$apacheBackupDay = '1';

# 1: rotate logfiles in user's homedir, 0: rotate to $apacheBackupDir
$apacheBackupLocal = '1';

# keep _old_ logfiles for X days
$apacheBackupExpire = '90';

# location where to keep rotated logfiles (if not user's homedir)
$apacheBackupDir = '/var/log/apache2/old';

# location of general Apache logfiles for Parallels Confixx and symlinks to user's logfiles
$apacheLogDir = '/var/log/apache2/confixx';
Man findet in keinem Logfiles irgend einen Hinweis darauf, dass er was nicht löschen konnte, auch im Adminpanel bei "Servermeldungen" ist nichts drinne.

Ich habe auch keine Ahnung, welches Confixx Script hier für das löschen das alten Logfiles zuständig ist. Das kuriose ist, es hat auf einmal aufgehört mit funktionieren, ohne das jemand was gemacht hat.
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: Confixx löscht keine alten Logfiles

Post by Joe User »

Workaround: Einen eigenen Cronjob zum Löschen der alten Logs anlegen.

Eine echte Lösung kann ich Dir mangels Confixx nicht anbieten.
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
raid
Posts: 119
Joined: 2003-08-01 09:32
 

Re: Confixx löscht keine alten Logfiles

Post by raid »

Mhhm, an sowas hab ich auch schon gedacht. Ich hab eben mal den Schritt zu Confixx 3.3.7 gewagt, ich bin gespannt ob es eventuell hilft, mal abwarten.
EdRoxter
Posts: 483
Joined: 2006-01-06 03:23
Location: Neben Bonn
 

Re: Confixx löscht keine alten Logfiles

Post by EdRoxter »

Bei Confixx ist das /root/confixx/confixx_counterscript.pl für alles zuständig.
Mach mal ein

Code: Select all

/root/confixx/confixx_counterscript.pl -d -fa
und schau, ob's dir irgendwas Relevantes in der Hinsicht ausgibt. (d=debug, fa=force-all)
raid
Posts: 119
Joined: 2003-08-01 09:32
 

Re: Confixx löscht keine alten Logfiles

Post by raid »

Hatte ich schon probiert, hat nicht geholfen, aber das Update auf Confixx 3.3.7 hat bis jetzt toi toi toi die Lösung gebracht.
Post Reply