can\'t create your crontab file in the crontab
<DIV>Solaris Operating System: crontab Fails: "can't create your crontab file in the crontab directory" </DIV><DIV> </DIV>
<DIV> </DIV>
<DIV> <BR>修改时间02-AUG-2010 类型 PROBLEM 移植的 ID 207158 状态 PUBLISHED<BR> </DIV>
<DIV><BR><STRONG><FONT size=3>Applies to:</FONT></STRONG></DIV>
<DIV><BR>Solaris Operating System - Version: 8and later <BR>All Platforms</DIV>
<DIV><BR><STRONG><FONT size=3>Symptoms</FONT></STRONG></DIV>
<DIV><STRONG><FONT size=3><BR></FONT></STRONG>You cannot create a crontab file which generates errors"</DIV>
<DIV>"crontab: can't create your crontab file in the crontab directory"</DIV>
<DIV> </DIV>
<DIV># crontab -l</DIV>
<DIV>crontab: can't open your crontab file.</DIV>
<DIV><BR><STRONG><FONT size=3>Cause</FONT></STRONG></DIV>
<DIV><BR>Invalid user in the /etc/cron.d/cron.allow file.<BR>Incorrect permissions of /usr/bin/crontab file.</DIV>
<DIV><BR><FONT size=3><STRONG>Solution</STRONG></FONT></DIV>
<DIV><BR>1. Verify that the user is listed in cron.allow.<BR>2. Check the permissions in the /usr/bin/crontab file:</DIV>
<DIV># ls -al /usr/bin/crontab</DIV>
<DIV>-r-sr-xr-x 1 root bin 17224 Jun 18 2003 /usr/bin/crontab*</DIV>
<DIV>3. If the preceding procedure doesn't work, run the following command as root:</DIV>
<DIV># chmod 4555 /usr/bin/crontab</DIV>
<DIV><BR><FONT size=3><STRONG>Additional Information:</STRONG></FONT></DIV>
<DIV><BR>1008445.1 crontab administration usage and troubleshooting techniques</DIV>
页:
[1]