LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 11-09-2003, 12:46 AM   #1
krome
Member
 
Registered: Oct 2003
Location: SF,CA
Distribution: Mandrake 9.2, RH9
Posts: 87

Rep: Reputation: 15
The Phantom Dir.


I installed Realplayer on my RH9 and it worked yesterday but not today. That is I try to open the link to play and nothing happens. I decide that I need to reinstall realplayer(I have upgraded at RH.com since then and figure that some lib file got switched) so I as root rm -rf The RealPlayer8 dir and reinstall. Still nothing. So, I try it again, rm -rf RealPlayer8(where all the realplay files are according to my 'locate realplay') and when I try to reinstall it says that RealPlayer8 is already installed. So, I do a locate realplay and, sure enough it shows me a bunch of files in the dir /usr/lib/RealPlayer8. But if I try to go there it tells me that the dir doesn't exist. And if I try to look via my gnome desktop It's not there and if I login as just a user not root I don't see these files. I have rebooted multiple times. Where is the .config or other file that is making root believe that these filesz still exist? Do I need to reinstall the OS to get things back to normal?

Last edited by krome; 11-09-2003 at 12:48 AM.
 
Old 11-09-2003, 01:44 AM   #2
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
Try doing a shutdown -Fr now. This will reboot the computer and run fsck on start up. The reason why you need this is because you can't run fsck on a mounted drive.
 
Old 11-09-2003, 02:00 AM   #3
usernamenumber
Member
 
Registered: Sep 2003
Location: Somerville, MA
Distribution: Fedora/RHEL currently. Red Hat, Slackware, Debian, SuSe and Mandrake at other times
Posts: 104

Rep: Reputation: 15
I'm really not sure what the above advice about running fsck is supposed to accomplish, but here's what I believe your problem is.

The reason your system says rp is still installed: Did you, by any chance, install realplayer using an rpm? If so, you will have to do 'rpm -e realplayer' (or whatever the realplayer package is called). There is data stored in your system's rpm database besides just the files stored on the disk. rpm -e (as in erase) removes everything.

The reason locate still shows those files is that locate does not actually search your drive. Every night at about 4am a program called 'updatedb' is automatically run. This program creates a database of every files and directory on the system. Since actually going through the entire system would take a very long time, the locate command just searches the database. When you deleted that directory it was not removed from the db and so locate will give you inaccurate information until the db is updated. You can do this either by waiting until the next time updatedb is run automatically or you can just run it yourself (as root). If you want to search the disk in real time (not from the database), use the find command:

find / -iname realplayer

This will take longer than locate but it will be searching the actual disk and will update locate's database as it goes.

Hope this helps
--Brad
 
Old 11-09-2003, 06:41 PM   #4
krome
Member
 
Registered: Oct 2003
Location: SF,CA
Distribution: Mandrake 9.2, RH9
Posts: 87

Original Poster
Rep: Reputation: 15
well, I did the rpm -e and then tried to reinstall and was told that it was already installed...ugh. So, I went ahead and booted with fsck and found that I had some bad sectors that couldn't be rewritten so I reinstalled RH9 and now have RP8 installed and working as well as just about everything else. I am almost convinced that this HDD is physically damaged but can't afford another.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
a phantom file in my home dir microsoft/linux Debian 16 11-05-2005 11:54 PM
Phantom firewall blocking packets kwc5811 Linux - Security 5 10-04-2005 04:53 PM
phantom nic tzonga1 Linux - Networking 0 06-15-2004 08:44 PM
phantom drive disallowing lilo reconfiguration rose_bud4201 Linux - Hardware 3 08-12-2003 09:44 AM
phantom disk problem reading floppy wsimmons Linux - General 3 10-19-2001 09:53 PM


All times are GMT -5. The time now is 05:32 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 Google+: linuxquestions
Open Source Consulting | Domain Registration