Mailing List Archive

Cannot connect to Xen server
Hello,

I installed xen server on a Debian jessie machine, and installed xcp-xapi
through wheezy packages. But I keep getting this:

Error: Connection refused (calling connect )

Logs states some permission denied errors:
[20150807T23:10:28.267Z|debug|artemis151|0 thread_zero|server_init
D:d30fa83a09c0|dispatcher] Raised at string.ml:150.25-34 -> stringext.ml:108
.13-29
[20150807T23:10:28.267Z|debug|artemis151|0 thread_zero|server_init
D:d30fa83a09c0|backtrace] Raised at string.ml:150.25-34 -> stringext.ml:108
.13-29
[20150807T23:10:28.267Z|debug|artemis151|0 thread_zero|server_init
D:d30fa83a09c0|xapi] Raised at server_helpers.ml:94.14-15 ->
pervasiveext.ml:22.2-9
[20150807T23:10:28.267Z|debug|artemis151|0 thread_zero|server_init
D:d30fa83a09c0|xapi] Raised at pervasiveext.ml:26.22-25 ->
pervasiveext.ml:22.2-9
[20150807T23:10:28.267Z|debug|artemis151|0 thread_zero||xapi] Raised at
pervasiveext.ml:26.22-25 -> pervasiveext.ml:22.2-9
[20150807T23:10:28.267Z|debug|artemis151|0 thread_zero||backtrace] Raised
at pervasiveext.ml:26.22-25 -> xapi.ml:824.4-1023
[20150807T23:10:28.267Z|debug|artemis151|0 thread_zero||xapi] xapi
top-level caught exception: INTERNAL_ERROR: [ Xenctrl.Error("13: Permission
denied") ]
[20150807T23:10:28.268Z|error|artemis151|0 thread_zero||xapi] Caught
exception at toplevel: 'Xenctrl.Error("13: Permission denied")'
[20150807T23:10:28.268Z|debug|artemis151|0 thread_zero||xapi] Raised at
syslog.ml:49.13-33 -> log.ml:267.21-48

Is this caused by misconfiguration of xcp-xapi? How can I debug this.
Searched the web for answers for hours, but can't figure this out.

I configured xapi as the toolstack in /etc/default/xen, disabled xendomains
from booting. Only difference with many internet sources I found is that in
jessie the xend boot is also done in the xen init.d script (instead of
xend).

thanks for your help,

Dieter
Re: Cannot connect to Xen server [ In reply to ]
Are you running as root? I am guessing here, but I am pretty sure I had to
use the root user to get things working when I was doing some
testing/hacking.

Hope this helps.

*Will STEVENS*
Lead Developer

*CloudOps* *| *Cloud Solutions Experts
420 rue Guy *|* Montreal *|* Quebec *|* H3J 1S6
w cloudops.com *|* tw @CloudOps_

On Fri, Aug 7, 2015 at 7:21 PM, Dieter Verslype <dieter.verslype@zeticon.com
> wrote:

> Hello,
>
> I installed xen server on a Debian jessie machine, and installed xcp-xapi
> through wheezy packages. But I keep getting this:
>
> Error: Connection refused (calling connect )
>
> Logs states some permission denied errors:
> [20150807T23:10:28.267Z|debug|artemis151|0 thread_zero|server_init
> D:d30fa83a09c0|dispatcher] Raised at string.ml:150.25-34 ->
> stringext.ml:108.13-29
> [20150807T23:10:28.267Z|debug|artemis151|0 thread_zero|server_init
> D:d30fa83a09c0|backtrace] Raised at string.ml:150.25-34 ->
> stringext.ml:108.13-29
> [20150807T23:10:28.267Z|debug|artemis151|0 thread_zero|server_init
> D:d30fa83a09c0|xapi] Raised at server_helpers.ml:94.14-15 ->
> pervasiveext.ml:22.2-9
> [20150807T23:10:28.267Z|debug|artemis151|0 thread_zero|server_init
> D:d30fa83a09c0|xapi] Raised at pervasiveext.ml:26.22-25 ->
> pervasiveext.ml:22.2-9
> [20150807T23:10:28.267Z|debug|artemis151|0 thread_zero||xapi] Raised at
> pervasiveext.ml:26.22-25 -> pervasiveext.ml:22.2-9
> [20150807T23:10:28.267Z|debug|artemis151|0 thread_zero||backtrace] Raised
> at pervasiveext.ml:26.22-25 -> xapi.ml:824.4-1023
> [20150807T23:10:28.267Z|debug|artemis151|0 thread_zero||xapi] xapi
> top-level caught exception: INTERNAL_ERROR: [ Xenctrl.Error("13: Permission
> denied") ]
> [20150807T23:10:28.268Z|error|artemis151|0 thread_zero||xapi] Caught
> exception at toplevel: 'Xenctrl.Error("13: Permission denied")'
> [20150807T23:10:28.268Z|debug|artemis151|0 thread_zero||xapi] Raised at
> syslog.ml:49.13-33 -> log.ml:267.21-48
>
> Is this caused by misconfiguration of xcp-xapi? How can I debug this.
> Searched the web for answers for hours, but can't figure this out.
>
> I configured xapi as the toolstack in /etc/default/xen, disabled
> xendomains from booting. Only difference with many internet sources I found
> is that in jessie the xend boot is also done in the xen init.d script
> (instead of xend).
>
> thanks for your help,
>
> Dieter
>
> _______________________________________________
> Xen-api mailing list
> Xen-api@lists.xen.org
> http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
>
>