- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: error on crontab file creation
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2008 03:43 AM
тАО11-30-2008 03:43 AM
Please help me.
When i try to create crontab to schedule my scripts its giving error as below.
#crontab -e
crontab: can't open your crontab file
Suggestions pls.
Thanks
Azar
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2008 04:01 AM
тАО11-30-2008 04:01 AM
Re: error on crontab file creation
The exact error is this. 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 characters
crontab: can't create your crontab file in the crontab directory.
Thanks
azar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2008 04:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2008 04:36 AM
тАО11-30-2008 04:36 AM
Re: error on crontab file creation
and also check the disk space in /var and /tmp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2008 04:37 AM
тАО11-30-2008 04:37 AM
Re: error on crontab file creation
I meant NOT over NFS.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2008 04:50 AM
тАО11-30-2008 04:50 AM
Re: error on crontab file creation
have you also check cron.deny - file
Can please check the permissions..?
# cd /var/adm/spool/crontabs
# ll
Thanks,
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2008 06:55 PM
тАО11-30-2008 06:55 PM
Re: error on crontab file creation
Check for
1. cron.allow/deny entries.
2. user file in /var/spool/cron/XXX
3. crontab -e.
The tmp file will be created inside /var/tmp/XXXXXXX
4. crontab -l [username] Lists the user's crontab file.
Thanks,
Analyst.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2008 01:04 AM
тАО12-01-2008 01:04 AM
Re: error on crontab file creation
The User is not allowed to create con jobs
Please add his name to cron.allow file.
Also if the username exists in cron.deny file .
Remove the entry.
Sagar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2008 01:27 AM
тАО12-01-2008 01:27 AM
Re: error on crontab file creation
you have to check cron.allow & cron.deny files in ur systems.
Add user entry to cron.allow & remove entry (if exists) from cron.deny.
Also check the permissions of crontab.
regards
vjta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2008 06:12 PM
тАО12-01-2008 06:12 PM
Re: error on crontab file creation
-r-sr-xr-x 1 root bin /usr/bin/crontab
>ahsan: did you check if there is cron.deny file is exist or not?
>Johnson: have you also check cron.deny
>Analyst: cron.allow/deny entries.
>Sagar: The User is not allowed to create cron
>vjta: you have to check cron.allow & cron.deny files
I'm not sure why you need to repeat this misinformation 5 times. A simple check shows you get this nice message:
crontab: you are not authorized to use cron. Sorry.
In this case, you need to think zebras, not horses. :-)
- Tags:
- zebras