Home > Cannot Open > Cannot Open A File In The /var/spool/cron/crontabs Directory

Cannot Open A File In The /var/spool/cron/crontabs Directory

Enter the df command on the command line to list the available space in the /var file system. OR Copy the /bin/ksh file from another machine that contains the same version of the operating system. 0481-501 Cannot find or access /bin/csh Possible Causes You do not have permission to Here's Why Members Love Tek-Tips Forums: Talk To Other Members Notification Of Responses To Questions Favorite Forums One Click Access Keyword Search Of All Posts, And More... No such file or directory How can I resolve this issue ? Source

Join & Ask a Question Need Help in Real-Time? share|improve this answer answered May 27 '11 at 11:40 opsguy 576310 I had a ton of problems. Product of Infinite series cubes Was a massive case of voter fraud uncovered in Florida? The format for an at command using hours is hhmm[.SS] where: hh Specifies the hour of the day (00 through 23). http://www.unix.com/unix-for-dummies-questions-and-answers/193379-facing-issues-while-running-cronjob.html

Mike outsource replied Aug 15, 2012 Thanks to everybody, I tried all the above suggestions and finally found that /tmp got corrupted server100 # cd /tmp server100 # touch test touch: RE: Mystery of the missing crontab file!!!! I get a "permission denied" for everything: listing the cron commands or editing them. Be sure to save your new file.

All rights reserved. Ensure that the UID obtained by the id command is the same one that is in the /etc/passwd file. If the crontabs directory is missing, enter the mkdir crontabs command to create it. I fixed it now –skerit May 27 '11 at 12:07 add a comment| up vote 0 down vote The permissions for the CRON files are set to user root group root,

Otherwise they won't run. The time now is 06:20 AM. - Contact Us - UNIX & Linux - unix commands, linux commands, linux server, linux ubuntu, shell script, linux distros. - Advertising - Top You may have to register before you can post: click the register link above to proceed. https://www.experts-exchange.com/questions/26240108/can't-create-your-crontab-file.html more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed

Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the It will show up in the storage place for other crontabs.Storage location varies by version. Home | Invite Peers | More UNIX Groups Your account is ready. Join your peers on the Internet's largest technical computer professional community.It's easy to join and it's free.

Mark Whetzel replied Aug 13, 2012 1) Make sure directory ownership is correct: /var/spool/cron/crontab should be User: bin Group: cron. 2) Make sure that the crontab command has correct permissions, should http://www.tek-tips.com/viewthread.cfm?qid=462319 Alternatively you can log in as root and change the groups to something else so you can edit it. Why are password boxes always blanked out when other sensitive data isn't? Related The Mid-Market Expense Management Program Return Path Email Marketing Measurement Imperative VMware EVO-Rail MoreWhitePapers Best Answer 0 Mark this reply as the best answer?(Choose carefully, this can't be changed) Yes

Reissue the crontab command using a valid file name. this contact form In a typical aix box, crontab directory will reside somewhere in /var/spool/cron. Click Here to join Tek-Tips and talk with other members! The e queue is used to run the command as a ksh job, and the f queue is used to run the command as a csh job. 0481-124 Cannot create the

I ended up adding all the users to the crontab group, and setting the group ownership of all needed files to that crontab group. Jalal Hajigholamali replied Aug 13, 2012 Hi, Check the permissions and ownership of the whole directory structure referenced in the error message. /var: owned by bin:bin, mode 755 /var/spool: owned by Reply With Quote 12-19-10,11:30 #2 Marcus_A View Profile View Forum Posts Registered User Join Date May 2003 Location USA Posts 5,737 If crontab -e, or crontab -l, does not work, I have a peek here Underbrace under nested square roots Total distance traveled when visiting all rational numbers How to decline a postdoc interview if there is some possible future collaboration?

Commands that access the /etc/passwd file (such as the at, atq, atrm, cronadm, or crontab commands) to get your user identification number (UID) display this error if the /etc/passwd file has But the permission of the spool directories and the crontab executable were also wrong. mesh networking with OLSR, Openwrt and WRT54G - http://www.villeneuve-tolosane.net/~marc/olsr/topo.php - http://www.toulouse-sans-fil.net/wiki/Wifi_Toulouse _marc_'s Website 5 Reply by vincentfox 2006-02-10 20:13:01 vincentfox Member Offline From: USA Registered: 2006-01-17 Posts: 873 Re: crontab issues

Help increase my knowledge by providing some feedback, good or bad, on any advice I have given.

Note: If the file does not exist in the directory from which the crontab command is issued, you must specify the full path name or the complete relative path name. Enter the ls -al1 /usr/spool/cron command to list the directories under the /usr/spool/cron directory. If so, what are their contents? Create a new /bin/csh file.

Enter the vi /etc/passwd command to edit the /etc/passwd file using the vi editor. (You can use another editor.) Change your UID if it is incorrect, or add your uid to Login. Register now while it's still free! Check This Out The username is added in cron.allow file.But still its not aloowing me to create the crontab file.#crontab -e"/var/tmp/aaaa03971" 1 line, 26 characterscrontab: can't create your crontab file in the crontab directory.Thanks