Wednesday, December 21, 2016

Connection refused after yum update

Hi,

I had run yum update command and server updated and installed about 300 different module with kernel. After update complete, webserver(apache) and server didn't reachable. Webserver and ssh connections was said that "Connection refused"

I'm using centos 7.2 and the update include the upgrade to centos 7.3
After a reboot, the server does not change anything. On the last yum update, too many modules have been updated, so I connect in rescue mode and check all the updates the system has done.

sudo yum history list all



sudo yum history info 34































  • Check theses configuration files if theses does not change
    • etc/hosts
    • ect/networks
    • etc/host.conf
    • etc/resolve.conf
    • etc/network/interfaces
  • Mount Disk
    • fdisk -l
    • mount /dev/hda1 /mnt/
    • mount /dev/hda2 /mnt/home/
    • mount -t proc proc /proc
  • You have to chroot yourself on your partition
    • chroot /mnt/
  • Disable firewall
    • systemctl disable firewalld
Source : 

No comments:

Post a Comment