LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 06-10-2008, 03:36 AM   #1
mfstree
LQ Newbie
 
Registered: Apr 2008
Posts: 7

Rep: Reputation: 0
serious problem after copying file to /usr/lib in solaris10


I am not familiar with unix system. Today, i hv implemented some software and it requires some 'so' library. It cant locate the required 'so' files in /usr/local/lib. So i decide to cp all the files in /usr/local/lib to /usr/lib. Then the java desktop system cant function properly. I cant login to the JDS but can still login to common desktop envirnoment. Is there any method other than format to solve this situation? I guess the reason is after executing the cp command, some of the files in /usr/lib is overwriiten by those in /usr/local/lib.

Last edited by mfstree; 06-10-2008 at 04:10 AM.
 
Old 06-10-2008, 04:17 AM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
You can restore the overwritten files from the installation media.

You first need to identify which files were affected.
 
Old 06-10-2008, 04:21 AM   #3
mfstree
LQ Newbie
 
Registered: Apr 2008
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jlliagre View Post
You can restore the overwritten files from the installation media.

You first need to identify which files were affected.
how to go to the installation media?
insert the cd of solaris and then can enter?
 
Old 06-10-2008, 04:55 AM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
The installation media is indeed the DVD, the CDs or their iso images.

Before restoring, you first need to identify what files were overwritten.
 
Old 06-25-2008, 09:12 PM   #5
ADxD_7
Member
 
Registered: May 2007
Location: CO
Distribution: Solaris , Redhat , Debian
Posts: 152

Rep: Reputation: 23
I would say fresh install time - or if you had not really added anything and you have another sol10 machine that is up on your network then NFS share /usr/local/lib and rsync it over to the messed up machine - but thats a suggestion and what I would do - also all you needed to do was add /usr/local/lib to your path - or make a link to the .so files in /usr/lib - thats what the forums are for - ask - and I mean that in the nicest way

Regards
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
oops, I stripped /usr/lib and /usr/X11R6/lib ! H_TeXMeX_H Slackware 2 02-08-2007 09:27 PM
yum update problem with file /usr/lib/libpcsclite.so.1.0.0 admir330 Linux - Newbie 3 01-11-2007 04:55 PM
Compromised? Files "/usr/lib.hwm", "/usr/lib.pwd", "/usr/lib.pwi" Klaus Pforte Linux - Security 4 09-28-2004 11:33 PM
Access Denied Problem : Moving A File To usr/lib Help Please DozenEggs Linux - Newbie 5 08-22-2004 06:59 PM
grep: /usr/lib/libglib-2.0.la: No such file or directory FirstTimeUser Linux - Software 9 10-15-2003 09:53 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 10:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration