Unix/Linux Go Back    


Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

Solaris stuck during boot after reconfigure boot

Solaris


Tags
solved by reinstalling solaris 11.1

Reply    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 11-21-2016
Zorken Zorken is offline
Registered User
 
Join Date: Sep 2013
Last Activity: 12 April 2017, 9:17 AM EDT
Posts: 20
Thanks: 12
Thanked 2 Times in 2 Posts
Solaris stuck during boot after reconfigure boot

Hello,

I have a problem with my machine that won't boot properly.

The story is that I installed a software called apcupsd, which is a control application for my APC battery UPS. I have used version 3.14.10 earlier, but as part of restoring my previously crashed os harddrive I wanted to install it again and this time took the latest version 3.14.14.
Anyway, after compile, make and make install the installation script instructed that I should do a reconfigure boot using reboot -- -r before starting it for the first time.
(I should add that the ups has been connected with a USB cable since a few weeks back I just haven't installed the software up until now.)

Without perhaps fully understanding what a reconfigure boot entails, I happily entered reboot -- -r and the computer started shutting down and the ssh connection got lost as part of it shutting down.
As it is a headless server I could at the time not really see what was happening, but when I could not contact the machine 10 minutes later I got worried and connected a monitor to it. It had froze with just a text line with sunos etc. with a non blinking cursor. So I waited a little while and then powercycled the machine. After that it booted past grub to the Oracle/Solaris splash screen with the spinning circle and was stuck there for a few hours. With the circle still spinning I figured that it had got stuck on something and that another powercycle would make it leave reconfiguring and boot as normal.
Again it got past grub to the spinning circle and there it has been standing overnight and the whole day today.

I am really lost and need some help on where to begin resolving this. Can I make it boot normally some how or what can I do?

Last edited by Zorken; 11-21-2016 at 12:38 PM.. Reason: Clearing up after posting from mobile phone
Sponsored Links
    #2  
Old Unix and Linux 11-21-2016
DukeNuke2's Unix or Linux Image
DukeNuke2 DukeNuke2 is offline Forum Staff  
Soulman
 
Join Date: Jul 2006
Last Activity: 26 April 2017, 8:48 AM EDT
Location: Berlin, Germany
Posts: 5,688
Thanks: 70
Thanked 300 Times in 287 Posts
Which Solaris version are you using? Try to boot to single user mode and check the log files for possible errors.

x86: How to Boot a System to Run Level S (Single-User Level) (System Administration Guide: Basic Administration)
The Following User Says Thank You to DukeNuke2 For This Useful Post:
Zorken (11-21-2016)
Sponsored Links
    #3  
Old Unix and Linux 11-21-2016
Zorken Zorken is offline
Registered User
 
Join Date: Sep 2013
Last Activity: 12 April 2017, 9:17 AM EDT
Posts: 20
Thanks: 12
Thanked 2 Times in 2 Posts
Of course I forgot, my system is a x86 Solaris 11.3.

I tried booting to single user mode using the instructions at How to Boot a System to a Single-User State (Run Level S) -
Booting and Shutting Down Oracle(R) Solaris
11.3 Systems
but it does not seem to pull through and if I press a key at the splash screen it just says

Code:
SunOS Release 5.11 Version 11.3 64-bit
Copyright (c) 1983, 2015 Oracle and/or its affiliates. All rights reserved.
Booting to milestone "milestone/single-user:default".

So I guess that it tries to boot to single user mode, but gets stuck on something. A bit frustrating.

---------- Post updated at 07:12 PM ---------- Previous update was at 06:45 PM ----------

I found that you can get verbose output by adding -v to the kernel line.
Now with some more output it stays after

Code:
dump device is /dev/zvol/dsk/rpool/dump size 3 GB (3967 MB)

Can this be a clue?
    #4  
Old Unix and Linux 11-21-2016
DukeNuke2's Unix or Linux Image
DukeNuke2 DukeNuke2 is offline Forum Staff  
Soulman
 
Join Date: Jul 2006
Last Activity: 26 April 2017, 8:48 AM EDT
Location: Berlin, Germany
Posts: 5,688
Thanks: 70
Thanked 300 Times in 287 Posts
No, that is just the dump device. Try to read on here:

SMF Best Practices and Troubleshooting -
Managing System Services in Oracle(R) Solaris 11.3


Can you boot your system to milestone=none?
The Following User Says Thank You to DukeNuke2 For This Useful Post:
Zorken (11-27-2016)
Sponsored Links
    #5  
Old Unix and Linux 11-22-2016
Zorken Zorken is offline
Registered User
 
Join Date: Sep 2013
Last Activity: 12 April 2017, 9:17 AM EDT
Posts: 20
Thanks: 12
Thanked 2 Times in 2 Posts
I can boot with milestone=none. So it is not completely screwed at least.

After setting smf to milestone:default, I have a number of offline services and three unavailable services. At first sight this looks like a bit of an overpowering task for my current skillset so I will need some help breaking it down. Going through every service log file using vi on a keyboard setting not matching my keyboard will take days.
How can I narrow it down to which service is the one stopping the booting? Is it as simple as the first offline service in the list?
Looking at one of the unavailable services log (rpc server), it doesn't seem to reveal anything.

Skickat från min D5803 via Tapatalk
Sponsored Links
    #6  
Old Unix and Linux 11-22-2016
hicksd8 hicksd8 is offline Forum Advisor  
Registered User
 
Join Date: Feb 2012
Last Activity: 26 April 2017, 9:34 AM EDT
Location: Devon, UK
Posts: 1,379
Thanks: 169
Thanked 348 Times in 291 Posts
I recall that there are known issues with APC Powershute on Solaris 10 and Solaris 11.

Question is, how did you install it? Did you follow any special instructions (from the web) or did you just execute the program?

I have a note made to myself which says to search the web for APC Kbase FA276327. Perhaps try that first and post back the result especially if that gets you nowhere.

---------- Post updated at 10:08 AM ---------- Previous update was at 10:01 AM ----------

Also, there's Solaris install notes here:

ftp://ftp.apc.com/apc/public/softwar...21/install.htm

although not specific to Solaris 11 might be useful.
Sponsored Links
    #7  
Old Unix and Linux 11-22-2016
Zorken Zorken is offline
Registered User
 
Join Date: Sep 2013
Last Activity: 12 April 2017, 9:17 AM EDT
Posts: 20
Thanks: 12
Thanked 2 Times in 2 Posts
I read through the readmes which didn't say anything about Solaris in particular and installed with just compile, make and make install. That was it, can't remember if I did something different when I installed it before a couple of years ago.

Will read through the links and see if I get somewhere and report back.

Thanks for the patient help and support btw. Linux

Skickat från min D5803 via Tapatalk
Sponsored Links
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Replaying log stuck during boot filosophizer AIX 7 04-08-2013 11:48 PM
Solaris x86 installation using jumpstart does not local boot ( boot from hdd) hemalsid Solaris 9 08-17-2011 04:04 AM
Reboot and Select Proper Boot device or insert Boot media in select Boot device and press a key rpf Boot Loaders 0 03-22-2011 03:20 PM
solaris boot problem boot error loading interpreter(misc/krtld) johncy_j Solaris 0 08-17-2005 08:15 AM
freebsd auto login user at boot / i'm stuck termiEEE UNIX for Dummies Questions & Answers 6 02-26-2004 12:18 PM



All times are GMT -4. The time now is 09:49 AM.