Announcement

Collapse
No announcement yet.

Redirecting to /bin/systemctl restart imunify360-unified-access-logger.service

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Redirecting to /bin/systemctl restart imunify360-unified-access-logger.service

    I got this in an email this morning how do I fix it?:

    Subject: Anacron job 'cron.daily' on jds1.3alienswebhosting.com

    /etc/cron.daily/logrotate:

    Redirecting to /bin/systemctl restart imunify360-unified-access-logger.service

    Saw this in another post and ran it:

    Code:
    cat /etc/logrotate.d/imunify*
    Code:
    /var/log/imunify360/captcha.log {
    # Keep 3 lotated files before removal
    rotate 3
    maxsize 50M
    hourly
    compress
    delaycompress
    
    nocreate
    missingok
    
    postrotate
    if systemctl status imunify360-captcha > /dev/null ; then \
    systemctl restart imunify360-captcha > /dev/null; \
    fi;
    endscript
    }
    /var/log/imunify360/pam.log {
    missingok
    notifempty
    size 30k
    create 0600 root root
    postrotate
    systemctl restart imunify360-pam > /dev/null
    endscript
    }
    /var/log/imunify360/php-daemon_db.log {
    # Keep 3 lotated files before removal
    rotate 3
    maxsize 150M
    hourly
    compress
    delaycompress
    
    nocreate
    missingok
    
    postrotate
    if systemctl status imunify360-php-daemon > /dev/null ; then \
    systemctl restart imunify360-php-daemon > /dev/null; \
    fi;
    endscript
    }
    /var/log/imunify360/imunify360-unified-access-logger/log.rotate {
    missingok
    notifempty
    size 30k
    create 0600 root root
    postrotate
    service imunify360-unified-access-logger restart
    endscript
    }
    /var/log/imunify360/wafd.log {
    missingok
    notifempty
    size 30k
    create 0600 root root
    postrotate
    service imunify360-wafd restart
    endscript
    }
    /var/log/imunify360-webshield/*.log {
    daily
    missingok
    rotate 52
    compress
    delaycompress
    notifempty
    create 640 imunify360-webshield adm
    sharedscripts
    postrotate
    if [ -f /var/run/imunify360-webshield.pid ]; then
    kill -USR1 `cat /var/run/imunify360-webshield.pid`
    fi
    endscript
    }

  • #2
    Hi,

    It looks like the cron task which should be sending the output to /dev/null is emailing instead. What's the status of the imunify360-unified-access-logger service?

    Comment

    Working...
    X