Solved

Solaris won't boot

Posted on 2011-09-16
2
443 Views
Last Modified: 2012-05-12
Hi i am getting this message when I am booting the Solaris machine.

Type control-d to proceed with normal startup,
(or give root password for system maintenance):
ENTER RUN LEVEL (0-6, s or S) [3]:

INIT: Cannot create /var/adm/utmpx
Unfortunately the last admin guy left and I don't have the root password to do fsck -y

can someone help me to fix this issue?
0
Comment
Question by:locster73
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 78

Expert Comment

by:arnold
ID: 36550234
You have to use the install media to boot the system.
Then drop into the shell.
One in the shel, you have to know what the setup was on the system:
Did it use individual partitions or did it use metadevices.


http://sunsolarisadmin.blogspot.com/2007/03/how-to-reset-root-password-in-sun.html

echo "<password>" | perl -e '$test="$_"';chomp($test);print  scalar crypt($test,"f4")."\n";'
The result is the encrypted password you provided which you can enter into the old shadow file.
0
 
LVL 9

Accepted Solution

by:
amolg earned 500 total points
ID: 36554238
First try to get control of the system by reseting root password. Below is the link for the steps,

http://sunsolarisadmin.blogspot.com/2007/03/how-to-resetrecover-root-password-in.html
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

689 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question