CRON job failure

Hi everyone,
I installed LPAR2RRD tool in AIX successfully
I'm getting the below mail 5 minutes once in usr/spool/mail/root

From root Tue Aug 22 11:56:00 2017
Received: (from root@localhost)
by aix01 (AIX7.1/8.14.4/8.14.4) id v7M6Q02n9502782
for root; Tue, 22 Aug 2017 11:56:00 +0530
Date: Tue, 22 Aug 2017 11:56:00 +0530
From: root
Message-Id: <201708220626.v7M6Q02n9502782@aix01>
To: root
Subject: Cron Job Failure

Cron Environment:
 SHELL = 
 PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java5/jre/bin:/usr/java5/bin
 CRONDIR=/var/spool/cron/crontabs
 ATDIR=/var/spool/cron/atjobs


Output from cron as follows:

/usr/sbin/dumpctrl -k >/dev/null 2>/dev/null
0481-109 You are not authorized to use the cron command.

Please help me to resolve this issue. Thanks in Advance

Comments

  • Hi,

    I am not sure what you have done but root cannot run crontab.
    I would add it into /var/adm/cron/cron.allow

    echo "root" >> /var/adm/cron/cron.allow

    But I am not sure if this work even for root user.

    Check also /var/adm/cron/cron.denny




  • Thanks for your response pavel.
    I checked the files, In var/adm/cron/cron.allow lpar2rrd is there and
    in var/adm/cron/cron.deny it is empty.
    What I have to do further? 
  • try to add root in allow file and remove denny file

  • ok added root in allow file. deny file is already empty.
    I should remove lpar2rrd in allow file and include root? or both can be in that file ?
  • leave both.

    It is an operating system issue (not related to lpar2rrd), it is hard to support you without having access to system logs etc.
    Your Linux admin should be able to resolve that ...
  • ok thank you pavel
Sign In or Register to comment.