Solaris 10 - /var unnecessary files

Hello,
We are facing the following problem in our T2000 server:
Preinstalled Solaris 10, partitioned the disk in 15GB slices and everything was mounted on /. I have allocated my partitions for the Users and our tools but the default partition is almost full. I am afraid that it will stuck soon. The df -hk shows :
Filesystem size used avail capacity Mounted on
/dev/dsk/c0t0d0s0 15G 14G 384M 98% /
What i have noticed is that /var dominates the partition (about 6,7GB). Can you suggest any unnecessary files that i can delete to resolve the problem? I have seen that there are two huge files named X1msgs & X2 msgs in the /var/adm file. What are those? Can i delete them or not?
I know that the best solution is to reformat but i would like to avoid this, if possible. A partition extension can be useful but i have read that growfs cannot work on / partition. What else can i do?
Thank you in advance,
George
Edited by: gthe on Nov 17, 2009 8:05 AM

We have some Sun Solaris machines with VNC installed, set to no authentication (you need to connect in x-windows though). Running an nmap scan with these settings, nmap -sV -T4 -oN scan.nmap 192.168.1.0/24, these servers X1msgs (X2msgs, etc) in /var/adm files begin to grow quickly and end up eating
all space on the drive (even after the scan has been cancelled). The message filling up the logs is:
XserverDesktop: XserverDesktop::wakeupHandler: unable to accept new
connection: Invalid argument (22)
XserverDesktop: XserverDesktop::wakeupHandler: unable to accept new
connection: Invalid argument (22)
XserverDesktop: XserverDesktop::wakeupHandler: unable to accept new
connection: Invalid argument (22)
XserverDesktop: XserverDesktop::wakeupHandler: unable to accept new
connection: Invalid argument (22)
I've noticed this in the past doing Nessus scans, and the option that stopped this was happening was "Open port
recheck" under General plugins. Has anyone on the list seen something similar and do you know why this occurs, and
hopefully how to fix it? I figured this might be a good place to ask...

Similar Messages

  • Mac creates a save every hour, quickly filling the external drive. The "delete unnecessary files in Trash" does not work.

    How to make the Mac do save at certain intervals?
    Why would I want five saves the day?
    I try to delete unnecessary files to free up space.
    Trash on the Mac has become very slow, the removal process was take hours.
    Then the process of removing all stops.
    Why files are not removed through the trash?
    What could be causing the removal process?

    TimeMachine is designed to back up every hour. It saves only the files that have changed during the hour. After 24 hours TimeMachine culls the (up to) 24 backups to make a single backup for the day. After 30 days it takes the 7 oldest day backups and culls them into a single week backup.
    You should never manually touch files in the TimeMachine backup. It doesn't like that. The best practice for TimeMachine is to devote an external drive to TimeMachine and nothing else. Because TM backups are incremental, it is recommended that your TM hard drive be 2-4 times larger than the amount of drive space your computer is using. In other words, if your 1TB hard drive is 1/4 full (250GB in use) you should have a TM drive between 500GB and 1TB depending on how much more data you expect to add to your drive and how long you wish to keep old back files.
    Having said all this, you might prefer using some other program for backups. CarbonCopyCloner and ChronoSync are two programs you might want to look at.

  • Finding unnecessary files?

    Hey guys, I just wanted to know how I can find unnecessary files, particularly large files that's on my Mac HDD. I don't trust 3rd party apps so I don't want to use one. I just want to do it myself or using something within OSX Mavericks.
    Thanks!

    OmniDiskSweeper worth the download (and it is free).
    NOTE:  Stay in your home directory tree.  If you start deleting system files, you may end up turning your system into a Door Stop.  If you think there is a file that you feel you should be able to delete that is not in your home directory tree, research it with Google, or ask in these forums.
    If you insist on just using Mac OS X features, then you could enable Finder -> View -> Show View Options -> Calculate all sizes.
    This will show the amount of stored in each directory in "List" mode, and you can open that directory, and see the sizes of each file and directory, and open the next level of directory and see sizes of files and directories, etc...
    You chase the larger directories looking for large files you own and your know you can safely delete.
    NOTE:  "Calculate all Sizes" can be very slow and can slow down your Mac if you leave it on all the time, so turn it off when you are done looking for big files.

  • Serious bug for 8.1.7 solaris Sparc download file

    I have downloaded the 8.1.7 solaris.cpio.gz file from the OTN page. I found a serious bug from the OUI program,that is when
    I run the "runInstaller" command ,It apperrs that ./runInstaller : syntax error in line 1 unexpected "(".
    Did anyone find this ? This is a seious problem for this install program , hope OTN to explain this situation. Thanks a lot!!

    If you go to http://metalink.oracle.com, patches & updates is one of the options in the navigation bar.
    Justin

  • How do I delete unnecessary files

    Mac OS X, V 10.6.8, processor; 2.66 GHz Intel Core 2 Duo; Memory 2 GB 1067 MHz DDR3
    I would like to clean up my computer of unnecessary files and backups, i.e. email, printers, logs, caches.

    You should never, EVER let a computer hard drive get completely full, EVER!
    With Macs and OS X, you shouldn't let the hard drive get below 15 GBs or less of free data space.
    If it does, it's time for some hard drive housecleaning.
    Follow some of my tips for cleaning out, deleting and archiving data from your Mac's internal hard drive.
    Have you emptied your Mac's Trash icon in the Dock?
    If you use iPhoto or Aperture, both have its own trash that needs to be emptied, also.
    If you store images in other locations other than iPhoto, then you will have to weed through these to determine what to archive and what to delete.
    If you are an iMovie/ Final Cut user, both apps have their own individual Trash location that needs to be emptied, too!
    If you use Apple Mail app, Apple Mail also has its own trash area that needs to be emptied, too!
    Delete any old or no longer needed emails and/or archive to disc, flash drives or external hard drive, older emails you want to save.
    Look through your other Mailboxes and other Mail categories to see If there is other mail you can archive and/or delete.
    STAY AWAY FROM DELETING ANY FILES FROM OS X SYSTEM FOLDER!
    Look through your Documents folder and delete any type of old useless type files like "Read Me" type files.
    Again, archive to disc, flash drives, ext. hard drives or delete any old documents you no longer use or immediately need.
    Look in your Applications folder, if you have applications you haven't used in a long time, if the app doesn't have a dedicated uninstaller, then you can simply drag it into the OS X Trash icon. IF the application has an uninstaller app, then use it to completely delete the app from your Mac.
    To find other large files, download an app called Omni Disk Sweeper.
    http://www.omnigroup.com/more
    Also, Find Any File
    http://apps.tempel.org/FindAnyFile/
    Download an app called OnyX for your version of OS X.
    http://www.titanium.free.fr/downloadonyx.php
    When you install and launch it, let it do its initial automatic tests, then go to the cleaning and maintenance tabs and run the maintenance tabs that 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.
    move these files/data off of your internal drive to the external hard drive and deleted off of the internal hard drive.
    If you have any other large folders of personal data or projects, these should be archived or moved, also, to the optical discs, flash drives or external hard drive and then either archived to disc and/or deleted off your internal hard drive.
    Moving iTunes library
    http://support.apple.com/kb/HT1449
    Moving iPhoto library
    http://support.apple.com/kb/PH2506
    Moving iMovie projects folder
    http://support.apple.com/kb/ph2289
    Good Luck!

  • My MAC BOOK PRO is slow - which software is recommended to clean it from unnecessary files ?

    My MAC BOOK PRO is slow - which software is recommended to clean it from unnecessary files ?
    thanks

    Why is my computer slow?

  • What is a good utility for removing unnecessary files and freeing up space on a MB disk?

    Does anyone have a recommendation for a utility to free-up storage on the MBP HDD by listing files that are duplicates, temporary, or that are no longer required by the current configuration?

    Good software, and good suggestion.
    You may find, however, that removing dupiicate and unnecessary files reaches a point of diminishing returns. The average user will reclaim only a few gigs of extra space, at best. '
    Your best strategy will be to aggressively delete or archive space consuming media files; a complementary approach woud be to increase your HD space by either getting a bigger HD, or investing in an extra drive. Prices are very good, and several manufacterers offer reliable devices. I have three, which may also serve as backup devices.
    Post in this thread if have additional questions!

  • Software to clean duplicate and unnecessary files

    Hello
    I was looking for a safe app or software that can clean extra and unnecessary files off of my imac - has anyone tried anything that they trust will work?
    I am not well enough versed to just start deleting files - and would probably delete something that was needed
    any help would be greatly appreciated
    sbmop

    Here are some general tips to keep your Mac's hard drive trim and slim as possible
    You should never, EVER let a computer hard drive get completely full, EVER!
    With Macs and OS X, you shouldn't let the hard drive get below 15 GBs or less of free data space.
    If it does, it's time for some hard drive housecleaning.
    Follow some of my tips for cleaning out, deleting and archiving data from your Mac's internal hard drive.
    Have you emptied your Mac's Trash icon in the Dock?
    If you use iPhoto or Aperture, both have its own trash that needs to be emptied, also.
    If you store images in other locations other than iPhoto, then you will have to weed through these to determine what to archive and what to delete.
    If you are an iMovie/ Final Cut user, both apps have their own individual Trash location that needs to be emptied, too!
    If you use Apple Mail app, Apple Mail also has its own trash area that needs to be emptied, too!
    Delete any old or no longer needed emails and/or archive to disc, flash drives or external hard drive, older emails you want to save.
    Look through your other Mailboxes and other Mail categories to see If there is other mail you can archive and/or delete.
    STAY AWAY FROM DELETING ANY FILES FROM OS X SYSTEM FOLDER!
    Look through your Documents folder and delete any type of old useless type files like "Read Me" type files.
    Again, archive to disc, flash drives, ext. hard drives or delete any old documents you no longer use or immediately need.
    Look in your Applications folder, if you have applications you haven't used in a long time, if the app doesn't have a dedicated uninstaller, then you can simply drag it into the OS X Trash icon. IF the application has an uninstaller app, then use it to completely delete the app from your Mac.
    To find other large files, download an app called Omni Disk Sweeper.
    http://www.omnigroup.com/more
    Also, Find Any File
    http://apps.tempel.org/FindAnyFile/
    Download an app called OnyX for your version of OS X.
    http://www.titanium.free.fr/downloadonyx.php
    When you install and launch it, let it do its initial automatic tests, then go to the cleaning and maintenance tabs and run the maintenance tabs that 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.
    move these files/data off of your internal drive to the external hard drive and deleted off of the internal hard drive.
    If you have any other large folders of personal data or projects, these should be archived or moved, also, to the optical discs, flash drives or external hard drive and then either archived to disc and/or deleted off your internal hard drive.
    Moving iTunes library
    http://support.apple.com/kb/HT1449
    Moving iPhoto library
    http://support.apple.com/kb/PH2506
    Moving iMovie projects folder
    http://support.apple.com/kb/ph2289
    Good Luck!

  • Solaris 10 log files

    Hello
    (I'm very new to UNIX - Solaris)
    What are the key log files on Solaris that one should keep an eye on a regular basis - I'm sure there are many log files, but I would like to know the key ones Sys Admins tend to have a look at.
    D

    Hi
    Just type 'dmesg' for the latest syslog messages. Otherwise, look in /var/log (and some of the other /var subdirectories) for log files.
    Paul

  • How to uninstall ss12u1 on solaris 10: lock file?

    hello all,
    the process of installation was interrupted, and ss12u1 is partially installed. I want to uninstall it but it's not possible:
    fury-root% ./uninstall.sh --non-interactive
    Configuring the installer...
    Searching for JVM on the system...
    Extracting installation data...
    Running the installer wizard...
    It seems that another instance of the installer is already running.
    It is not recomended that you run multiple installers at the same time.
    Do you still want to start another instance of the installer?
    Going with No (default) option...adding verbose to the script, i notice:
    [2010-03-18 08:27:49.358]:     exiting -- org.netbeans.installer.Installer.<init>():128
    [2010-03-18 08:27:49.359]:     creating lock file
    [2010-03-18 08:27:49.360]:         ... lock file already existsbut where is this lock file?
    thanks in advance for help,
    gerard

    Hello gerard,
    The lock file is located in the ~/.nbi directory for the root user. Usually it is /.nbi directory on Solaris, and /root/.nbi on Linux.
    It's name is .nbilock
    Regards,
    Igor

  • Solaris 10, ftp file truncation

    When I upload files/directories (binary) to my Solaris 10 system, occasionally the files get corrupted. Seems like some of the files are misssing several records at the beginning. I am using WS FTP Pro to upload the files from my PC to my Solaris 10 system. Could the new recvbuf and sendbuf parameters in the /etc/ftpd/ftpaccess file have anything to do with it.......

    How looks the line with
    allow-retrieve  relative        class=...Cheers
    Andy

  • Read&write binary float var to file

    Hello everybody.
    Oracle 11G R 2 on Linux.
    My problem.
    I have some millions of records (270.000.000)  with numeric data that can be store in binary float variables. Making the database work with so big table convert the database in a slow and hard to manage, because copys and so. The advantage is that this data only need be read, not modified or add news record.
    So, Im thinking to store in the file system, with UTL_FILE package, one or more binary files and access data through a algorithm to calculate the position of data inside the file. The data can be stored in binary float vars.
    My question.
    How I can add this binary data in binary format to the stream of write and read from the stream of data when I write to disk and when I read from disk.
    Any idea welcome.
    Thanks in advanced & regards everybody.

    I think that you dont understand the problem.
    The problem is easy, I have a table with 270.000.000 records. When you try to do anything with this table the database go slow, for your understand, when you ask a simple and easy query, by example a select count(*) from, it take more than 200 seconds to answer.
    ok, but the data is all numeric that can be stored in binary float var and moreover its position in a sequential file can be calculate.
    So if I make a sequential file, or more than one, where I can save this data I kick this problem to the database.
    And what I´m asking for help is if anybody know a way, using UTL_FILE, to include in the stream to save and read this data from disk (UTL_FILE.put_raw and UTL_FILE.get_raw) in binary float format, nothing more than this I want.
    You are correct that I 'dont understand the problem' because you yourself do not know what the 'problem' is.
    All you said is 'try to do anything with this table the database go slow' but you don't tell us what that 'anything' is. You give only ONE example.
    A COUNT(*) in Oracle could possibly use an index but you don't tell us if you have any indexes. You don't even provide the table DDL so we can see the structure.
    Your description gives the impression that all you have is a table with ONE column defined as BINARY FLOAT and that column is defined as NOT NULL. If that is the case you can create an index and Oracle can use it to get the COUNT(*) results.
    That ONE query is just about the only thing that might be faster with the data in a file. Since each value is four bytes and they can't be null then all you need to know is the length of the file. Then you can divide by four to find out how many entries there are.
    For anything else your 'file' solution will need to read the ENTIRE FILE to do anything other than access values as if the file was a large array of BINARY FLOAT four byte values.
    And for that, as I previously suggested, just forget Oracle and write a simple Java program that uses RandomAccessFile. Then for any given 'array' value just multiply by four, set the FilePointer value to that result and read your 4 bytes.

  • Solaris specific cmake files missing in XMP toolkit

    XMP_Config.cmake references Solaris specific files:
            execute_process(COMMAND "uname" OUTPUT_VARIABLE OSNAME)
            string(TOUPPER "${OSNAME}" OSNAME)
            if ( ${OSNAME} MATCHES SUNOS)
                execute_process(COMMAND "uname" "-p" OUTPUT_VARIABLE PLATFORM_SUNOS_ARCH)
                string(TOUPPER "${PLATFORM_SUNOS_ARCH}" PLATFORM_SUNOS_ARCH)
                if ( ${PLATFORM_SUNOS_ARCH} MATCHES SPARC)
             include(${XMP_ROOT}/build/XMP_sunos_sparc.cmake)
                else()
             include(${XMP_ROOT}/build/XMP_sunos_intel.cmake)
                endif()
            else()
         include(${XMP_ROOT}/build/XMP_Linux.cmake)
            endif()
    However, these files do not exist in the build directory (or anywhere in the package).
    I am trying to get this compiled on Solaris, so this is causing me grief.
    Where can I get these files?

    Hi Bejhan,
        XMP SDK is not supported on Solaris platform. In past we provided support for Solaris and by mistake this code was left in SDK. I can help you to build the xmptoolkit for Solaris but you have to do some more work on your side to get it done. Again, you may face crashes on SPARC Solaris due to endian (big & little).
       Please follow the following steps in order to build it on Solaris
      1. Go to the build/shared directory
      2. Create a copy SharedConfig_Linux.cmake and name it SharedConfig_sunos_sparc.cmake OR SharedConfig_sunos_intel.cmake depends whether you are using SPARC or intel processor.
      3. Make some changes in newly created cmake files
         a. set XMP_PLATFORM_FOLDER to intelsolaris<_x64> or sparcsolaris<_x64> (depending upon 32/64 bit machine. for 64-bit machine add _x64 suffix)
         b. Set XMP_GCC_PATH=<gcc path>
         c. Set XMP_GCC_LIBPATH=<gcc libpath>
    4. Make a copy of ToolchainRelEng.cmake to ToolchainRelEng_sunos_<intel/sparc>.cmake and fix the gcc path's
    Hope this will help you.
    -Sunil

  • Solaris 8 solaris 7 system file includes

    Hello,
    I would like to get the header files from /usr/include/sys/*.h of a solaris 7 or previous OS, and copied them on a solaris 8. (on ultra sparc).
    Where can I find those headers?
    What are the risks to do this?
    Thank all in advance.

    thanks,
    i need to ask some questions:
    1- In system copy make differente if its CRM 3.0 or 4.0 or NW2004s or something?
    like in master dvd 6.40 i dont find anything related of CRM3.0, just CRM 4.0.
    2- what about database password? how can I reset it?
    3- this documents its in Unix, the parameter are same for windows?
    thank you very much for your help
    Regards

  • Imsbackup iMS5.1 on Solaris 8 2GB file limit

    I'm in the process of migrating 450 users and 70GB of E-mail from a single Solaris system to a Cluster (running iMS5.2). It appears imsbackup cannot write a file greater than 2GB. Is there a hotfix available for this? I'm moving from 5 store partitions to 4 store partitions and using imsbackup would make this process a no-brainer. Is this fixed in iMS5.2? Could I use the binary from 5.2?
    Thanks,
    RS

    dont know it is fixed in 5.2, but i doubt you simply can take the binary of 5.2 and use it in 5.1 (i've tried it with 5.2's sister command "imsimport", and it dumped several "relocation error in libxxx.so"
    maybe you could do the following, bypass the 2GB limit by cat'ing imsbackup's output to a file :
    imsbackup -f - <other options> | cat > bigfile.bck
    then restore it (if imsrestore has the same 2GB limitation)
    cat bigfile.bck | imsrestore -f - <other options>
    i remember having done someting like this some time ago

Maybe you are looking for