Skip to contentSkip to conversation

Problems about XAPI

DISCUSSION Huibin QIAN 2 participants 2 messages Dec 3, 2009

lore
Share & tools
lore
#0 lore raw

Hi Dave,Vincent

I am trying to use the xapi to manager a host.
After compiling and installing the xapi to the host, the service of xapi failed to start. (Below is the /var/log/xensource.log) Could you give me some suggestions?

Cheers
Jay

[20091202T14:50:27.622Z|debug|host_suse11|0 thread_zero|Reading log config file D:74efa263ae28|dummytaskhelper] task destroyed
[20091202T14:50:27.622Z|debug|host_suse11|0 thread_zero|server_init D:7046046718cd|startup] task [Initing stunnel path]
[20091202T14:50:27.624Z|debug|host_suse11|0 thread_zero|server_init D:7046046718cd|dummytaskhelper] task Initing stunnel path D:a5af092bbe5e created by task D:7046046718cd
[20091202T14:50:27.624Z|debug|host_suse11|0 thread_zero|Initing stunnel path D:a5af092bbe5e|backtrace] Raised at stunnel.ml:46.17-39 -> stunnel.ml:50.17-31 -> server_helpers.ml:74.11-23
[20091202T14:50:27.624Z|debug|host_suse11|0 thread_zero|Initing stunnel path D:a5af092bbe5e|dispatcher] Server_helpers.exec exception_handler: Got exception INTERNAL_ERROR: [ Stunnel.Stunnel_binary_missing ]
[20091202T14:50:27.624Z|debug|host_suse11|0 thread_zero|Initing stunnel path D:a5af092bbe5e|dispatcher] Raised at string.ml:150.25-34 -> stringext.ml:108.13-29
[20091202T14:50:27.624Z|debug|host_suse11|0 thread_zero|Initing stunnel path D:a5af092bbe5e|backtrace] Raised at string.ml:150.25-34 -> stringext.ml:108.13-29
[20091202T14:50:27.624Z|debug|host_suse11|0 thread_zero|Initing stunnel path D:a5af092bbe5e|xapi] Raised at server_helpers.ml:92.14-15 -> pervasiveext.ml:22.2-9
[20091202T14:50:27.624Z|debug|host_suse11|0 thread_zero|Initing stunnel path D:a5af092bbe5e|dummytaskhelper] task destroyed
[20091202T14:50:27.624Z|debug|host_suse11|0 thread_zero|Initing stunnel path D:a5af092bbe5e|xapi] Raised at pervasiveext.ml:26.22-25 -> pervasiveext.ml:22.2-9
[20091202T14:50:27.625Z| warn|host_suse11|0 thread_zero|server_init D:7046046718cd|startup] task [Initing stunnel path] exception: Stunnel.Stunnel_binary_missing
[20091202T14:50:27.625Z|debug|host_suse11|0 thread_zero|server_init D:7046046718cd|backtrace] Raised at pervasiveext.ml:26.22-25 -> startup.ml:64.3-119 -> startup.ml:70.14-17 -> list.ml:69.12-15 -> xapi.ml:719.4-1023 -> server_helpers.ml:74.11-23
[20091202T14:50:27.625Z|debug|host_suse11|0 thread_zero|server_init D:7046046718cd|dispatcher] Server_helpers.exec exception_handler: Got exception INTERNAL_ERROR: [ Stunnel.Stunnel_binary_missing ]
[20091202T14:50:27.625Z|debug|host_suse11|0 thread_zero|server_init D:7046046718cd|dispatcher] Raised at string.ml:150.25-34 -> stringext.ml:108.13-29
[20091202T14:50:27.625Z|debug|host_suse11|0 thread_zero|server_init D:7046046718cd|backtrace] Raised at string.ml:150.25-34 -> stringext.ml:108.13-29
[20091202T14:50:27.625Z|debug|host_suse11|0 thread_zero|server_init D:7046046718cd|xapi] Raised at server_helpers.ml:92.14-15 -> pervasiveext.ml:22.2-9
[20091202T14:50:27.625Z|debug|host_suse11|0 thread_zero|server_init D:7046046718cd|dummytaskhelper] task destroyed
[20091202T14:50:27.625Z|debug|host_suse11|0 thread_zero|server_init D:7046046718cd|xapi] Raised at pervasiveext.ml:26.22-25 -> pervasiveext.ml:22.2-9
[20091202T14:50:27.625Z|debug|host_suse11|0 thread_zero||backtrace] Raised at pervasiveext.ml:26.22-25 -> xapi.ml:718.4-1023
[20091202T14:50:27.625Z|debug|host_suse11|0 thread_zero||xapi] xapi top-level caught exception: INTERNAL_ERROR: [ Stunnel.Stunnel_binary_missing ]
[20091202T14:50:27.625Z|error|host_suse11|0 thread_zero||xapi] Caught exception at toplevel: 'Stunnel.Stunnel_binary_missing'
[20091202T14:50:27.626Z|debug|host_suse11|0 thread_zero||xapi] Raised at xapi.ml:886.98-101 -> xapi.ml:895.4-8 -> xapi.ml:901.15-16 -> xapi.ml:931.6-22
[20091202T14:50:27.630Z|debug|host_suse11|0 thread_zero|Reading log config file D:130ba3fe504a|dummytaskhelper] task destroyed
[20091202T14:50:27.631Z|debug|host_suse11|0 thread_zero|server_init D:2982758b0cf0|startup] task [Initing stunnel path]
[20091202T14:50:27.632Z|debug|host_suse11|0 thread_zero|server_init D:2982758b0cf0|dummytaskhelper] task Initing stunnel path D:4481e6fda012 created by task D:2982758b0cf0
[20091202T14:50:27.632Z|debug|host_suse11|0 thread_zero|Initing stunnel path D:4481e6fda012|backtrace] Raised at stunnel.ml:46.17-39 -> stunnel.ml:50.17-31 -> server_helpers.ml:74.11-23
[20091202T14:50:27.632Z|debug|host_suse11|0 thread_zero|Initing stunnel path D:4481e6fda012|dispatcher] Server_helpers.exec exception_handler: Got exception INTERNAL_ERROR: [ Stunnel.Stunnel_binary_missing ]
[20091202T14:50:27.632Z|debug|host_suse11|0 thread_zero|Initing stunnel path D:4481e6fda012|dispatcher] Raised at string.ml:150.25-34 -> stringext.ml:108.13-29
[20091202T14:50:27.632Z|debug|host_suse11|0 thread_zero|Initing stunnel path D:4481e6fda012|backtrace] Raised at string.ml:150.25-34 -> stringext.ml:108.13-29
[20091202T14:50:27.632Z|debug|host_suse11|0 thread_zero|Initing stunnel path D:4481e6fda012|xapi] Raised at server_helpers.ml:92.14-15 -> pervasiveext.ml:22.2-9
[20091202T14:50:27.632Z|debug|host_suse11|0 thread_zero|Initing stunnel path D:4481e6fda012|dummytaskhelper] task destroyed
[20091202T14:50:27.632Z|debug|host_suse11|0 thread_zero|Initing stunnel path D:4481e6fda012|xapi] Raised at pervasiveext.ml:26.22-25 -> pervasiveext.ml:22.2-9
[20091202T14:50:27.633Z| warn|host_suse11|0 thread_zero|server_init D:2982758b0cf0|startup] task [Initing stunnel path] exception: Stunnel.Stunnel_binary_missing
[20091202T14:50:27.633Z|debug|host_suse11|0 thread_zero|server_init D:2982758b0cf0|backtrace] Raised at pervasiveext.ml:26.22-25 -> startup.ml:64.3-119 -> startup.ml:70.14-17 -> list.ml:69.12-15 -> xapi.ml:719.4-1023 -> server_helpers.ml:74.11-23
[20091202T14:50:27.633Z|debug|host_suse11|0 thread_zero|server_init D:2982758b0cf0|dispatcher] Server_helpers.exec exception_handler: Got exception INTERNAL_ERROR: [ Stunnel.Stunnel_binary_missing ]
[20091202T14:50:27.633Z|debug|host_suse11|0 thread_zero|server_init D:2982758b0cf0|dispatcher] Raised at string.ml:150.25-34 -> stringext.ml:108.13-29
[20091202T14:50:27.633Z|debug|host_suse11|0 thread_zero|server_init D:2982758b0cf0|backtrace] Raised at string.ml:150.25-34 -> stringext.ml:108.13-29
[20091202T14:50:27.633Z|debug|host_suse11|0 thread_zero|server_init D:2982758b0cf0|xapi] Raised at server_helpers.ml:92.14-15 -> pervasiveext.ml:22.2-9
[20091202T14:50:27.633Z|debug|host_suse11|0 thread_zero|server_init D:2982758b0cf0|dummytaskhelper] task destroyed
[20091202T14:50:27.633Z|debug|host_suse11|0 thread_zero|server_init D:2982758b0cf0|xapi] Raised at pervasiveext.ml:26.22-25 -> pervasiveext.ml:22.2-9
[20091202T14:50:27.633Z|debug|host_suse11|0 thread_zero||backtrace] Raised at pervasiveext.ml:26.22-25 -> xapi.ml:718.4-1023
[20091202T14:50:27.633Z|debug|host_suse11|0 thread_zero||xapi] xapi top-level caught exception: INTERNAL_ERROR: [ Stunnel.Stunnel_binary_missing ]
[20091202T14:50:27.633Z|error|host_suse11|0 thread_zero||xapi] Caught exception at toplevel: 'Stunnel.Stunnel_binary_missing'
[20091202T14:50:27.633Z|debug|host_suse11|0 thread_zero||xapi] Raised at xapi.ml:886.98-101 -> xapi.ml:895.4-8 -> xapi.ml:901.15-16 -> xapi.ml:931.6-22

_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users

#1 lore raw

Hi,

[xen-devel to bcc:]

Xapi requires stunnel version 4+. It looks for one of:

/opt/xensource/libexec/stunnel/stunnel
/usr/sbin/stunnel4
/usr/sbin/stunnel
/usr/bin/stunnel4
/usr/bin/stunnel

See http://xenbits.xen.org/xapi/xen-api-libs.hg?file/7ae8aaab9a90/stunnel/stunnel.ml

Note that, if you're installing xapi on a non XCP build then you'll also need at least a /etc/xensource-inventory file containing keys:
INSTALLATION_UUID='some uuid'
CONTROL_DOMAIN_UUID='some other uuid'

Cheers,
Dave

From: Huibin QIAN [mailto:[email protected]]
Sent: 03 December 2009 08:28
To: Dave Scott; Vincent Hanquez
Cc: [email protected]; [email protected]; [email protected]; [email protected]
Subject: Problems about XAPI

Hi Dave,Vincent

I am trying to use the xapi to manager a host.
After compiling and installing the xapi to the host, the service of xapi failed to start. (Below is the /var/log/xensource.log) Could you give me some suggestions?

Cheers
Jay

[20091202T14:50:27.622Z|debug|host_suse11|0 thread_zero|Reading log config file D:74efa263ae28|dummytaskhelper] task destroyed
[20091202T14:50:27.622Z|debug|host_suse11|0 thread_zero|server_init D:7046046718cd|startup] task [Initing stunnel path]
[20091202T14:50:27.624Z|debug|host_suse11|0 thread_zero|server_init D:7046046718cd|dummytaskhelper] task Initing stunnel path D:a5af092bbe5e created by task D:7046046718cd
[20091202T14:50:27.624Z|debug|host_suse11|0 thread_zero|Initing stunnel path D:a5af092bbe5e|backtrace] Raised at stunnel.ml:46.17-39 -> stunnel.ml:50.17-31 -> server_helpers.ml:74.11-23
[20091202T14:50:27.624Z|debug|host_suse11|0 thread_zero|Initing stunnel path D:a5af092bbe5e|dispatcher] Server_helpers.exec exception_handler: Got exception INTERNAL_ERROR: [ Stunnel.Stunnel_binary_missing ]
[20091202T14:50:27.624Z|debug|host_suse11|0 thread_zero|Initing stunnel path D:a5af092bbe5e|dispatcher] Raised at string.ml:150.25-34 -> stringext.ml:108.13-29
[20091202T14:50:27.624Z|debug|host_suse11|0 thread_zero|Initing stunnel path D:a5af092bbe5e|backtrace] Raised at string.ml:150.25-34 -> stringext.ml:108.13-29
[20091202T14:50:27.624Z|debug|host_suse11|0 thread_zero|Initing stunnel path D:a5af092bbe5e|xapi] Raised at server_helpers.ml:92.14-15 -> pervasiveext.ml:22.2-9
[20091202T14:50:27.624Z|debug|host_suse11|0 thread_zero|Initing stunnel path D:a5af092bbe5e|dummytaskhelper] task destroyed
[20091202T14:50:27.624Z|debug|host_suse11|0 thread_zero|Initing stunnel path D:a5af092bbe5e|xapi] Raised at pervasiveext.ml:26.22-25 -> pervasiveext.ml:22.2-9
[20091202T14:50:27.625Z| warn|host_suse11|0 thread_zero|server_init D:7046046718cd|startup] task [Initing stunnel path] exception: Stunnel.Stunnel_binary_missing
[20091202T14:50:27.625Z|debug|host_suse11|0 thread_zero|server_init D:7046046718cd|backtrace] Raised at pervasiveext.ml:26.22-25 -> startup.ml:64.3-119 -> startup.ml:70.14-17 -> list.ml:69.12-15 -> xapi.ml:719.4-1023 -> server_helpers.ml:74.11-23
[20091202T14:50:27.625Z|debug|host_suse11|0 thread_zero|server_init D:7046046718cd|dispatcher] Server_helpers.exec exception_handler: Got exception INTERNAL_ERROR: [ Stunnel.Stunnel_binary_missing ]
[20091202T14:50:27.625Z|debug|host_suse11|0 thread_zero|server_init D:7046046718cd|dispatcher] Raised at string.ml:150.25-34 -> stringext.ml:108.13-29
[20091202T14:50:27.625Z|debug|host_suse11|0 thread_zero|server_init D:7046046718cd|backtrace] Raised at string.ml:150.25-34 -> stringext.ml:108.13-29
[20091202T14:50:27.625Z|debug|host_suse11|0 thread_zero|server_init D:7046046718cd|xapi] Raised at server_helpers.ml:92.14-15 -> pervasiveext.ml:22.2-9
[20091202T14:50:27.625Z|debug|host_suse11|0 thread_zero|server_init D:7046046718cd|dummytaskhelper] task destroyed
[20091202T14:50:27.625Z|debug|host_suse11|0 thread_zero|server_init D:7046046718cd|xapi] Raised at pervasiveext.ml:26.22-25 -> pervasiveext.ml:22.2-9
[20091202T14:50:27.625Z|debug|host_suse11|0 thread_zero||backtrace] Raised at pervasiveext.ml:26.22-25 -> xapi.ml:718.4-1023
[20091202T14:50:27.625Z|debug|host_suse11|0 thread_zero||xapi] xapi top-level caught exception: INTERNAL_ERROR: [ Stunnel.Stunnel_binary_missing ]
[20091202T14:50:27.625Z|error|host_suse11|0 thread_zero||xapi] Caught exception at toplevel: 'Stunnel.Stunnel_binary_missing'
[20091202T14:50:27.626Z|debug|host_suse11|0 thread_zero||xapi] Raised at xapi.ml:886.98-101 -> xapi.ml:895.4-8 -> xapi.ml:901.15-16 -> xapi.ml:931.6-22
[20091202T14:50:27.630Z|debug|host_suse11|0 thread_zero|Reading log config file D:130ba3fe504a|dummytaskhelper] task destroyed
[20091202T14:50:27.631Z|debug|host_suse11|0 thread_zero|server_init D:2982758b0cf0|startup] task [Initing stunnel path]
[20091202T14:50:27.632Z|debug|host_suse11|0 thread_zero|server_init D:2982758b0cf0|dummytaskhelper] task Initing stunnel path D:4481e6fda012 created by task D:2982758b0cf0
[20091202T14:50:27.632Z|debug|host_suse11|0 thread_zero|Initing stunnel path D:4481e6fda012|backtrace] Raised at stunnel.ml:46.17-39 -> stunnel.ml:50.17-31 -> server_helpers.ml:74.11-23
[20091202T14:50:27.632Z|debug|host_suse11|0 thread_zero|Initing stunnel path D:4481e6fda012|dispatcher] Server_helpers.exec exception_handler: Got exception INTERNAL_ERROR: [ Stunnel.Stunnel_binary_missing ]
[20091202T14:50:27.632Z|debug|host_suse11|0 thread_zero|Initing stunnel path D:4481e6fda012|dispatcher] Raised at string.ml:150.25-34 -> stringext.ml:108.13-29
[20091202T14:50:27.632Z|debug|host_suse11|0 thread_zero|Initing stunnel path D:4481e6fda012|backtrace] Raised at string.ml:150.25-34 -> stringext.ml:108.13-29
[20091202T14:50:27.632Z|debug|host_suse11|0 thread_zero|Initing stunnel path D:4481e6fda012|xapi] Raised at server_helpers.ml:92.14-15 -> pervasiveext.ml:22.2-9
[20091202T14:50:27.632Z|debug|host_suse11|0 thread_zero|Initing stunnel path D:4481e6fda012|dummytaskhelper] task destroyed
[20091202T14:50:27.632Z|debug|host_suse11|0 thread_zero|Initing stunnel path D:4481e6fda012|xapi] Raised at pervasiveext.ml:26.22-25 -> pervasiveext.ml:22.2-9
[20091202T14:50:27.633Z| warn|host_suse11|0 thread_zero|server_init D:2982758b0cf0|startup] task [Initing stunnel path] exception: Stunnel.Stunnel_binary_missing
[20091202T14:50:27.633Z|debug|host_suse11|0 thread_zero|server_init D:2982758b0cf0|backtrace] Raised at pervasiveext.ml:26.22-25 -> startup.ml:64.3-119 -> startup.ml:70.14-17 -> list.ml:69.12-15 -> xapi.ml:719.4-1023 -> server_helpers.ml:74.11-23
[20091202T14:50:27.633Z|debug|host_suse11|0 thread_zero|server_init D:2982758b0cf0|dispatcher] Server_helpers.exec exception_handler: Got exception INTERNAL_ERROR: [ Stunnel.Stunnel_binary_missing ]
[20091202T14:50:27.633Z|debug|host_suse11|0 thread_zero|server_init D:2982758b0cf0|dispatcher] Raised at string.ml:150.25-34 -> stringext.ml:108.13-29
[20091202T14:50:27.633Z|debug|host_suse11|0 thread_zero|server_init D:2982758b0cf0|backtrace] Raised at string.ml:150.25-34 -> stringext.ml:108.13-29
[20091202T14:50:27.633Z|debug|host_suse11|0 thread_zero|server_init D:2982758b0cf0|xapi] Raised at server_helpers.ml:92.14-15 -> pervasiveext.ml:22.2-9
[20091202T14:50:27.633Z|debug|host_suse11|0 thread_zero|server_init D:2982758b0cf0|dummytaskhelper] task destroyed
[20091202T14:50:27.633Z|debug|host_suse11|0 thread_zero|server_init D:2982758b0cf0|xapi] Raised at pervasiveext.ml:26.22-25 -> pervasiveext.ml:22.2-9
[20091202T14:50:27.633Z|debug|host_suse11|0 thread_zero||backtrace] Raised at pervasiveext.ml:26.22-25 -> xapi.ml:718.4-1023
[20091202T14:50:27.633Z|debug|host_suse11|0 thread_zero||xapi] xapi top-level caught exception: INTERNAL_ERROR: [ Stunnel.Stunnel_binary_missing ]
[20091202T14:50:27.633Z|error|host_suse11|0 thread_zero||xapi] Caught exception at toplevel: 'Stunnel.Stunnel_binary_missing'
[20091202T14:50:27.633Z|debug|host_suse11|0 thread_zero||xapi] Raised at xapi.ml:886.98-101 -> xapi.ml:895.4-8 -> xapi.ml:901.15-16 -> xapi.ml:931.6-22