LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
Search this Thread
Old 03-26-2004, 05:01 PM   #1
beejayzed
Member
 
Registered: Jan 2004
Location: Auckland, New Zealand
Distribution: Ubuntu
Posts: 686

Rep: Reputation: 30
updatedb crashes OS


Hi all,
Today I wanted to search for something that I had just installed so I had run updatedb.
Crash boom! kapow(well not really), the whole thing completely locked up. The first time it happened, it gave me some error message to do with the kernel but when I tied re-installing it, it's stopped giving me errors.
I tried running it in a different console but still no go. I tried lots of other things like using the other kernel.
I tried running updatedb for Mandrake 10 in Mandrake 9.1 and it's doesn't crash the system.
Anyway, does anyone have any suggestions, maybe the location of a log file so that I cn post the original error message.
Thanks,
Bradley

Last edited by beejayzed; 03-26-2004 at 11:05 PM.
 
Old 03-26-2004, 10:35 PM   #2
beejayzed
Member
 
Registered: Jan 2004
Location: Auckland, New Zealand
Distribution: Ubuntu
Posts: 686

Original Poster
Rep: Reputation: 30
Bump...
Okay if someone has had any experience similar to this please tell me, even if it's with a different program.
Where would this kind of thing be logged?
 
Old 03-26-2004, 11:28 PM   #3
lnxconvrt
Member
 
Registered: Mar 2002
Location: Houston
Distribution: FC3, Manrake 10.x, various others at times
Posts: 113

Rep: Reputation: 18
I had a similar problem once...

but under Red Hat. Not a system crash, but sendmail stopped due to high load average. Turned out I had lots of hung updatedb processes.

First, you might check if you have any hung updatedb processes running and kill them. Then check /etc/updatedb.conf and see if it needs adjusting.

In my case it was trying to access an nfs mount that no longer was in existence.

I don't know about the crash, but errors in the config can cause it to hang.

HTH.
 
Old 03-27-2004, 01:41 AM   #4
beejayzed
Member
 
Registered: Jan 2004
Location: Auckland, New Zealand
Distribution: Ubuntu
Posts: 686

Original Poster
Rep: Reputation: 30
I takes the whole system down with it so I need to restart. I hardly think they would still be around after restarting about five times.
 
Old 03-27-2004, 01:43 AM   #5
beejayzed
Member
 
Registered: Jan 2004
Location: Auckland, New Zealand
Distribution: Ubuntu
Posts: 686

Original Poster
Rep: Reputation: 30
And I reinstalled the slocate package, making sure I deleted all it's configuration files before I reinstalled it..
 
Old 03-27-2004, 01:48 AM   #6
beejayzed
Member
 
Registered: Jan 2004
Location: Auckland, New Zealand
Distribution: Ubuntu
Posts: 686

Original Poster
Rep: Reputation: 30
Ah well, I guess I'll just have to reinstall. All the rebooting with out going through the procedures has corrupted the filesystem.
 
Old 12-26-2004, 01:57 PM   #7
neon
Member
 
Registered: Aug 2003
Location: Thailand
Distribution: Fedora 3
Posts: 56

Rep: Reputation: 15
hi, i'm having this same problem..
I'm trying to uninstall slocate, how do I do that?


thanks
 
Old 12-26-2004, 02:00 PM   #8
neon
Member
 
Registered: Aug 2003
Location: Thailand
Distribution: Fedora 3
Posts: 56

Rep: Reputation: 15
oh, what should I do if it says segmentation fault??
it sounds bad..
i get this error message when i ran slocate -u
 
Old 12-27-2004, 09:47 PM   #9
lnxconvrt
Member
 
Registered: Mar 2002
Location: Houston
Distribution: FC3, Manrake 10.x, various others at times
Posts: 113

Rep: Reputation: 18
short answer

since I don't have much time at the moment. Using FC3 you should be able to uninstall with "yum remove slocate". Then "yum install slocate" would reinstall. Or, I think, there is an rpm option (maybe -F or freshen, try man rpm) to freshen a package.

If there's more wrong than that can fix, you could try using strace, as in "strace locate somefile" or whatever the exact command is that produces the problem. Probably pipe the output to less because there will be a lot of it. But you might see what exactly is causing the problem.
 
  


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
updatedb locks system mherring02 Linux - Software 9 08-28-2005 04:54 PM
My Computer just locks up banner Linux - General 4 08-17-2005 07:13 PM
Traffic Shaping locks/crashes workstation booink Linux - Networking 0 02-05-2005 09:20 AM
Seriouse problem with friends MDK 10, locks crashes. WHY! MANDRAKE! WHY! RHLinuxGUY Mandriva 6 08-08-2004 04:19 PM
KDE Crashes and locks system at startup NeoShadow Linux - Newbie 0 06-06-2004 11:24 AM


All times are GMT -5. The time now is 04:31 PM.

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