Visit Our UNIX and Linux User Community

Maintenance mode

Thread Tools Search this Thread
Operating Systems Solaris Maintenance mode
# 1  
Old 11-17-2017
Maintenance mode

i booted into maintenance mode
boot -- -s

from the console
I got the

Root password for system maintenance (control-d to bypass)

I did control -d
and then logged in

it told me that I was booting into boot -s
but after I did a control -d and logged in

who -r shows

run-level 3  Nov 17 14:07     3      0  S

does the S mean single user mode?
I expected run-lever to be S not 3?


Last edited by Scott; 11-17-2017 at 03:45 PM.. Reason: Code tags
# 2  
Old 11-17-2017
control-d bypasses the maintenance mode and boots to multi-user mode i.e. run-level 3.
You must enter the root password to enter the maintenance mode!
This User Gave Thanks to MadeInGermany For This Post:
# 3  
Old 11-17-2017
ok makes sense, thanks, but didn't have root pw.

---------- Post updated at 03:16 PM ---------- Previous update was at 03:12 PM ----------

how can I delete my new question? I thought this one may have not worked because of the infraction. so I asked another one in the beginner section.

Last edited by goya; 11-17-2017 at 04:42 PM.. Reason: to add
# 4  
Old 11-17-2017
There's no need to delete the other question, it stands in its own right, I think.

(and it wasn't an "infraction", only a gentle reminder to use code tags Smilie)
This User Gave Thanks to Scott For This Post:
# 5  
Old 11-17-2017
Why don't you tell us why you are attempting to boot into maintenance mode? You don't have the root password? So why are you doing this? Are you the sysadmin or not?

If you give us more information we might be able to give you more direct help.
# 6  
Old 11-18-2017
yes sysad, but only have a role as root. have to su - user with role , can not su - directly , so when in the Ilom if it asks for
Root password for system maintenance (control -d to bypass) , I don't have root so my only option is to control -d.
but when I do that I am In the run level 3.
I can get a console login,
su - role

but I don't want to patch in run level 3. that could be bad.
# 7  
Old 11-18-2017
Originally Posted by goya
yes sysad, but only have a role as root. have to su - user with role , can not su - directly , so when in the Ilom if it asks for
Root password for system maintenance (control -d to bypass) , I don't have root so my only option is to control -d.
but when I do that I am In the run level 3.
I can get a console login,
su - role
but I don't want to patch in run level 3. that could be bad.
Allowing a random user to login to your system with root privileges without knowing the root password could also be bad. There is frequently a trade-off between safe versus secure. This is one of those cases. A system administrator responsible for taking care of a system when it is broken should always have the password(s) and access to the system needed to figure out what is going wrong on that system and to fix that system.

If you can bring up the system multi-user, login as you, su to the root role, and bring the system down to single-user mode without loging out, that might provide you with a safe environment for diagnosing and fixing your problems. If you can't do that, there isn't much we can do to help you.
This User Gave Thanks to Don Cragun For This Post:

Previous Thread | Next Thread
Test Your Knowledge in Computers #229
Difficulty: Easy
According to NetMarketShare, in September 2019 Linux had a 2% global market share of the desktop / laptop computer market.
True or False?

10 More Discussions You Might Find Interesting

1. AIX

How to put VIOS in Maintenance mode?

Hi this may be a easy question to answer but thanks in advance. So I was able to download the VIOS media from IBM and currently I am burning it to a cd/dvd right now. The steps I've collected so far are from the net. can you please confirm and add on to the steps if there are any steps... (0 Replies)
Discussion started by: Adnans2k
0 Replies

2. Solaris

/network/smb/server goes into maintenance mode.

All I'm running an OpenSolaris system (Nexenta). When doing a svcs I see that/network/smb/server is in maintenance mode. I have run a clear on the service and restarted. I see the same service show online* for a bit but then, enters maintenance every time. In the service log I... (2 Replies)
Discussion started by: dcpatriot
2 Replies

3. Solaris

DNS service is in maintenance mode. How to bring it back to online mode?

:confused: when i tried to look the status of DNS-client, it is in maintenance mode..... Please tell me how to bring it back to online mode...PLEASE TELL ME STEP BY STEP.... PLEASE... :wall: (2 Replies)
Discussion started by: vamshigvk475
2 Replies

4. Solaris

Solaris 10 system boots into Maintenance mode

I have seen similar threads on this issue, but I have not seen a fix. Basically I am getting a lot of rcp bind errors. Below find the output of "svcs -xv". not sure where to begin: # svcs -xv svc:/network/rpc/bind:default (RPC bindings) State: maintenance since Fri May 25 14:13:18 2012... (14 Replies)
Discussion started by: brownwrap
14 Replies

5. Solaris

System booting to maintenance mode

Hi Guys, I have a sunblade 1500. I booted the system and it booted to maintenance mode. How can I fix this? Thanks lots (8 Replies)
Discussion started by: cjashu
8 Replies

6. Solaris

Samba service in maintenance mode ???

I have a Solaris 10 SunFire v880 machine and I'm having trouble with Samba. Samba has worked on this machine but since the machine has been re-booted Samba has not worked. Machine details are: cat /etc/release Solaris 10 10/08 s10s_u6wos_07b SPARC Copyright 2008... (2 Replies)
Discussion started by: KenLynch
2 Replies

7. Solaris

Process in maintenance mode, why?

Hi, I have installed Hudson on a Solaris 11 server, using the installation instructions available at Paul Oswald: Hudson Solaris SMF Manifest. When I perform svcs -l hudson, I get: fmri svc:/application/hudson:default name Hudson Continuous Build Server enabled true... (4 Replies)
Discussion started by: JVerstry
4 Replies

8. Solaris

FTP is in maintenance mode always

Hello All, On solaris 10 server i could see the FTP service is in maintenance mode always :mad: Could some assist? svcs -xv svc:/network/nfs/nlockmgr:default (NFS lock manager) State: maintenance since Tue 28 Jul 2009 11:47:55 AM BST Reason: Restarting too quickly. See: Sun... (5 Replies)
Discussion started by: bullz26
5 Replies

9. Solaris

Machine is booting to maintenance mode.

I had a power failure the other day and when my relatively new Solaris 10 machine rebooted it is thrown into maintenance mode. I've found the following lines in the /var/adm/messages file, I'm assuming this is the root cause of the problem. However, I don't have the slightest idea on how to... (9 Replies)
Discussion started by: cheetobandito
9 Replies

10. HP-UX

Maintenance mode boot(MMB) and recovery

hi, i figured why i need to boot in MMB,some of which are missing or corrupt LABEL (LIF labeL ,i guess) on the boot disk. To explicitly corrupt this entry i think a simple dd will work. ok let me elaborate this issue: i need to check this functionality. so i have one LVM boot disk and one... (0 Replies)
Discussion started by: mxms755
0 Replies

Featured Tech Videos