zoukankan      html  css  js  c++  java
  • xenserver排错之--XenCenter无法连接Xenserver,也无法直接访问IP

    [root@cloudlx ~]# df -h
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/sda1             4.0G  2.4G  1.5G  62% /
    none                  2.0G  156K  2.0G   1% /dev/shm
    /opt/xensource/packages/iso/XenCenter.iso
                           52M   52M     0 100% /var/xen/xc-install
    [root@cloudlx ~]# telnet 198.55.120.2 80
    Trying 198.55.120.2...
    telnet: connect to address 198.55.120.2: Connection refused
    [root@cloudlx ~]# netstat -ntlp
    Active Internet connections (only servers)
    Proto Recv-Q Send-Q Local Address               Foreign Address             Stat                                                                                        e       PID/Program name
    tcp        0      0 127.0.0.1:5903              0.0.0.0:*                   LIST                                                                                        EN      12947/vncterm
    tcp        0      0 127.0.0.1:111               0.0.0.0:*                   LIST                                                                                        EN      6835/portmap
    tcp        0      0 127.0.0.1:5904              0.0.0.0:*                   LIST                                                                                        EN      26894/vncterm
    tcp        0      0 127.0.0.1:5905              0.0.0.0:*                   LIST                                                                                        EN      13860/vncterm
    tcp        0      0 127.0.0.1:5906              0.0.0.0:*                   LIST                                                                                        EN      19299/vncterm
    tcp        0      0 127.0.0.1:5907              0.0.0.0:*                   LIST                                                                                        EN      16485/qemu-dm-7
    tcp        0      0 127.0.0.1:5908              0.0.0.0:*                   LIST                                                                                        EN      11597/vncterm
    tcp        0      0 127.0.0.1:5909              0.0.0.0:*                   LIST                                                                                        EN      18244/vncterm
    tcp        0      0 0.0.0.0:22                  0.0.0.0:*                   LIST                                                                                        EN      7717/sshd
    tcp        0      0 127.0.0.1:5912              0.0.0.0:*                   LIST                                                                                        EN      10641/vncterm
    tcp        0      0 0.0.0.0:600                 0.0.0.0:*                   LIST                                                                                        EN      7005/rpc.statd
    tcp        0      0 127.0.0.1:5913              0.0.0.0:*                   LIST                                                                                        EN      368/vncterm
    tcp        0      0 127.0.0.1:5914              0.0.0.0:*                   LIST                                                                                        EN      4694/vncterm
    tcp        0      0 0.0.0.0:443                 0.0.0.0:*                   LIST                                                                                        EN      9665/stunnel
    tcp        0      0 127.0.0.1:5915              0.0.0.0:*                   LIST                                                                                        EN      3316/qemu-dm-42
    tcp        0      0 127.0.0.1:9501              0.0.0.0:*                   LIST                                                                                        EN      11916/vncterm
    tcp        0      0 127.0.0.1:4094              0.0.0.0:*                   LIST                                                                                        EN      8996/xcp-networkd
    tcp        0      0 127.0.0.1:9502              0.0.0.0:*                   LIST                                                                                        EN      12947/vncterm
    tcp        0      0 127.0.0.1:9503              0.0.0.0:*                   LIST                                                                                        EN      26894/vncterm
    tcp        0      0 127.0.0.1:9504              0.0.0.0:*                   LIST                                                                                        EN      13860/vncterm
    tcp        0      0 127.0.0.1:9505              0.0.0.0:*                   LIST                                                                                        EN      19299/vncterm
    tcp        0      0 127.0.0.1:9506              0.0.0.0:*                   LIST                                                                                        EN      18244/vncterm
    tcp        0      0 127.0.0.1:9509              0.0.0.0:*                   LIST                                                                                        EN      10641/vncterm
    tcp        0      0 127.0.0.1:9510              0.0.0.0:*                   LIST                                                                                        EN      368/vncterm
    tcp        0      0 127.0.0.1:9511              0.0.0.0:*                   LIST                                                                                        EN      4694/vncterm
    tcp        0      0 127.0.0.1:9512              0.0.0.0:*                   LIST                                                                                        EN      11597/vncterm
    tcp        0      0 127.0.0.1:9513              0.0.0.0:*                   LIST                                                                                        EN      10486/vncterm
    tcp        0      0 127.0.0.1:5901              0.0.0.0:*                   LIST                                                                                        EN      10486/vncterm
    tcp        0      0 127.0.0.1:5902              0.0.0.0:*                   LIST                                                                                        EN      11916/vncterm
    [root@cloudlx ~]# xe-toolstack-restart
    Executing xe-toolstack-restart
    Stopping xapi:                                             [  OK  ]
    Stopping the v6 licensing daemon:                          [  OK  ]
    Stopping the memory ballooning daemon:                     [  OK  ]
    Stopping perfmon:                                          [  OK  ]
    Stopping the xenopsd daemon:                               [  OK  ]
    Stopping XCP RRDD plugin xcp-rrdd-iostat:                  [  OK  ]
    Stopping XCP RRDD plugin xcp-rrdd-squeezed:                [  OK  ]
    Stopping XCP RRDD plugin xcp-rrdd-xenpm:                   [  OK  ]
    Stopping the XCP RRDD daemon:                              [  OK  ]
    Stopping the XCP networking daemon:                        [  OK  ]
    Stopping the fork/exec daemon:                             [  OK  ]
    Stopping the multipath alerting daemon:                    [  OK  ]
    Starting the multipath alerting daemon:                    [  OK  ]
    Starting the fork/exec daemon:                             [  OK  ]
    Starting the XCP networking daemon: .                      [  OK  ]
    Starting the XCP RRDD daemon:                              [  OK  ]
    Starting XCP RRDD plugin xcp-rrdd-iostat:                  [  OK  ]
    Starting XCP RRDD plugin xcp-rrdd-squeezed:                [  OK  ]
    Starting XCP RRDD plugin xcp-rrdd-xenpm:                   [  OK  ]
    Starting the xenopsd daemon:                               [  OK  ]
    Starting perfmon:                                          [  OK  ]
    Starting the memory ballooning daemon:                     [  OK  ]
    Starting the v6 licensing daemon:                          [  OK  ]
    Starting xapi: OK                                          [  OK  ]
    done.
    [root@cloudlx ~]#
    
    

    代码 复制 - 运行

    [root@cloudlx ~]# /etc/init.d/xapi start
    Starting xapi: cannot start xapi: already running.         [FAILED]
    [root@cloudlx ~]# /etc/init.d/xapi restart
    Stopping xapi: ..                                          [  OK  ]
    Starting xapi: OK                                          [  OK  ]
    [root@cloudlx ~]# netstat -ntlp
    Active Internet connections (only servers)
    Proto Recv-Q Send-Q Local Address               Foreign Address             Stat                                                                                        e       PID/Program name
    tcp        0      0 127.0.0.1:5903              0.0.0.0:*                   LIST                                                                                        EN      12947/vncterm
    tcp        0      0 127.0.0.1:111               0.0.0.0:*                   LIST                                                                                        EN      6835/portmap
    tcp        0      0 0.0.0.0:80                  0.0.0.0:*                   LIST                                                                                        EN      21546/xapi
    tcp        0      0 127.0.0.1:5904              0.0.0.0:*                   LIST                                                                                        EN      26894/vncterm
    tcp        0      0 127.0.0.1:5905              0.0.0.0:*                   LIST                                                                                        EN      13860/vncterm
    tcp        0      0 127.0.0.1:5906              0.0.0.0:*                   LIST                                                                                        EN      19299/vncterm
    tcp        0      0 127.0.0.1:5907              0.0.0.0:*                   LIST                                                                                        EN      16485/qemu-dm-7
    tcp        0      0 127.0.0.1:5908              0.0.0.0:*                   LIST                                                                                        EN      11597/vncterm
    tcp        0      0 127.0.0.1:5909              0.0.0.0:*                   LIST                                                                                        EN      18244/vncterm
    tcp        0      0 0.0.0.0:22                  0.0.0.0:*                   LIST                                                                                        EN      7717/sshd
    tcp        0      0 127.0.0.1:5912              0.0.0.0:*                   LIST                                                                                        EN      10641/vncterm
    tcp        0      0 0.0.0.0:600                 0.0.0.0:*                   LIST                                                                                        EN      7005/rpc.statd
    tcp        0      0 127.0.0.1:5913              0.0.0.0:*                   LIST                                                                                        EN      368/vncterm
    tcp        0      0 127.0.0.1:5914              0.0.0.0:*                   LIST                                                                                        EN      4694/vncterm
    tcp        0      0 0.0.0.0:443                 0.0.0.0:*                   LIST                                                                                        EN      21943/stunnel
    tcp        0      0 127.0.0.1:5915              0.0.0.0:*                   LIST                                                                                        EN      3316/qemu-dm-42
    tcp        0      0 127.0.0.1:9501              0.0.0.0:*                   LIST                                                                                        EN      11916/vncterm
    tcp        0      0 127.0.0.1:4094              0.0.0.0:*                   LIST                                                                                        EN      19481/xcp-networkd
    tcp        0      0 127.0.0.1:9502              0.0.0.0:*                   LIST                                                                                        EN      12947/vncterm
    tcp        0      0 127.0.0.1:9503              0.0.0.0:*                   LIST                                                                                        EN      26894/vncterm
    tcp        0      0 127.0.0.1:9504              0.0.0.0:*                   LIST                                                                                        EN      13860/vncterm
    tcp        0      0 127.0.0.1:9505              0.0.0.0:*                   LIST                                                                                        EN      19299/vncterm
    tcp        0      0 127.0.0.1:9506              0.0.0.0:*                   LIST                                                                                        EN      18244/vncterm
    tcp        0      0 127.0.0.1:9509              0.0.0.0:*                   LIST                                                                                        EN      10641/vncterm
    tcp        0      0 127.0.0.1:9510              0.0.0.0:*                   LIST                                                                                        EN      368/vncterm
    tcp        0      0 127.0.0.1:9511              0.0.0.0:*                   LIST                                                                                        EN      4694/vncterm
    tcp        0      0 127.0.0.1:9512              0.0.0.0:*                   LIST                                                                                        EN      11597/vncterm
    tcp        0      0 127.0.0.1:9513              0.0.0.0:*                   LIST                                                                                        EN      10486/vncterm
    tcp        0      0 127.0.0.1:5901              0.0.0.0:*                   LIST                                                                                        EN      10486/vncterm
    tcp        0      0 127.0.0.1:5902              0.0.0.0:*                   LIST                                                                                        EN      11916/vncterm
    [root@cloudlx ~]#
    
    
  • 相关阅读:
    随机算法之舍伍德算法
    KMP算法笔记
    分治法求解最大子段和问题
    递归与分治之间的关系
    微信公众号开发学习笔记(一)
    关于echo$PATH中的PTAH来源
    【Leetcode】807. Max Increase to Keep City Skyline
    【Leetcode】804. Unique Morse Code Words
    【Leetcode】709. To Lower Case
    【Leetcode】Jewels and Stones
  • 原文地址:https://www.cnblogs.com/lubing666666/p/3829966.html
Copyright © 2011-2022 走看看