[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-API] Wheezy xcp-xapi /usr/share/doc/xcp-xapi/README.Debian xe Error: Connection refused (calling connect )


  • To: xen-api@xxxxxxxxxxxxx
  • From: George Shuklin <george.shuklin@xxxxxxxxx>
  • Date: Mon, 30 Apr 2012 00:04:16 +0400
  • Delivery-date: Sun, 29 Apr 2012 20:04:34 +0000
  • List-id: Development list for XCP and Xen API <xen-api.lists.xen.org>

no 'xapi' service means no 'xcp' at all. 90% of functionality provided by it. Try to /etc/init.d/xapi start (or xcp-xapi start).

I saw 'xend' log noted below. If this is not from older tests, you need to disable xend service to run xapi. Use command "update-rc.d xend remove" and try to start xapi again.

On 29.04.2012 21:59, David Christensen wrote:
On 04/29/2012 01:49 AM, George Shuklin wrote:
I don't know about debian specific yet, but 'connection refused' means
xapi service is not running. Check it and it log (xensource.log).

Thanks for the reply.  :-)  See console session, below.


I don't see a 'xapi' service.


I can't locate a 'xensource.log' file.


Rummaging around yesterday, I recall seeing a message to the effect that xe/xapi won't work when xend is running; but, I don't recall where.


David

--

2012-04-29 10:49:27 root@i72600s ~
# ps -A | egrep '(xen|xcp)'
   40 ?        00:00:00 xenwatch
   41 ?        00:00:00 xenbus
 2195 ?        00:00:00 xcp-fe
 2236 ?        00:00:00 xenstored
 2246 ?        00:00:00 xenconsoled
 2384 ?        00:00:00 xend
 2385 ?        00:00:01 xend

2012-04-29 10:49:29 root@i72600s ~
# ll /var/log/x*
-rw------- 1 root root 1231 Apr 29 10:16 /var/log/xcp-squeezed.log
-rw------- 1 root root  728 Apr 29 10:16 /var/log/xcp-v6d.log

/var/log/xen:
total 100
drwxr-s---  2 root adm   4096 Apr 27 23:09 ./
drwxr-xr-x 14 root root 45056 Apr 29 10:21 ../
-rw-r--r--  1 root adm  17160 Apr 29 10:16 xend-debug.log
-rw-r--r--  1 root adm  17506 Apr 29 10:16 xend.log

2012-04-29 10:49:34 root@i72600s ~
# cat /var/log/xcp-squeezed.log
[20120428T04:42:22.895Z|debug|i72600s|0||xenstore-rpc] Writing reserved-host-memory=9216 KiB [20120428T05:02:42.248Z|debug|i72600s|0||xenstore-rpc] Writing reserved-host-memory=9216 KiB [20120428T06:09:11.335Z|debug|i72600s|0||xenstore-rpc] Writing reserved-host-memory=9216 KiB [20120428T06:09:11.339Z|debug|i72600s|0||xenstore-rpc] Starting daemon listening on squeezed with idle_timeout = 10 [20120428T19:09:29.414Z|debug|i72600s|0||xenstore-rpc] Writing reserved-host-memory=9216 KiB [20120428T19:09:29.417Z|debug|i72600s|0||xenstore-rpc] Starting daemon listening on squeezed with idle_timeout = 10 [20120428T22:23:48.016Z|debug|i72600s|0||xenstore-rpc] Writing reserved-host-memory=9216 KiB [20120428T22:23:48.019Z|debug|i72600s|0||xenstore-rpc] Starting daemon listening on squeezed with idle_timeout = 10 [20120428T22:39:57.607Z|debug|i72600s|0||xenstore-rpc] Writing reserved-host-memory=9216 KiB [20120428T22:39:57.610Z|debug|i72600s|0||xenstore-rpc] Starting daemon listening on squeezed with idle_timeout = 10 [20120429T17:16:47.161Z|debug|i72600s|0||xenstore-rpc] Writing reserved-host-memory=9216 KiB [20120429T17:16:47.164Z|debug|i72600s|0||xenstore-rpc] Starting daemon listening on squeezed with idle_timeout = 10

2012-04-29 10:49:39 root@i72600s ~
# cat /var/log/xcp-v6d.log
[20120428T04:42:22.977Z|debug|i72600s|0||http] Establishing Unix domain server on path: /var/lib/xcp/v6 [20120428T05:02:42.231Z|debug|i72600s|0||http] Establishing Unix domain server on path: /var/lib/xcp/v6 [20120428T06:09:09.027Z|debug|i72600s|0||http] Establishing Unix domain server on path: /var/lib/xcp/v6 [20120428T19:09:27.022Z|debug|i72600s|0||http] Establishing Unix domain server on path: /var/lib/xcp/v6 [20120428T22:23:45.627Z|debug|i72600s|0||http] Establishing Unix domain server on path: /var/lib/xcp/v6 [20120428T22:39:55.203Z|debug|i72600s|0||http] Establishing Unix domain server on path: /var/lib/xcp/v6 [20120429T17:16:44.742Z|debug|i72600s|0||http] Establishing Unix domain server on path: /var/lib/xcp/v6

2012-04-29 10:49:46 root@i72600s ~
# tail -n 51 /var/log/xen/xend-debug.log
Xend started at Sun Apr 29 10:16:45 2012.
cat: /sys/bus/scsi/devices/host0/vendor: No such file or directory
cat: /sys/bus/scsi/devices/host0/model: No such file or directory
cat: /sys/bus/scsi/devices/host0/type: No such file or directory
cat: /sys/bus/scsi/devices/host0/rev: No such file or directory
cat: /sys/bus/scsi/devices/host0/scsi_level: No such file or directory
cat: /sys/bus/scsi/devices/host1/vendor: No such file or directory
cat: /sys/bus/scsi/devices/host1/model: No such file or directory
cat: /sys/bus/scsi/devices/host1/type: No such file or directory
cat: /sys/bus/scsi/devices/host1/rev: No such file or directory
cat: /sys/bus/scsi/devices/host1/scsi_level: No such file or directory
cat: /sys/bus/scsi/devices/host2/vendor: No such file or directory
cat: /sys/bus/scsi/devices/host2/model: No such file or directory
cat: /sys/bus/scsi/devices/host2/type: No such file or directory
cat: /sys/bus/scsi/devices/host2/rev: No such file or directory
cat: /sys/bus/scsi/devices/host2/scsi_level: No such file or directory
cat: /sys/bus/scsi/devices/host3/vendor: No such file or directory
cat: /sys/bus/scsi/devices/host3/model: No such file or directory
cat: /sys/bus/scsi/devices/host3/type: No such file or directory
cat: /sys/bus/scsi/devices/host3/rev: No such file or directory
cat: /sys/bus/scsi/devices/host3/scsi_level: No such file or directory
cat: /sys/bus/scsi/devices/host4/vendor: No such file or directory
cat: /sys/bus/scsi/devices/host4/model: No such file or directory
cat: /sys/bus/scsi/devices/host4/type: No such file or directory
cat: /sys/bus/scsi/devices/host4/rev: No such file or directory
cat: /sys/bus/scsi/devices/host4/scsi_level: No such file or directory
cat: /sys/bus/scsi/devices/host5/vendor: No such file or directory
cat: /sys/bus/scsi/devices/host5/model: No such file or directory
cat: /sys/bus/scsi/devices/host5/type: No such file or directory
cat: /sys/bus/scsi/devices/host5/rev: No such file or directory
cat: /sys/bus/scsi/devices/host5/scsi_level: No such file or directory
cat: /sys/bus/scsi/devices/host6/vendor: No such file or directory
cat: /sys/bus/scsi/devices/host6/model: No such file or directory
cat: /sys/bus/scsi/devices/host6/type: No such file or directory
cat: /sys/bus/scsi/devices/host6/rev: No such file or directory
cat: /sys/bus/scsi/devices/host6/scsi_level: No such file or directory
cat: /sys/bus/scsi/devices/host7/vendor: No such file or directory
cat: /sys/bus/scsi/devices/host7/model: No such file or directory
cat: /sys/bus/scsi/devices/host7/type: No such file or directory
cat: /sys/bus/scsi/devices/host7/rev: No such file or directory
cat: /sys/bus/scsi/devices/host7/scsi_level: No such file or directory
cat: /sys/bus/scsi/devices/target2:0:0/vendor: No such file or directory
cat: /sys/bus/scsi/devices/target2:0:0/model: No such file or directory
cat: /sys/bus/scsi/devices/target2:0:0/type: No such file or directory
cat: /sys/bus/scsi/devices/target2:0:0/rev: No such file or directory
cat: /sys/bus/scsi/devices/target2:0:0/scsi_level: No such file or directory
cat: /sys/bus/scsi/devices/target4:0:0/vendor: No such file or directory
cat: /sys/bus/scsi/devices/target4:0:0/model: No such file or directory
cat: /sys/bus/scsi/devices/target4:0:0/type: No such file or directory
cat: /sys/bus/scsi/devices/target4:0:0/rev: No such file or directory
cat: /sys/bus/scsi/devices/target4:0:0/scsi_level: No such file or directory

2012-04-29 10:49:56 root@i72600s ~
# tail -n 22 /var/log/xen/xend.log
[2012-04-29 10:16:45 2385] INFO (SrvDaemon:332) Xend Daemon started
[2012-04-29 10:16:45 2385] INFO (SrvDaemon:336) Xend changeset: unavailable.
[2012-04-29 10:16:46 2385] DEBUG (XendNode:332) pscsi record count: 12
[2012-04-29 10:16:46 2385] DEBUG (XendCPUPool:747) recreate_active_pools
[2012-04-29 10:16:46 2385] DEBUG (XendDomainInfo:151) XendDomainInfo.recreate({'max_vcpu_id': 7, 'cpu_time': 14811733730L, 'ssidref': 0, 'hvm': 0, 'shutdown_reason': 255, 'dying': 0, 'online_vcpus': 8, 'domid': 0, 'paused': 0, 'crashed': 0, 'running': 1, 'maxmem_kb': 17179869180L, 'shutdown': 0, 'mem_kb': 1046144L, 'blocked': 0, 'handle': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'cpupool': 0, 'name': 'Domain-0'}) [2012-04-29 10:16:46 2385] INFO (XendDomainInfo:169) Recreating domain 0, UUID 00000000-0000-0000-0000-000000000000. at /local/domain/0 [2012-04-29 10:16:46 2385] DEBUG (XendDomainInfo:3420) Storing VM details: {'on_xend_stop': 'ignore', 'pool_name': 'Pool-0', 'shadow_memory': '0', 'uuid': '00000000-0000-0000-0000-000000000000', 'on_reboot': 'restart', 'image': "(linux (kernel '') (superpages 0) (nomigrate 0) (tsc_mode 0))", 'on_poweroff': 'destroy', 'bootloader_args': '', 'on_xend_start': 'ignore', 'on_crash': 'restart', 'xend/restart_count': '0', 'vcpus': '8', 'vcpu_avail': '255', 'bootloader': '', 'name': 'Domain-0'} [2012-04-29 10:16:46 2385] DEBUG (XendDomainInfo:1794) Storing domain details: {'cpu/3/availability': 'online', 'description': '', 'console/limit': '1048576', 'memory/target': '1046144', 'cpu/2/availability': 'online', 'vm': '/vm/00000000-0000-0000-0000-000000000000', 'domid': '0', 'cpu/7/availability': 'online', 'cpu/0/availability': 'online', 'cpu/1/availability': 'online', 'cpu/5/availability': 'online', 'control/platform-feature-multiprocessor-suspend': '1', 'cpu/6/availability': 'online', 'console/type': 'xenconsoled', 'cpu/4/availability': 'online', 'name': 'Domain-0'}
[2012-04-29 10:16:46 2385] DEBUG (XendDomain:476) Adding Domain: 0
[2012-04-29 10:16:46 2385] DEBUG (XendDomain:410) number of vcpus to use is 0 [2012-04-29 10:16:46 2385] DEBUG (XendDomainInfo:1881) XendDomainInfo.handleShutdownWatch [2012-04-29 10:16:46 2385] WARNING (XendAPI:708) API call: VBD.set_device not found [2012-04-29 10:16:46 2385] WARNING (XendAPI:708) API call: VBD.set_type not found [2012-04-29 10:16:46 2385] WARNING (XendAPI:708) API call: session.get_all_records not found [2012-04-29 10:16:46 2385] WARNING (XendAPI:708) API call: event.get_record not found [2012-04-29 10:16:46 2385] WARNING (XendAPI:708) API call: event.get_all not found [2012-04-29 10:16:46 2385] WARNING (XendAPI:708) API call: VIF.set_device not found [2012-04-29 10:16:46 2385] WARNING (XendAPI:708) API call: VIF.set_MAC not found [2012-04-29 10:16:46 2385] WARNING (XendAPI:708) API call: VIF.set_MTU not found [2012-04-29 10:16:46 2385] WARNING (XendAPI:708) API call: debug.get_all not found [2012-04-29 10:16:46 2385] INFO (XMLRPCServer:161) Opening Unix domain socket XML-RPC server on /var/run/xend/xen-api.sock; authentication has been disabled for this server. [2012-04-29 10:16:46 2385] INFO (XMLRPCServer:161) Opening Unix domain socket XML-RPC server on /var/run/xend/xmlrpc.sock.

2012-04-29 10:55:45 root@i72600s ~
# updatedb

2012-04-29 10:55:48 root@i72600s ~
# locate xensource.log

_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api


_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.