[et-mgmt-tools] Connection Failure

Michael DeHaan mdehaan at redhat.com
Fri Feb 22 20:08:53 UTC 2008


Mackell, Thomas O wrote:
>
> I am very new to the cobbler setup.
>
> I just installed, Imported a distribution and did the rest of the setup.
>
> No major problems at this point.
>
> Set up the wiu interface, and I am receiving an error on almost all of 
> the selections I try from there.
>
> The doc selection works fine.
>

Sounds like the web user interface is unable to connect to cobblerd, 
even though your log does indicate it is started.

For starters, make sure you've followed the instructions here: 
https://fedorahosted.org/cobbler/wiki/CobblerWebInterface and
that "cobbler check" does not report any problems.


> When I select any of the menu functions, I receive the following:
>
> MOD_PYTHON ERROR
>  
> ProcessId:      27185
> Interpreter:    'linuxtst'
>  
> ServerName:     'linuxtst'
> DocumentRoot:   '/var/www/html'
>  
> URI:            '/cobbler/web/'
> Location:       None
> Directory:      '/var/www/cobbler/web/'
> Filename:       '/var/www/cobbler/web/'
> PathInfo:       ''
>  
> Phase:          'PythonHandler'
> Handler:        'index'
>  
> Traceback (most recent call last):
>  
>   File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line 1537, in HandlerDispatch
>     default=default_handler, arg=req, silent=hlist.silent)
>  
>   File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line 1229, in _process_target
>     result = _execute_target(config, req, object, arg)
>  
>   File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line 1128, in _execute_target
>     result = object(arg)
>  
>   File "/var/www/cobbler/web/index.py", line 97, in handler
>     content = func( **form )
>  
>   File "/usr/lib/python2.5/site-packages/cobbler/webui/CobblerWeb.py", line 141, in distro_list
>     if not self.__xmlrpc_setup():
>  
>   File "/usr/lib/python2.5/site-packages/cobbler/webui/CobblerWeb.py", line 70, in __xmlrpc_setup
>     raise e
>  
> error: (111, 'Connection refused')
>  
>  
> MODULE CACHE DETAILS
>  
> Accessed:       Fri Feb 22 13:50:26 2008
> Generation:     1
>  
> _mp_43be29589f5d909275df7d4c30cbcdd3 {
>   FileName:     '/var/www/cobbler/web/index.py'
>   Instance:     1
>   Generation:   1
>   Modified:     Thu Jan 31 14:46:14 2008
>   Imported:     Fri Feb 22 13:48:49 2008
> }
>  
> From the cobbler.log file I see:
> 2008-02-22 13:38:04,497 - api - sync
> 2008-02-22 13:48:35,178 - api - sync
> 2008-02-22 13:49:56,127 - remote - cobblerd started
> 2008-02-22 13:49:56,159 - remote - syslog running on 25150
> 2008-02-22 13:49:56,151 - remote - XMLRPC running on 25151
> 2008-02-22 13:50:11,431 - remote - login attempt; user(tomacke)
> 2008-02-22 13:50:11,435 - api - authenticate; ['tomacke', True]
> 2008-02-22 13:50:11,440 - remote - login succeeded; user(tomacke)
>  
> I am running cobbler-0.8.0-1.fc8
> Under Fedora Core 8
>  
> I must have missed something, At this point I don’t see what it is.
>  
>
> Thanks in advance,
>
> Tom Mackell
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> et-mgmt-tools mailing list
> et-mgmt-tools at redhat.com
> https://www.redhat.com/mailman/listinfo/et-mgmt-tools




More information about the et-mgmt-tools mailing list