General support questions
Post Reply
Posts: 16
Joined: 2011/08/06 02:46:53


Post by Erastus » 2014/12/31 07:46:17

Hi Guys,

I installed some software that destroyed postgress, yum & http.
Is there away I can reinstall the system remotely with out affecting the network?
I do not mind to loose all the data as it is a new system that I have.
Else I must travel 120km to reinstall the server.

Many thanks

Posts: 45
Joined: 2010/01/28 21:05:11
Location: University of the Free State - South Africa

Re: Reinstall

Post by vanecka » 2015/01/05 06:00:06


I would reinstall yum using RPM:
Then, cleanup your yum cache:

Code: Select all

yum clean all
If you get RPM database errors in the previous step, reinitialize your RPM database:

Code: Select all

rm -f /var/lib/rpm/__db*
rpm --rebuilddb
yum clean all
yum update
Then try to reinstall the broken packages:

Code: Select all

yum reinstall httpd
If you can fix Yum, you might be able to solve everythin (with a lot of effort) without reinstalling.

Hope this helps, good luck.

Post Reply

Return to “CentOS 7 - General Support”