Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


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.

How to solve it ?

dragon1993dragon1993 Member
edited July 2015 in Help

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

  • ClouviderClouvider Patron Provider, Veteran

    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.

  • root@hostname:~# /etc/cron.daily/logrotate
    root@hostname:~#
    
  • Clouvider said: Exit 1 means it wasn't a clean exit and there was an error

    Permission error perhaps ? o.O

Sign In or Register to comment.