HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
Showing results for 
Search instead for 
Did you mean: 

Cron Job execution error


Cron Job execution error

I have set a cron job , The job is running fine manually , & even through cron it get executed successfully. however some time This gets failed with following error in log file.

(root) MAIL (mailed 23 bytes of output but got status 0x004e )

Could some one tell me what is this & why this is happening some time

OS is Linux AS 2.4
Steven E. Protter
Exalted Contributor

Re: Cron Job execution error


Check the /var/log/maillog file for that time for further errors.

Steven E Protter
Owner of ISN Corporation
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com

Re: Cron Job execution error

I am getting following error in mail log file

Aug 19 04:02:01 lewis sendmail[767]: NOQUEUE: SYSERR(root): can not chdir(/var/spool/clientmqueue/): Permission denied
Honored Contributor

Re: Cron Job execution error

check the permission.( what i am giving is from RHEL AS4/U4; same for RHEL AS3/U8)

# ls -ld /var/spool/mqueue
drwx------ 2 root mail 266240 Aug 22 23:30 /var/spool/mqueue

# ls -ld /var/spool/clientmqueue
drwxrwx--- 2 smmsp smmsp 4096 Aug 22 23:30 /var/spool/clientmqueue