Solaris stuck during boot after reconfigure boot


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris stuck during boot after reconfigure boot
# 1  
Old 11-21-2016
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 01:38 PM.. Reason: Clearing up after posting from mobile phone
# 2  
Old 11-21-2016
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)
This User Gave Thanks to DukeNuke2 For This Post:
# 3  
Old 11-21-2016
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 11-21-2016
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?
This User Gave Thanks to DukeNuke2 For This Post:
# 5  
Old 11-22-2016
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
# 6  
Old 11-22-2016
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.
# 7  
Old 11-22-2016
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. Smilie

Skickat från min D5803 via Tapatalk
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. AIX

Replaying log stuck during boot

I had some problems with NFS see here: https://www.unix.com/302790997-post9.html and now I cannot boot the partition when I boot I get stuck here Saving Base Customize Data to boot disk Starting the sync daemon ... (7 Replies)
Discussion started by: filosophizer
7 Replies

2. Solaris

Solaris x86 installation using jumpstart does not local boot ( boot from hdd)

I am trying to install Solaris x86 using the Jumpstart server. I run the add_install_client command with appropriate options, and reboot my x86 Target box. The installation starts fine and unattended. After the installation completes and the target goes for a re-boot, it does not boot from the HDD... (9 Replies)
Discussion started by: hemalsid
9 Replies

3. Boot Loaders

Reboot and Select Proper Boot device or insert Boot media in select Boot device and press a key

Hello, I have kubuntu on my laptop and now I decided to switch to Windows 7. I made the bios settings properly (first choice is boot from cd\vd) but I see the error " reboot and select proper Boot device or insert Boot media in select Boot device and press a key " I have tried CD and... (0 Replies)
Discussion started by: rpf
0 Replies

4. SCO

stage 1 boot failure: error loading hd (40)/boot

hi SCO Unix 5.0.6 doesn't boot due to this problem: not a directory boot not found cannot open stage 1 boot failure: error loading hd (40)/boot Knows someone howto solve it? (16 Replies)
Discussion started by: ccc
16 Replies

5. AIX

boot process stuck on "Welcome to AIX" banner

Good afternoon, I'm currently working on an IBM 9110-510, with an AIX 6.1 on it. Currently, I've put an HyperTerminal on the machine vty0. Folowing the procedure given by a support guy(§details), I'm able to get to the AIX banner ... (6 Replies)
Discussion started by: nilleb
6 Replies

6. Solaris

cannot find boot device and won't boot off cdrom

I'm running solaris 2.5.1. My main development server is DEAD, i can't even boot off the cdrom, it powers up, acts like it is starting the boot process but then says cannot find boot device. I've done the search here on this site and saw the other posts, but at the ok prompt it won't even let me... (3 Replies)
Discussion started by: kymberm
3 Replies

7. Solaris

solaris boot problem boot error loading interpreter(misc/krtld)

When I installed the SOLARIS 10 OS first time, the desktop would not start up, this was because of network setup. Reinstalled worked. After a week due to some problem I had to reinstall OS, installation went fine and but when i reboot I get this error. cannot find mis/krtld boot error loading... (0 Replies)
Discussion started by: johncy_j
0 Replies

8. UNIX for Advanced & Expert Users

Cannot boot - Boot : Panic : File size out of range (EWS-UX/V unix)

Hey ! I am running EWS-UX/V (Rel 4.2) on NEC EWS/4800/330 station and I am having problems rebooting my station : I am getting the following message on display : BOOT : PANIC : File size out of range. According to user guide, this error is occuring when a file exceeding the limit and/or... (2 Replies)
Discussion started by: fredo
2 Replies

9. UNIX for Dummies Questions & Answers

freebsd auto login user at boot / i'm stuck

I run freebsd 4.8 and try to find the way or 'a' way to log in a certain user i created automaticaly at pc boot. I have searched the net, the manuals, but found nothing... could anyone please get me going by showing me an example or what file(s) i need to take a look at. i am not working... (6 Replies)
Discussion started by: termiEEE
6 Replies
Login or Register to Ask a Question