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.
    • P
      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
      • D
        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
        • D
          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
          • S
            scottalanmiller
            last edited by

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

            D 1 Reply Last reply Reply Quote 0
            • D
              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
              • D
                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
                • I
                  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

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

                    @IRJ said in Troubleshooting Help Requested:

                    is onboot enabled?

                    Yes.

                    1 Reply Last reply Reply Quote 0
                    • D
                      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.

                      T 1 Reply Last reply Reply Quote 0
                      • D
                        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
                        • T
                          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?

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

                            @travisdh1 yes.

                            T 1 Reply Last reply Reply Quote 0
                            • D
                              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
                              • T
                                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.

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

                                  @travisdh1 said in Troubleshooting Help Requested:

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

                                  But on the very same network, just a different host nothing is blocked. I could of course look at the firewall to see if something was changed. But if changes were to be made, I think I would've been made aware.

                                  And every mirror is blocked. It's as though this device itself is blocked.

                                  1 Reply Last reply Reply Quote 0
                                  • black3dynamiteB
                                    black3dynamite
                                    last edited by

                                    Try ping -4 google.com
                                    It’s probably using ipv6 instead of ipv4

                                    D 2 Replies Last reply Reply Quote 1
                                    • D
                                      DustinB3403 @black3dynamite
                                      last edited by

                                      @black3dynamite said in Troubleshooting Help Requested:

                                      Try ping -4 google.com
                                      It’s probably using ipv6 instead of ipv4

                                      Will test that in a moment. The restore is going.

                                      1 Reply Last reply Reply Quote 0
                                      • D
                                        DustinB3403 @black3dynamite
                                        last edited by

                                        @black3dynamite said in Troubleshooting Help Requested:

                                        Try ping -4 google.com
                                        It’s probably using ipv6 instead of ipv4

                                        No change.

                                        And the backup from yesterday has no change either. Grr. . . I don't want to rebuild this VM. . . going further back.

                                        It isn't mission critical either, just irritating.

                                        1 Reply Last reply Reply Quote 0
                                        • ObsolesceO
                                          Obsolesce
                                          last edited by

                                          Are you using NetworkManager? If so, turn that shit off.

                                          D 1 Reply Last reply Reply Quote 0
                                          • ObsolesceO
                                            Obsolesce
                                            last edited by

                                            Try adding 127.0.0.1 to /etc/resolv.conf

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