Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Once Ubunutu (10.04 LTS) server has booted, is there a way to check to see if it is in recovery mode or "normal" mode?

I've got a server that has been running a while, but I'm not sure how it was booted, and I'm hoping there is a way to check without just rebooting.

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

"Recovery mode" means that you're booting into runlevel 1. Type runlevel to check which runlevel you are running. Another way is to install sysv-rc-conf to see which services isn't loaded in runlevel 1.

share|improve this answer
    
Details about different runlevels can be found at at http://en.wikipedia.org/wiki/Runlevel#Debian_Linux –  Macho Matt Aug 19 '11 at 12:16
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.