Re: Connection Failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Michael DeHaan wrote:
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

Also of WebUI note...

Someone recently reported an error submitting the profile webform with Python 2.5 and mod_python.

I've got a workaround posted in git. If you don't want to apply that, you can still use the command line
to assign repos to profiles.

If you are using the WebUI and also using cobbler's repo management features, and are seeing cobbler failing to save your repo choices, be aware of that, and we'll include that in the next bugfix release.

Long term I am pondering TurboGears (the switch would be reasonably easy) but the existing implementation has the virtue of already working pretty well on older platforms. If someone wants to take a crack at a TurboGears port that could be interesting. (Namely I think latching on the authentication providers
could streamline some things).

--Michael


_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux