- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /var is 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
05-19-2004 07:35 AM
05-19-2004 07:35 AM
/var is full
I think the problem is due to patches
Please indicate me
how to Commit superseded patches.
Run cleanup on patches.
Thank u
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2004 07:42 AM
05-19-2004 07:42 AM
Re: /var is full
To commit patches that have been superseded twice do:
# cleanup -c 2
To commit patches that have been superseded only 1 time do:
# cleanup -c 1
If you want to preview what action will be talken without actually do anything (probably a good idea) do:
# cleanup -p -c 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2004 07:43 AM
05-19-2004 07:43 AM
Re: /var is full
T
But there are other command options you could use to do some cleanup..so you might review the manpage for cleanup.
Rgrds,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2004 07:45 AM
05-19-2004 07:45 AM
Re: /var is full
You can verify just what's using the space with the following command:
du -akx /var | sort -nr | more
This will come sorted with the biggest dirs/files at the top.
And as Patrick stated, cleanup is the command to trim /var/adm/save. BUT get a backup of it first as you won't be able to roll back to a patch that's been committed - you'd have to restore first.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2004 08:21 AM
05-19-2004 08:21 AM
Re: /var is full
also , check /var/adm/crash
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2004 08:25 AM
05-19-2004 08:25 AM
Re: /var is full
If the cleanup gives you a good safety margin great, but if you are still in the 90% plus range, you may need to expand /var
If you have space and onlineJFS, you're all set. If not, you'll need to expand /var in single user mode.
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
05-19-2004 01:49 PM
05-19-2004 01:49 PM
Re: /var is full
Try going to the root of /var and looking to see what directories are your largest space hogs. I usually use just 'du -s *' as root. This will give you the total size of all of the files and subdirectories in /var. From there you can see if it's an auditing issues (for us we have files under /var/audit), patch problem (again, for us it's /var/adm/patch), or logs (/var/logs, /var/adm/logs), etc. If your system isn't a secure or classified system, post the findings of your 'du'.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2004 07:19 PM
05-19-2004 07:19 PM
Re: /var is full
/var/adm/btmp
/var/adm/sulog
/var/adm/wtmp
If large you can null them (e.g. > /var/adm/btmp). Do NOT rm them.
/var/adm/cron/OLDlog
/var/adm/cron/log
/var/adm/lp/log
/var/adm/syslog/OLDsyslog.log
/var/adm/syslog/syslog.log (examine the contents first in case you have system problems you don't yet know about).
I hope this helps.
Mark Syder (like the drink but spelt different)