• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Anacron Error

LloydD

Basic Pleskian
Hi everyone,
I recently fixed our anacron installation but we're now getting the following error ..

/etc/cron.daily/logrotate:
/etc/lsb-base-logging.sh: line 22: /dev/console: Permission denied
/etc/lsb-base-logging.sh: line 22: /dev/console: Permission denied
/etc/lsb-base-logging.sh: line 22: /dev/console: Permission denied
/etc/lsb-base-logging.sh: line 22: /dev/console: Permission denied
/etc/cron.daily/sysklogd:
/etc/lsb-base-logging.sh: line 22: /dev/console: Permission denied
/etc/lsb-base-logging.sh: line 22: /dev/console: Permission denied

I found a thread on here with a fix but the link was broken.
We're running Plesk 10.4.4 MU#43 on Ubuntu 8.04 LTS on a Virtuosso container

Is it as simple as changing -

Line 22:
loop=y $func "$@" </dev/console >/dev/console 2>&1 || true

TO

loop=y $func "$@" </dev/console >/dev/console 2>&1 || false

Thanks in advance for your help
Regards

Lloyd
 
Webfusion have said try and comment the line out, so I'm trying that.
We'll see what emails I get in the morning.
 
Back
Top