- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: /var/stm/log/os full
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-21-2005 01:45 AM
09-21-2005 01:45 AM
My /var is full. When I tried to check what was causing the problem, I found that they r lot of raw log files created in /var/stm/log/os
named log*.raw they are almost 100's of such files in this directory they were created from last April.
Could any one tell me how this log files are generated. Can I delete them.
Thanks,
Smitha.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2005 01:50 AM
09-21-2005 01:50 AM
Re: /var/stm/log/os full
They can be deleted, but if you are seeing that many files it could indicate a problem. You really should use the STM tools to look at the logs and see what they contain.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2005 01:52 AM
09-21-2005 01:52 AM
Re: /var/stm/log/os full
start xstm
# xstm
File --> Administration --> STM Shutdown
move these files to a save place.
/var/stm/logs/sys/activity_log
/var/stm/data/diaglogd_hold_list
and /var/stm/logs/sys/diaglogd_activity_log
# xstm
File --> Administration --> STM Stratup
Regards
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2005 01:52 AM
09-21-2005 01:52 AM
Re: /var/stm/log/os full
/sbin/init.d/diagnostic stop
delete files at : /var/stm/logs/os"
/sbin/init.d/diagnostic start
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2005 01:54 AM
09-21-2005 01:54 AM
Re: /var/stm/log/os full
These are raw files creating during stm/cstm. These can be easily moved to some other location. But the size of the files should not be very big really. Is it?
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2005 01:56 AM
09-21-2005 01:56 AM
Re: /var/stm/log/os full
Delete the file /var/stm/logs/sys/activity_log
You can stop this file from keep growing by typing the following command:
#/sbin/init.d/diagnostics stop
make sure you have logged in as root.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2005 01:56 AM
09-21-2005 01:56 AM
Re: /var/stm/log/os full
cd /var/stm
# ls -lR | sort +4 -5nr | more
Also you can check
/var/adm/syslog/mail.log file , it also grows to big enough size, to reduce /var filesytem,
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2005 02:04 AM
09-21-2005 02:04 AM
Re: /var/stm/log/os full
one reason for these many files can be a hardware problem. Check with ioscan.
(a defective disk produced 23 files every day).You can delete all files but the last two or three without any problem.
Bye, Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2005 02:07 AM
09-21-2005 02:07 AM
Re: /var/stm/log/os full
Thanks a lot.
Actually i tried to check the file sizes in /var all are ok except for /var/stm/log/os and when i open it they are lot of log files in it from april. When I tried to read them I could not since they are raw files. I am new to sys administration so I really didnot know from where this files are created and if I can delete them.
So can any of you clearly tell me why they r created and how I can read the log.
Thanks,
Singis.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2005 02:26 AM
09-21-2005 02:26 AM
Solutionthe logs are created from the process "diaglogd".
diaglogd is part of the online diagnostics.
Always if a driver detects a hardware error (f.e. scsi driver, sdisk driver, fibre channel driver etc.) an error is logged by diaglogd to /var/stm/logs/os/logX.raw.cur.
If the rawX.log.cur reaches 512k it is switched and a new file with X+1 will continue to be the current logfile.
You can read the files with the Support Tools Manager (cstm, mstm or xstm).
For cstm it works as follows:
cstm
...
cstm>ru logtool
...
Logtool Utility>sr
-- Logtool Utility: Select Raw Log File --
Select a raw log file or files to view, format or filter.
[/var/stm/logs/os/log205.raw.cur]
Path: /var/stm/logs/os/
Enter Cancel or File Name:
at this point you can enter any logfile name (full pathname) or press enter to take the current logfile
You will then see a summary of events.
You can see the details with
Logtool Utility>fl
-- Logtool Utility: Format Raw Log File --
Select a directory into which to place the formatted file:
Directory: [/var/stm/logs/os/]
(you MUST choose here a directory in which a formated log will fit (f.e. /tmp). Don't take /var/stm/logs/os as it is full on your server !!!)
normaly, the errors from logtool are also written in clear text in the file(s) /var/opt/resmon/log/event.log
If you have no current hardware problem it is safe to delete or zip outdated logfiles
best regards
Stefan
Stefan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2005 02:33 AM
09-21-2005 02:33 AM
Re: /var/stm/log/os full
this file can be read by cstm
# cstm
cstm> runutil logtool
They are files strictly of the STM product.
Then you have to discover the reason why they are created searching into log file of STM. You can start the troubleshooting by seeing into syslog.log. Anyway if you tell that they are on last April I think you can follow suggestions and
/sbin/init.d/diagnostic stop
rm /var/stm/logs/os/*
/sbin/init.d/diagnostic start
Also you should check if you have the latest STM version.
HTH.
Best regards,
Fabio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2005 02:44 AM
09-21-2005 02:44 AM
Re: /var/stm/log/os full
Thanks for your help,
Singis.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2005 02:58 AM
09-21-2005 02:58 AM
Re: /var/stm/log/os full
Thanks
Hanwant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2005 11:27 PM
09-22-2005 11:27 PM
Re: /var/stm/log/os full
Yes, that would explain the files. You should have received EMS notifications about the errors, in the /var/opt/resmon/log/event.log file, and via emails to root, if the EMS HW Monitors are running. As well as diaglogd logging to the logX.raw.cur, it notifies the relevant HW monitor (disk_em for disk drives) and the monitor will generate an EMS notification.
Regarding turning off the diagnostics, as suggested by Hanwant above, you wouldn't do this except as a temporary work-around.
And as suggested, make sure that you have up-to-date OnlineDiags installed (though that doesn't sound like a factor in this case).
Andrew