can't create your crontab file in the crontab

3687阅读 0评论2011-08-22 TOMSYAN
分类:Oracle

Solaris[TM] Operating System: crontab Fails: "can't create your crontab file in the crontab directory" [ID 1005095.1]
 
 
 
修改时间02-AUG-2010     类型 PROBLEM     移植的 ID 207158     状态 PUBLISHED
 

Applies to:

Solaris Operating System - Version: 8and later   [Release: and later ]
All Platforms

Symptoms

You cannot create a crontab file which generates errors"
"crontab: can't create your crontab file in the crontab directory"
 
# crontab -l
crontab: can't open your crontab file.

Cause

Invalid user in the /etc/cron.d/cron.allow file.
Incorrect permissions of /usr/bin/crontab file.

Solution

1. Verify that the user is listed in cron.allow.
2. Check the permissions in the /usr/bin/crontab file:
# ls -al /usr/bin/crontab
-r-sr-xr-x 1 root bin 17224 Jun 18 2003 /usr/bin/crontab*
3. If the preceding procedure doesn't work, run the following command as root:
# chmod 4555 /usr/bin/crontab

Additional Information:

1008445.1 crontab administration usage and troubleshooting techniques
上一篇:利用数据库闪回来处理坏块
下一篇:sqlldr交叉导入列值