- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Logrotate
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
тАО12-18-2006 06:43 AM
тАО12-18-2006 06:43 AM
error reading top line of /opt/logrotate/adm/logrotate.status
( I didn't have a logrotate.status file, just touched one - not sure what the syntax of this state file is). My /etc/logrotate.conf file has the foll lines
#Sample Log rotate Configuration file
/var/log/syslog/syslog.log {
rotate 5
weekly
postrotate
/sbin/killall -HUP syslogd
endscript
}
Thanks!
Geetha.
Solved! Go to Solution.
- Tags:
- logrotate
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2006 06:57 AM
тАО12-18-2006 06:57 AM
Re: Logrotate
drwxr-x--x 2 root sys 96 Feb 14 2006 adm
Status file was created with these permissions:
-rw-rw-rw- 1 root sys 2088 Dec 17 23:59 logrotate.status
First line of the status file is:
logrotate state -- version 1
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2006 07:50 AM
тАО12-18-2006 07:50 AM
Re: Logrotate
My /etc/logrotate.conf
#Sample Log rotate Configuration file
/var/adm/syslog/syslog.log {
rotate 5
daily
postrotate
/sbin/killall -HUP syslogd
endscript
}
what is wrong?
crontab entry
# Logrotate
45 14 * * * /opt/logrotate/bin/logrotate /etc/logrotate.conf >/tmp/logrotate.cron 2>&1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2006 08:00 AM
тАО12-18-2006 08:00 AM
SolutionJeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2006 08:23 AM
тАО12-18-2006 08:23 AM
Re: Logrotate
kill -HUP `cat /var/run/syslog.pid`
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2006 05:47 AM
тАО12-19-2006 05:47 AM