LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 07-11-2009, 01:00 PM   #1
cncking
LQ Newbie
 
Registered: Jul 2009
Location: Aurora, CO
Distribution: Centos 5.2
Posts: 1

Rep: Reputation: 0
libsqlite3.so.0 accidentally removed causing problems


I was having an unresolvable issue with MYSQL where the root password would reset to null every 5 minutes. In my quest to remove anything sql related I accidentally removed anything with the letters sql in the file name. ls -la On a working server:

lrwxrwxrwx 1 root root 19 Jul 11 02:23 libsqlite3.so.0 -> libsqlite3.so.0.8.6
-rwxr-xr-x 1 root root 385180 Jan 9 2007 libsqlite3.so.0.8.6

On my server that isn't working:


lrwxrwxrwx 1 root root 19 Jul 11 09:45 libsqlite3.so.0 -> libsqlite3.so.0.8.6*
-rwxr-xr-x 1 root root 385180 Jul 11 11:44 libsqlite3.so.0.8.6*

I have copied the files that yum complains about from the new server that I have to the old one. This is what I get when trying to run yum update:

root@ns1 [/usr/lib]# yum update
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

libsqlite3.so.0: cannot open shared object file: No such file or directory

Please install a package which provides this module, or
verify that the module is installed correctly.

It's possible that the above module doesn't match the
current version of Python, which is:
2.4.3 (#1, Jan 21 2009, 01:11:33)
[GCC 4.1.2 20071124 (Red Hat 4.1.2-42)]

If you cannot solve this problem yourself, please go to
the yum faq at:
http://wiki.linux.duke.edu/YumFaq


root@ns1 [/usr/lib]#

Python versions are identical on both servers. Any Ideas?

I would like to not have to reinstall this server.

Thanks,
Steve
 
Old 08-03-2009, 02:32 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 21,610
Blog Entries: 47

Rep: Reputation: 1413Reputation: 1413Reputation: 1413Reputation: 1413Reputation: 1413Reputation: 1413Reputation: 1413Reputation: 1413Reputation: 1413Reputation: 1413
As you have experienced removing files manually is a bad idea. To assess the damage verify your systems state by running 'rpm -Vva'. For decrypting output see 'man rpm' under "Verify options".
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Accidentally removed the default panel galapogos Mandriva 5 03-09-2009 10:21 AM
Accidentally rc0.d directory removed!!! jastazv Linux - Software 7 02-25-2009 01:44 PM
Accidentally removed shadow package hussar Slackware 3 12-24-2005 06:31 AM
removed software causing problems? kola General 10 07-20-2004 05:59 PM
newbie - removed partition accidentally kristalchimera Debian 6 07-12-2003 11:36 PM


All times are GMT -5. The time now is 01:50 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration