Hello,

May be this has been addressed, but I still haven't found anything in the 
archives about this yet.

I've done a basic cobbler setup and whenever I run "koan -list-profiles -s 
someserver" I get the error:

[r...@localhost ~]# koan --list-profiles -s someserver Traceback (most recent 
call last):
  File "/usr/lib/python2.4/site-packages/koan/app.py", line 440, in 
get_profiles_xmlrpc
    data = self.xmlrpc_server.get_profiles()
  File "/usr/lib64/python2.4/xmlrpclib.py", line 1096, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib64/python2.4/xmlrpclib.py", line 1383, in __request
    verbose=self.__verbose
  File "/usr/lib64/python2.4/xmlrpclib.py", line 1129, in request
    self.send_content(h, request_body)
  File "/usr/lib64/python2.4/xmlrpclib.py", line 1243, in send_content
    connection.endheaders()
  File "/usr/lib64/python2.4/httplib.py", line 804, in endheaders
    self._send_output()
  File "/usr/lib64/python2.4/httplib.py", line 685, in _send_output
    self.send(msg)
  File "/usr/lib64/python2.4/httplib.py", line 652, in send
    self.connect()
  File "/usr/lib64/python2.4/httplib.py", line 636, in connect
    raise socket.error, msg
error: (111, 'Connection refused')
Could not communicate with someserver:25151

My cobbler server is not running any firewall and selinux is disabled (and have 
even removed it).  I can telnet to port 111 with no problem, but when I telnet 
to 25151 I get a connection refused.  So the server is accepting the 
connection, but something in the python code (or maybe apache) is kicking it 
out.

I've also added to the apache config "Listen ipaddress:25151" and instead get 
the error:

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/koan/app.py", line 440, in 
get_profiles_xmlrpc
    data = self.xmlrpc_server.get_profiles()
  File "/usr/lib64/python2.4/xmlrpclib.py", line 1096, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib64/python2.4/xmlrpclib.py", line 1383, in __request
    verbose=self.__verbose
  File "/usr/lib64/python2.4/xmlrpclib.py", line 1137, in request
    headers
ProtocolError: <ProtocolError for someserver:25151/RPC2: 404 Not Found> Could 
not communicate with someserver:25151

It seems like it should be a simple fix, but I haven't been able to find it.  
I've done this on CentOS 5.3, Fedora 10 and Fedora 11.

Thanks,
Will
Findology Interactive Media


_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to