CentOS stuck after few hours

If it doesn't fit in another category, ask it here.
Post Reply
asksam2002
Posts: 2
Joined: 2006/04/18 08:44:39
Contact:

CentOS stuck after few hours

Post by asksam2002 » 2006/04/20 05:03:50

Hi,
We install CentOS Server 4.3
Hardware (P3, 1G, 80GB IDE)
its works fine for 4h-5h (browsers, DHCP, DNS etc..)
We wait few more hours than try to work x11 stuck.
After reboot - it stuck after network setup.

nothing we try (that we know) help to recover)

P.S.
It's happen several times (we re-install all and same story few hours that we did not works with him it stuck )

Any advise how to continue?

Kindly Regards,
Sam

Lenard
Posts: 2283
Joined: 2005/11/29 02:35:25
Location: Indiana

CentOS stuck after few hours

Post by Lenard » 2006/04/20 22:17:41

Sounds like a possible hardware problem, re-installing the OS will not fix this.

Try replacing the ethernet card (if possible) and/or the video card (if possible). You might want to reconfigure your system BIOS also and turn off any IRQ for the video and if possible manually set the IRQ's for the devices.

It could be temperture and/or power releated also, try cleaning the inside of the system with some canned air, pay extra attention to the CPU fan.

Since this is a server, why are you running a GUI anyhow????? Try booting the system into runlevel 3 and only use the GUI when needed (if ever). How hard is it to log on and type 'startx' anyhow????

User avatar
WhatsHisName
Posts: 1547
Joined: 2005/12/19 20:21:43
Location: /earth/usa/nj

Re: CentOS stuck after few hours

Post by WhatsHisName » 2006/04/21 04:39:24

Also look at the system logs (i.e., /var/log/messages) for clues. If you can’t boot, you can always boot into rescue mode to have a look.

You will often find specific, repeating failures prior to the lockup.

blaizg
Posts: 4
Joined: 2006/05/23 23:40:58

Re: CentOS stuck after few hours

Post by blaizg » 2006/05/24 00:24:58

I have this same problem. I am a linux newbie and installed centos 4.3 on a laptop. The laptop is a dual boot machine (WinXP and Centos 4.3), but the crashes only happen in Linux. My guess is this would rule out any hardware issues. I have checked /var/log/messages and do not see any errors. I have tried reinstalling centos 4.3, but I just get the same problem. I have also tried increasing the syslog level from info to debug but I still do not see any helpful messages in /var/log/root. After my laptop (IBM thinkpad A31p) crashes the scroll lock and caps lock icon are flashing (I googled this and it seems to be the code for when redhat crashes).

Any Ideas on how to debug this?

Here is the /var/log/messages from the last crash:

May 23 14:36:40 bgrubic-lt messagebus: messagebus startup succeeded
May 23 14:36:41 bgrubic-lt cups-config-daemon: cups-config-daemon startup succeeded
May 23 14:36:41 bgrubic-lt haldaemon: haldaemon startup succeeded
May 23 14:36:44 bgrubic-lt fstab-sync[3283]: removed all generated mount points
May 23 14:36:45 bgrubic-lt fstab-sync[3380]: added mount point /media/cdrom for /dev/hdc
May 23 14:36:46 bgrubic-lt kernel: ACPI: PCI interrupt 0000:01:00.0[A] -> GSI 11 (level, low) -> IRQ 11
May 23 14:36:46 bgrubic-lt kernel: [drm] Initialized radeon 1.11.0 20020828 on minor 0:
May 23 14:36:46 bgrubic-lt kernel: agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
May 23 14:36:46 bgrubic-lt kernel: agpgart: Putting AGP V2 device at 0000:00:00.0 into 1x mode
May 23 14:36:46 bgrubic-lt kernel: agpgart: Putting AGP V2 device at 0000:01:00.0 into 1x mode
May 23 14:36:47 bgrubic-lt fstab-sync[3525]: added mount point /media/floppy for /dev/fd0
May 23 14:37:14 bgrubic-lt gdm(pam_unix)[3284]: session opened for user bgrubic by (uid=0)
May 23 14:37:15 bgrubic-lt gconfd (bgrubic-3602): starting (version 2.8.1), pid 3602 user 'bgrubic'
May 23 14:37:16 bgrubic-lt gconfd (bgrubic-3602): Resolved address "xml:readonly:/etc/gconf/gconf.xml.mandatory" to a read-only configuration source at position 0
May 23 14:37:16 bgrubic-lt gconfd (bgrubic-3602): Resolved address "xml:readwrite:/home/bgrubic/.gconf" to a writable configuration source at position 1
May 23 14:37:16 bgrubic-lt gconfd (bgrubic-3602): Resolved address "xml:readonly:/etc/gconf/gconf.xml.defaults" to a read-only configuration source at position 2
May 23 14:37:28 bgrubic-lt gconfd (bgrubic-3602): Resolved address "xml:readwrite:/home/bgrubic/.gconf" to a writable configuration source at position 0
May 23 15:01:02 bgrubic-lt crond(pam_unix)[3943]: session opened for user root by (uid=0)
May 23 15:01:02 bgrubic-lt crond[3944]: (root) CMD (run-parts /etc/cron.hourly)
May 23 15:01:02 bgrubic-lt crond(pam_unix)[3943]: session closed for user root
May 23 15:41:39 bgrubic-lt anacron[2810]: Job `cron.daily' started
May 23 15:41:49 bgrubic-lt anacron[4183]: Updated timestamp for job `cron.daily' to 2006-05-23
May 23 15:41:50 bgrubic-lt cups: cupsd shutdown succeeded
May 23 15:41:50 bgrubic-lt cups: cupsd startup succeeded

Linux crashed at 15:42 and there are no entries at this time. Since a cups restart happened right before the crash I tried restarting cups (/etc/init.d./cups restart) to see if this caused the problem but it did not.

Thanks for any help you can provide.

maddancer
Posts: 2
Joined: 2006/08/30 01:51:31
Contact:

Re: CentOS stuck after few hours

Post by maddancer » 2006/08/30 01:55:30

This exact thing just began with one of our RHEL4 boxes. CPU fan crapped out. It was spinning just fine, but because the bearings in the fan were worn, it was spinning slower than it needed to and wasn't moving enough air through the heatsink. And when it locks up, you'll get a cryptic error message onscreen (which has pretty much no meaning) and the lockup will NOT be logged by syslogd.

I'd put money on it being a CPU cooling issue.

Replace those $10 fans every year whether they look like they need it or not! It's just about the only time I ever have to reboot my RHEL / CentOS machines!

Post Reply

Return to “CentOS 4 - Miscellaneous Questions”