Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Xen: API

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

 

 

Xen api RSS feed   Index | Next | Previous | View Threaded


dpchrist at holgerdanske

Apr 28, 2012, 7:06 PM

Post #1 of 7 (744 views)
Permalink
Wheezy xcp-xapi /usr/share/doc/xcp-xapi/README.Debian xe Error: Connection refused (calling connect )

xen-api:

Thread moved from debian-user.


I'm attempting to follow along with the xcp-xapi README.Debian on Wheezy
per:

http://www.debian.org/News/2012/20120425


Note that I installed Debian testing amd64 for the initial (dom0?)
operating system. When I installed xcp-api, I found out that
README.Debian recommends i386.


When I attempt to create a storage group, the "xe" command-line
interface generates an error:

# xe sr-create type=ext name-label=node0sr0
device-config:device=/dev/mapper/vg_xcp-lv_xcp
Error: Connection refused (calling connect )


If I try to get help with "xe", I get the same error:

# xe help
Error: Connection refused (calling connect )


Any suggestions?


TIA,

David

p.s. Is there a better mailing list to get support for xcp-xapi?

_______________________________________________
Xen-api mailing list
Xen-api [at] lists
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api


george.shuklin at gmail

Apr 29, 2012, 1:49 AM

Post #2 of 7 (686 views)
Permalink
Re: Wheezy xcp-xapi /usr/share/doc/xcp-xapi/README.Debian xe Error: Connection refused (calling connect ) [In reply to]

I don't know about debian specific yet, but 'connection refused' means
xapi service is not running. Check it and it log (xensource.log).

On 29.04.2012 06:06, David Christensen wrote:
> xen-api:
>
> Thread moved from debian-user.
>
>
> I'm attempting to follow along with the xcp-xapi README.Debian on
> Wheezy per:
>
> http://www.debian.org/News/2012/20120425
>
>
> Note that I installed Debian testing amd64 for the initial (dom0?)
> operating system. When I installed xcp-api, I found out that
> README.Debian recommends i386.
>
>
> When I attempt to create a storage group, the "xe" command-line
> interface generates an error:
>
> # xe sr-create type=ext name-label=node0sr0
> device-config:device=/dev/mapper/vg_xcp-lv_xcp
> Error: Connection refused (calling connect )
>
>
> If I try to get help with "xe", I get the same error:
>
> # xe help
> Error: Connection refused (calling connect )
>
>
> Any suggestions?
>
>
> TIA,
>
> David
>
> p.s. Is there a better mailing list to get support for xcp-xapi?
>
> _______________________________________________
> Xen-api mailing list
> Xen-api [at] lists
> http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api


_______________________________________________
Xen-api mailing list
Xen-api [at] lists
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api


dpchrist at holgerdanske

Apr 29, 2012, 10:59 AM

Post #3 of 7 (653 views)
Permalink
Re: Wheezy xcp-xapi /usr/share/doc/xcp-xapi/README.Debian xe Error: Connection refused (calling connect ) [In reply to]

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 [at] i72600 ~
# 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 [at] i72600 ~
# 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 [at] i72600 ~
# 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 [at] i72600 ~
# 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 [at] i72600 ~
# 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 [at] i72600 ~
# 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 [at] i72600 ~
# updatedb

2012-04-29 10:55:48 root [at] i72600 ~
# locate xensource.log

_______________________________________________
Xen-api mailing list
Xen-api [at] lists
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api


george.shuklin at gmail

Apr 29, 2012, 1:04 PM

Post #4 of 7 (672 views)
Permalink
Re: Wheezy xcp-xapi /usr/share/doc/xcp-xapi/README.Debian xe Error: Connection refused (calling connect ) [In reply to]

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 [at] i72600 ~
> # 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 [at] i72600 ~
> # 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 [at] i72600 ~
> # 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 [at] i72600 ~
> # 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 [at] i72600 ~
> # 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 [at] i72600 ~
> # 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 [at] i72600 ~
> # updatedb
>
> 2012-04-29 10:55:48 root [at] i72600 ~
> # locate xensource.log
>
> _______________________________________________
> Xen-api mailing list
> Xen-api [at] lists
> http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api


_______________________________________________
Xen-api mailing list
Xen-api [at] lists
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api


sr at swisscenter

Apr 29, 2012, 1:30 PM

Post #5 of 7 (679 views)
Permalink
Re: Wheezy xcp-xapi /usr/share/doc/xcp-xapi/README.Debian xe Error: Connection refused (calling connect ) [In reply to]

Hi,

Having installed xcp on debian 6 recently (today), I can confirm that
after installing xcp-xapi package does not disable xend (which is
installed by the xen-hypervisor package).

3044 ? S 0:00 /usr/bin/python2.7 /usr/lib/xen-4.1/bin/xend
start
3045 ? SLl 0:02 /usr/bin/python2.7 /usr/lib/xen-4.1/bin/xend
start

This lead to a non fuctionnal xapi. You must stop the process and
removing it from boot.

Maybe something that has to be fixed in next releases ?

Cheers,
Sébastien


On 29.04.2012 22:04, George Shuklin wrote:
> 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 [at] i72600 ~
>> # 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 [at] i72600 ~
>> # 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 [at] i72600 ~
>> # 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 [at] i72600 ~
>> # 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 [at] i72600 ~
>> # 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 [at] i72600 ~
>> # 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 [at] i72600 ~
>> # updatedb
>>
>> 2012-04-29 10:55:48 root [at] i72600 ~
>> # locate xensource.log
>>
>> _______________________________________________
>> Xen-api mailing list
>> Xen-api [at] lists
>> http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
>
>
> _______________________________________________
> Xen-api mailing list
> Xen-api [at] lists
> http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
>


_______________________________________________
Xen-api mailing list
Xen-api [at] lists
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api


sr at swisscenter

Apr 29, 2012, 1:35 PM

Post #6 of 7 (708 views)
Permalink
Re: Wheezy xcp-xapi /usr/share/doc/xcp-xapi/README.Debian xe Error: Connection refused (calling connect ) [In reply to]

Okay, sorry I wrote to quickly. as I can read on the wiki you need to :

sed -i -e 's/xend_start$/#xend_start/' -e 's/xend_stop$/#xend_stop/' /etc/init.d/xend
update-rc.d xendomains disable

and also

echo 'TOOLSTACK="xapi"'> /etc/default/xen


source: http://wiki.xen.org/wiki/XCP_toolstack_on_a_Debian-based_distribution

Cheers,
Sébastien

On 29.04.2012 22:30, Sébastien Riccio wrote:
> Hi,
>
> Having installed xcp on debian 6 recently (today), I can confirm that
> after installing xcp-xapi package does not disable xend (which is
> installed by the xen-hypervisor package).
>
> 3044 ? S 0:00 /usr/bin/python2.7
> /usr/lib/xen-4.1/bin/xend start
> 3045 ? SLl 0:02 /usr/bin/python2.7
> /usr/lib/xen-4.1/bin/xend start
>
> This lead to a non fuctionnal xapi. You must stop the process and
> removing it from boot.
>
> Maybe something that has to be fixed in next releases ?
>
> Cheers,
> Sébastien
>
>
> On 29.04.2012 22:04, George Shuklin wrote:
>> 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 [at] i72600 ~
>>> # 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 [at] i72600 ~
>>> # 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 [at] i72600 ~
>>> # 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 [at] i72600 ~
>>> # 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 [at] i72600 ~
>>> # 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 [at] i72600 ~
>>> # 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 [at] i72600 ~
>>> # updatedb
>>>
>>> 2012-04-29 10:55:48 root [at] i72600 ~
>>> # locate xensource.log
>>>
>>> _______________________________________________
>>> Xen-api mailing list
>>> Xen-api [at] lists
>>> http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
>>
>>
>> _______________________________________________
>> Xen-api mailing list
>> Xen-api [at] lists
>> http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
>>
>
>
> _______________________________________________
> Xen-api mailing list
> Xen-api [at] lists
> http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
>


_______________________________________________
Xen-api mailing list
Xen-api [at] lists
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api


dpchrist at holgerdanske

Apr 29, 2012, 4:25 PM

Post #7 of 7 (667 views)
Permalink
Re: Wheezy xcp-xapi /usr/share/doc/xcp-xapi/README.Debian xe Error: Connection refused (calling connect ) [In reply to]

On 04/29/2012 01:04 PM, George Shuklin wrote:
On 04/29/2012 01:30 PM, SĂ©bastien Riccio wrote:
On 04/29/2012 01:35 PM, SĂ©bastien Riccio wrote:

Thanks for the replies. :-)


Commenting-out xend_start and xend_stop in /etc/init.d/xend and setting
TOOLSTACK in /etc/default/xen were uneventful.


Updating the init script links for xendomains produced some warnings
(see below).


xe seems to be working now. :-)


David

--

2012-04-29 15:50:56 root [at] i72600 /etc/init.d
# update-rc.d xendomains disable
update-rc.d: using dependency based boot sequencing
insserv: warning: current start runlevel(s) (empty) of script
`xendomains' overwrites defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of
script `xendomains' overwrites defaults (0 1 6).
insserv: script xend-orig: service xend already provided!

2012-04-29 15:55:03 root [at] i72600 /etc
# find /etc -name '*xend*'
/etc/rc2.d/K01xendomains
/etc/rc2.d/S20xend
/etc/rc0.d/K01xendomains
/etc/rc0.d/K02xend
/etc/rc6.d/K01xendomains
/etc/rc6.d/K02xend
/etc/rc4.d/K01xendomains
/etc/rc4.d/S20xend
/etc/xen/xend-config.sxp
/etc/xen/xend-pci-quirks.sxp
/etc/xen/xend-pci-permissive.sxp
/etc/default/xendomains
/etc/default/xend
/etc/rc1.d/K01xendomains
/etc/rc1.d/K02xend
/etc/rc5.d/K01xendomains
/etc/rc5.d/S20xend
/etc/init.d/xendomains
/etc/init.d/xend-orig
/etc/init.d/xend
/etc/rc3.d/K01xendomains
/etc/rc3.d/S20xend

_______________________________________________
Xen-api mailing list
Xen-api [at] lists
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api

Xen api RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.