Web Hosting Talk







View Full Version : Reboot Problems


sbrad
12-13-2001, 01:40 AM
Every once in a while, my RedHat 7.1 machine will forget to work, so it's gotta be rebooted. I know that having to run fsck manually on a locked up box is pretty common, but doesn't cpanel include a script that's supposed to force it to run? nofsck? Or does that do something else?

zupanm
12-13-2001, 10:26 AM
that shouldn't happen. Look into running memtester and see if you have bad RAM. That is 9/10 the problem with linux just rebooting by itself.

sbrad
12-13-2001, 10:38 AM
No, it's not just rebooting itself. I'm saying, occasionally it will lock up for whatever reason, and someone has to physically reboot it.

RutRow
12-13-2001, 11:20 AM
FSCK will automatically run during boot if the partitions were not safely unmounted.

Your should still check your memory for problems. Also check your cpu for proper cooling.

MikeA
12-13-2001, 11:32 AM
Apparently Red Hat 7.2 fixes that problem. We have that happen a lot on our Linux boxes. Nothing worse than doing a reboot and it not coming back up because the fsck has to be ran.

RutRow
12-13-2001, 12:04 PM
Yes, I noticed that too. By default it uses ext3 filesystem, and has extra support for dealing with improperly unmounted drives.

sbrad
12-13-2001, 12:14 PM
I emailed Travis @ Powersurge, and he said:
/scripts/nofsck
You'll want to put that in your startup scripts too, so it stays constant
within your system. Such as, put it at the end of your /etc/rc.d/rc.local
file.....

So what I'm wondering is, do I just open /etc/rc.d/rc.local and scroll to the end and add "/scripts/nofsck"?