- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /var/tmp is filling up... many files in /var/stm/l...
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
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
тАО07-01-2004 07:05 AM
тАО07-01-2004 07:05 AM
/var/tmp is filling up... many files in /var/stm/logs/os
There are many files named logXXX.raw and they are of file type "awk program text"
Can these safely be purged?
Is there a manual or white paper that indicates that logs should be routinely purged on HP UX?
thanks
Angie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2004 07:12 AM
тАО07-01-2004 07:12 AM
Re: /var/tmp is filling up... many files in /var/stm/logs/os
You can remove all the files except *.cur and memlog files. It's a good idea to actually look at those files and see what is happening.
stm GUI (logtool) can provide you that information.
Look at the following document on information about these files.
http://docs.hp.com/hpux/onlinedocs/diag/logtool/log_data.htm#begin
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2004 07:17 AM
тАО07-01-2004 07:17 AM
Re: /var/tmp is filling up... many files in /var/stm/logs/os
How is yours setup?
How is your data in /var/stm/logs/os/* affecting your /var/tmp?
Should be a different FS imho...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2004 07:24 AM
тАО07-01-2004 07:24 AM
Re: /var/tmp is filling up... many files in /var/stm/logs/os
Thank you.
Angie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2004 07:38 AM
тАО07-01-2004 07:38 AM
Re: /var/tmp is filling up... many files in /var/stm/logs/os
Have a look at this thread:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=624564
Hope that helps.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2004 07:14 PM
тАО07-01-2004 07:14 PM
Re: /var/tmp is filling up... many files in /var/stm/logs/os
In addition to the files already mentioned there are files in /var/adm that should be routinely cleared:
btmp, sulog, wtmp
syslog/syslog.log (check the file for errors or warnings first)
cron/OLDlog, cron/log
lp/log.
Do NOT delete any of these files - they are essential files, but you can clear them by:
> btmp
etc.
Mark Syder (like the drink but spelt different)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2004 07:29 PM
тАО07-01-2004 07:29 PM
Re: /var/tmp is filling up... many files in /var/stm/logs/os
We have to rotate the log files using logrotate with cron tab.
It is good to check the file permission and it is contents.
raw files are real time files.
check this out. We have to be care to do the rotation. Use the time stamps of the file. If it too much behind now. It can be purged.
http://theresa.hostrealm.com/features.php?f=rawlog
Regards,
Muthukumar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2004 08:48 PM
тАО07-01-2004 08:48 PM
Re: /var/tmp is filling up... many files in /var/stm/logs/os
as Bharat said check this thread:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=624564
I am going to give you the same answer that I already posted in that thread:
************************
This problem is a typical problem for /var.
Check the following:
1. cd /var/adm/syslog:
- you can move OLDsyslog.log to another filesystem;
- check mail.log, if you have old mail then you can trim this file:
# > mail.log
2. cd /var/adm/crash:
if there was a TOC then this directory is not empty and usually is enough large.
If you are not interested (date is very old) then you can delete all files under there.
3. cd /var/stm/logs/os:
here there are info for log of STM.
Keep logN.raw.cur and memlog and delete other files.
Just any thoughts...
Best regards,
Fabio