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
    #8  
Old Unix and Linux 11-23-2016
Zorken Zorken is offline
Registered User
 
Join Date: Sep 2013
Last Activity: 21 December 2016, 11:43 AM EST
Posts: 16
Thanks: 9
Thanked 2 Times in 2 Posts
I have read through the links and they refer to a different program. The one I have installed is a community created software. The links refer to APCs own powerchute app.

Anyone have any suggestions on how to figure out which service the boot up (or loading to milestone state default) is getting stuck on?

I have started thinking of trying to rollback the rpool to a previous state if possible following http://docs.oracle.com/cd/E19253-01/...zvk/index.html
If I do try a rollback, is there anything that I should consider beforehand, so I don't mess this up any more?

I am very thankful for any input in this matter. Linux

Skickat från min D5803 via Tapatalk
Sponsored Links
    #9  
Old Unix and Linux 11-24-2016
hicksd8 hicksd8 is offline Forum Advisor  
Registered User
 
Join Date: Feb 2012
Last Activity: 29 March 2017, 4:45 PM EDT
Location: Devon, UK
Posts: 1,373
Thanks: 169
Thanked 345 Times in 288 Posts
So has anything changed since your original post? Does it still get endlessly stuck on a normal boot?

This is Solaris 11.3 x86?
Sponsored Links
    #10  
Old Unix and Linux 11-24-2016
Zorken Zorken is offline
Registered User
 
Join Date: Sep 2013
Last Activity: 21 December 2016, 11:43 AM EST
Posts: 16
Thanks: 9
Thanked 2 Times in 2 Posts
I am at work now but no nothing has really changed. I have not been able to pin point what the cause is and hence have not been able to change it.
I am a bit busy with work too at the moment so progress is admittedly a little slow right now too.
Yes this is Solaris 11.3 x86.
    #11  
Old Unix and Linux 11-24-2016
hicksd8 hicksd8 is offline Forum Advisor  
Registered User
 
Join Date: Feb 2012
Last Activity: 29 March 2017, 4:45 PM EDT
Location: Devon, UK
Posts: 1,373
Thanks: 169
Thanked 345 Times in 288 Posts
So when you boot 'verbose' does the output just stop completely and get stuck? What is the last thing it outputs?

Also, do note that there is another level above 'verbose' which is 'debug'


Code:
boot -m debug

or


Code:
reboot -- -m debug

which really gives it text diarrhea. Sometimes it's useful and often not. However, it would be interesting to know where that gets stuck. It might tell us something. You might need to use x-off (ctrl-s) and x-on (ctrl-q) to stop and start the screen as output is pretty fast. It reports everything it does!!!

Last edited by hicksd8; 11-25-2016 at 05:00 AM..
The Following 3 Users Say Thank You to hicksd8 For This Useful Post:
jim mcnamara (11-24-2016), rbatte1 (11-25-2016), Zorken (11-26-2016)
Sponsored Links
    #12  
Old Unix and Linux 11-26-2016
Zorken Zorken is offline
Registered User
 
Join Date: Sep 2013
Last Activity: 21 December 2016, 11:43 AM EST
Posts: 16
Thanks: 9
Thanked 2 Times in 2 Posts
After booting with verbose output it seemed to stop on the service network/physical:default.
So i booted with manifest=none and turned network/physical:default off with svcadm and then did a reboot -- -r and it booted all the way to graphical desktop!

So the boot problem is identified and kind of solved, but the source problem still remains.

Well in to a properly booted desktop I tried to enable network/physical:default but it just won't seem to start properly.

Output from svcs and log below.

Code:
root@server:~# svcs -x
svc:/network/physical:default (physical network interface configuration)
State: offline* transitioning to online since November 26, 2016 12:39:11 PM CET
Reason: Start method is running.
See: http://support.oracle.com/msg/SMF-8000-C4
See: dladm(1M)
See: ipadm(1M)
See: nwam(5)
See: /var/svc/log/network-physical:default.log
Impact: 13 dependent services are not running. (Use -v for list.)

root@server:~# cat /var/svc/log/network-physical\:default.log
[ Nov 16 20:38:49 Executing start method ("/lib/svc/method/net-physical start"). ]
[ Nov 16 20:38:49 Timeout override by svc.startd. Using infinite timeout. ]
[ Nov 16 20:39:03 Method "start" exited with status 0. ]

(output shorted a bit, writing by hand)

[ Nov 26 10:18:05 Executing start method ("/lib/svc/method/net-physical start"). ]
[ Nov 26 10:18:05 Timeout override by svc.startd. Using infinite timeout. ]
[ Nov 26 10:22:50 Executing start method ("/lib/svc/method/net-physical start"). ]
[ Nov 26 10:22:50 Timeout override by svc.startd. Using infinite timeout. ]
[ Nov 26 12:39:11 Enabled. ]
[ Nov 26 12:39:11 Executing start method ("/lib/svc/method/net-physical start"). ]
[ Nov 26 12:39:11 Timeout override by svc.startd. Using infinite timeout. ]

Various outputs below

Code:
root@server:~# dladm
LINK                  CLASS   MTU   STATE    OVER
net0                  phys    1500  unknown  --
vboxnet0              phys    1500  up       --
transferzone/net0     vnic    1500  up       vboxnet0

root@server:~# ipadm
NAME          CLASS/TYPE STATE        UNDER     ADDR
lo0           loopback   ok           --        --
   lo0/v4     static     ok           --        127.0.0.1/8
   lo0/v6     static     ok           --        ::1/128
net0          ip         disabled     --        --
   net0/v4    dhcp       disabled     --        ?
   net0/v6    addrconf   disabled     --        ::

root@server:~# ls /etc/ | grep host
hostid
hostname.vboxnet0
hosts

root@server:~# cat /etc/hosts
#
#Copyright 2009 Sun Microsystems, Inc. All rights reserved.
#Use is subject to license terms.
#
#Internet host table
#
::1 server localhost
127.0.0.1 server localhost loghost

root@server:~# cat /etc/hostid
# DO NOT EDIT
"_I__45heac"

root@server:~# cat /etc/hostname.vboxnet0
192.168.56.1

I am not really sure what to look for here. The only thing I noticed is that in /etc/ there is no "hostname.net0" the same as .vboxnet0 but I am not sure if there should be such a file or not.
/var/adm/messages does not really say anything either.
Running /lib/svc/method/net-physical start directly from prompt does not result in any output and it just sits there without going anywhere until i press ctrl+c.

Any suggestions?
Sponsored Links
    #13  
Old Unix and Linux 11-26-2016
hicksd8 hicksd8 is offline Forum Advisor  
Registered User
 
Join Date: Feb 2012
Last Activity: 29 March 2017, 4:45 PM EDT
Location: Devon, UK
Posts: 1,373
Thanks: 169
Thanked 345 Times in 288 Posts
I think you've hit the same problem that I started this thread about on 20-04-2016 so join the club!

Solaris x86 11.3 'live' DVD, network issue

I never got an answer to this and I haven't been able to solve it myself.

Do you think that it's the same problem?

I put the thread up in the hope that some big Solaris guns who are members on here (and who are Oracle employees) would push this inside Oracle but, so far, no luck.

So what I'm saying is that I don't think this problem is as a result of something you've done. I still say that it's a bug.

---------- Post updated at 07:29 PM ---------- Previous update was at 06:53 PM ----------

Additional comment:

The obvious conclusion to draw is that the required network interface driver is not available (ie, not on the media) but if that were the case, how come the network interface always works fine when running from the 'live' DVD but won't start the network after installation and booting from the HD. I still don't get it I'm afraid. Just doesn't make sense. Even then, the problem occurs randomly and is not consistent on every boot. Sometimes it works just fine and seems to be something to do with a DHCP server (or router) going away (rebooting) and then coming back. Subsequent boots fail to start the network for some reason and screw the OS.

If you install Solaris 11.1 x86 and then do an over-the-web upgrade to Solaris 11.3 this problem never occurs. Weird.

Last edited by hicksd8; 11-26-2016 at 02:36 PM..
The Following User Says Thank You to hicksd8 For This Useful Post:
Zorken (11-27-2016)
Sponsored Links
    #14  
Old Unix and Linux 11-26-2016
Zorken Zorken is offline
Registered User
 
Join Date: Sep 2013
Last Activity: 21 December 2016, 11:43 AM EST
Posts: 16
Thanks: 9
Thanked 2 Times in 2 Posts
I'm not sure if it is the same issue, but considering the tips in your thread did not help me, I start to fear for it.
Does that mean that my only way out is to do a fresh install of Solaris 11.1 instead?
And I who was so happy with getting everything working together so nicely, zones and all. Linux

Nothing I can try to get it working?
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 12:53 AM.