- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Can I delete/nullify this file ?
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
05-24-2006 03:28 PM
05-24-2006 03:28 PM
found /var is 100% . hp-ux 11i.
Also found /var/opt/ids/error.log is 2231MB.
-rw------- 1 ids ids 2240241664 May 24 23:26 error.log
Q: What is this file ? can i nullify it.
Please suggest,
Thanks,
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2006 03:46 PM
05-24-2006 03:46 PM
Re: Can I delete/nullify this file ?
You can do it with, # >/var/opt/ids/error.log
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2006 03:51 PM
05-24-2006 03:51 PM
SolutionLog files do not normally get that large without a reason.
Judging from the user id that owns the file and the directory that it is in, I would guess that this log file belongs to some type of IDS (Intrusion Detection System). It could be part of HP's HIDS software.
Do an 'fuser -u error.log' to see what process is accessing the file and then do a 'ps -ef' and look for that process id to see what the actual process is. From there you should be able to determine what the software is that is using this file.
Again, please do not just clear out a log file because it grows too big. You need to understand WHY it is growing so large first so you can fix any problems and hopefully prevent them in the future.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2006 03:58 PM
05-24-2006 03:58 PM
Re: Can I delete/nullify this file ?
/var/opt/ids/error.log :
This file is from hp-ux Host Intrusion Detection system software, and can be nullified if causing filesystem to full.
But as Patrick said you must check the cause of it .
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2006 04:09 PM
05-24-2006 04:09 PM
Re: Can I delete/nullify this file ?
I have nullified it and now /var reduced to 33% .
But I found this file is still growing in fast rate , 124MB so far in just 10 min.
-rw------- 1 ids ids 124520456 May 25 00:00 error.log
Patrick ,
here is the output of # fuser -u error.log
# [/var/opt/ids] fuser -u error.log
error.log: 20754o(ids) 20756o(ids) 20755o(ids)
Any help is highly appreciated,
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2006 06:52 PM
05-24-2006 06:52 PM
Re: Can I delete/nullify this file ?
# ps -fu ids
# /sbin/init.d/idsagent stop
# mv /var/opt/ids/error.log /var/opt/ids/error.log.old
# compress /var/opt/ids/error.log.old
# /sbin/init.d/idsagent start
Verify file /etc/rc.config.d/id
# HP-UX Host IDS configuration.
#
# IDS: Set to 1 to start idsagent daemon on boot
# By default we set it to 0 so that the idsagent startup
# is SKIPed at system boot.
# The IDS_importAgentKeys script will reset the flag
# to 1 once all certificates are generated.
#
IDS=1
If IDS=0 not start process ids agent.
rgs,
ran
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2006 10:02 PM
05-24-2006 10:02 PM
Re: Can I delete/nullify this file ?
If a log file is growing rapidly, always check what is the root cause.
To rotate your logfile, create a script to rotate the logfile regurarly, via cron.
Also check for the logrotate tool.
Darrel