sajuars DeleteThis @gmail.com wrote:
> By mistake i deleted the locale-archive file in /usr/lib/locale
> and now my system is down .
> Can anybody help with a solution .Can this be be created again by
> running some rpm's .But the machine is down .
> Here's my red hat version details :
>
> Linux version 2.4.21-27.ELsmp (bhcompile@bugs.build.redhat.com) (gcc
> version 3.2.3 20030502 (Red Hat Linux 3.2.3-47))
>
> Saju
>
Saju,
Can you get the rescue cd (CD1 of the installation CD's) to recognize
your installation?
If so follow the next steps, if you do not have a backup:
0. go into rescue mode fom install CD1, chroot to / filesystem on harddisk
1. Check the current glibc-common version with:
rpm -q glibc-common
2. You may need to download that rpm for RHN, if it is not on your CD's.
The following command may solve your problem:
rpm -ivh --force glibc-common-current_version.rpm
3. reboot your system.
If you have a backup.
0. Go into rescue mode with install CD1, chroot to / filesystem on harddisk
1. start your backup tool.
2. restore the missing file.
3. reboot
IF all else fails.
I do not recommend this, but it might be a last resource:
0. go into rescue mode fom install CD1, chroot to / filesystem on
1. up2date -u glibc-common
2. reboot
WARNING:
This will probably 'force you' to update the complete Red Hat
installation if it is not up to date. Can give lots of trouble with
applications or non Red Hat hardware drivers that fail if you update the
kernel, so again this is not recommended.
Best regards,
Jan Gerrit Kootstra