Hey all..
So I looked through all the docs, wiki and even asked on IRC.. but still have this kojiweb problem. I'm on CentOS 5.8 w/Koji 1.7, have configured for basic auth (for testing) and I'm getting apache "Internal Server Error" in the browser:
mod_wsgi (pid=21357): Exception occurred processing WSGI script '/usr/share/koji-web/scripts/wsgi_publisher.py'., referer: http://<baseURL>/koji (I'm using wscgi, not mod_python)
followed by a tone of traceback garbage: http://fpaste.org/oAjc/
I seem to be able to use koji from the command line... but kojiweb is just not coming up.
Any clues?
FYI.. The xinit.d startup script fro kojiweb did not allow for plain auth.. so we had to add a username/password field to /etc/sysconfig/kojiweb and the ags options in the init file (which seems to be working, bc kojiweb wouldn't start before).. but we're still getting the server errors and traceback junk.
Anyone?
Tweeks p.s. we're running all parts of koji on the same system for now. For pg, I've tried both local UNIX sockets as well as localhost (current config). No dice. At this point, it looks more like an apache/wsgi problem. p.p.s. please
On Tuesday 30 October 2012, Tweeks wrote:
Hey all..
So I looked through all the docs, wiki and even asked on IRC.. but still have this kojiweb problem. I'm on CentOS 5.8 w/Koji 1.7, have configured for basic auth (for testing) and I'm getting apache "Internal Server Error" in the browser:
mod_wsgi (pid=21357): Exception occurred processing WSGI script '/usr/share/koji-web/scripts/wsgi_publisher.py'., referer: http://<baseURL>/koji (I'm using wscgi, not mod_python)
followed by a tone of traceback garbage: http://fpaste.org/oAjc/
I seem to be able to use koji from the command line... but kojiweb is just not coming up.
Any clues?
FYI.. The xinit.d startup script fro kojiweb did not allow for plain auth.. so we had to add a username/password field to /etc/sysconfig/kojiweb and the ags options in the init file (which seems to be working, bc kojiweb wouldn't start before).. but we're still getting the server errors and traceback junk.
^^^^^^^^^^^^^^^^^^^^^^^^^^
Correction.. we did that for kojid.
Tweeks
Anyone?
Tweeks p.s. we're running all parts of koji on the same system for now. For pg, I've tried both local UNIX sockets as well as localhost (current config). No dice. At this point, it looks more like an apache/wsgi problem. p.p.s. please -- buildsys mailing list buildsys@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/buildsys
On Tue, Oct 30, 2012 at 4:24 PM, Tweeks tweeks@rackspace.com wrote:
followed by a tone of traceback garbage: http://fpaste.org/oAjc/
The relevant part to me from that error is:
gaierror: (-2, 'Name or service not known')
Looks like the xmlrpc client can't find your Koji hub. What do you have defined there?
- Ken
On 10/30/2012 06:24 PM, Tweeks wrote:
So I looked through all the docs, wiki and even asked on IRC.. but still have this kojiweb problem. I'm on CentOS 5.8 w/Koji 1.7, have configured for basic auth (for testing) and I'm getting apache "Internal Server Error" in the browser:
What precisely do you mean by 'configured for basic auth'?
mod_wsgi (pid=21357): Exception occurred processing WSGI script '/usr/share/koji-web/scripts/wsgi_publisher.py'., referer: http://<baseURL>/koji (I'm using wscgi, not mod_python)
followed by a tone of traceback garbage: http://fpaste.org/oAjc/
I seem to be able to use koji from the command line... but kojiweb is just not coming up.
Any clues?
Ironically, the system is failing while trying to show you an error page. This masks the original error, but I suspect it is the same sort of error.
The exception is happening the first time kojiweb tries to contact kojihub. I suspect your web.conf has an incorrect value for KojiHubURL.
FYI.. The xinit.d startup script fro kojiweb did not allow for plain auth.. so we had to add a username/password field to /etc/sysconfig/kojiweb and the ags options in the init file (which seems to be working, bc kojiweb wouldn't start before).. but we're still getting the server errors and traceback junk.
^^^^^^^^^^^^^^^^^^^^^^^^^^
Correction.. we did that for kojid.
Do you mean plain auth for connecting to the db?
p.s. we're running all parts of koji on the same system for now. For pg, I've tried both local UNIX sockets as well as localhost (current config). No dice. At this point, it looks more like an apache/wsgi problem. p.p.s. please
If the cli commands work, then the hub is connecting to the db. Kojiweb does not connect to the db at all, but only to kojihub.
buildsys@lists.fedoraproject.org