Solved

Solaris won't boot

Posted on 2011-09-16
2
442 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
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 navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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.

738 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