Operating System - Tru64 Unix
1752569 Members
4984 Online
108788 Solutions
New Discussion юеВ

Crontab Entries Mysteriously disappeared

 
premmohan
New Member

Crontab Entries Mysteriously disappeared

HI All,
I have a cluster of 2 nodes running tru64 ( V5.1 2650 alpha ) .

Recently I observed that the crontab entries for user root disappeared in both nodes, Nobody has removed them manually.

Earlier the /var partition was 100% full, I had removed some old log and trace files.
If the /var partition gets to 100% full is there a possibility that the crontab entries would disappear ?

Appreciate your help.

prem
3 REPLIES 3
Rob Leadbeater
Honored Contributor

Re: Crontab Entries Mysteriously disappeared

Hi,

Nothing should delete crontabs... Are you sure they haven't been deleted accidentally ?

Can you post the output of:

# ls -l /var/spool/cron

That should indicate that this directory is a CDSL...

Cheers,

Rob
premmohan
New Member

Re: Crontab Entries Mysteriously disappeared

Hi Rob,

I am sure it was not accidentally deleted.

the output yo requested.

root@XXXXX > ls -l /var/spool/cron
lrwxr-xr-x 1 root system 36 Aug 1 2005 /var/spool/cron -> ../cluster/members/{memb}/spool/cron

I saw in the forum that somebody had suggested that if the /var partition gets 100% the cron entries were erased.

I have checked this directory of /var/spool/cron/crontabs , there is file named root but this file is having entries after I restored the the crontab( crontab -e ) with my previous backup.

Prem.
Pieter 't Hart
Honored Contributor

Re: Crontab Entries Mysteriously disappeared

maybe a "cluster-cron merge" produced a wrong active crontab because of the filesystem-full condition?