HPUX won't start

Posted on 2011-10-26
Last Modified: 2012-06-27
I have attached the error message. I have boot into single user mode. Can someone show me how i can delete files to free up space?
Question by:locster73
    LVL 31

    Accepted Solution

    Did you successfully log on to single user?

    You need to use rm command to delete files

    rm -f

    Files and directories
    rm -rf

    Also you need to know what file systems are full
    df -hT


    Author Comment

    i have successfully log in as single user. but when i tried the df command it did not work
    LVL 20

    Expert Comment

    In single-user mode -
    fsck /dev/vx/dsk/rootdg/varvol  # to ensure it is not corrupt
    mount /usr; mount /tmp; mount /var  # bdf & df commands should now work, though you may have to specify the full path to the commands, e.g /usr/bin/bdf
    cd /var/tmp; ls -l  # Looking for large files
    rm /var/tmp/*  # Nothing in /var/tmp should be necessary after a reboot - DBAs note, "tmp" is NOT a good place to store stuff!

    At least, this should give you room in /var to boot the system.

    cd /var
    du -sk |sort -n # See what's taking up the most space

    Most likely culprits are /var/tmp (temp files not cleaned up by apps), /var/spool (mail & print files) & log files (possibly hardware error logs)

    Post the results here if you're not sure what the files are or if they can be safely deleted

    Author Comment

    @tfewster are exactly correct in your advice.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
    Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
    This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
    This tutorial goes over how to archive and restore FreeBSD jails that are managed by ezjail.

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now