New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
How to solve it ?
dragon1993
Member
How to solve it ?
Ubuntu 14.04 LTS,
From [email protected] Sun Jul 26 06:31:07 2015 Return-Path: X-Original-To: root Delivered-To: [email protected] Received: by DOMAIN.com (Postfix, from userid 0) id 3525C120E9C; Sun, 26 Jul 2015 06:31:07 +0200 (CEST) From: [email protected] (Cron Daemon) To: [email protected] Subject: Cron test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily ) Content-Type: text/plain; charset=ANSI_X3.4-1968 X-Cron-Env: X-Cron-Env: X-Cron-Env: X-Cron-Env: Message-Id: <[email protected]> Date: Sun, 26 Jul 2015 06:31:07 +0200 (CEST) /etc/cron.daily/logrotate: error: error running shared postrotate script for '/var/log/nginx/*.log ' run-parts: /etc/cron.daily/logrotate exited with return code 1`
Comments
Not enough info.
Try to run /etc/cron.daily/logrotate manually and see if it tells you a bit more.
Exit 1 means it wasn't a clean exit and there was an error. Would be nice to know what the error was.
Permission error perhaps ? o.O