Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 29th May 2008, 09:06 PM
Varick Offline
Registered User
 
Join Date: May 2008
Posts: 6
Exclamation find not working in FC1

I administer a old FC1 server that magically within the last month no longer allows find to work. Selinux was never installed or enabled, but suddenly it is looking for a shared object file. Nothing was changed by the client, and nothing was changed by us. And this starting happening on the mirrored server as well, exact same issue.

error:

[root@aalarm2 bin]# find / -name basic -print
find: error while loading shared libraries: libselinux.so.1: cannot open shared
object file: No such file or directory


[root@aalarm2 usr]# ldd /bin/rpm
librpm-4.2.so => /usr/lib/librpm-4.2.so (0x002e7000)
librpmdb-4.2.so => /usr/lib/librpmdb-4.2.so (0x003e5000)
librpmio-4.2.so => /usr/lib/librpmio-4.2.so (0x002a7000)
libpopt.so.0 => /usr/lib/libpopt.so.0 (0x008f3000)
libelf.so.1 => /usr/lib/libelf.so.1 (0x003d3000)
libbeecrypt.so.6 => /usr/lib/libbeecrypt.so.6 (0x00287000)
librt.so.1 => /lib/tls/librt.so.1 (0x007df000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0x0038a000)
libbz2.so.1 => /usr/lib/libbz2.so.1 (0x033a2000)
libc.so.6 => /lib/tls/libc.so.6 (0x00123000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x0010b000)

help! the find command is part of our nightly backup script, so that is currently not working. Thanks in advance.
Reply With Quote
  #2  
Old 29th May 2008, 09:43 PM
marcrblevins's Avatar
marcrblevins Offline
Registered User
 
Join Date: Jun 2006
Location: Texas
Age: 42
Posts: 4,168
Show us:
Code:
su -
whereis find
Reply With Quote
  #3  
Old 29th May 2008, 09:46 PM
marcrblevins's Avatar
marcrblevins Offline
Registered User
 
Join Date: Jun 2006
Location: Texas
Age: 42
Posts: 4,168
Also:
Code:
su -
rpm -qa | grep find
Reply With Quote
  #4  
Old 29th May 2008, 09:47 PM
Varick Offline
Registered User
 
Join Date: May 2008
Posts: 6
[root@aalarm2 basic]# whereis find
find: /usr/bin/find /usr/bin/find.mon /usr/bin/find.orig /usr/share/man/man1/fin
d.1.gz /usr/share/man/mann/find.n.gz
Reply With Quote
  #5  
Old 29th May 2008, 09:51 PM
Varick Offline
Registered User
 
Join Date: May 2008
Posts: 6
[root@aalarm2 basic]# rpm -qa | grep find
findutils-4.1.7-17
Reply With Quote
  #6  
Old 29th May 2008, 09:52 PM
marcrblevins's Avatar
marcrblevins Offline
Registered User
 
Join Date: Jun 2006
Location: Texas
Age: 42
Posts: 4,168
You are missing one in /bin/find

Here is my result from Fedora 9.
Code:
[root@kiriyamablevins ~]# whereis find
find: /bin/find /usr/bin/find /usr/share/man/man1p/find.1p.gz /usr/share/man/man1/find.1.gz
[root@kiriyamablevins ~]#
Can you run the rpm -qa command I mentioned earlier?
Reply With Quote
  #7  
Old 29th May 2008, 09:55 PM
Varick Offline
Registered User
 
Join Date: May 2008
Posts: 6
[root@aalarm2 basic]# su -
[root@aalarm2 basic]# rpm -qa | grep find
findutils-4.1.7-17
Reply With Quote
  #8  
Old 29th May 2008, 09:57 PM
marcrblevins's Avatar
marcrblevins Offline
Registered User
 
Join Date: Jun 2006
Location: Texas
Age: 42
Posts: 4,168
Can you reinstall the fileutils rpm file from your fedora core 1 DVD?
Reply With Quote
  #9  
Old 30th May 2008, 01:43 PM
Varick Offline
Registered User
 
Join Date: May 2008
Posts: 6
When I try and reinstall findutils it acts like it installed, but it doesnt seem to, even with a force. I just also force installed glibc-common-2.3.2-101.i386.rpm and glibc-2.3.2-101.i386.rpm. The good news, find works now. The bad news, ls and date dont anymore. The new error is :

[root@aalarm2 drivers]# ls
ls: relocation error: /lib/i686/librt.so.1: symbol __pthread_clock_settime, vers
ion GLIBC_PRIVATE not defined in file libpthread.so.0 with link time reference

so do I need to reinstall something else, or can I just change a pointer location?
Reply With Quote
  #10  
Old 30th May 2008, 03:22 PM
Varick Offline
Registered User
 
Join Date: May 2008
Posts: 6
nevermind, I got it. I had to move the old file and make a new symbolic link that pointed to the correct file.

cd /lib/i686
mv librt.so.1 librt.so.1.old
ln -s /lib/librt-2.3.2.so librt.so.1

and now everthing seems to be working correctly.

Thanks, for all your help.
Reply With Quote
  #11  
Old 2nd June 2008, 05:04 AM
Jman Offline
Registered User
 
Join Date: Mar 2004
Location: Minnesota, USA
Age: 27
Posts: 7,909
FC1 is DEAD AND INSECURE. I hope this is not Internet connected, or you roll your own security updates.

RHEL or CentOS are longer life releases much more suited to a system lasting longer than a year.
Reply With Quote
Reply

Tags
fc1, working

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
desktop effects not working! can't find propreitary drivers. ATI Radeon 3xxx series JK3MP Hardware & Laptops 0 2nd August 2009 05:24 PM
yum- "could not find any working storages" el_ricardo Using Fedora 2 13th April 2007 09:00 PM
How to find the users working srujanabobba Using Fedora 6 16th December 2006 01:51 PM
Yum quit working with "Cannot find a valid baseurl for repo: core" Archw Servers & Networking 8 2nd August 2006 07:44 AM
find ./ -exec spamc < {} \; <-- Not working skennedy Using Fedora 1 4th June 2004 07:58 AM


Current GMT-time: 22:02 (Saturday, 18-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat