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@lists.xensource.com
[mailto:xen-api-bounces@lists.xensource.com] On Behalf Of Tom Wilkie
Sent: Friday, May 25, 2007 11:01 AM
To: Alex Turner
Cc: xen-api@lists.xensource.com
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@lists.xensource.com
[mailto:xen-api-bounces@lists.xensource.com] On Behalf Of Tom Wilkie
Sent: Friday, May 25, 2007 9:46 AM
To: Alex Turner
Cc: xen-api@lists.xensource.com
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@lists.xensource.com [
<mailto:xen-api-bounces@lists.xensource.com>
mailto:xen-api-bounces@lists.xensource.com] On Behalf Of Tom Wilkie
Sent: Friday, May 25, 2007 9:32 AM
To: Alex Turner
Cc: <mailto:xen-api@lists.xensource.com> xen-api@lists.xensource.com
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@gmail.com>
mailto:tom.wilkie@gmail.com]
Sent: Friday, May 25, 2007 9:00 AM
To: Alex Turner
Cc: Tom Wilkie; <mailto:xen-api@lists.xensource.com>
xen-api@lists.xensource.com
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
<mailto:xen-api@lists.xensource.com> xen-api@lists.xensource.com
<
http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api>
http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api