TOMSYAN 发表于 2011-12-22 08:54

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>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;<BR>修改时间02-AUG-2010&nbsp;&nbsp;&nbsp;&nbsp; 类型 PROBLEM&nbsp;&nbsp;&nbsp;&nbsp; 移植的 ID 207158&nbsp;&nbsp;&nbsp;&nbsp; 状态 PUBLISHED<BR>&nbsp;</DIV>
<DIV><BR><STRONG><FONT size=3>Applies to:</FONT></STRONG></DIV>
<DIV><BR>Solaris Operating System - Version: 8and later&nbsp;&nbsp; <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>&nbsp;</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]
查看完整版本: can\'t create your crontab file in the crontab