Under Solaris 9, my system is complaining that the /var directory is full.

Hi,
What can I do to free up space in the /var directory without deleting or removing important files used by other processes and programs? Please help anyone!
WannaBgeek

Hello,
Most of the files in /va/adm folder are log files, you can safely delete/empty those files( caution: Dont delete the files without .0 or .1 etc extensions, Some applications does not work if log file does not exists). Make those files empty instead of deleting it. Do the same in /var/log folder.
example:
root@sal # ls -al /var/adm/
total 3544
drwxrwxr-x 9 root sys 512 Sep 26 03:10 .
drwxr-xr-x 37 root sys 1024 Dec 31 2007 ..
drwxrwxr-x 5 adm adm 512 Feb 15 2007 acct
-rw------- 1 uucp bin 0 Feb 14 2007 aculog
drwxr-xr-x 2 adm adm 512 Feb 14 2007 exacct
-r--r--r-- 1 root other 14028 Sep 26 14:32 lastlog
drwxr-xr-x 2 adm adm 512 Feb 14 2007 log
-rw-r--r-- 1 root root 31550 Sep 26 08:24 messages
-rw-r--r-- 1 root root 88561 Sep 25 09:31 messages.0
-rw-r--r-- 1 root root 198286 Sep 18 19:02 messages.1
-rw-r--r-- 1 root root 223531 Sep 11 15:07 messages.2
-rw-r--r-- 1 root root 195692 Sep 4 19:42 messages.3
drwxr-xr-x 2 adm adm 512 Feb 14 2007 passwd
drwxrwxr-x 2 adm sys 512 Feb 15 2007 sa
drwxr-xr-x 2 root sys 512 Feb 14 2007 sm.bin
-rw-rw-rw- 1 root bin 0 Feb 14 2007 spellhist
drwxr-xr-x 2 root sys 512 Feb 14 2007 streams
-rw------- 1 root root 7628 Sep 22 16:18 sulog
-rw-r--r-- 1 root bin 6696 Sep 26 14:32 utmpx
-rw-r--r-- 1 root root 0 Feb 15 2007 vold.log
-rw-r--r-- 1 adm adm 990636 Sep 26 14:32 wtmpx
You can do rm on /var/adm/ messages.0, /var/adm/ messages.1 etc
Empty the other files using > ex: > /var/adm/ messages; > /var/adm/sulog
Thanks,
sal.

Similar Messages

  • Mail Reports that the home directory is full

    My iBook has Norton Firewall on it and when I connected it to the high speed internet in a hotel room, the Firewall went crazy logging thousands of hits in a few minutes. Eventually the iBook stopped and a multi-lingual message requested that I reboot the iBook.
    In the meantime, I had started the Mail program.
    Once I managed to get the iBook working again, (it took some time and I had to restart the machine with the shift key down), I ran the usual disk clean-up utilities, Disk Utility, DiskWarrior and Drive Genius. The machine then rebooted and everything except mail worked correctly. Mail will not start but instead reports the following:
    Mail cannot update your mailboxes
    because your home directory is full.
    You must free up space in your home folder before
    using Mail. Delete unneeded documents or move
    documents to another volume.
    There is lots of free disk space on this machine and I can work with files with other programs so I think a mail file must be corrupted. I would appreciate hearing from anyone who knows how to fix this problem.
    iBook G3, G4 Minitower   Mac OS X (10.4.6)  

    My question has been answered by a posting made to another member during the time I was typing in my problem.
    Thanks

  • Macbook pro redina display keeps on telling me that the hard drive is full from Videos, and yet their is no videos, what can i do?

    Macbook pro redina display keeps on telling me that the hard drive is full from Videos, and yet their is no videos, what can i do?

    If the Storage display seems to be inaccurate, try rebuilding the Spotlight index.
    Empty the Trash if you haven't already done so. If you use iPhoto, empty its internal Trash first:
              iPhoto ▹ Empty Trash
    Do the same in other applications, such as Aperture, that have an internal Trash feature. Then restart the computer. That will temporarily free up some space.
    According to Apple documentation, you need at least 9 GB of available space on the startup volume (as shown in the Finder Info window) for normal operation. You also need enough space left over to allow for growth of the data. There is little or no performance advantage to having more available space than the minimum Apple recommends. Available storage space that you'll never use is wasted space.
    When Time Machine backs up a portable Mac, some of the free space will be used to make local snapshots, which are backup copies of recently deleted files. The space occupied by local snapshots is reported as available by the Finder, and should be considered as such. In the Storage display of System Information, local snapshots are shown as  Backups. The snapshots are automatically deleted when they expire or when free space falls below a certain level. You ordinarily don't need to, and should not, delete local snapshots yourself. If you followed bad advice to disable local snapshots by running a shell command, you may have ended up with a lot of data in the Other category. Ask for instructions in that case.
    See this support article for some simple ways to free up storage space.
    You can more effectively use a tool such as OmniDiskSweeper (ODS) or GrandPerspective (GP) to explore the volume and find out what's taking up the space. You can also delete files with it, but don't do that unless you're sure that you know what you're deleting and that all data is safely backed up. That means you have multiple backups, not just one. Note that ODS only works with OS X 10.8 or later. If you're running an older OS version, use GP.
    Deleting files inside an iPhoto or Aperture library will corrupt the library. Any changes to a photo library must be made from within the application that created it. The same goes for Mail files.
    Proceed further only if the problem isn't solved by the above steps.
    ODS or GP can't see the whole filesystem when you run it just by double-clicking; it only sees files that you have permission to read. To see everything, you have to run it as root.
    Back up all data now.
    If you have more than one user account, make sure you're logged in as an administrator. The administrator account is the one that was created automatically when you first set up the computer.
    Install the app you downloaded in the Applications folder as usual. Quit it if it's running.
    Triple-click anywhere in the corresponding line of text below on this page to select it, then copy the selected text to the Clipboard by pressing the key combination command-C:
    sudo /Applications/OmniDiskSweeper.app/Contents/MacOS/OmniDiskSweeper
    sudo /Applications/GrandPerspective.app/Contents/MacOS/GrandPerspective
    Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window by pressing command-V. You'll be prompted for your login password, which won't be displayed when you type it. Type carefully and then press return. You may get a one-time warning to be careful. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator. Ignore any other messages that appear in the Terminal window.
    The application window will open, eventually showing all files in all folders, sorted by size. It may take a few minutes for the app to finish scanning.
    I don't recommend that you make a habit of doing this. Don't delete anything as root. If something needs to be deleted, make sure you know what it is and how it got there, and then delete it by other, safer, means. When in doubt, leave it alone or ask for guidance.
    When you're done with the app, quit it and also quit Terminal.

  • When sending e-mail, a message says that the sent folder is full,-- even though it is not-- however the mail still gets sent. No problem sending mail to myself

    I am running Thunderbird version 33.1 Recently, when sending e-mail, I get an error message indicating that the sent folder is full and that I should empty or compress it to fix the problem-- so I emptied it-- problem remains. Also, there is no record of sending the e-mail in the sent folder, even though the mail has been sent. No such problems occur when I send mail to myself.
    Any suggestions ???

    If you deleted some of the messages you have done one half of the process. Deleting a message just marks it for deletion and hides it from view. You have to COMPACT the folder to actually delete the messages and free up the space.
    I agree that Thunderbird did a poor job naming this process because it is the subject of much misunderstanding.
    Read about compacting here.
    http://kb.mozillazine.org/Thunderbird_:_Tips_:_Compacting_Folders
    I suggest that you also read this article about maintaining your email system to help prevent problems.
    http://kb.mozillazine.org/Keep_it_working_-_Thunderbird

  • The DNS server has encountered a critical error from the Active Directory. Check that the Active Directory is functioning properly. The extended error debug information (which may be empty) is "". The event data contains the error.

    got event ID 4015 and source DNS-Server-Service. please suggest how to fix this issue
    The DNS server has encountered a critical error from the Active Directory. Check that the Active Directory is functioning properly. The extended error debug information (which may be empty) is "". The event data contains the error.
    Raj

    Hi
     first run "ipconfig /flushdns" and then "ipconfig /registerdns" finally restart dns service and check the situation,also you can check dns logs computer management ->Event viewer->Custom Views->Server roles->DNS.

  • I'm new to the MAC world. I turned my computer on from 'sleep' mode, and a window was up stating that the IOS disk was full; asked me to force quit, then it just froze. It's been 2 hours. Help! I'm worried about losing photos/videos of my children. Thx!

    I'm new to the MAC world. I turned my computer on from 'sleep' mode, and a window was up stating that the IOS disk was full; asked me to force quit, then it just froze. It's been 2 hours. Help! I'm worried about losing photos/videos of my children. Im not sure if there's something special I need to do once I turn it back on; in the meantime, its still on... which I'm afraid the picture on the screen will burn into the screen. Does that happen on iMac's? Thx!

    Try a hard reset. ( holding Power til it restarts)
    Once to your desktop. Click the Apple icon >> About this mac >> More info>> Storage
    Once you see what you have the most of. Try to see what you can delete.
    Open up any folder>>all files>> or buy an external to store more data.
    Once deleting make sure you empty your trash.
    If you are new and its a new computer, you might need to bring it to a store for further assistence.
    Coast Guard Mechanic w/ an Apple Problem

  • Hp 4300 all-in-one won't recognize that the paper tray is full; says "no paper" and won't print.

    It won't recognize that the paper tray is full. Never happened before.

    Hey GenaT,
    I totally understand your frustration of not being able to print to wirelessly to your  PS 6520. Please take a look at this document and follow the steps listed below whichever MAC OS X you are currently running:  No response from printer.
    I hope this helps, let me know if you require more assistance.
    Thanks,
    HevnLgh
    I work on behalf of HP
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to the left of the reply button to say “Thanks” for helping!

  • My Macbook air keeps getting a message saying that the startup disk is full. I don't have picture, music, or movies on it. Im not sure whats wrong with it.

    My Macbook air keeps getting a message saying that the startup disk is full. I don't have picture, music, or movies on it. Im not sure whats wrong with it.

    The first step is to check and see how much space really is there.  From the desktop right click on the drive in the upper right corner (at least it's there by default) and select "Get Info" to see how much space it reports as free.
    It's not just media files that eat up disk space, though they are often a major contributor.  Do you happen to be running one of the virtual machine programs (Parallels or VMWare Fusion)?  When you create a guest drive there you normally have a fairly decent amount of disk space dedicated to it and that can fill the drive.
    As well, a quick fix that may buy you some time is to empty the trash if you've not done so recently.  Click on the trash folder in your dock and then in the window that comes up select the option to empty the trash.
    If you can free up some space, there are programs that will help you find what files and directories are using disk space.  I've used Space Gremlin (in the App store) for that sort of thing, though there others.  If you run that sort of utlity you'll get some idea about what is really eating up the drive space.

  • I recently bought Photoshop Elements 12 and the system is saying that the Redemption Code is no longer active.  How do I get a new code that will allow access to the software ?

    I recently bought Photoshop Elements 12 and the system is telling me that the Redemption Code is no longer active.
    How do I get a new Code number that will allow met to access the software?

    you need your serial number.  you used your redemption number to redeem your serial number.
    if you don't know your serial number, check the account used to purchase or register your pse 12, Adobe ID

  • My MacBook Air keeps alerting that the startup disk is full and I've deleted applications, iTunes and MobileSync backups. What else??

    I don't consider myself an advanced Mac user but I'm really trying to use my Macbook Air much more than I do... but the biggest hurdle for me is that it's been alerting me that the startup disk has been full for several months now no matter what I do.  I'm on 10.9.1 OSX and can't even update to the newer version because I'm always out of space.  I have 4GIGs of memory and a 60GB SSD of which 52GB are in use.  Using OmniDisk Sweeper, I see I have 14.6 GB in Library of which 8.1 GB is Mail and 5GB is Application Support (and I have nearly 480 MB in Caches and 191 in Containers, 131MB in Messages).  As for the rest, I've deleted my iTunes content multiple times but my iTunes library STILL says 1.7GBs in Music.  I also have 672MB in Movies which I moved to an external drive and trashed so I'm not sure what still exists here.  I only have 2 movie files and I deleted them both!  I also have 16.9 MB in hob, whatever that is.
    I have 32.8 MB in Logs, 19.8 in Safari, 7.9 MB in Calendars, 5.6MB in Google, 4.3MB in Preferences (!!), and 1.6MB in GameKit (not sure what this is), 1.1MB in KeyChains.
    I'm just not sure what's going on.  I have everything backed up via SuperDuper on a huge external drive and when I delete on my Mac, it doesn't seem to "take."  Is is syncing that's the problem?  Are my iTunes music files from my iPhone reinstalling back on the Mac as are all my photos and movies?  I don't have that checked in iTunes so that shouldn't be happening either.
    Again, I'm not an advanced user so maybe I'm not completing a final step to make sure it doesn't sync with my other devices (I also have an iPad mini).  I like to get messages on my Macbook Air when I'm not near my phone but if it means I have 131MB in Messages that I can't pare down, I'd rather not.  I see no way to reduce the Messages file so that it's not so large.  I definitely want to get a handle on this before I even consider upgrading to a Macbook with more RAM and a bigger hard drive. 
    Final thoughts: Should I delete my mail accounts and just check mail on the web?  Can I delete most of the files in Application Support or leave them alone?  What's the difference between the MobileSync files and the MSYNC files?
    Thanks in advance for help!

    Go step by step and test.
    1. Start up in Safe Mode.
        http://support.apple.com/kb/PH11212
    2. Empty Trash.
       http://support.apple.com/kb/PH13806
    3. Disk space / Time Machine ?/ Local Snapshots
      Local backups
       http://support.apple.com/kb/ht4878
    4. Delete old iOS Devices Backup.
        iTunes > Preferences > Devices
        Highlight the old Backups , press “Delete Backup” and then “OK”.
        http://support.apple.com/kb/HT4946?viewlocale=en_US&locale=en_US
    5. Re-index Macintosh HD.
        This will take a while. Wait until it is finished.
        System Preferences > Spotlight > Privacy
        http://support.apple.com/kb/ht2409

  • How can I get my e-mails when I get a message that the folder inbox is full?

    I can't get my e-mail and the e-mails in my inbox have disappeared from Thunderbird, (but not from my server's web mail), so I can't divide it into several folders on Thunderbird to alleviate the problem. I don't know what happened to my old e-mails and I can't get new ones. I did go to my server's web site and deleted a huge number of e-mails there, but that didn't solve the problem. In fact, I wonder if this procedure caused my inbox to somehow disappear in Thunderbird.
    I get a message that says "The folder inbox is full and can't any more messages. To make room for more messages delete any old or unwanted mail and compact the folder."
    I have a new Mac with Maverick. However, in case this matters, all of my old files were migrated to the new Mac, including e-mails. Most of the old e-mails are in a separate folder, however. How can I restore my inbox and also get new e-mails?
    Thank you very much.
    I just thought of something else. I just changed my password with the server. Could this be the problem? I am able to *send* e-mail with Thunderbird, however.
    rteach1

    Technically the limit of 4Gb per folder should have been removed in a recent patch. Personally I an unconvinced as the developers have said so twice before and something else arose to bite people at 4Gb. So the limit probably does not exist anymore and moving mail and compacting will fix it without data loss if it occurs as recent issues have been about displaying mail after the 4Gb point, not storing it.
    Use the Ctrl and Shift keys in conjunction with your mouse to make multiple selections.
    click followed by Shift+ Click selects everything between the two clicks, including the items clicked.
    Holding the Ctrl key while clicking allows you to select or deselect mail to either fine turn the list from shift clicking or to make one of your own.
    Ctrl +A selects everything in the list from the current selection to the end.
    One option is create an important folder and move your important stuff to it then ctrl +A the whole remaining inbox.

  • I have a iphone 4S and I get a message that the pair list is full- how do I resolve this issue

    I have a Iphone 4s and I want to pair a bluetooth headset and I get a message that the pairlist is full. I deleated all the phone on the list and now cannot pair a new devise. I have no option to delete the other bluetooth items that I though I already deleted. STUCK ????

    Try turning Bluetooth off and then resetting the phone (by holding the on/off and home buttons until you see the Apple logo -- ignoring the off slider that appears first, then releasing).

  • Laptop won't startup because it says system BIOS detects that the fan is not working.

    I am using a HP Pavilion dv6-2105ea and running Windows 7 64-bit.The Laptop turns on and displays an error message saying
    " The system BIOS has detected a possible issue with the cooling fan.
    The cooling fan is an important part of a Notebook PC.Operatiion of a notebook PC for an extended period of time without the cooling fan may result in permanent damage to the notebook PC.
    Cooling Fan (902)
    Enter - Shutdown
    For more information please visit :  www.hp.com/go/techcenter/startup "
    Any help is greatly appreciated.Thanks in advance!

    Hi,
    Have you read the how to fix ? Worse case, hardware failed and you have to replace the fan.
    Regards,
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • What is the startup disk that the iMac says is full?

    Where is the startup disk and how can I access it to delete files.

    Do a search for and downlaod and install OmniDisk Sweeper and OnyX.
    Hard drive getting full or near full?
    Here are some of my tips for deleting or archiving data off of your internal hard
    Have you emptied your iMac's Trash icon in the Dock?
    If you use iPhoto, iPhoto has its own trash that needs to be emptied, also.
    If you use Apple Mail app, Apple Mail also has its own trash area that needs to be emptied, too!
    Other things you can do to gain space.
    Delete any old or no longer needed emails and/or archive older emails you want to save to disc, Flash drive/s or to ext. hard drive.
    Look through your Documents folder and delete any type of old useless type files like "Read Me" type files.
    Again, archive to disc, Flash drive or ext. hard drive and/or delete any old documents you no longer use or immediately need.
    Uninstall apps that you no longer use. If the app has a dedicated uninstaller, use it to completely uninstall the app. If the app has no uninstaller, then just drag it to the OS X Trash icon  and empty the Trash.
    Also, if you save old downloaded  .dmg application installer  files, you can either archive and delete these or just delete the ones you think you'll never install, again.
    Download an app called OnyX for your version of OS X.
    When you install and launch it, let it do its thing initially, then go to the cleaning and maintenance tabs and run all of the processes in the tabs. Let OnyX clean out all web browser cache files, web browser histories, system cache files, delete old error log files.
    Typically, iTunes and iPhoto libraries are the biggest users of HD space.
    If you have any other large folders of personal data or projects, these should be thinned out, moved, also, to the external hard drive and then either archived to disc, Flash drive or ext. hard drive and/or deleted off your internal hard drive.
    Good Luck!

  • System boots up to the root directory instead of my home directory

    For some reason the arch system on my chromebook is now leaving me the "/" directory after boot, which really is annoying.
    I always use systemd to automatically log me in to a virtual console when the computer boots. I use the instructions in the wiki [ https://wiki.archlinux.org/index.php/Au … al_console ]  and it normally logs me into my home directory. After a recent update, my chromebook stopped doing this.
    Here is the contents of  my /etc/systemd/system/[email protected]/autologin.conf :
    [Service]
    ExecStart=
    ExecStart=-/usr/bin/agetty --autologin marko --noclear %I 38400 linux
    Type=simple

    Not a Sysadmin issue, moving to NC...

Maybe you are looking for