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: "Alex Turner" <Alex.Turner@xxxxxxxxxxxx>
Subject: Re: [Xen-API] xen api sever connection issue
From: Tom Wilkie <tom.wilkie@xxxxxxxxx>
Date: Fri, 25 May 2007 17:00:49 +0100
Cc: xen-api@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 25 May 2007 08:59:19 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:in-reply-to:references:mime-version:content-type:message-id:cc:from:subject:date:to:x-mailer; b=O325CgexL7x3cKoAXxDWituoutremlFGimOc83DAV3FO0ZY6N1zo6CLoodwg5IbJJvO0F242rRaG//3lsu4Q3vtd6JaJ3kmYgaV1kNPpC/WPZgAuN7oGHlyyEGt72mrtHRjYG27pKY7N9HONUbUHy7cVhj9YDt8yCSFNkj1l9Tk=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:in-reply-to:references:mime-version:content-type:message-id:cc:from:subject:date:to:x-mailer; b=DK7CH2kfig+zsESmR+Mx5S2e+okt5lFgfl+ChghxENwyemOSl4C+ws0wUQGlPN4zcaaJf/I5bkpN8OAM/rRyVPeMAwT9dcRR2NpzFx+dP78q7aq257mMr6qG2Iti7S5mqou16SQkrQA5jhsX8YbHQNXyeoZJ1UUzk/U+W/uPVLk=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200705251135437.SM00132@DOTNET1>
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>
References: <200705251135437.SM00132@DOTNET1>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
Hi

This log says the port is already in use.  If you do a netstat -tap in dom0 it will tell you the program using this port.  You can change the port in /etc/xen/xend-config.sxp.

Cheers

Tom

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

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