- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Re: how to delete old binary.errlog
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
09-18-2007 06:08 PM
09-18-2007 06:08 PM
how to delete old binary.errlog
I have already copy the current binary.errlog and now i want to delete the old one how to do it..
thank's for your helping me..
Rgds
gimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2007 07:19 PM
09-18-2007 07:19 PM
Re: how to delete old binary.errlog
# kill -USR1 `cat /var/run/binlogd.pid`
Your current file will be renamed to
/usr/var/cluster/members/{memb}/adm/binlog.saved/binary.errlog.saved
You may also look at binlogd man pages
# man binlogd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2007 04:01 PM
09-19-2007 04:01 PM
Re: how to delete old binary.errlog
command to uncomment the crontab entry:
#0 2 1 * * kill -USR1 `cat /var/run/binlogd.pid`
The new crontab entry will do the following:
1) Run at 2:00 AM on the first day of every month
2) Automatically rename the current log file to be:
/usr/var/adm/binlog.saved/binary.errlog.saved
3) Start a new copy of the log file, /usr/adm/binary.errlog.
That the saved log file overwrites the previous version, so you should add a line to crontab to copy the existing saved file if you want to preserve it.
For more details refer man page of binlogd.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2007 02:37 PM
09-20-2007 02:37 PM
Re: how to delete old binary.errlog
I will try
Rgds
Gimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2007 04:31 PM
09-20-2007 04:31 PM
Re: how to delete old binary.errlog
Make sure you say thanks by assigning points as appropriate...
http://forums1.itrc.hp.com/service/forums/helptips.do?#28
Regards, Bala S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2007 10:45 PM
09-22-2007 10:45 PM
Re: how to delete old binary.errlog
Please find the procedure to restart the process and create a new binary error log file.
Restarting Binary Errlog
If binary.errlog got corrupted or size becomes too large.
Tru64 version 4.x
Login to system as Superuser or root
# cd /var/adm
Save existing binary errlog in compress form or copy
# cat binary .errlog | compress > binary.errlog_
or
# cp binary.errlog binary.errlog_01oct03
Copy empty file to binary.errlog or create new file
# cp /dev/null binary.errlog
or
# > binary.errlog
To test new binary errlog, create a test entry
# logger â b â this is a test messageâ
Use dia or uerf to display test message and prove the errlog is working
# /usr/sbin/dia
Tru64 Unix version 5.x
# cd /var/cluster/members/member0/adm
or
# cd /var/adm
Save existing binary errlog
# cp binary.errlog binary.errlog_
Stop the daemon binlogd
# /sbin/init.d/binlog stop
Create new binary.errlog using
# >binary.errlog
or
# kill â USR1 â cat /var/run/binlogd.pidâ
Start the daemon
# /sbin/init.d/binlog start
Use /usr/sbin/dia to see the entries in errlog.
Please assign points.
Shardha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2007 03:01 PM
09-26-2007 03:01 PM