- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /var filling up - truncating activity_log
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
тАО11-10-2005 05:34 AM
тАО11-10-2005 05:34 AM
System: HP 9000/800 N4000
OS: HP-UX 11.11
Thank you
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2005 06:01 AM
тАО11-10-2005 06:01 AM
SolutionAs the name suggests it is the activity log but to trim the log it is simple
make a copy of this file on some other filesystem and then do
#>activity_log
or #cat /dev/null >activity_log
This will make the file size 0.
Rgds
HGN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2005 06:21 AM
тАО11-10-2005 06:21 AM
Re: /var filling up - truncating activity_log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2005 06:27 AM
тАО11-10-2005 06:27 AM
Re: /var filling up - truncating activity_log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2005 06:38 AM
тАО11-10-2005 06:38 AM
Re: /var filling up - truncating activity_log
cp /var/stm/logs/sys/activity_log
> /var/stm/logs/sys/activity_log
Do it as often as needed.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2005 08:12 AM
тАО11-10-2005 08:12 AM
Re: /var filling up - truncating activity_log
I am unable to read the System Activity log on either the copied over file or the activity_log back on the /var volume. I get the error message "failed to complete formatting of raw log files...rfer to the ui activity log" and "entry had an unknown tag (1131653896).
The gui display had a yellow indicator on CPU (5d3) 37 "information killed" and a grey indicator on the SCSI disk at 1/12/0/1.9.0. The ioscan of the device shows it is claimed.
When I double click each display, the following details are shown:
-- Current Device Status Log for CPU on path 37 --
The following information was archived during the last hardware scan:
Product : CPU
Qualifier : 5d3
Hardware Path : 37
Device Type : Processor
Device Qualifier : CPU
Most Recent Tool Run : Information
Tool Exit Status : Success
Current Status : Killed
Recommended Action : Check test_activity_log.
Installed tools:
Diagnostic : None
Verifier : None
Exerciser : cpu
Information : cpu
Expert Tool : cpu (Licensed)
Firmware Update : None
-- Current Device Status Log for SCSI Disk on path 1/12/0/1.9.0 --
The following information was archived during the last hardware scan:
Product : SCSI Disk
Qualifier : HP18.2GST318406LC
Hardware Path : 1/12/0/1.9.0
Device Type : Disk
Device Qualifier : Hard
Most Recent Tool Run : None
Tool Exit Status :
Current Status :
Recommended Action : None
Installed tools:
Diagnostic : None
Verifier : disk
Exerciser : disk
Information : scsi_disk
Expert Tool : scsi_disk (Licensed)
Firmware Update : scsi_disk (Licensed)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2005 12:12 PM
тАО11-10-2005 12:12 PM
Re: /var filling up - truncating activity_log
You need to restart the STM, here are the steps to reclaim space taken by /var/stm/logs/sys/activity_log file :
Recover the space used by the activity_log file by doing the following:
Stop STM
# xstm
File --> Administration --> STM Shutdown
Move (or remove) the activity_log file
# cd /var/stm/logs/sys; mv activity_log /tmp/activity_log.old
Restart STM
# xstm
File --> Administration --> STM Startup
A new activity_log will now be created. The old file can be removed or archived.
Hope this information can help you.
Cheers,
AW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2005 04:50 PM
тАО11-10-2005 04:50 PM
Re: /var filling up - truncating activity_log
Next time before you close the thread :
assign the point. So everybody end with big smile.
Happy posting.
Cheers,
AW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2005 08:55 PM
тАО11-10-2005 08:55 PM
Re: /var filling up - truncating activity_log
What version is displayed when you start STM?
To get the latest version of OnlineDiags, go to http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B6191AAE
The table of released versions is at http://www.docs.hp.com/en/diag/stm/stm_upd.htm#table.
The latest version for 11.11 is A.49.10 (HWE0509), and the current patch to be applied to that is PHSS_33918.
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2005 03:05 AM
тАО11-11-2005 03:05 AM
Re: /var filling up - truncating activity_log
The stm version I'm running is A.29.00 B4708AA.
Looking at stm I see that I still have a yellow indicator on CPU (5d3) 37 "information killed" and a grey indicator on the SCSI disk at 1/12/0/1.9.0. The ioscan of the device shows the drive is "claimed" and gpm shows all 4 CPUs as enabled with activity. Should I setup a hardware call?