- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Re: Logs that can be deleted
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
тАО03-17-2004 11:31 PM
тАО03-17-2004 11:31 PM
What log files can i delete ?
When i delete them , are going to be created again ?
I am asking it because i need to free up some space.
Thanks
Bruno
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2004 12:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2004 12:08 AM
тАО03-18-2004 12:08 AM
Re: Logs that can be deleted
# kill -USR1 `cat /var/run/binlogd.pid`
See also # man binlogd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2004 12:18 AM
тАО03-18-2004 12:18 AM
Re: Logs that can be deleted
in the directory /var/adm/syslog.dated i have others directory and show bellow :
drwxr-xr-x 2 root adm 8192 Mar 13 00:10 12-Mar-14:09
drwxr-xr-x 2 root adm 8192 Mar 14 00:10 13-Mar-14:09
drwxr-xr-x 2 root adm 8192 Mar 15 00:10 14-Mar-14:09
drwxr-xr-x 2 root adm 8192 Mar 16 00:10 15-Mar-14:09
drwxr-xr-x 2 root adm 8192 Mar 17 00:10 16-Mar-14:09
drwxr-xr-x 2 root adm 8192 Mar 18 00:10 17-Mar-14:09
and the current directory .
Should i delete these directories ive shown ?
Thanks a lot
BRuno
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2004 12:21 AM
тАО03-18-2004 12:21 AM
Re: Logs that can be deleted
Don't delete patchlog files, they are a very valuable troubleshooting tool for detecting patch installation problems.
Check for dumps in /var/adm/crash/vm*
and delete them (if the cause is known)
Recycle /var/adm/biinary.errlog regulary via the command "kill -USR1
and gzip the most recent old file, customer services migth need it.
If you have COLECT_AUTORUN=1, then check for old collect.cgz files in /var/adm/collect.dated.
/var/adm/messages can be quite big, you can put a new one in place with 'cp /dev/null /var/adm/messages'
Make sure that in root's crontab you have the line with "dirclean" and "find /var/adm/syslog.dated..." enabled.
JB.
_JB_
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2004 12:29 AM
тАО03-18-2004 12:29 AM
Re: Logs that can be deleted
I have these 2 files
-rw-r----- 1 root system 12581984 Aug 3 2002 vmunix.0
-rw-r----- 1 root system 16002048 Aug 3 2002 vmzcore.0
when i delete them , are they going to be created again ?
Thanks
Bruno
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2004 12:35 AM
тАО03-18-2004 12:35 AM
Re: Logs that can be deleted
Yes, you may delete them, since we can suppose that the cause of the panic 2 years ago has been corrected in the meanwhile.
Next time this system panics, you will find a vmunix.1 and a vmzcore.1 in that directory.
You may delete those too, after HP gave you a solution for that panic.
Johan.
_JB_
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2004 12:38 AM
тАО03-18-2004 12:38 AM
Re: Logs that can be deleted
-rw-r----- 1 root system 12581984 Aug 3 2002 vmunix.0
-rw-r----- 1 root system 16002048 Aug 3 2002 vmzcore.0
when i delete them , are they going to be created again ?
yes, after the next crash, if the machine manages to write a dump. ;-)
Unless one of the directories is huge, you can leave /var/adm/syslog.dated in peace
this is being taken care or by root crontab. It keeps a number of days stuff older than that is deleted.
Interesting are the crash*data files in /var/adm/crash. The rest you can delete. You need them only for crash dump research.
greetings,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2004 12:46 AM
тАО03-18-2004 12:46 AM
Re: Logs that can be deleted
I am in this machine for 2 months and i don├В┬┤t have this information.
BUt the system is running well .
Now i have doubt to delete or not ...
But thanks a lot my friend .
Br
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2004 01:30 AM
тАО03-18-2004 01:30 AM
Re: Logs that can be deleted
usually you find big files in /var/adm
like messages, wtmp, utmp.
sometimes the Xerror will get big as sell.
Since you will have the machine only two months, I won't put too much work into it.
Michael