• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Logrotate: which ones are in use

A

Andres Ba

Guest
Hi everyone,
I have 3 logrotate.conf in my system:

This one should be the system one:
/etc/logrotate.conf

And then I have these ones:
/etc/psa/logrotate.conf
/usr/local/psa/etc/logrotate.conf

why do I have two? Is that right? The settings are very similar in the two files.

are they both called?

thanks in advance,

Andres
 
You can check system logrotate.conf location like this:

# grep rotate /etc/cron*/*
/etc/cron.daily/logrotate:/usr/sbin/logrotate /etc/logrotate.conf

Logrotate in Plesk seems to be hard-coded to psa/etc/logrotate.conf

Also, as far as I know Plesk logrotate configs also were here (path above) so origin of /etc/psa/logrotate is unknown.
Most probably it is not used.
 
You can check system logrotate.conf location like this:

# grep rotate /etc/cron*/*
/etc/cron.daily/logrotate:/usr/sbin/logrotate /etc/logrotate.conf

Logrotate in Plesk seems to be hard-coded to psa/etc/logrotate.conf

Also, as far as I know Plesk logrotate configs also were here (path above) so origin of /etc/psa/logrotate is unknown.
Most probably it is not used.

grep rotate /etc/cron*/* does return the path to the system rotate.conf (which I expected being /etc/logrotate.conf).

I'm not so sure of what's plesk logrotate.conf path, because searching the forums, both paths appears. yet seems hard to believe that 2 are used.

my guess is that one was used by a previous version of plesk and that at some point the location was changed.

thanks for your suggestion,

Andres
 
Back
Top