- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- "crontab -e" doesn't display crontab of root user
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
Forums
Discussions
Discussions
Discussions
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
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
03-16-2005 07:31 PM
03-16-2005 07:31 PM
Could anyone help me with crontab. I've tried to edit crontab of root user with command "crontab -e", but haven't seen anything. Crontab file exist on /var/spool/cron/crontabs/root and I can edit it by vi.
I have HP-UX 11.11.
What's problem?
Thanks in advance.
Dmitriy.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2005 07:36 PM
03-16-2005 07:36 PM
Re: "crontab -e" doesn't display crontab of root user
Any error messages ?
Could you check if root is disabled/enabled in the /usr/lib/cron/cron.allow (cron.deny)
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2005 07:42 PM
03-16-2005 07:42 PM
Re: "crontab -e" doesn't display crontab of root user
In cron.allow file exist root user. Cron.deny doesn't exist on system.
Thanks. Dmitriy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2005 07:45 PM
03-16-2005 07:45 PM
Re: "crontab -e" doesn't display crontab of root user
could you post
# tail /var/adm/cron/log
is cron still working ?
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2005 07:49 PM
03-16-2005 07:49 PM
Re: "crontab -e" doesn't display crontab of root user
i've restarted just morning today cron daemon. But it doesn't help. and it still working (see attachment).
Dmitriy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2005 07:57 PM
03-16-2005 07:57 PM
Re: "crontab -e" doesn't display crontab of root user
Is dmesg reporting problems ?
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2005 08:03 PM
03-16-2005 08:03 PM
Re: "crontab -e" doesn't display crontab of root user
in attachment dmesg output and bdf output.
Dmitriy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2005 08:04 PM
03-16-2005 08:04 PM
Re: "crontab -e" doesn't display crontab of root user
The last message has incorrect attachment.
In attachment dmesg output and bdf output.
Dmitriy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2005 08:30 PM
03-16-2005 08:30 PM
Re: "crontab -e" doesn't display crontab of root user
Could you check the permissions of
drwxr-xr-x 31 root root 5120 Dec 6 03:32 /
drwxr-xr-x 20 bin bin 1024 Apr 18 1999 /var
dr-xr-xr-x 14 bin bin 1024 Jul 21 1999 /var/spool
dr-xr-xr-x 7 bin bin 1024 Jan 4 2001 /var/spool/cron
dr-xr-xr-x 2 bin bin 1024 Jan 28 13:34 /var/spool/cron/crontabs
-r-------- 1 root sys 1044 Mar 17 10:19 /var/spool/cron/crontabs/root
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2005 08:34 PM
03-16-2005 08:34 PM
Re: "crontab -e" doesn't display crontab of root user
/usr/spool/cron/crontabs/root exist?
This is the real file that root is reading.
Roland
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2005 08:43 PM
03-16-2005 08:43 PM
Re: "crontab -e" doesn't display crontab of root user
permissions:
dr-xr-xr-x 25 bin bin 8192 Mar 17 2004 var
dr-xr-xr-x 13 bin bin 8192 Mar 25 2003 /var/spool
dr-xr-xr-x 5 bin bin 96 Nov 15 2000 /var/spool/cron
dr-xr-xr-x 2 bin bin 96 Sep 8 2004 /var/adm/spool/cron/crontabs
-r-------- 1 root sys 1798 Mar 17 11:22 /var/spool/cron/crontabs/root
Roland,
the file /usr/spool/cron/crontabs/root exist with next atributes:
-r-------- 1 root sys 1798 Mar 17 11:22 /usr/spool/cron/crontabs/root
Thans to all.
Dmitriy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2005 09:00 PM
03-16-2005 09:00 PM
Re: "crontab -e" doesn't display crontab of root user
just curious, r u able to login as root and run:
# crontab -l
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2005 09:02 PM
03-16-2005 09:02 PM
Re: "crontab -e" doesn't display crontab of root user
The command "crontab -e" it create temporary file in /tmp. Verify the permission and the space in /tmp.
Bye
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2005 09:14 PM
03-16-2005 09:14 PM
Re: "crontab -e" doesn't display crontab of root user
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2005 09:16 PM
03-16-2005 09:16 PM
Re: "crontab -e" doesn't display crontab of root user
the same situation as i'm type #crontab -l in command line.
Walter,
Permission and space on /tmp is ok.
I guess I should reinstall cron deamon. Does anyone know about new verisons of cron daemon etc...?
Thanks to all.
Dmitriy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2005 09:19 PM
03-16-2005 09:19 PM
Re: "crontab -e" doesn't display crontab of root user
When I've typed "crontab -e" in command line I've returned to the prompt.
Thanks for question,
Dmitriy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2005 09:23 PM
03-16-2005 09:23 PM
Re: "crontab -e" doesn't display crontab of root user
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2005 09:25 PM
03-16-2005 09:25 PM
Re: "crontab -e" doesn't display crontab of root user
I've logged as a root with him env.
Dmitriy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2005 09:30 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2005 09:31 PM
03-16-2005 09:31 PM
Re: "crontab -e" doesn't display crontab of root user
If this does not return "vi" then that is likely your problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2005 09:36 PM
03-16-2005 09:36 PM
Re: "crontab -e" doesn't display crontab of root user
could u reply on this?
# what /usr/bin/crontab
cause if PHCO_26562 is not applied, your problem may be because of this.
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2005 09:47 PM
03-16-2005 09:47 PM
Re: "crontab -e" doesn't display crontab of root user
After installing PHCO_26562 patch the problem was solved.
Thanks again and have a nice day.
Dmitriy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2005 09:48 PM
03-16-2005 09:48 PM
Re: "crontab -e" doesn't display crontab of root user
I've closed the question.
Best regards. Dmitriy.