- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: crontab entry erased
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
05-28-2007 08:53 AM
05-28-2007 08:53 AM
crontab entry erased
Hi all,
I have an N-Class box running B11.11
After a reboot the crontab entry for oracle got errased I mean the file size was zero bytes(/var/spool/cron/crontabs)nothing was there in the file
can anybody explain what could be the reason
regds
S Chandy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2007 09:04 AM
05-28-2007 09:04 AM
Re: crontab entry erased
Can you confirm there were cron jobs for Oracle before the reboot?
Jov
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2007 09:24 AM
05-28-2007 09:24 AM
Re: crontab entry erased
This can happen if the box crashed/rebooted during editing or if /var got full.
Check the underlying hardware on the /var filesystem.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2007 10:56 AM
05-28-2007 10:56 AM
Re: crontab entry erased
there might be cron jobs before reboot most probably
and server rebooted after patching
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2007 11:04 AM
05-28-2007 11:04 AM
Re: crontab entry erased
Can you verify this with the timestamp on the oracle user cron spool file?
If timestamp is older than reboot, then its unlikely due to the reboot.
Jov
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2007 11:07 AM
05-28-2007 11:07 AM
Re: crontab entry erased
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2007 12:28 PM
05-28-2007 12:28 PM
Re: crontab entry erased
Was other crontabs affected?
Jov
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2007 04:30 AM
05-29-2007 04:30 AM
Re: crontab entry erased
only one users (oracle's)crontab got erased
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2007 04:36 AM
05-29-2007 04:36 AM
Re: crontab entry erased
crontab
rather than:
crontab -l
The command waited until an EOF was received and then dutifully wrote a null crontab for the effective user.
The effect would be exactly the same if someone edited the crontab file directly and nulled the file. Unlike the first case, you wouldn't even know it had been done until the system were rebooted because the cron daemons in-memory image would be intact.
An easy way to determine if the problem was in any way related to the reboot would be to examine your backups. If the files on backup are null then the damage was done before the reboot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2007 04:37 AM
05-29-2007 04:37 AM
Re: crontab entry erased
You should find the entries for cron shutdown and startup, but that should be all. Any other cron/crontab entries are not normal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2007 05:04 AM
05-29-2007 05:04 AM
Re: crontab entry erased
erase happened while reboot only.
Nothing specific could be find from rc.log
but after patching its has updated cron also while software configuration phase.
Configuring all unconfigured software filesets
Output from "/sbin/rc2.d/S120swconfig start":
----------------------------
* The following files, which could not be closed by swinstall when they
were updated, are being removed now:
/usr/lib/#libfmtbtlan.1
/usr/lib/sw/lib/#libcma.2
/usr/sbin/#lpsched
/usr/sbin/#cron
/usr/lib/#libnss_dns.1
/usr/sbin/#inetd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2007 05:12 AM
05-29-2007 05:12 AM
Re: crontab entry erased
Do you have the patch id related to the cron update.
Jov