Mailinglist Archive: opensuse-buildservice (344 mails)

< Previous Next >
[opensuse-buildservice] 500 internal error of api server
  • From: "Zhu, Peter J" <peter.j.zhu@xxxxxxxxx>
  • Date: Tue, 25 May 2010 13:28:08 +0800
  • Message-id: <41EFD7A46E18724CAB128DAD0073348006B23639FC@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Hi,

I tried to setup a local OBS following
/usr/share/doc/packages/obs-api/README.SETUP but have no luck. Step 1,2,3 runs
smoothly and I have following setup:
Main machine as backend server: peter-xps.sh.intel.com, also set it as
peter-api.sh.intel.com, peter-build.sh.intel.com in /etc/hosts
Worker and api machine is same as main machine. Set
OBS_REPO_SERVERS='peter-xps.sh.intel.com:5252" in /etc/sysconfig/obs-worker
Database is populated very well without any issue
Modify /etc/lighthttpd/vhosts.d/obs.conf to add peter-api.sh.intel.com and
peter-build.sh.intel.com and peter-download.sh.intel.com like attached.
Modify /srv/www/obs/webui/config/environments/production.rb to point
FRONTEND_HOST='peter-api.sh.intel.com"
Modify /srv/www/obs/api/config/environments/production.rb to point
SOURCE_HOST="peter-xps.sh.inetl.com"
Modified /usr/share/doc/packages/obs-api/openSUSE.org.xml to point to
build.meego.com like attached

Please also see log of /var/log/lighttpd/error.log, which says
2010-05-25 12:06:07: (mod_fastcgi.c.1768) connect failed: Connection refused
on unix:/srv/www/obs/api/tmp/sockets/fcgi.socket-4
2010-05-25 12:06:07: (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
2010-05-25 12:06:07: (mod_fastcgi.c.1768) connect failed: Connection refused on
unix:/srv/www/obs/api/tmp/sockets/fcgi.socket-3
2010-05-25 12:06:07: (mod_fastcgi.c.2956) backend died; we'll disable it for 5
seconds and send the request to another backend instead: reconnects: 1 load: 1
2010-05-25 12:06:07: (mod_fastcgi.c.1768) connect failed: Connection refused on
unix:/srv/www/obs/api/tmp/sockets/fcgi.socket-2
2010-05-25 12:06:07: (mod_fastcgi.c.2956) backend died; we'll disable it for 5
seconds and send the request to another backend instead: reconnects: 2 load: 1
2010-05-25 12:06:07: (mod_fastcgi.c.1768) connect failed: Connection refused on
unix:/srv/www/obs/api/tmp/sockets/fcgi.socket-1
2010-05-25 12:06:07: (mod_fastcgi.c.2956) backend died; we'll disable it for 5
seconds and send the request to another backend instead: reconnects: 3 load: 1
2010-05-25 12:06:07: (mod_fastcgi.c.1768) connect failed: Connection refused on
unix:/srv/www/obs/api/tmp/sockets/fcgi.socket-0
2010-05-25 12:06:07: (mod_fastcgi.c.2956) backend died; we'll disable it for 5
seconds and send the request to another backend instead: reconnects: 4 load: 1
2010-05-25 12:06:13: (mod_fastcgi.c.3568) all handlers for /dispatch.fcgi on
.fcgi are down.
2010-05-25 12:06:13: (mod_fastcgi.c.2769) fcgi-server re-enabled:
unix:/srv/www/obs/api/tmp/sockets/fcgi.socket-4
2010-05-25 12:06:13: (mod_fastcgi.c.2769) fcgi-server re-enabled:
unix:/srv/www/obs/api/tmp/sockets/fcgi.socket-3
2010-05-25 12:06:13: (mod_fastcgi.c.2769) fcgi-server re-enabled:
unix:/srv/www/obs/api/tmp/sockets/fcgi.socket-2
2010-05-25 12:06:13: (mod_fastcgi.c.2769) fcgi-server re-enabled:
unix:/srv/www/obs/api/tmp/sockets/fcgi.socket-1
2010-05-25 12:06:13: (mod_fastcgi.c.2769) fcgi-server re-enabled:
unix:/srv/www/obs/api/tmp/sockets/fcgi.socket-0


Any idea? Thanks.

Peter
< Previous Next >
Follow Ups