RHEL 5.3 booting problem
Hi ALL,
I'm using RHEL 5.3 on dell laptop. Yesterday, during shutting down the Linux it was hanging saying "Syncing hwclock with system time". After half an hour I switched off the laptop and start again. During booting the system it was hanging just before starting udev. Below is the last 3 lines on the screen : Red Hat nash version 5.1.19.6 starting Welcome to Red Hat Enterprise Linux Server Press 'I' to enter interactive startup Pressing 'I' it is giving no reply. Would anybody please tell me where is the problem ? |
Quote:
Try NOT pressing "I". |
This is a tough one.
In RHEL (5.2), /etc/rc.d/rc.sysinit contains: Code:
if [ "$PROMPT" != "no" ]; then Code:
Code:
[ -x /sbin/hwclock ] && /sbin/hwclock $CLOCKFLAGS Code:
if { "$GRAPHICAL" = "yes" -a /usr/bin/rhgb-client ]; then I suspect you are still having hwclock problems. This smells suspiciously like a hardware problem. Can you bring up the system in its diagnostic mode and check the hardware clock? That might be worth doing first. If it's clean you might try booting off a rescue disk; chroot'ing to your root filesystem; making /sbin/hwclock non-executable; and finally rebooting to see if it then comes up. If it does, then you can try to debug the hwclock issue. good luck. |
Problem in syslogd in hwclock script
Hi tommylovell,
As my system was hanging at the time of syncing the system with hwclock, I first tried to run hwclock from command prompt and found that it was hanging in the same way. Then I commented a few lines that invokes syslogd Code:
#!/bin/bash and found that hwclock was working fine and there is no problem at the time of boot up or shut down except for System logger daemon fails at the boot time. [root@Rose sbin]# hwclock Fri 26 Mar 2010 11:02:26 PM KST -0.083846 seconds [root@Rose sbin]# Probably the problem is in System logger daemon that causing the hwclock to hang rather than in hardware. Though the syslogd daemon fails to start at boot time I found that the daemon is running. [root@Rose etc]# ps -eaf|grep syslog root 2572 1 0 22:37 ? 00:00:00 syslogd -m 0 root 6037 5853 0 23:13 pts/2 00:00:00 grep syslog Attempting to restart the daemon says: [root@Rose etc]# /etc/init.d/syslog restart Shutting down kernel logger: [ OK ] Shutting down system logger: [ OK ] Starting system logger: [FAILED] Starting kernel logger: [ OK ] [root@Rose etc]# Please guide me on how to successfully run syslogd daemon. Thanks and Regards Sukhendu |
Problem in syslogd in hwclock script
1 Attachment(s)
HI tommylovell,
In continuation with my last reply having title "Problem in syslogd in hwclock script" I'm attaching herewith the starce output file generated at the time of starting syslogd daemon for your further analysis.The command I issued : [root@Rose etc]# strace -o syslog.log /etc/init.d/syslog restart Also I tried with the following: [root@Rose etc]# cp /sbin/syslogd /sbin/syslogd_bak You have new mail in /var/spool/mail/root [root@Rose etc]# cp /usr/include/shup.h "/sbin/syslogd " cp: overwrite `/sbin/syslogd '? y [root@Rose etc]# /etc/init.d/syslog restart Shutting down kernel logger: [ OK ] Shutting down system logger: [ OK ] Starting system logger: [FAILED] Starting kernel logger: [ OK ] Thanks and Regards Sukhendu |
1 Attachment(s)
Well, I'm at a loss.
I tried strace'ing a restart of syslogd as you did, and all I can see is that syslogd is failing to start. (I've attached mine for comparison.) All I have left to suggest is what I saw in a similar post. Someone stated that syslog won't come up if there is inadequate space in /var. The other suggestion that I saw was to uninstall syslog then reinstall it. You might try just executing syslogd directly (i.e. /sbin/syslogd) and see if it spits out an error message that you can't see when it is started from within the rc shell scripts. If these don't help I don't know what to tell you. If you have a still have a support contract with Redhat they certainly can help. |
Quote:
|
All times are GMT -5. The time now is 01:14 PM. |