Cannot boot in single-user mode


 
Thread Tools Search this Thread
Operating Systems Solaris Cannot boot in single-user mode
# 1  
Old 04-27-2009
Cannot boot in single-user mode

I have Sun 240 server with Solaris 8 installed. I go to OBP and try to boot in single-user mode but it is getting hung in the middle and the only way to get out of this situation is by going to the LOM and resetting the server. Here is what is happening:

{0} ok boot -s

SC Alert: Host System has Reset

SC Alert: CRITICAL ALARM is set
Probing system devices
Probing memory
Probing I/O buses

Netra 240, No Keyboard
Copyright 2006 Sun Microsystems, Inc. All rights reserved.
OpenBoot 4.22.19, 2048 MB memory installed, Serial #75049468.
Ethernet address 0:14:4f:79:29:fc, Host ID: 847929fc.

Rebooting with command: boot -s
Boot device: /pci@1c,600000/scsi@2/disk@0,0 File and args: -s
SunOS Release 5.8 Version Generic_117350-45 64-bit
Copyright 1983-2003 Sun Microsystems, Inc. All rights reserved.
WARNING: forceload of misc/md_trans failed
WARNING: forceload of misc/md_raid failed
WARNING: forceload of misc/md_hotspares failed
WARNING: forceload of misc/md_sp failed
Hardware watchdog enabled
Restoring uplink0 configuration
Linking uplink0 to bge0 as link A
upLink v1.2.5r00
upLink instance 0 ether 00:02:bb:aa:aa:00
upLink instance 1 ether 00:02:bb:aa:aa:01
NOTICE: Recognized a 'bge' interface
Linking uplink0 to ce0 as link B
Restoring uplink1 configuration
Linking uplink1 to bge1 as link A
NOTICE: Recognized a 'bge' interface
Linking uplink1 to ce1 as link B
configuring IPv4 interfaces: uplink0 uplink1.
Hostname: greenwood

Nothing comes up after that. It is then when I go to the LOM (#.) and reset the server. Can anyone help troubleshoot this?
# 2  
Old 04-28-2009
can you boot the system and then issue `reboot -- -s`??? just thinking of a quick work around.
# 3  
Old 04-28-2009
Freezing after hostname is displayed usually happens when a box is configured as part of a domain and it is not reaching the domain controller for whatever reason. If that's the case, you'll have to boot from cd or net, then remove the contents of /etc/defaultdomain.
# 4  
Old 04-29-2009
Set auto-boot to false.Try booting from cdrom to single user, then maye fsck ?
Then reset-all from ok> prompt and boot again.
If still fails, your system nvram could have some "corruption". save a copy of the nvram settings and do a "set-defaluts" at the ok> prompt, reset-all once more than boot up.
# 5  
Old 04-29-2009
reboot -- -s did not work either... same behavior

I do not find /etc/defaultdomain when in multi-user mode. Are you saying it should be there when I boot from CD? I am using Solaris 8

Tried fsck and fixed all reported errors. Then did "set-defaluts" at the ok> prompt, reset-all once more then boot up in single-user mode but failed again!

Other thought??
# 6  
Old 04-30-2009
Is it a Solaris 10? new setup?
By the way, any changes made to /etc/hosts and /etc/nsswitch.conf files?
whats the patch level of the system? You have have configured for any DNS, remove it and reboot and see again.. looks familiar Smilie
# 7  
Old 04-30-2009
Quote:
Originally Posted by StarSol
reboot -- -s did not work either... same behavior

I do not find /etc/defaultdomain when in multi-user mode. Are you saying it should be there when I boot from CD? I am using Solaris 8

Tried fsck and fixed all reported errors. Then did "set-defaluts" at the ok> prompt, reset-all once more then boot up in single-user mode but failed again!

Other thought??
Ok, now I'm a little confused...
You can boot the box to multi-user mode to look at /etc/defaultdomain but not on single user mode? It wouldn't be on the CD, it would be on your hard drive.

what I was saying is that, in my experience of a box booting up and stopping forever after the hostname is displayed in the boot process, the reason why that happened was because the box was part of a NIS domain, which is declared in /etc/defaultdomain, and the server could not see the domain master, therefore it hung forever waiting for the master to respond.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Single user mode

Dear All I am trying to install my os as : ok>boot cdrom - install but receiving the following : "IDprom checksum error getexecname() failed /sbin/rcS /etc/vfstab cannot create INIT:failed write utmpx enrty INIT:single user mode INIT:execle of /etc/sulogin failed Enter run level" Can you... (6 Replies)
Discussion started by: hadimotamedi
6 Replies

2. Solaris

Boot on single user mode with net services

Hi everybody, I'm running soalris 10, and I would like to know if it posible to boot on single user mode(init s), and then set up (may be manually or not) all the networks services, did someone try this before?? Tks (4 Replies)
Discussion started by: jespada
4 Replies

3. UNIX for Dummies Questions & Answers

single user mode - user accounts passwords

hello ppl, someone must be able to help with this --> I have an old NCR tower 32 with an ADDS terminal running a unix version 020102 (Im not sure if thats correct but its unix for sure). I have no user names and no passwords and need to login to read a tape. Is there any way to do that? I hear... (3 Replies)
Discussion started by: orestis
3 Replies

4. UNIX for Dummies Questions & Answers

how to Single user mode?

How to enter single user mode when UNIX/LINUX system is starting? (1 Reply)
Discussion started by: gkreddy
1 Replies

5. UNIX for Dummies Questions & Answers

How to boot in single user mode

My machine is a HP-UX 11iV2. I want to boot it in the single user mode. Any ideas? Regards (7 Replies)
Discussion started by: sube
7 Replies

6. AIX

Boot in Single-Mode

Hi All, I have AIX 5.1 & I forgot the root password. I find out the solution is to boot in single-mode and remove the root password from the /etc/passwd file. My question is how to boot in single-mode? Also is there any password required when booting in this mode? (9 Replies)
Discussion started by: aldowsary
9 Replies

7. UNIX for Advanced & Expert Users

single user mode

How to diable the single user mode.. what i want is dat my users are unable to boot in single user mode via GRUB.. (1 Reply)
Discussion started by: ankit.jss
1 Replies

8. UNIX for Advanced & Expert Users

single user mode

Is there another way of switching to single user mode except by typing /usr/sbin/shutdown 0 ??? :rolleyes: (5 Replies)
Discussion started by: kekanap
5 Replies

9. UNIX for Dummies Questions & Answers

single-user mode

how do you boot into single user mode? RedHat 7.1 Caldera 2.4 (2 Replies)
Discussion started by: zorro81
2 Replies

10. UNIX for Dummies Questions & Answers

single user mode

Hi all, why "vi" acts differently is single user mode? Does anyone help ? I am using "x" to delete and it keeps messing up. Please help Thanks (2 Replies)
Discussion started by: guest100
2 Replies
Login or Register to Ask a Question