[opensuse-buildservice] OBS local installation : error with mod_fastcgi when loging
Hello, I've installed a local OBS on a opensuse 11.0. I follow this tutorial : http://en.opensuse.org/Build_Service/Build_Service_Installation_Tutorial All services start well. But when i'm loging (with login admin) on my frontend, I've got this error : * Builder OpenSUSE Webclient Error: Error Details: Errorcode: unknown Stack Trace: /srv/www/obs/common/lib/activexml/transport.rb:549:in `handle_response' /srv/www/obs/common/lib/activexml/transport.rb:534:in `http_do' /srv/www/obs/common/lib/activexml/transport.rb:346:in `find' /srv/www/obs/common/lib/activexml/base.rb:69:in `find' /srv/www/obs/webclient/app/controllers/application.rb:116:in `basic_auth' /srv/www/obs/webclient/app/controllers/application.rb:74:in `authorize' /usr/lib64/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/ callbacks.rb:173:in `send' /usr/lib64/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/ callbacks.rb:173:in `evaluate_method' /usr/lib64/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/ callbacks.rb:161:in `call' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/ filters.rb:191:in `call' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/ filters.rb:591:in `run_before_filters' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/ filters.rb:577:in `call_filters' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/ filters.rb:572:in `perform_action_without_benchmark' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/ benchmarking.rb:68:in `perform_action_without_rescue' /usr/lib64/ruby/1.8/benchmark.rb:293:in `measure' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/ benchmarking.rb:68:in `perform_action_without_rescue' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/ rescue.rb:201:in `perform_action' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/ base.rb:529:in `send' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/ base.rb:529:in `process_without_filters' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/ filters.rb:568:in `process_without_session_management_support' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/ session_management.rb:130:in `process' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/ base.rb:389:in `process' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/ dispatcher.rb:149:in `handle_request' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/ dispatcher.rb:107:in `dispatch' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/ dispatcher.rb:104:in `synchronize' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/ dispatcher.rb:104:in `dispatch' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/ dispatcher.rb:120:in `dispatch_cgi' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/ dispatcher.rb:35:in `dispatch' /usr/lib64/ruby/gems/1.8/gems/rails-2.1.2/lib/fcgi_handler.rb:103:in `process_request' /usr/lib64/ruby/gems/1.8/gems/rails-2.1.2/lib/fcgi_handler.rb:153:in `with_signal_handler' /usr/lib64/ruby/gems/1.8/gems/rails-2.1.2/lib/fcgi_handler.rb:101:in `process_request' /usr/lib64/ruby/gems/1.8/gems/rails-2.1.2/lib/fcgi_handler.rb:78:in `process_each_request' /usr/lib64/ruby/vendor_ruby/1.8/fcgi.rb:612:in `each_cgi' /usr/lib64/ruby/vendor_ruby/1.8/fcgi.rb:609:in `each' /usr/lib64/ruby/vendor_ruby/1.8/fcgi.rb:609:in `each_cgi' /usr/lib64/ruby/gems/1.8/gems/rails-2.1.2/lib/fcgi_handler.rb:77:in `process_each_request' /usr/lib64/ruby/gems/1.8/gems/rails-2.1.2/lib/fcgi_handler.rb:76:in `catch' /usr/lib64/ruby/gems/1.8/gems/rails-2.1.2/lib/fcgi_handler.rb:76:in `process_each_request' /usr/lib64/ruby/gems/1.8/gems/rails-2.1.2/lib/fcgi_handler.rb:50:in `process!' /usr/lib64/ruby/gems/1.8/gems/rails-2.1.2/lib/fcgi_handler.rb:24:in `process!' /srv/www/obs/webclient/public/dispatch.fcgi:24 When I look at the lighttpd error log, i've got this : 2009-05-15 16:06:10: (mod_fastcgi.c.3326) response not received, request sent: 608 on socket: unix:/srv/www/obs/frontend/tmp/sockets/ fcgi.socket-4 for /dispatch.fcgi , closing connection 2009-05-15 16:12:44: (mod_fastcgi.c.1768) connect failed: Connection refused on unix:/srv/www/obs/frontend/tmp/sockets/fcgi.socket-4 2009-05-15 16:12:44: (mod_fastcgi.c.2956) backend died; we'll disable it for 5 seconds and send the request to another backend instead: reconnects: 0 load: 1 2009-05-15 16:12:44: (mod_fastcgi.c.2494) unexpected end-of-file (perhaps the fastcgi process died): pid: 5874 socket: unix:/srv/www/ obs/frontend/tmp/sockets/fcgi.socket-4 2009-05-15 16:12:44: (mod_fastcgi.c.3326) response not received, request sent: 608 on socket: unix:/srv/www/obs/frontend/tmp/sockets/ fcgi.socket-4 for /dispatch.fcgi , closing connection I don't know how to fix this error. I update lighttpd to the last version (1.4.22-1). I've still this error. Someone can be help me ? Thanks a lot. NB : Sorry for my english ! -- STEVENS Guillaume - DSI Pôle Infrastructure Bât LAPLACE 16 rue paul Vaillant couturier 94800 VILLEJUIF tél: 01 45 59 60 61 port: 06 82 44 56 31 -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Hello Guillaume, On Fri, May 15, 2009 at 10:20:14AM +0200, Guillaume Stevens wrote:
I've installed a local OBS on a opensuse 11.0.
I follow this tutorial : http://en.opensuse.org/Build_Service/Build_Service_Installation_Tutorial
All services start well. But when i'm loging (with login admin) on my frontend, I've got this error :
* Builder
OpenSUSE Webclient Error:
Error Details: Errorcode: unknown
Stack Trace:
/srv/www/obs/common/lib/activexml/transport.rb:549:in `handle_response' /srv/www/obs/common/lib/activexml/transport.rb:534:in `http_do' /srv/www/obs/common/lib/activexml/transport.rb:346:in `find' /srv/www/obs/common/lib/activexml/base.rb:69:in `find' /srv/www/obs/webclient/app/controllers/application.rb:116:in `basic_auth' /srv/www/obs/webclient/app/controllers/application.rb:74:in `authorize' /usr/lib64/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/callbacks.rb:173:in `send' /usr/lib64/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/callbacks.rb:173:in `evaluate_method' /usr/lib64/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/callbacks.rb:161:in `call' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/filters.rb:191:in `call' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/filters.rb:591:in `run_before_filters' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/filters.rb:577:in `call_filters' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/filters.rb:572:in `perform_action_without_benchmark' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' /usr/lib64/ruby/1.8/benchmark.rb:293:in `measure' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/rescue.rb:201:in `perform_action' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/base.rb:529:in `send' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/base.rb:529:in `process_without_filters' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/filters.rb:568:in `process_without_session_management_support' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/session_management.rb:130:in `process' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/base.rb:389:in `process' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/dispatcher.rb:149:in `handle_request' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/dispatcher.rb:107:in `dispatch' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/dispatcher.rb:104:in `synchronize' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/dispatcher.rb:104:in `dispatch' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/dispatcher.rb:120:in `dispatch_cgi' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/dispatcher.rb:35:in `dispatch' /usr/lib64/ruby/gems/1.8/gems/rails-2.1.2/lib/fcgi_handler.rb:103:in `process_request' /usr/lib64/ruby/gems/1.8/gems/rails-2.1.2/lib/fcgi_handler.rb:153:in `with_signal_handler' /usr/lib64/ruby/gems/1.8/gems/rails-2.1.2/lib/fcgi_handler.rb:101:in `process_request' /usr/lib64/ruby/gems/1.8/gems/rails-2.1.2/lib/fcgi_handler.rb:78:in `process_each_request' /usr/lib64/ruby/vendor_ruby/1.8/fcgi.rb:612:in `each_cgi' /usr/lib64/ruby/vendor_ruby/1.8/fcgi.rb:609:in `each' /usr/lib64/ruby/vendor_ruby/1.8/fcgi.rb:609:in `each_cgi' /usr/lib64/ruby/gems/1.8/gems/rails-2.1.2/lib/fcgi_handler.rb:77:in `process_each_request' /usr/lib64/ruby/gems/1.8/gems/rails-2.1.2/lib/fcgi_handler.rb:76:in `catch' /usr/lib64/ruby/gems/1.8/gems/rails-2.1.2/lib/fcgi_handler.rb:76:in `process_each_request' /usr/lib64/ruby/gems/1.8/gems/rails-2.1.2/lib/fcgi_handler.rb:50:in `process!' /usr/lib64/ruby/gems/1.8/gems/rails-2.1.2/lib/fcgi_handler.rb:24:in `process!' /srv/www/obs/webclient/public/dispatch.fcgi:24
When I look at the lighttpd error log, i've got this :
2009-05-15 16:06:10: (mod_fastcgi.c.3326) response not received, request sent: 608 on socket: unix:/srv/www/obs/frontend/tmp/sockets/fcgi.socket-4 for /dispatch.fcgi , closing connection 2009-05-15 16:12:44: (mod_fastcgi.c.1768) connect failed: Connection refused on unix:/srv/www/obs/frontend/tmp/sockets/fcgi.socket-4 2009-05-15 16:12:44: (mod_fastcgi.c.2956) backend died; we'll disable it for 5 seconds and send the request to another backend instead: reconnects: 0 load: 1 2009-05-15 16:12:44: (mod_fastcgi.c.2494) unexpected end-of-file (perhaps the fastcgi process died): pid: 5874 socket: unix:/srv/www/obs/frontend/tmp/sockets/fcgi.socket-4 2009-05-15 16:12:44: (mod_fastcgi.c.3326) response not received, request sent: 608 on socket: unix:/srv/www/obs/frontend/tmp/sockets/fcgi.socket-4 for /dispatch.fcgi , closing connection
I don't know how to fix this error. I update lighttpd to the last version (1.4.22-1). I've still this error.
Someone can be help me ? Thanks a lot.
Unfortunately I have no idea what's going wrong there. But I suggest that you open a bug in the bug tracker (bugzilla.novell.com, product openSUSE.org, component Buildservice), so the issue can be fixed and doesn't get lost. Maybe somebody else on this list has more insight. Peter -- "WARNING: This bug is visible to non-employees. Please be respectful!" SUSE LINUX Products GmbH Research & Development
Peter Poeml wrote:
2009-05-15 16:06:10: (mod_fastcgi.c.3326) response not received, request sent: 608 on socket: unix:/srv/www/obs/frontend/tmp/sockets/fcgi.socket-4 for /dispatch.fcgi , closing connection 2009-05-15 16:12:44: (mod_fastcgi.c.1768) connect failed: Connection refused on unix:/srv/www/obs/frontend/tmp/sockets/fcgi.socket-4 2009-05-15 16:12:44: (mod_fastcgi.c.2956) backend died; we'll disable it for 5 seconds and send the request to another backend instead: reconnects: 0 load: 1 2009-05-15 16:12:44: (mod_fastcgi.c.2494) unexpected end-of-file (perhaps the fastcgi process died): pid: 5874 socket: unix:/srv/www/obs/frontend/tmp/sockets/fcgi.socket-4 2009-05-15 16:12:44: (mod_fastcgi.c.3326) response not received, request sent: 608 on socket: unix:/srv/www/obs/frontend/tmp/sockets/fcgi.socket-4 for /dispatch.fcgi , closing connection
I installed two instances of OBS and always hit this error. 1) Make sure you have following line in your /etc/lighttpd/lighttpd.conf server.use-ipv6 = "disable" (it says enable initially). 2) there was some problem with access rights. I had to run chown -R obsrun.obsrun /srv/obs chown -R lighttpd.lighttpd /srv/www/obs/{frontend,webclient}/{log,tmp} (I'm not sure which of these helped actually). 3) also edit /etc/lighttpd/vhosts.d and add the following line dir-listing.activate = "enable" under server.document-root = "/srv/obs/repos/" (in section about repository server) -- Best Regards / S pozdravom, Pavol RUSNAK SUSE LINUX, s.r.o Package Maintainer Lihovarska 1060/12 PGP 0xA6917144 19000 Praha 9, CR prusnak[at]suse.cz http://www.suse.cz -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Hi, thanks, this was a problem with access rights. Thanks a lot Guillaume Le 27 mai 09 à 11:12, Pavol Rusnak a écrit :
Peter Poeml wrote:
2009-05-15 16:06:10: (mod_fastcgi.c.3326) response not received, request sent: 608 on socket: unix:/srv/www/obs/frontend/tmp/sockets/ fcgi.socket-4 for /dispatch.fcgi , closing connection 2009-05-15 16:12:44: (mod_fastcgi.c.1768) connect failed: Connection refused on unix:/srv/www/obs/frontend/tmp/sockets/fcgi.socket-4 2009-05-15 16:12:44: (mod_fastcgi.c.2956) backend died; we'll disable it for 5 seconds and send the request to another backend instead: reconnects: 0 load: 1 2009-05-15 16:12:44: (mod_fastcgi.c.2494) unexpected end-of-file (perhaps the fastcgi process died): pid: 5874 socket: unix:/srv/www/obs/frontend/tmp/sockets/fcgi.socket-4 2009-05-15 16:12:44: (mod_fastcgi.c.3326) response not received, request sent: 608 on socket: unix:/srv/www/obs/frontend/tmp/sockets/ fcgi.socket-4 for /dispatch.fcgi , closing connection
I installed two instances of OBS and always hit this error.
1) Make sure you have following line in your /etc/lighttpd/ lighttpd.conf
server.use-ipv6 = "disable"
(it says enable initially).
2) there was some problem with access rights. I had to run
chown -R obsrun.obsrun /srv/obs chown -R lighttpd.lighttpd /srv/www/obs/{frontend,webclient}/{log,tmp}
(I'm not sure which of these helped actually).
3) also edit /etc/lighttpd/vhosts.d and add the following line
dir-listing.activate = "enable"
under
server.document-root = "/srv/obs/repos/"
(in section about repository server)
-- Best Regards / S pozdravom,
Pavol RUSNAK SUSE LINUX, s.r.o Package Maintainer Lihovarska 1060/12 PGP 0xA6917144 19000 Praha 9, CR prusnak[at]suse.cz http://www.suse.cz -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
-- STEVENS Guillaume - DSI Pôle Infrastructure Bât LAPLACE 16 rue paul Vaillant couturier 94800 VILLEJUIF tél: 01 45 59 60 61 port: 06 82 44 56 31 -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Huh. I just set up a new OBS instance this weekend and ran into all of the below as well. Would be nice if they were in the wiki. -- Michael -----Original Message----- From: Pavol Rusnak [mailto:prusnak@suse.cz] Sent: Wed 5/27/2009 4:12 AM To: Peter Poeml Cc: opensuse-buildservice@opensuse.org Subject: Re: [opensuse-buildservice] OBS local installation : error with mod_fastcgi when loging Peter Poeml wrote:
2009-05-15 16:06:10: (mod_fastcgi.c.3326) response not received, request sent: 608 on socket: unix:/srv/www/obs/frontend/tmp/sockets/fcgi.socket-4 for /dispatch.fcgi , closing connection 2009-05-15 16:12:44: (mod_fastcgi.c.1768) connect failed: Connection refused on unix:/srv/www/obs/frontend/tmp/sockets/fcgi.socket-4 2009-05-15 16:12:44: (mod_fastcgi.c.2956) backend died; we'll disable it for 5 seconds and send the request to another backend instead: reconnects: 0 load: 1 2009-05-15 16:12:44: (mod_fastcgi.c.2494) unexpected end-of-file (perhaps the fastcgi process died): pid: 5874 socket: unix:/srv/www/obs/frontend/tmp/sockets/fcgi.socket-4 2009-05-15 16:12:44: (mod_fastcgi.c.3326) response not received, request sent: 608 on socket: unix:/srv/www/obs/frontend/tmp/sockets/fcgi.socket-4 for /dispatch.fcgi , closing connection
I installed two instances of OBS and always hit this error. 1) Make sure you have following line in your /etc/lighttpd/lighttpd.conf server.use-ipv6 = "disable" (it says enable initially). 2) there was some problem with access rights. I had to run chown -R obsrun.obsrun /srv/obs chown -R lighttpd.lighttpd /srv/www/obs/{frontend,webclient}/{log,tmp} (I'm not sure which of these helped actually). 3) also edit /etc/lighttpd/vhosts.d and add the following line dir-listing.activate = "enable" under server.document-root = "/srv/obs/repos/" (in section about repository server) -- Best Regards / S pozdravom, Pavol RUSNAK SUSE LINUX, s.r.o Package Maintainer Lihovarska 1060/12 PGP 0xA6917144 19000 Praha 9, CR prusnak[at]suse.cz http://www.suse.cz -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Michael_E_Brown@Dell.com wrote:
Huh. I just set up a new OBS instance this weekend and ran into all of the below as well. Would be nice if they were in the wiki.
We shouldn't have 4 different guides for each SUSE version. We could have one for each distro (SUSE, Debian, Gentoo, ...). The best way would be to merge the existing SUSE ones into one and only highlight the differences in each step (I think there won't be much of these). Point 1 is IIRC documented on the wiki. Point 2 is caused somewhere after installation (/srv/www/obs/{frontend,webclient}/{log,tmp} are owned by lighttpd, but some files under it are not), so it should be documented. Error 3 could be documented as well, but I just fixed the default /etc/lighttpd/vhosts.d/obs.conf template in the SVN, so it is not necessary. Unfortunately I have no time to merge these SUSE documents into one comprehensive material in the near future. It is a wiki, go ahead and do it. It's for your own good! :-)
-- Michael
-----Original Message----- From: Pavol Rusnak [mailto:prusnak@suse.cz] Sent: Wed 5/27/2009 4:12 AM To: Peter Poeml Cc: opensuse-buildservice@opensuse.org Subject: Re: [opensuse-buildservice] OBS local installation : error with mod_fastcgi when loging
Peter Poeml wrote:
2009-05-15 16:06:10: (mod_fastcgi.c.3326) response not received, request sent: 608 on socket: unix:/srv/www/obs/frontend/tmp/sockets/fcgi.socket-4 for /dispatch.fcgi , closing connection 2009-05-15 16:12:44: (mod_fastcgi.c.1768) connect failed: Connection refused on unix:/srv/www/obs/frontend/tmp/sockets/fcgi.socket-4 2009-05-15 16:12:44: (mod_fastcgi.c.2956) backend died; we'll disable it for 5 seconds and send the request to another backend instead: reconnects: 0 load: 1 2009-05-15 16:12:44: (mod_fastcgi.c.2494) unexpected end-of-file (perhaps the fastcgi process died): pid: 5874 socket: unix:/srv/www/obs/frontend/tmp/sockets/fcgi.socket-4 2009-05-15 16:12:44: (mod_fastcgi.c.3326) response not received, request sent: 608 on socket: unix:/srv/www/obs/frontend/tmp/sockets/fcgi.socket-4 for /dispatch.fcgi , closing connection
I installed two instances of OBS and always hit this error.
1) Make sure you have following line in your /etc/lighttpd/lighttpd.conf
server.use-ipv6 = "disable"
(it says enable initially).
2) there was some problem with access rights. I had to run
chown -R obsrun.obsrun /srv/obs chown -R lighttpd.lighttpd /srv/www/obs/{frontend,webclient}/{log,tmp}
(I'm not sure which of these helped actually).
3) also edit /etc/lighttpd/vhosts.d and add the following line
dir-listing.activate = "enable"
under
server.document-root = "/srv/obs/repos/"
(in section about repository server)
-- Best Regards / S pozdravom, Pavol RUSNAK SUSE LINUX, s.r.o Package Maintainer Lihovarska 1060/12 PGP 0xA6917144 19000 Praha 9, CR prusnak[at]suse.cz http://www.suse.cz -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (4)
-
Guillaume Stevens
-
Michael_E_Brown@Dell.com
-
Pavol Rusnak
-
Peter Poeml