- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Trying to find 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
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
11-21-2006 08:20 AM
11-21-2006 08:20 AM
want to tryout a product called Logrotate. It was suggested I may find it in the HP Poprting and Archive centre, but I am having problems with this. CAn anyone point me to the centre or the product?
thanks
Maria
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2006 08:25 AM
11-21-2006 08:25 AM
Re: Trying to find logrotate
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/logrotate-2.5/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2006 09:16 AM
11-21-2006 09:16 AM
Re: Trying to find logrotate
thanks
Maria
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2006 09:43 AM
11-21-2006 09:43 AM
Re: Trying to find logrotate
here is attached script to rotate system log files. This script is from previous post here and it is for 11.11 .
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2006 10:03 AM
11-21-2006 10:03 AM
Re: Trying to find logrotate
thanks for your replies. I am unable to open attachment. Have tried searching for logrotate in the forum/ tech knowledge db havenet seen anything yet that may be what you have tried sending in attachment. Is there another way to view the doc?
appreciate your time with this.
Maria
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2006 10:52 AM
11-21-2006 10:52 AM
Solutionhttp://hpux.ee.ualberta.ca/hppd/hpux/Sysadmin/logrotate-2.5/
I know, I have used it.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2006 12:08 PM
11-21-2006 12:08 PM
Re: Trying to find logrotate
thanks
Maria
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2006 07:41 PM
11-21-2006 07:41 PM
Re: Trying to find logrotate
I attached a script by Bill Hassell which performs teh log rotae for any log files not only system log. It's easy to use and greatly customizable.
Take a look at it.
HTH,
Art
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2006 07:42 PM
11-21-2006 07:42 PM
Re: Trying to find logrotate
this is an example about configuration file.
Art
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2006 10:35 PM
11-21-2006 10:35 PM
Re: Trying to find logrotate
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2006 09:28 AM
11-30-2006 09:28 AM
Re: Trying to find logrotate
# cat /etc/logrotate.conf
# see "man logrotate" for details
# rotate log files weekly
weekly
# keep 4 weeks worth of backlogs
rotate 5
# create new (empty) log files after rotating old ones
create
# uncomment this if you want your log files compressed
#compress
# packages drop log rotation information into this directory
include /etc/logrotate.d
# no packages own wtmp -- we'll rotate them here
/var/adm/wtmp {
monthly
create 0664 adm adm
rotate 1
}
# system-specific logs may be also be configured here.
In /etc/logrotate.d create config files for logs you want to rotate:
root@sha1 [ /etc/logrotate.d ]
# ll
total 48
-rw-r--r-- 1 root sys 65 May 19 2004 maillog
-rw-r--r-- 1 root sys 65 Mar 14 2005 named.log
-rw-r--r-- 1 root sys 161 Aug 19 2004 syslog
Example:
# cat maillog
/var/adm/syslog/mail.log {
rotate 5
weekly
}
The in root's cron add:
# logrotate
0 0 * * * /opt/logrotate/bin/logrotate /etc/logrotate.conf >/tmp/logrotate.cron 2>&1
Rgds...Geoff