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

    xe sr-list Error: Connection refused (calling connect )

    Scheduled Pinned Locked Moved Compute
    9 Posts 2 Posters 861 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.
    • J Offline
      jun0799
      last edited by jun0799

      Hello Teams,

      I tried figuring out with my xcp-ng server.
      I couldn't even run any xe sr-list to check the sr, and as well.
      5bd9311a-fb4d-40a2-b815-e75feacaac5c-image.png

      I run the command"xe-toolstack-restart" , but it dosn't work.
      Only the Control domain on host: xcp-ng-lj is running. All other VM are hlted and cannot start.

      5a32c7ce-09c8-46db-a3f4-62619f630699-image.png

      1 Reply Last reply Reply Quote 0
      • DanpD Offline
        Danp Pro Support Team
        last edited by

        Have you checked to see if xapi is running? Is this host the pool master?

        J 1 Reply Last reply Reply Quote 0
        • J Offline
          jun0799 @Danp
          last edited by

          @Danp
          Thank you!
          This host is the pool master.
          How can I see if the xapi is running?
          I run the command"xe-toolstack-restart" , but it dosn't work.

          DanpD 1 Reply Last reply Reply Quote 0
          • DanpD Offline
            Danp Pro Support Team @jun0799
            last edited by

            @jun0799 You can use service xapi status to check if xapi is running. It will look similar to this on a healthy system --

            ]# service xapi status
            Redirecting to /bin/systemctl status xapi.service
            ● xapi.service - XenAPI server (XAPI)
               Loaded: loaded (/usr/lib/systemd/system/xapi.service; enabled; vendor preset: enabled)
              Drop-In: /etc/systemd/system/xapi.service.d
                       └─local.conf, slice.conf
               Active: active (running) since Sat 2024-03-16 15:36:59 CDT; 1 weeks 6 days ago
              Process: 1061 ExecStopPost=/usr/bin/rm -f /var/lock/subsys/xapi /var/run/xapi.pid /var/run/xapi_startup.cookie /var/run/xapi_init_complete.cookie (code=exited, status=0/SUCCESS)
              Process: 843 ExecStop=/opt/xensource/libexec/xapi-init stop (code=exited, status=0/SUCCESS)
              Process: 1416 ExecStartPost=/usr/bin/touch /var/lock/subsys/xapi (code=exited, status=0/SUCCESS)
             Main PID: 1415 (xapi)
               CGroup: /control.slice/xapi.service
                       └─1415 /opt/xensource/bin/xapi -nowatchdog -writereadyfile /var/run/xapi_startup.cookie -writeinitcomplete /var/run/xapi_init_complete.cookie
            
            J 1 Reply Last reply Reply Quote 0
            • J Offline
              jun0799 @Danp
              last edited by jun0799

              @Danp
              Thank you for answering my question.
              My situation is a little different. The last sentence is incomplete.It doesn't seem normal.
              How can I fix it?
              99dd9bfe-620c-44f9-95c9-23ac979fbdb9-image.png

              DanpD 1 Reply Last reply Reply Quote 0
              • DanpD Offline
                Danp Pro Support Team @jun0799
                last edited by

                @jun0799 That looks ok to me on first glance. Did you receive any errors when you issued the xe-toolstack-restart?

                You may want to check the log file /var/log/daemon.log to see if it indicates any issues with xapi.

                J 1 Reply Last reply Reply Quote 0
                • J Offline
                  jun0799 @Danp
                  last edited by

                  @Danp
                  The daemon.log is
                  [daemon.log](Invalid file type. Allowed types are: .png, .jpg, .bmp, .txt, .jpeg)
                  daemon.log.txt
                  It shows "xapi.service failed."!
                  xe-toolstack-restart looks like running well.
                  76acb570-bf4f-4388-91f7-f11da844a6e2-image.png

                  How can I do?

                  1 Reply Last reply Reply Quote 0
                  • DanpD Offline
                    Danp Pro Support Team
                    last edited by

                    Do you know what caused this condition to occur? For example, did you have a power outage or did you recently install XCP updates?

                    Have you tried rebooting the server?

                    J 1 Reply Last reply Reply Quote 0
                    • J Offline
                      jun0799 @Danp
                      last edited by

                      @Danp
                      I do not have a power outage or did you recently install XCP updates.
                      I shutdown the host at the console.
                      Next day,I power on the host,and that was it.

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