Re: Re: My son is innocent!
Quote:
|
#last says it's rebooting every morning at 04:40 every day for the past 8 days.
I figured if it's happening at the exact same time every day, maybe it IS a cron job. Well I noticed that whenever I ran slocate it said the database hasn't been updated in 8 days (!) So I ran the "slocate" script in /etc/cron.daily, which runs updatedb. I did this a few times. Each time, it would either reboot or lock up. I tried running updatedb myself instead of using the script in cron.daily and it still rebooted or froze. I guess we found the culprit. Is there a way to get updatedb working again, or am I going to have to disable that cron job? If the latter, how do I disable it? Thanks for all the help! |
is this a new computer?
Other than being a hardware issue it could also be a heating issue. Your motherboard may have a default reboot for excessive heat. You can check that in your BIOS. Just another thought is all. Best of luck to you. |
I know this problem.
Try swapping out the PSU (power supply) |
It's a brand new PSU.
To the last 2 replies... are you saying that even though it happens at the exact same time every morning, and it appears to be the updatedb command causing the reboot, that you still believe it to be a hardware issue? |
Given that it seems to be an updatedb issue. I would think it's 1 of 2 things:
1. There are corruptions in the filesystems that updatedb is performing on. 2. It's a harddrive issue so when certain spots of the harddrive (bad sectors?) are accessed the system becomes unstable. Not a linux expert so can't comment further. Good luck. |
Doesn't Slackware by default run updatedb at 4:30 am everyday? It does so on mine.
|
Quote:
|
If I run updatedb manually, it reboots (or sometimes just freezes.)
|
Quote:
|
Updatedb (the slocate script in /etc/cron.daily) runs at 4:40AM every day by default. You've found the problem.
Running updatedb or slocate -u uses lots of resources. It's very IO intensive on the hard drive and also uses lots of CPU cycles. The fact that the machine reboots or freezes every time this command means that the machine will probably reboot or freeze under any other similar command that puts a good amount of stress on the system. A great stress test for this sort of thing is recompiling the kernel. First things to check: make sure the CPU fan isn't blocked by a misplaced cable or large amounts of dust accumulation. Also check the BIOS to see if you can get CPU / Motherboard temperature readings. Try switching out the power supply, if you have another available. When you get large current draws from high system loads, the power may fluctuate from the PS which may in turn reboot the machine. It seems to me that either heat on the CPU or a bad power supply are at fault here. -- Shade |
Re: My son is innocent!
Quote:
One of these days you or your wife will wake up and find your 2 year old has wandered outside and got hit by a car!!!!!! NEVER leave a two year old alone and unwatched!!! |
Thanks Dr. Phil, but I was quite aware of that already. I see you've never made mistakes before, and therefore don't understand. That aside, he's not capable of undoing all of the locks to get outside. And even if he was capable of that, he still can't undo the deadbolt for the outside door, which requires a key.
Anyway, this is hardly relevent to LinuxQuestions.org. If you'd like to talk to me about parenting, you can email me at josh.darrell@gmail.com. |
Could it be possible that we're overengineering the problem here?
Have you tried reinstalling the updatedb package and checking your filesystem? It might be a corrupt binary for whatever reason ... thinking about it, you might want to consider a reinstall of glibc, too, just in case that bit got corrupted somewhere along the line. I'm sort of clutching at straws here, but reinstallation is cheaper than buying new hardware to replace possibibly faulty hardware. Like yuchai and Ilgar I highly recommend doing a manual disk check. Do you have a custom kernel? Perhaps there's some kernel level problem with disk access. I would rule out software problems before I started chasing hardware gremlins, personally. - Piete "I've still got more opinions!" Sartain. |
I would love to do a manual disk check, but I don't know how.
I am using the default 2.4.x kernel that comes with slack 10.2, so no custom kernel here. As for reinstalling the updatedb package, which package would that be? I don't see an updatedb package in /var/log/packages. Btw to everyone, I did chmod -x slocate in /etc/cron.daily, so as to prevent updatedb from running at 4:40am, and the PC was okay when I got up this morning. It did not freeze/reset. Thank you for the suggestions piete. Now if I could just figure out how to do them :) |
All times are GMT -5. The time now is 09:17 PM. |