- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- File system /var is fulll
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
03-08-2004 02:10 AM
03-08-2004 02:10 AM
My /var file system is full.. i know that the /var/spool mqueue has all space used... can i erase all files on that directory?
Something is afected if i erase yhat files?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2004 02:47 AM
03-08-2004 02:47 AM
SolutionLook here for type of files you'll find :
http://nscp.upenn.edu/aix4.3html/files/aixfiles/mqueue.htm
J
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2004 03:01 AM
03-08-2004 03:01 AM
Re: File system /var is fulll
This will show lots of email that is waiting to get off your machine.
If you care about the mail, you don't want to delete it.
rm -f /var/spool/mqueue/*
Will clear the mail.
It will give you space on /var
Next you need to look at your mail setup and figure out why mail can't get off the box.
/etc/resolv.conf
Valid DNS servers
sendmail.cf
Is DS relay set and not working?
sendmail -v -d8 -d38 someone@aol.com
type some text
.
will get you trace diagnostics so this does not happen again.
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
03-08-2004 03:20 AM
03-08-2004 03:20 AM
Re: File system /var is fulll
"mailq" command prints a summary of the mail messages.
Regards,
Sergejs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2004 06:50 AM
03-08-2004 06:50 AM
Re: File system /var is fulll
Greetings, Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2004 09:17 AM
03-08-2004 09:17 AM
Re: File system /var is fulll
Using df -k command i see var until 100% used.. but whn i use du -k on /var i have only 82 MB used.. /var/size is 2 GB.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2004 09:39 AM
03-08-2004 09:39 AM
Re: File system /var is fulll
did you execute the du on /var as root? Files you are not allowed to read will not be reported...
Greetings, Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2004 09:10 PM
03-08-2004 09:10 PM
Re: File system /var is fulll
The result is normal :
"If an argument is the absolute file name of a disk device node containing a mounted filesystem, df shows the space available on that filesystem rather than on the filesystem containing the device node (which is always the root filesystem). " (from man df).
In other words, umount /var and df shoudl give you proper result. DU result is the right one.
BTW, why -k argument, if you don't precise block size ?
I usually use df -h or du -h (or -H).
j