- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: crontab is not working for a particular set of...
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
тАО10-11-2010 10:35 PM
тАО10-11-2010 10:35 PM
crontab is not working for a particular set of user's
i am unable to execute scripts via crontab for a particular set of user's.
Also when i edit crontab using crontab -e and save i am getting the following error
crontab: error in message queue open, errno=13
warning: commands will be executed using /usr/bin/sh
Please Help !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-11-2010 11:00 PM
тАО10-11-2010 11:00 PM
Re: crontab is not working for a particular set of user's
On what?
uname -a
> [...] for a particular set of user's.
Which users?
> [...] errno=13
EACCES = 13 = Permission denied.
man crontab
ls -l
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2010 01:05 AM
тАО10-12-2010 01:05 AM
Re: crontab is not working for a particular set of user's
All the user are not authorized to use crontab . What is the content of /var/adm/cron/cron.allow ? Adds the concern users an try to see what happened .
Bye
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2010 05:59 AM
тАО10-12-2010 05:59 AM
Re: crontab is not working for a particular set of user's
As Steven said, this is a permission problem. Can you check the permission of each of the directory paths in /var/adm/cron. Also check the permissions of the fifo file there, that would be that "message queue".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2010 07:40 PM
тАО10-12-2010 07:40 PM
Re: crontab is not working for a particular set of user's
prw------- root root FIFO
So this means crontab must be setuid:
-r-sr-xr-x root bin /usr/bin/crontab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2010 09:24 PM
тАО10-12-2010 09:24 PM
Re: crontab is not working for a particular set of user's
To use cron for particular user, it is must that the users entry should be in /var/adm/cron/cron.allow
Add that users and try to run the cron from tht users and check the file permissions also.
Hope this solves ur issue
Dont forget to assign points.
Regards
Vishnu Khandare
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2010 08:48 AM
тАО10-13-2010 08:48 AM
Re: crontab is not working for a particular set of user's
what is the output of
1.ll /var/adm/cron
2.cat /var/adm/cron/queuedefs
regards
MC