On Tue, Nov 15, 2011 at 7:26 PM, Rainer Duffner <[email protected]> wrote: > Hi, > > I have a working cobbler installation at work, but I've created a completely > now one at home. > Unfortunately, it does not work. > > I installed it by adding the EPEL repo and "yum install cobbler cobbler_web". > I removed the cobbler-user from /etc/cobbler/users.digest and added an > "admin" user. > > When I run "cobbler check", it just says that httpd does not seem to be > running and proxying cobbler. > httpd is running, but I only get a "503" error-code in the access-log from > running cobbler check > > 192.168.1.19 - - [16/Nov/2011:01:38:09 +0100] "POST /cobbler_api HTTP/1.0" > 503 401 "-" "xmlrpclib.py/1.0.1 (by www.pythonware.com)" > > Is there a way to make it say what is actually wrong beyond a 503? > > In the cobblers-log, I only get this: > Wed Nov 16 01:42:29 2011 - DEBUG | API handle initialized > Wed Nov 16 01:42:29 2011 - DEBUG | XMLRPC running on 25151 > > etc. > > Incidentally, I can't login to the web-interface with the password I set. > > [root@cobbler cobbler]# cat modules.conf |grep -v ^# |grep -v ^$ > [authentication] > module = authn_configfile > [authorization] > module = authz_allowall > [dns] > module = manage_bind > > [dhcp] > module = manage_isc > > [root@cobbler cobbler]# cat users.conf |grep -v ^# |grep -v ^$ > [admins] > admin = "" > cobbler = "" > > It seems I get a "permission denied" upon trying to log into the > web-interface: > > [Wed Nov 16 02:08:08 2011] [error] python_init: Python path being used > '/usr/lib64/python26.zip:/usr/lib64/python2.6/:/usr/lib64/python2.6/plat-linux2:/usr/lib64/python2.6/lib-tk:/usr/lib64/python2.6/lib-old:/usr/lib64/python2.6/lib-dynload'. > [Wed Nov 16 02:08:08 2011] [notice] mod_python: Creating 4 session mutexes > based on 256 max processes and 0 max threads. > [Wed Nov 16 02:08:08 2011] [notice] mod_python: using mutex_directory /tmp > [Wed Nov 16 02:08:08 2011] [warn] mod_wsgi: Compiled for Python/2.6.2. > [Wed Nov 16 02:08:08 2011] [warn] mod_wsgi: Runtime using Python/2.6.6. > [Wed Nov 16 02:08:08 2011] [notice] Apache/2.2.15 (Unix) DAV/2 > mod_python/3.3.1 Python/2.6.6 mod_wsgi/3.2 configured -- resuming normal > operations > [Wed Nov 16 02:08:35 2011] [error] (13)Permission denied: proxy: HTTP: > attempt to connect to 127.0.0.1:25151 (localhost) failed > [Wed Nov 16 02:08:35 2011] [error] ap_proxy_connect_backend disabling worker > for (localhost) > [Wed Nov 16 02:08:35 2011] [error] > /usr/lib64/python2.6/site-packages/mod_python/importer.py:32: > DeprecationWarning: the md5 module is deprecated; use hashlib instead > [Wed Nov 16 02:08:35 2011] [error] import md5 > > [root@cobbler cobbler]# netstat -an |grep 25151 > tcp 0 0 127.0.0.1:25151 0.0.0.0:* > LISTEN > > > Does anyone have any idea? > I updated to 2.2.1, but it doesn't help.
Are you running selinux (hardened ubuntu/debian)? Alternatively, make sure mod_proxy is enabled in your httpd.conf or one of the configs in conf.d/. _______________________________________________ cobbler mailing list [email protected] https://fedorahosted.org/mailman/listinfo/cobbler
