Cobbler_web Internal Server Error
Contents |
to Milestone cobbler (Ubuntu) Edit Fix Released High Unassigned Edit You need to log in to change this bug's status. Affecting: cobbler (Ubuntu) Filed here
Cobbler Web Internal Server Error
by: Jon Anning When: 2012-11-08 Confirmed: 2012-11-20 Started work: 2013-08-29 Completed: 2013-08-29 Target web api internal server error Distribution Baltix BOSS Juju Charms Collection Elbuntu Guadalinex Guadalinex Edu Kiwi Linux nUbuntu PLD Linux Tilix tuXlab Ubuntu web server error 500 Ubuntu Linaro Evaluation Build Ubuntu RTM Package (Find…) Project (Find…) Status Importance Fix Released High Assigned to Nobody Me Comment on this change (optional) Email me about changes to this bug
What Does 500 Internal Error Mean
report Also affects project (?) Also affects distribution/package Nominate for series Bug Description Fresh install of 12.10 server. Cobbler itself works just fine, but the webui won't run - error in /var/log/apache2/error.log is as follows: mod_wsgi (pid=11576): Exception occurred processing WSGI script '/usr/share/cobbler/web/cobbler.wsgi'. Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/django/core/handlers/wsgi.py", line 219, in __call__ self.load_middleware() File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 47, in load_middleware
Http Server Error 500
raise exceptions.ImproperlyConfigured('Error importing middleware %s: "%s"' % (mw_module, e)) ImproperlyConfigured: Error importing middleware django.contrib.csrf.middleware: "No module named csrf.middleware" A bit of investigation led me to a bug on cobbler's github issues: https://github.com/cobbler/cobbler/issues/191 seems to be similar. The team suggested the OP contact the packagers then, so that's what I'm doing now as well :) Tags: cobbler cobbler-web django wsgi Edit Tag help Timo Aaltonen (tjaalton) wrote on 2012-11-20: #1 There seem to be several issues with cobbler and the current python-django on 12.10. This bug is the same as https://bugzilla.redhat.com/show_bug.cgi?id=828632 but fixing reveals other bugs. Seems like no-one has tested cobbler on 12.10 before release.. Changed in cobbler (Ubuntu): importance: Undecided → High status: New → Confirmed Steve Conklin (sconklin) wrote on 2013-03-14: #2 Still occurs in Raring Daily release 2013-03-14 Happy pi day Lorin Hochstein (lorinh) wrote on 2013-04-19: #3 I'm getting this on 12.04 now, although I didn't when I originally installed cobbler. Lorin Hochstein (lorinh) wrote on 2013-04-19: #4 Follow up: on my 12.04 install, I've installed OpenStack via cloud archive, so the version of python-django I'm running is 1.4.1-2ubuntu0.3~clou
Support Search GitHub This repository Watch 117 Star 1,203 Fork 368 cobbler/cobbler Code Issues 181 Pull requests 4 Projects 0 Wiki Pulse Graphs New issue cobbler_api: 500 Internal Server Error #1566 Closed sigmoul opened this Issue Nov 2, 2015 · 1 comment Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 1 participant sigmoul commented Nov 2, 2015 Hi, I get the following https://bugs.launchpad.net/bugs/1076290 error when trying to invoke the command "cobbler check" : $>cobbler check httpd does not appear to be running and proxying cobbler, or SELinux is in the way. Original traceback: Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/cobbler/cli.py", line 252, in check_setup s.ping() File "/usr/lib64/python2.6/xmlrpclib.py", line 1199, in call return self.__send(self.__name, args) File "/usr/lib64/python2.6/xmlrpclib.py", https://github.com/cobbler/cobbler/issues/1566 line 1489, in __request verbose=self.__verbose File "/usr/lib64/python2.6/xmlrpclib.py", line 1243, in request headers ProtocolError: It's a fresh install from EPEL repository on a RedHat 6.7 : Python 2.6.6 Django 1.4.21 Selinux is disabled Both apache and cobblerd are running Python is listening on port 25151 and I can telnet it : netstat -nap | grep 25151 tcp 0 0 127.0.0.1:25151 0.0.0.0:* LISTEN 11701/python2 telnet 127.0.0.1 25151 Trying 127.0.0.1... Connected to 127.0.0.1. Escape character is '^]'. ^] telnet> quit Connection closed. Accessing to the web GUI results in the same error message : ProtocolError at / Request Method: GET Request URL: https://cobbler.mydomain.com/cobbler_web/ Django Version: 1.4.21 Exception Type: ProtocolError Exception Value: Exception Location: /usr/lib64/python2.6/xmlrpclib.py in request, line 1243 Python Executable: /usr/bin/python Python Version: 2.6.6 Python Path: ['/usr/share/cobbler/web/cobbler_web', '/usr/share/cobbler/web', '/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', '/usr/lib64/python2.6/site-packages', '/usr/lib64/python2.6/site-packages/gtk-2.0', '/usr/lib/python2.6/site-packages', '/usr/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg-info'] Server time: Mon, 2 Nov 2015 17:08:15 +0100 Thank you for your help, Regards. sigmoul commented Nov 5, 2015 I solved
of python-django I'm running is 1.4.1-2ubuntu0.3~cloud0 -- You received this bug notification because http://osdir.com/ml/ubuntu-server-bugs/2013-04/msg00201.html you are a member of Ubuntu Server Team, which is subscribed to cobbler in Ubuntu. https://bugs.launchpad.net/bugs/1076290 Title: cobbler-web throws 500 internal server error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cobbler/+bug/1076290/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@xxxxxxxxxxxxxxxx Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs Thread at a server error glance: Previous Message by Date: [Bug 1076290] Re: cobbler-web throws 500 internal server error I'm getting this on 12.04 now, although I didn't when I originally installed cobbler. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed internal server error to cobbler in Ubuntu. https://bugs.launchpad.net/bugs/1076290 Title: cobbler-web throws 500 internal server error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cobbler/+bug/1076290/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@xxxxxxxxxxxxxxxx Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs Previous Message by Thread: [Bug 1076290] Re: cobbler-web throws 500 internal server error I'm getting this on 12.04 now, although I didn't when I originally installed cobbler. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to cobbler in Ubuntu. https://bugs.launchpad.net/bugs/1076290 Title: cobbler-web throws 500 internal server error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cobbler/+bug/1076290/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@xxxxxxxxxxxxxxxx Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs Home | News | Sitemap | FAQ | advertise | OSDir is an Inevitable website. GBiz is too! Latest News Stories: Docker 1.0Heartbleed Redux: Ano