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 methodCall

To: <xen-api@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-API] xen api sever methodCall
From: "Alex Turner" <Alex.Turner@xxxxxxxxxxxx>
Date: Fri, 25 May 2007 14:03:45 -0500
Delivery-date: Fri, 25 May 2007 12:01:16 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <EC3AB143-7E80-493C-9D61-C529B0E4A44E@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: Acee5Zi0oMZYInfKSlGq8Ag3KCP53AAGKddQ

Switched to a single interface amongst other issues

 

I am watching the traffic come in on 9363 with tcpdump 9363, so there is communication

 

Doing an http post as below I get “The system cannot locate the resource specified.”

 

<?xml version=’1.0’?>

<methodCall>

<methodName>session.login_with_password</methodName>

     <params>

<param>

<value>

<string>root</string></value>

                                </param>

                                <param>

                                <value><string>xenroot</string></value>

                                </param>

                </params>

</methodCall>

 


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

 

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