/sbin/clock and /sbin/hwclock: out of memory problems
Hi, Guyes:
Please help me with this problem:
Every time when I run /sbin/clock or /sbin/hwclock, the system freezes.
At the boot time, the system says that /sbin/clock:fork: can not allocate memory.
The system even can't shut down. Cause during shutdown, system will call hwclock to sync hardware clock to system clock.
I am using Redhat 8.0 with 128MB memory and 256 swap memory.
I didn't have this problem. I once tried /sbin/clock and /sbin/hwclock without any problems. Then I tried to manually sync hardware clock and system clock by using /sbin/hwclock and editing /etc/sysconfig/clock and creating slink to /etc/localtime from /usr/share/zoneinfo/America/New_York. After that I have this annoying problem.
Does anybody know how to solve this problem? I've been looking for answers for quite a long time but couldn't find one.
Thanks a lot.
|