Sun, Solaris , 8, Console hangs for a long time.  All else seems to work

Posted on 2007-08-10
Last Modified: 2013-12-27
Solaris system went down.  Brought system back up and was able to fsck the system.  

If you try to access the system by console the system just hangs.   Other than that the system works fine.  This is a system we have limited access to and I can not give great details on the system.  I just need a "to do" list of things to check.  

I do not belive we can  ever get to the console, I just hangs for hours.  
Question by:itguy411
    LVL 14

    Accepted Solution

    When you say "Other than that the system works fine." I wonder what you mean?

    What does this server do?  Webserver, database?

    Can you telnet or ssh into it?

    My first guess is that there is a missing file system that is included in the path of whoever is logging into the console.  This is common, when a system is brought back after a crash.  It is likely that the fsck wasn't complete and a file system wasn't mounted.

    That is why I was concerned about the working fine comment.  It may only seem to be working fine, and is not preforming some function that it normally does, or is preforming it improperly.

    Also, the reason for the crash is important.  

    From your description, it is likely that it crashed because a disk partition filled up.  Suns do not like that if it is root, and they will crash.  

    df -lk

    this will show all the mounted partitions and their space usage.  If any are close to 100% then that could be your problem.  

    It is also likely that /var filled up because a crash does a core dump and most people have an inadequate /var space.  


    Author Comment

    Good reply.   I will check

    We can telnet and ssh into it.  

    It is a system that runs a very large java app.  

    Thank you. !!
    LVL 16

    Expert Comment

    by:Hanno Schröder
    When you access the console, do you see anything?
    What happens, when you press "Enter" (or "Return")? Does the cursor go down to the next line?

    Author Comment

    Now the system crashes.  I found the same problem on the web except they did not give the solution:  

    Our place is a little touchy about information so I will send you the URL to the other guy's issuse, exact same as mine.   FSCK did not resolve this issue and the system crashes often:

    LVL 61

    Expert Comment

    I'd guess that some electrical connection like SCSI or RAM got loose inside server.
    LVL 14

    Expert Comment

    This sounds like exactly what I mentioned, something is wrong with your /var file system. Here is how to check it.

    First, make sure that you have done what I suggested before, running df -lk to see if any of the file systems are full

    Boot the system in single user mode, by typing boot -s at the ok prompt.  (This will also work if the system is stuck in single user mode.)

    once you are in, you should examine the entries in /etc/vfstab compare those entries to the df -lk that you did.  If there is a file system missing from the df -lk , such as /var then there is the problem.

    The fix could be as easy as fsck /var or as tough as a bad disk that has to be replaced.  If you don't know how to read those, you can post them here and we can give you advice.  (The layout of you file system is not something that could lead to a security breech.)

    LVL 61

    Expert Comment

    I'd suggest checking cable connections because of sporadic crashes.

    Featured Post

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Join & Write a Comment

    A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
    Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    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.

    734 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

    23 Experts available now in Live!

    Get 1:1 Help Now