ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Unsolved Troubleshooting Help Requested

    IT Discussion
    centos virtual machine esxi troubleshooting
    13
    44
    2.8k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DustinB3403D
      DustinB3403
      last edited by

      On a specific host I have several VMs, several of which are Windows based, others that are CentOS 7 based.

      To provide some insight on the Windows VMs the network is fully functional, internet, can ping via dns or ip etc etc.

      From the CentOS box, I no longer have the ability to ping via DNS or IP to the internet. This used to work without issue and nothing has been customized on the box.

      • The box does have a valid IP address, gateway and DNS servers.
      • I've rebooted
      • I can't reboot the hypervisor (plus the other VMs are working just fine).

      I found out that this box was having issues when I went to perform updates on this one CentOS box and trying to figure out what has occurred to cause this.

      travisdh1T 1 Reply Last reply Reply Quote 0
      • travisdh1T
        travisdh1 @DustinB3403
        last edited by

        @DustinB3403 My first suspicion is always /etc/resolve.conf getting defaulted from something being stupid (Network Manager, I'm looking at you!) How did you verify that DNS is working? Can you ping the gateway? If it's installed, maybe review the settings with nmcli.

        That's so annoying.

        1 Reply Last reply Reply Quote 0
        • DustinB3403D
          DustinB3403
          last edited by

          Everything looks good here.

          putty_2019-02-22_09-49-17.png

          1 Reply Last reply Reply Quote 0
          • DustinB3403D
            DustinB3403
            last edited by

            A separate, yet working VM on a different host.

            putty_2019-02-22_09-52-37.png

            travisdh1T 1 Reply Last reply Reply Quote 0
            • travisdh1T
              travisdh1 @DustinB3403
              last edited by

              @DustinB3403 You can ping the gateway and dns servers, right? How about nslookup internet sites?

              Guess I get to ask all the annoying, simple questions, this morning.

              DustinB3403D 1 Reply Last reply Reply Quote 0
              • DustinB3403D
                DustinB3403
                last edited by DustinB3403

                I can ping the gateway.

                I can ping things on the network, by both IP and name. From both the working and non working VM.

                1 Reply Last reply Reply Quote 0
                • pmonchoP
                  pmoncho
                  last edited by

                  Have you tried just disconnecting (wait 10 sec) and then reconnecting the NIC in the Hypervisor?
                  Had to do this once or twice in the past (Ubuntu). No idea but it worked.

                  The only other thing was to verify that the MAC of NIC in Hypervisor matched MAC in VM. That has switched on me in the past too.

                  1 Reply Last reply Reply Quote 0
                  • DustinB3403D
                    DustinB3403 @travisdh1
                    last edited by

                    @travisdh1 said in Troubleshooting Help Requested:

                    @DustinB3403 You can ping the gateway and dns servers, right? How about nslookup internet sites?

                    Guess I get to ask all the annoying, simple questions, this morning.

                    nslookup www.google.com
                    bash: nslookup: command not found
                    

                    Not installed on the machine, and I can't install it because I "apparently don't have internet" yet on the working machine.

                    I can, find bind-utils, install bind-utils and nslookup google.com

                    nslookup www.google.com
                    Server:         192.168.2.16
                    Address:        192.168.2.16#53
                    
                    Non-authoritative answer:
                    Name:   www.google.com
                    Address: 172.217.10.228
                    
                    1 Reply Last reply Reply Quote 0
                    • DustinB3403D
                      DustinB3403
                      last edited by

                      On the Hypervisor with the "not connected vm" all VMs on the host use the same virtual interface for internet access.

                      So there isn't a hardware issue there, not that I can think of anyways that would affect only the 1 guest.

                      1 Reply Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller
                        last edited by

                        So if you traceroute to 8.8.8.8, what do you get?

                        DustinB3403D 1 Reply Last reply Reply Quote 0
                        • DustinB3403D
                          DustinB3403 @scottalanmiller
                          last edited by

                          @scottalanmiller said in Troubleshooting Help Requested:

                          So if you traceroute to 8.8.8.8, what do you get?

                          On the non-working machine, I can't install it.

                          On the working machine I encounter no issues.

                          putty_2019-02-22_10-07-20.png

                          1 Reply Last reply Reply Quote 0
                          • DustinB3403D
                            DustinB3403
                            last edited by

                            Maybe it's something with yum-cron as that is installed on this VM, and is set to apply updates. Whereas the other VM has yum cron, but isn't set to apply the updates.

                            Still doesn't really explain why ping wouldn't work to the internet.

                            1 Reply Last reply Reply Quote 1
                            • IRJI
                              IRJ
                              last edited by IRJ

                              What does this look like on the non-working CentOS?

                              /etc/sysconfig/network-scripts/ifcfg-eth0

                              is onboot enabled?

                              Edit: nvm. I see you can ping locally and to the gateway

                              DustinB3403D 1 Reply Last reply Reply Quote 0
                              • DustinB3403D
                                DustinB3403 @IRJ
                                last edited by

                                @IRJ said in Troubleshooting Help Requested:

                                is onboot enabled?

                                Yes.

                                1 Reply Last reply Reply Quote 0
                                • DustinB3403D
                                  DustinB3403
                                  last edited by

                                  This is what I get from the non-working VM.

                                  yum update
                                  Loaded plugins: fastestmirror
                                  Loading mirror speeds from cached hostfile
                                   * base: mirror.atlanticmetro.net
                                   * extras: bay.uchicago.edu
                                   * updates: centos.s.uw.edu
                                  http://repos-va.psychz.net/centos/7.6.1810/os/x86_64/repodata/repomd.xml: [Errno                                                                                                                                                              14] curl#6 - "Could not resolve host: repos-va.psychz.net; Unknown error"
                                  Trying other mirror.
                                  

                                  It just keeps going through all of the mirrors, obviously.

                                  I've disabled and turned off yum-cron and have reboot numerous times. So that isn't it. I can ping locally by IP and DNS from the non-working machine.

                                  travisdh1T 1 Reply Last reply Reply Quote 0
                                  • DustinB3403D
                                    DustinB3403
                                    last edited by

                                    I guess I'll just restore the VM and see what happens from it.

                                    1 Reply Last reply Reply Quote 0
                                    • travisdh1T
                                      travisdh1 @DustinB3403
                                      last edited by

                                      @DustinB3403 said in Troubleshooting Help Requested:

                                      This is what I get from the non-working VM.

                                      yum update
                                      Loaded plugins: fastestmirror
                                      Loading mirror speeds from cached hostfile

                                      • base: mirror.atlanticmetro.net
                                      • extras: bay.uchicago.edu
                                      • updates: centos.s.uw.edu
                                        http://repos-va.psychz.net/centos/7.6.1810/os/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: repos-va.psychz.net; Unknown error"
                                        Trying other mirror.

                                      It just keeps going through all of the mirrors, obviously.

                                      I've disabled and turned off yum-cron and have reboot numerous times. So that isn't it. I can ping locally by IP and DNS from the non-working machine.

                                      Did I see right that traceroute isn't installed?

                                      DustinB3403D 1 Reply Last reply Reply Quote 0
                                      • DustinB3403D
                                        DustinB3403 @travisdh1
                                        last edited by

                                        @travisdh1 yes.

                                        travisdh1T 1 Reply Last reply Reply Quote 0
                                        • DustinB3403D
                                          DustinB3403
                                          last edited by

                                          And it isn't required either, as this system has updated fine for months.

                                          1 Reply Last reply Reply Quote 0
                                          • travisdh1T
                                            travisdh1 @DustinB3403
                                            last edited by travisdh1

                                            @DustinB3403 said in Troubleshooting Help Requested:

                                            @travisdh1 yes.

                                            Makes it difficult to see weather there are peering-point issues between you and the mirror sites.

                                            edit: Yes, I've seen networks block distribution mirror sites before. So much fun trying to get those fixed.

                                            DustinB3403D 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 1 / 3
                                            • First post
                                              Last post