WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-api

RE: [Xen-API] xen api sever connection issue

To: "'Tom Wilkie'" <tom.wilkie@xxxxxxxxx>
Subject: RE: [Xen-API] xen api sever connection issue
From: "Alex Turner" <Alex.Turner@xxxxxxxxxxxx>
Date: Fri, 25 May 2007 10:38:35 -0500
Cc: xen-api@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 25 May 2007 08:36:06 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <8B177BCF-CA0A-4E0B-80B7-31BB4EE4EB6E@xxxxxxxxx>
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acee3DMPImtyWeVFQoKzHSx7nnYOIQABmtMw

Tom, does this assist

 

[2007-05-25 10:33:29 xend 7303] INFO (XMLRPCServer:115) Opening TCP XML-RPC server on all interfaces, port 9363; authentication has been disabled for this server.

[2007-05-25 10:33:29 xend 7303] ERROR (XMLRPCServer:125) Cannot start server: Address already in use!

[2007-05-25 10:33:29 xend 7303] INFO (XMLRPCServer:121) Opening Unix domain socket XML-RPC server on /var/run/xend/xmlrpc.sock.

[2007-05-25 10:33:30 xend 7274] DEBUG (SrvServer:157) Waiting for ['XMLRPCServer', 'XMLRPCServer'].

[2007-05-25 10:33:30 xend 7274] DEBUG (XMLRPCServer:186) XMLRPCServer.cleanup()

[2007-05-25 10:33:30 xend 7274] DEBUG (XMLRPCServer:186) XMLRPCServer.cleanup()

[2007-05-25 10:33:30 xend 7273] INFO (SrvDaemon:218) Xend exited with status 0.

[2007-05-25 10:33:59 xend 7303] ERROR (SrvServer:134) Server XMLRPCServer did not initialise!

[2007-05-25 10:34:00 xend 7311] WARNING (XendAuthSessions:27) python-pam is required for XenAPI support.

 


From: xen-api-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-api-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Tom Wilkie
Sent: Friday, May 25, 2007 9:46 AM
To: Alex Turner
Cc: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-API] xen api sever connection issue

 

What are you using to connect? xm? or a custom client?  have you tried just telnetting to that port and evoking a response?

 

Cheers

 

Tom

 

On 25 May 2007, at 15:38, Alex Turner wrote:



No firewall

 

I am able to access 6936 just not 9363


From: xen-api-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-api-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Tom Wilkie
Sent: Friday, May 25, 2007 9:32 AM
To: Alex Turner
Cc: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-API] xen api sever connection issue

 

Do you have a firewall turned on?

 

Tom

 

On 25 May 2007, at 15:21, Alex Turner wrote:




netstat returns:

 

[root@xenserver1 xen]# netstat -l

Active Internet connections (only servers)

Proto Recv-Q Send-Q Local Address               Foreign Address             State

tcp        0      0 localhost:sunrpc            *:*                         LISTEN

tcp        0      0 *:9363                      *:*                         LISTEN

tcp        0      0 *:6936                      *:*                         LISTEN

tcp        0      0 localhost:6937              *:*                         LISTEN

tcp        0      0 *:ssh                       *:*                         LISTEN

udp        0      0 localhost:sunrpc            *:*

Active UNIX domain sockets (only servers)

Proto RefCnt Flags       Type       State         I-Node Path

unix  2      [ ACC ]     STREAM     LISTENING     15661  /var/run/xenstored/socket

unix  2      [ ACC ]     STREAM     LISTENING     15662  /var/run/xenstored/socket_ro

unix  2      [ ACC ]     STREAM     LISTENING     19951  /var/run/xend/xmlrpc.sock

[root@xenserver1 xen]#

 


From: Tom Wilkie [mailto:tom.wilkie@xxxxxxxxx]
Sent: Friday, May 25, 2007 9:00 AM
To: Alex Turner
Cc: Tom Wilkie; xen-api@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-API] xen api sever connection issue

 

Could you post your /etc/xen/xend-config.sxp please?  I suspect the `' after none is not required.

 

Cheers

 

Tom

 

On 25 May 2007, at 14:53, Alex Turner wrote:





I am running into issues connecting to 9363, history as follows:

 

Edited xend-config.sxp to reflect

                (xen-api-server  ((9363 none ‘’)))

 

service xend restart

 

netstat –l

                shows 9363 listening to everybody

 

6936 gets ‘ Invalid argument. An application passed an invalid input parameter in a function call.’

                expected as I just want to verify route.

 

9363 gets ‘The host server is unreachable.’          

               

Any ideas?

 

Many Thanks

 

_______________________________________________

xen-api mailing list

 




 



 

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api