SUMMARY: How to reinstall SUNWpr on Solaris 10 x86

From: Loris Serena <loris.serena_at_bt.com>
Date: Thu Mar 16 2006 - 12:59:52 EST
	Thanks a mill to Darren Dunham, Koef, Darren Brechman-Toussaint and
JV.

	Basically:

	1. boot in "Solaris failsafe" mode
	   (the HDD gets mounted under /a )

	2. mount the Solaris 10 1of4 CD
	   # mount  -F hsfs /dev/dsk/c1t0d0p0 /cdrom

	3. make sure /var, /usr and /opt of the HDD are properly mounted
	   (in my case I had to manually add /var )
	   # mount /dev/dsk/c0d0s3 /a/var

	4. locate the missing package on the CD, copy it to /tmp and install
it onto the HDD
	   # pkgadd -d . -R /a SUNWpr

	This worked for me, but I had to do the exact same to re-install
SUNWtls too...


	Great great list!


	Loris




>  -----Original Message-----
> From: 	Loris Serena  
> Sent:	15 March 2006 22:17
> To:	'sunmanagers@sunmanagers.org'
> Subject:	How to reinstall SUNWpr on Solaris 10 x86
> 
> Guys, 
> 
> In a (very unlucky) attempt to minimize a Solaris 10 x86 install, I've
> removed the SUNWpr package (Netscape Portable Runtime Interface), and now
> when I try to login (either via ssh or at the console) I get the following
> error:
> 
> login: myusername
> login: open_module: /usr/lib/security/pam_authtok_get.so.1 failed:
> ld.so.1: login: fatal: libnspr4.so: open failed: No such file or
> directory.
> 
> Basically, by removing SUNWpr I've also removed libnspr4.so from my system
> (how bad?)
> 
> Now, booting "Solaris failsafe" from the grub menu, I've put the Solaris
> 10 disc 1 of 4 (which contains SUNWpr) in the CD drive,
> 
> # iostat -En       returns c1t0d0 as my cdrom 
> 
> but when I try to mount it with
> 
> # mount -F hsfs /dev/dsk/c1t0d0s2 /cdrom
> 
> it returns 
> 
> NOTICE: hs_findhsvol:bread: error=(5)
> mount: I/O error
> mount: cannot mount /dev/dsk/c1t0d0s2
> 
> So, I'm a bit stuck now ;-(
> 
> Any idea about how to get that CD mounted to reinstall the SUNWpr package
> which contains libnspr4.so ?
> 
> Thanks in advance
> 
> Loris
> 
> 
> 
> 
> 
> 
BT Communications Ireland Limited 
is a wholly owned subsidiary of BT Group plc 
Registered in Ireland, Registration No. 141524 
Grand Canal Plaza, Upper Grand Canal Street, Dublin, Ireland 

This electronic message contains information (and may contain files) from BT
Communications Ireland Limited which may be privileged or confidential. The
information is intended to be for the sole use of the individual(s) or
entity named above. If you are not the intended recipient be aware that any
disclosure, copying, distribution or use of the contents of this information
and or files is prohibited. If you have received this electronic message in
error, please notify us by telephone or email (to the numbers or address
above) immediately. http://www.btireland.ie
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Thu Mar 16 13:00:37 2006

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:56 EST