- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: cron log file gets delete automatically
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
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
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
тАО07-27-2010 08:55 PM
тАО07-27-2010 08:55 PM
cron log file gets delete automatically
I am facing an issue on HPUX 11.11 that /var/adm/cron/log file gets delete automatically when cron tries to write anything on it..following is the error generated is as follows
Jul 27 23:31:28 a1124016 syslog: STD-0382: cron process died on a1124016 more than 3 times in 24 hours
cron is still running on the box
a1124016:sk1798 ps -ef | grep -i cron
root 26613 1 0 23:31:09 ? 0:00 /usr/sbin/cron
root 8134 9985 2 23:54:15 pts/3 0:00 grep -i cron
Please help me to solve this at the earlist..
Any reply will be highly appreciated.
Thanks,
Sahir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2010 10:19 PM
тАО07-27-2010 10:19 PM
Re: cron log file gets delete automatically
This is very very strange.
what does crontab -l
is there any process or cron job that does this.
have you updated your sys with the latest patches. specially the cron patches.
can you kill yoursel the cron job and restart and see if this stops.
any other messages in /var/adm/syslog/syslog.log
and also in cron.log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2010 10:26 PM
тАО07-27-2010 10:26 PM
Re: cron log file gets delete automatically
Now I found one more thing that cron logs are updating in OLDlog. I dont know how it got changed. Any settings can be done for setting the cron log..???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2010 12:15 AM
тАО07-28-2010 12:15 AM
Re: cron log file gets delete automatically
I think somewhere we need to redirect the logs. Let me find it and inform you...
Rgds,
Din
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2010 02:03 AM
тАО07-28-2010 02:03 AM
Re: cron log file gets delete automatically
Verify next files:
/sbin/init.d/cron
/var/adm/cron/cron.allow
and users crontabs in:
/var/spool/cron/crontabs
man cron
rgs,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2010 03:26 AM
тАО07-28-2010 03:26 AM
Re: cron log file gets delete automatically
Actual problem was somebody renamed log files to OLDlog.. This was the reason, I renamed to log and problem resolved.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2010 03:29 AM
тАО07-28-2010 03:29 AM
Re: cron log file gets delete automatically
Verify permission for log files
-rw-r--r-- 1 root root 0 Jun 6 03:44 OLDlog
-rw-r--r-- 1 root root 0 Jun 13 03:45 log
rgs,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2010 03:44 AM
тАО07-28-2010 03:44 AM
Re: cron log file gets delete automatically
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2010 04:24 AM
тАО07-28-2010 04:24 AM