Results 1 to 5 of 5
Thread: rpm erased need help and advice
-
01-18-2007, 09:18 PM #1Web Hosting Evangelist
- Join Date
- Oct 2004
- Location
- India
- Posts
- 509
rpm erased need help and advice
In a strange scenario one remote server is having issue itself with the rpm package. It seems that it got damaged and as the rpm itself is corrupted , it can not fix itself.
The box is very critical and it can not be reinstalled as it is in remote DC. Is there any way to fix this without a reinstallation?
System is RHEL 3 Update 6.
Need your advice on this.ESC :wq!
-
01-18-2007, 09:23 PM #2New Member
- Join Date
- Jan 2007
- Location
- Montana
- Posts
- 4
Can you extract and reupload the original rpm package?if you could do that then you could probably use it to repair. See if you can download source and then rebuild it on the server. if its available anyways
-
01-18-2007, 09:29 PM #3Web Hosting Evangelist
- Join Date
- Oct 2004
- Location
- India
- Posts
- 509
I tried to copy the files from other servers and it is still throughing erorrs.
As a example if I run the up2date on the server which is based on the rpm itself, the following error is throughn:
root:XXXXXXXX# up2date -l
error: Unable to open /usr/lib/rpm/rpmrc for reading: No such file or directory.
error: cannot open Packages database in /var/lib/rpmESC :wq!
-
01-18-2007, 09:43 PM #4New Member
- Join Date
- Jan 2007
- Location
- Montana
- Posts
- 4
search for extracting rpm source on google. first link that comes up here has some useful info. if your host offers kvm ip you could use that service to rebuild the whole machine. is your rpm db intact?
-
01-18-2007, 09:50 PM #5New Member
- Join Date
- Jan 2007
- Location
- Montana
- Posts
- 4
do those directories exist? you may need to look up on repairing your db as well. look up RPM DB Recovery on google. sorry would post links but not allowed to yet.