XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    XOA Error when installing

    Scheduled Pinned Locked Moved Solved Xen Orchestra
    107 Posts 9 Posters 22.6k Views 1 Watching
    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.
    • olivierlambertO Offline
      olivierlambert Vates 🪐 Co-Founder CEO
      last edited by

      As sudoer, so with sudo before.

      1 Reply Last reply Reply Quote 0
      • N Offline
        nackstein @kilo
        last edited by nackstein

        @kilo at the shell prompt (as root user) type:

        ip a l
        

        you will see the IP if static of if DHCP worked.
        if you need to configure the network edit (using vi or nano) /etc/network/interfaces
        I show you mine as reference:

        # and how to activate them. For more information, see interfaces(5).
        
        source /etc/network/interfaces.d/*
        
        # The loopback network interface
        auto lo eth0
        iface lo inet loopback
        
        # The primary network interface
        allow-hotplug eth0
        iface eth0 inet static
            address 172.27.217.231
            network 255.255.254.0
            gateway 172.27.217.254
        

        once the file is edited restart the network:

        systemctl restart networking
        

        note: remember to set auto on eth0 (see the line auto lo eth0)or when you give a network restart eth0 does not get the IP address and you need to reboot the VM.

        K 1 Reply Last reply Reply Quote 0
        • K Offline
          kilo
          last edited by

          still wont work with a sudo
          b09dba36-71d1-4306-899c-0add3999cd68-image.png

          N 1 Reply Last reply Reply Quote 0
          • N Offline
            nackstein @kilo
            last edited by

            @kilo ifconfig is deprecated by many year and some distro does not install it anymore.
            now the suite of utilities to configure the network stack is iproute2 and it contain ip, tc, ss, bridge etc...

            1 Reply Last reply Reply Quote 0
            • olivierlambertO Offline
              olivierlambert Vates 🪐 Co-Founder CEO
              last edited by

              Yep sorry do a sudo ip link and a sudo ip addr

              1 Reply Last reply Reply Quote 0
              • K Offline
                kilo
                last edited by

                i dont see my ip in any case
                e02f435b-c4c2-49db-b82b-7230f3f06aff-image.png

                f0200854-4496-4c09-a350-bcab4260dbb8-image.png

                1 Reply Last reply Reply Quote 0
                • K Offline
                  kilo @nackstein
                  last edited by

                  @nackstein is it interfaces.d or just interfaces
                  f7889a44-96e5-4337-b560-401b79f3bc59-image.png

                  N 1 Reply Last reply Reply Quote 0
                  • olivierlambertO Offline
                    olivierlambert Vates 🪐 Co-Founder CEO
                    last edited by

                    Interface is down, don't know why. sudo ip link set dev eth0 up

                    1 Reply Last reply Reply Quote 0
                    • N Offline
                      nackstein @kilo
                      last edited by nackstein

                      @kilo interfaces.d it's a directory while interfaces it's a file. In recent debian you can configure just interfaces or create new file one for each interface and put them into interfaces.d, for your purpose it's enough to edit interfaces

                      before editing, try to bring the interface up as suggested by Olivier. maybe you can post the content of interfaces type

                      cat interfaces
                      

                      to show its content

                      1 Reply Last reply Reply Quote 0
                      • K Offline
                        kilo
                        last edited by

                        okay now it shows network config....thats correct config. question remains same....why not pinging then???
                        cc723cbb-fc92-4066-8eb9-84c27f219371-image.png

                        1 Reply Last reply Reply Quote 0
                        • K Offline
                          kilo
                          last edited by

                          Please note that my LAN is 192.168.0.x

                          1 Reply Last reply Reply Quote 0
                          • olivierlambertO Offline
                            olivierlambert Vates 🪐 Co-Founder CEO
                            last edited by

                            Because it's down. Put it up and see (or just reboot)

                            1 Reply Last reply Reply Quote 0
                            • Z Offline
                              ZacApplegate
                              last edited by

                              @olivierlambert any thoughts on my issue from the post above?

                              1 Reply Last reply Reply Quote 0
                              • K Offline
                                kilo
                                last edited by

                                @olivierlambert @nackstein rebooted...and finally there........it really helped, you guys are great!...thnx a bunch for the support....
                                923f757f-9d88-46a1-bcfe-e6d7f84d91ad-image.png

                                1 Reply Last reply Reply Quote 1
                                • N Offline
                                  nackstein
                                  last edited by nackstein

                                  uhm... I contributed to increase entropy. sorry. the original post was about another issue.

                                  1 Reply Last reply Reply Quote 0
                                  • Z Offline
                                    ZacApplegate
                                    last edited by

                                    @olivierlambert any thoughts on my issue from the post above?

                                    1 Reply Last reply Reply Quote 0
                                    • olivierlambertO Offline
                                      olivierlambert Vates 🪐 Co-Founder CEO
                                      last edited by

                                      Please select the right network with the web UI deploy interface on http://xen-orchestra.com/#!/xoa

                                      Z 1 Reply Last reply Reply Quote 0
                                      • Z Offline
                                        ZacApplegate @olivierlambert
                                        last edited by

                                        @olivierlambert I tried each network option and I get the same error on all of them?

                                        I installed xcp-ng with eth2 thats what the interface says and thats the one I have been trying to use.

                                        S 1 Reply Last reply Reply Quote 0
                                        • S Offline
                                          sabival89 @ZacApplegate
                                          last edited by

                                          @ZacApplegate It appears that I am having the same issue and xapi0 doesn't appear when I run the ifconfig -a command.

                                          @olivierlambert I have tried selecting each network option as well but to no avail.

                                          err.PNG

                                          1 Reply Last reply Reply Quote 0
                                          • olivierlambertO Offline
                                            olivierlambert Vates 🪐 Co-Founder CEO
                                            last edited by

                                            Okay so there's a problem while using this template with some XCP-ng/CH installs. But it's not clear why. Let me investigate.

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post