Solved

Accidentally removed SUNWcsr

Posted on 2010-09-22
5
607 Views
Last Modified: 2013-12-27
I have accidentally removed the SUNWcsr, SUNWhea as well as SUNWmdb and SUNWmdbx while the most unfortunate thing is the network connection breaks which makes me unable to login to the system again. How can I install  those package back?

I have then reboot the server and of coz it won't boot and keep on having core dump. I have then boot to single user mode using the installation cd and then fix the disk using fsck. After that, I then tried to mount the disk using "mount /dev/dsk/c1t0d0s0 /a" and it works.

I can then locate the SUNWcsr while when I issue the command "pkgadd -R /a -d . SUNWcsr" it compained with "error: unable to open admin file <default> "

What can I do now?
0
Comment
Question by:frankcheong
  • 2
  • 2
5 Comments
 
LVL 8

Accepted Solution

by:
nognew earned 500 total points
ID: 33735636
Hi there!
 create a file:
/var/sadm/install/admin/default
with the following content:


mail=<your email here>
instance=unique
partial=ask
runlevel=ask
idepend=ask
rdepend=ask
space=ask
setuid=ask
conflict=ask
action=ask
basedir=default

Cheers,
t.
0
 
LVL 4

Author Comment

by:frankcheong
ID: 33741666
Actually, I can only boot up to single user mode using cdrom and I suppose the whole file system is read only except the one I mount using /a?

Do you mean to create the default file under /a/var/sadm/install/admin/default instead?
0
 
LVL 8

Expert Comment

by:nognew
ID: 33741779
Yep. If its the current mount point.  
T.
0
 
LVL 13

Expert Comment

by:Rowley
ID: 33742001
When you run pkgadd from a cd boot and rw mount your root partition, ensure you specify the alternate root path using the -R option to pkgadd.
0
 
LVL 4

Author Closing Comment

by:frankcheong
ID: 33750476
yes, it did the tricks.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
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…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

757 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now