[opensuse-buildservice] local obs server setup problems
I have a new opensuse 11.1 installed system and trying to setup a local obs for the first time. I am using the instructions at http://en.opensuse.org/Build_Service/Build_Service_Installation_Tutorial/ope... I have done thru the lighttpd configuration and started everything. I attempt to access http://127.0.42.1 and get: 500 - Internal Server Error Looking at /var/log/lighttpd/error.log, I see: 2009-11-04 06:16:37: (mod_fastcgi.c.1768) connect failed: Connection refused on unix:/srv/www/obs/webclient/tmp/sockets/fcgi.socket-4 2009-11-04 06:16:37: (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-11-04 06:16:38: (mod_fastcgi.c.2494) unexpected end-of-file (perhaps the fastcgi process died): pid: 17635 socket: unix:/srv/www/obs/webclient/tmp/sockets/fcgi.socket-4 2009-11-04 06:16:38: (mod_fastcgi.c.3278) child exited, pid: 17635 status: 1 2009-11-04 06:16:38: (mod_fastcgi.c.3325) response not received, request sent: 815 on socket: unix:/srv/www/obs/webclient/tmp/sockets/fcgi.socket-4 for /dispatch.fcgi , closing connection My log permissions are ok: ls -sld /srv/www/obs/*/log 4 drwxr-xr-x 2 lighttpd lighttpd 4096 2009-04-08 16:05 common/log 4 drwxr-xr-x 2 lighttpd lighttpd 4096 2009-11-04 05:17 frontend/log 4 drwxr-xr-x 2 lighttpd lighttpd 4096 2009-11-04 05:28 webclient/log ls -sla /srv/obs total 36 4 drwxr-xr-x 9 obsrun obsrun 4096 2009-11-01 23:00 . 4 drwxr-xr-x 5 root root 4096 2009-11-01 22:45 .. 4 drwxr-xr-x 5 obsrun obsrun 4096 2009-11-01 23:00 events 4 drwxr-xr-x 2 obsrun obsrun 4096 2009-11-01 23:00 info 4 drwxr-xr-x 4 obsrun obsrun 4096 2009-11-01 23:00 jobs 4 drwxr-xr-x 2 obsrun obsrun 4096 2009-11-04 06:17 log 4 drwxr-xr-x 2 obsrun obsrun 4096 2009-10-30 00:26 projects 4 drwxr-xr-x 2 obsrun obsrun 4096 2009-11-04 06:15 run 4 drwxr-xr-x 3 obsrun obsrun 4096 2009-11-01 23:00 workers Thoughts? -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Am Mittwoch, 4. November 2009 13:00:40 schrieb Doug Reiland:
I have a new opensuse 11.1 installed system and trying to setup a local obs for the first time.
I am using the instructions at http://en.opensuse.org/Build_Service/Build_Service_Installation_Tutorial/op enSUSE_11.0
Please check the logfile from /srv/www/obs/frontend/log/production_slave.log (or whatever mode you use).
I have done thru the lighttpd configuration and started everything. I attempt to access http://127.0.42.1 and get: 500 - Internal Server Error
Looking at /var/log/lighttpd/error.log, I see: 2009-11-04 06:16:37: (mod_fastcgi.c.1768) connect failed: Connection refused on unix:/srv/www/obs/webclient/tmp/sockets/fcgi.socket-4 2009-11-04 06:16:37: (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-11-04 06:16:38: (mod_fastcgi.c.2494) unexpected end-of-file (perhaps the fastcgi process died): pid: 17635 socket: unix:/srv/www/obs/webclient/tmp/sockets/fcgi.socket-4 2009-11-04 06:16:38: (mod_fastcgi.c.3278) child exited, pid: 17635 status: 1 2009-11-04 06:16:38: (mod_fastcgi.c.3325) response not received, request sent: 815 on socket: unix:/srv/www/obs/webclient/tmp/sockets/fcgi.socket-4 for /dispatch.fcgi , closing connection
My log permissions are ok: ls -sld /srv/www/obs/*/log 4 drwxr-xr-x 2 lighttpd lighttpd 4096 2009-04-08 16:05 common/log 4 drwxr-xr-x 2 lighttpd lighttpd 4096 2009-11-04 05:17 frontend/log 4 drwxr-xr-x 2 lighttpd lighttpd 4096 2009-11-04 05:28 webclient/log
ls -sla /srv/obs total 36 4 drwxr-xr-x 9 obsrun obsrun 4096 2009-11-01 23:00 . 4 drwxr-xr-x 5 root root 4096 2009-11-01 22:45 .. 4 drwxr-xr-x 5 obsrun obsrun 4096 2009-11-01 23:00 events 4 drwxr-xr-x 2 obsrun obsrun 4096 2009-11-01 23:00 info 4 drwxr-xr-x 4 obsrun obsrun 4096 2009-11-01 23:00 jobs 4 drwxr-xr-x 2 obsrun obsrun 4096 2009-11-04 06:17 log 4 drwxr-xr-x 2 obsrun obsrun 4096 2009-10-30 00:26 projects 4 drwxr-xr-x 2 obsrun obsrun 4096 2009-11-04 06:15 run 4 drwxr-xr-x 3 obsrun obsrun 4096 2009-11-01 23:00 workers
Thoughts?
-- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
This the the data from /srv/www/obs/frontend/log/production_slave.log:
# Logfile created on Sun Nov 01 23:33:53 -0500 2009Migrating to
InitialDatabase (1)
Migrating to AddMetaCache (2)
Migrating to UserAdminnote (3)
Migrating to AddRepositories (4)
Migrating to CreateDisabledRepos (5)
Migrating to CreateTaggings (6)
Migrating to AddIndexForTaggableType (7)
Migrating to AddTimeStamp (8)
Migrating to AddCreateAndModifiedTimeStamps (9)
Migrating to AddDownloadCounter (10)
Migrating to RemoveBogusDefaultTimestamps (11)
Migrating to CreatePackageUrl (12)
Migrating to AddArchs (13)
Migrating to CreateAdvancedDownloadStats (14)
Migrating to RemoveOldDownloadCounter (15)
Migrating to AddRatingTable (16)
Migrating to CreateStatusMessages (17)
Migrating to AddSeverityToStatusMessages (18)
Migrating to AddPermissionsForStatusMessages (19)
Migrating to AddPermissionsForDownloadCounters (20)
Migrating to AddActivityAttributes (21)
Migrating to CreateBlacklistTags (22)
Migrating to CreateMessages (23)
Migrating to InsertSrcAndNoarchArchitecture (24)
Migrating to AddSelectableFlagForArchitectures (25)
Migrating to PermissionUpdate (26)
Migrating to AddLocalPermissions (27)
Migrating to AddProjectBuildFlags (28)
Migrating to CreateFlags (29)
Migrating to ImportBuildFlagsFromBackend (30)
Migrating to RemoveOldFlagTables (31)
Migrating to AddDeletedPseudoRepository (32)
Migrating to AddBugownerRole (33)
Migrating to AddRemoteBsConfig (34)
Migrating to ModifyRepositoryForRemoteBs (35)
Migrating to AddDevelProject (36)
Migrating to RenameDebugFlagToDebuginfo (37)
Migrating to AddI686Arch (38)
Migrating to AddRenderedMetaCache (39)
Migrating to AddLocalArch (40)
Migrating to AddArchOrder (41)
Migrating to AddDownloadPermissionsAndRole (42)
Migrating to AddArchs2 (43)
Migrating to AddDownload (44)
Migrating to AddArchs3 (45)
Migrating to AddBcntsynctag (46)
Migrating to InitialDatabase (1)
Migrating to AddMetaCache (2)
Migrating to UserAdminnote (3)
Migrating to AddRepositories (4)
Migrating to CreateDisabledRepos (5)
Migrating to CreateTaggings (6)
Migrating to AddIndexForTaggableType (7)
Migrating to AddTimeStamp (8)
Migrating to AddCreateAndModifiedTimeStamps (9)
Migrating to AddDownloadCounter (10)
Migrating to RemoveBogusDefaultTimestamps (11)
Migrating to CreatePackageUrl (12)
Migrating to AddArchs (13)
Migrating to CreateAdvancedDownloadStats (14)
Migrating to RemoveOldDownloadCounter (15)
Migrating to AddRatingTable (16)
Migrating to CreateStatusMessages (17)
Migrating to AddSeverityToStatusMessages (18)
Migrating to AddPermissionsForStatusMessages (19)
Migrating to AddPermissionsForDownloadCounters (20)
Migrating to AddActivityAttributes (21)
Migrating to CreateBlacklistTags (22)
Migrating to CreateMessages (23)
Migrating to InsertSrcAndNoarchArchitecture (24)
Migrating to AddSelectableFlagForArchitectures (25)
Migrating to PermissionUpdate (26)
Migrating to AddLocalPermissions (27)
Migrating to AddProjectBuildFlags (28)
Migrating to CreateFlags (29)
Migrating to ImportBuildFlagsFromBackend (30)
Migrating to RemoveOldFlagTables (31)
Migrating to AddDeletedPseudoRepository (32)
Migrating to AddBugownerRole (33)
Migrating to AddRemoteBsConfig (34)
Migrating to ModifyRepositoryForRemoteBs (35)
Migrating to AddDevelProject (36)
Migrating to RenameDebugFlagToDebuginfo (37)
Migrating to AddI686Arch (38)
Migrating to AddRenderedMetaCache (39)
Migrating to AddLocalArch (40)
Migrating to AddArchOrder (41)
Migrating to AddDownloadPermissionsAndRole (42)
Migrating to AddArchs2 (43)
Migrating to AddDownload (44)
Migrating to AddArchs3 (45)
Migrating to AddBcntsynctag (46)
On Wed, Nov 4, 2009 at 8:25 AM, Adrian Schröter
Am Mittwoch, 4. November 2009 13:00:40 schrieb Doug Reiland:
I have a new opensuse 11.1 installed system and trying to setup a local obs for the first time.
I am using the instructions at http://en.opensuse.org/Build_Service/Build_Service_Installation_Tutorial/op enSUSE_11.0
Please check the logfile from
/srv/www/obs/frontend/log/production_slave.log
(or whatever mode you use).
I have done thru the lighttpd configuration and started everything. I attempt to access http://127.0.42.1 and get: 500 - Internal Server Error
Looking at /var/log/lighttpd/error.log, I see: 2009-11-04 06:16:37: (mod_fastcgi.c.1768) connect failed: Connection refused on unix:/srv/www/obs/webclient/tmp/sockets/fcgi.socket-4 2009-11-04 06:16:37: (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-11-04 06:16:38: (mod_fastcgi.c.2494) unexpected end-of-file (perhaps the fastcgi process died): pid: 17635 socket: unix:/srv/www/obs/webclient/tmp/sockets/fcgi.socket-4 2009-11-04 06:16:38: (mod_fastcgi.c.3278) child exited, pid: 17635 status: 1 2009-11-04 06:16:38: (mod_fastcgi.c.3325) response not received, request sent: 815 on socket: unix:/srv/www/obs/webclient/tmp/sockets/fcgi.socket-4 for /dispatch.fcgi , closing connection
My log permissions are ok: ls -sld /srv/www/obs/*/log 4 drwxr-xr-x 2 lighttpd lighttpd 4096 2009-04-08 16:05 common/log 4 drwxr-xr-x 2 lighttpd lighttpd 4096 2009-11-04 05:17 frontend/log 4 drwxr-xr-x 2 lighttpd lighttpd 4096 2009-11-04 05:28 webclient/log
ls -sla /srv/obs total 36 4 drwxr-xr-x 9 obsrun obsrun 4096 2009-11-01 23:00 . 4 drwxr-xr-x 5 root root 4096 2009-11-01 22:45 .. 4 drwxr-xr-x 5 obsrun obsrun 4096 2009-11-01 23:00 events 4 drwxr-xr-x 2 obsrun obsrun 4096 2009-11-01 23:00 info 4 drwxr-xr-x 4 obsrun obsrun 4096 2009-11-01 23:00 jobs 4 drwxr-xr-x 2 obsrun obsrun 4096 2009-11-04 06:17 log 4 drwxr-xr-x 2 obsrun obsrun 4096 2009-10-30 00:26 projects 4 drwxr-xr-x 2 obsrun obsrun 4096 2009-11-04 06:15 run 4 drwxr-xr-x 3 obsrun obsrun 4096 2009-11-01 23:00 workers
Thoughts?
--
Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
You need to check the permissions of the logfiles. In my latest setup, I was also getting 500 errors, and it was due to incorrect ownership/permissions on the log files. Check all the log files permissions.
--
Michael
-----Original Message-----
From: Doug Reiland [mailto:dreiland@gmail.com]
Sent: Wed 11/4/2009 5:47 PM
To: Adrian Schröter
Cc: opensuse-buildservice@opensuse.org
Subject: Re: [opensuse-buildservice] local obs server setup problems
This the the data from /srv/www/obs/frontend/log/production_slave.log:
# Logfile created on Sun Nov 01 23:33:53 -0500 2009Migrating to
InitialDatabase (1)
Migrating to AddMetaCache (2)
Migrating to UserAdminnote (3)
Migrating to AddRepositories (4)
Migrating to CreateDisabledRepos (5)
Migrating to CreateTaggings (6)
Migrating to AddIndexForTaggableType (7)
Migrating to AddTimeStamp (8)
Migrating to AddCreateAndModifiedTimeStamps (9)
Migrating to AddDownloadCounter (10)
Migrating to RemoveBogusDefaultTimestamps (11)
Migrating to CreatePackageUrl (12)
Migrating to AddArchs (13)
Migrating to CreateAdvancedDownloadStats (14)
Migrating to RemoveOldDownloadCounter (15)
Migrating to AddRatingTable (16)
Migrating to CreateStatusMessages (17)
Migrating to AddSeverityToStatusMessages (18)
Migrating to AddPermissionsForStatusMessages (19)
Migrating to AddPermissionsForDownloadCounters (20)
Migrating to AddActivityAttributes (21)
Migrating to CreateBlacklistTags (22)
Migrating to CreateMessages (23)
Migrating to InsertSrcAndNoarchArchitecture (24)
Migrating to AddSelectableFlagForArchitectures (25)
Migrating to PermissionUpdate (26)
Migrating to AddLocalPermissions (27)
Migrating to AddProjectBuildFlags (28)
Migrating to CreateFlags (29)
Migrating to ImportBuildFlagsFromBackend (30)
Migrating to RemoveOldFlagTables (31)
Migrating to AddDeletedPseudoRepository (32)
Migrating to AddBugownerRole (33)
Migrating to AddRemoteBsConfig (34)
Migrating to ModifyRepositoryForRemoteBs (35)
Migrating to AddDevelProject (36)
Migrating to RenameDebugFlagToDebuginfo (37)
Migrating to AddI686Arch (38)
Migrating to AddRenderedMetaCache (39)
Migrating to AddLocalArch (40)
Migrating to AddArchOrder (41)
Migrating to AddDownloadPermissionsAndRole (42)
Migrating to AddArchs2 (43)
Migrating to AddDownload (44)
Migrating to AddArchs3 (45)
Migrating to AddBcntsynctag (46)
Migrating to InitialDatabase (1)
Migrating to AddMetaCache (2)
Migrating to UserAdminnote (3)
Migrating to AddRepositories (4)
Migrating to CreateDisabledRepos (5)
Migrating to CreateTaggings (6)
Migrating to AddIndexForTaggableType (7)
Migrating to AddTimeStamp (8)
Migrating to AddCreateAndModifiedTimeStamps (9)
Migrating to AddDownloadCounter (10)
Migrating to RemoveBogusDefaultTimestamps (11)
Migrating to CreatePackageUrl (12)
Migrating to AddArchs (13)
Migrating to CreateAdvancedDownloadStats (14)
Migrating to RemoveOldDownloadCounter (15)
Migrating to AddRatingTable (16)
Migrating to CreateStatusMessages (17)
Migrating to AddSeverityToStatusMessages (18)
Migrating to AddPermissionsForStatusMessages (19)
Migrating to AddPermissionsForDownloadCounters (20)
Migrating to AddActivityAttributes (21)
Migrating to CreateBlacklistTags (22)
Migrating to CreateMessages (23)
Migrating to InsertSrcAndNoarchArchitecture (24)
Migrating to AddSelectableFlagForArchitectures (25)
Migrating to PermissionUpdate (26)
Migrating to AddLocalPermissions (27)
Migrating to AddProjectBuildFlags (28)
Migrating to CreateFlags (29)
Migrating to ImportBuildFlagsFromBackend (30)
Migrating to RemoveOldFlagTables (31)
Migrating to AddDeletedPseudoRepository (32)
Migrating to AddBugownerRole (33)
Migrating to AddRemoteBsConfig (34)
Migrating to ModifyRepositoryForRemoteBs (35)
Migrating to AddDevelProject (36)
Migrating to RenameDebugFlagToDebuginfo (37)
Migrating to AddI686Arch (38)
Migrating to AddRenderedMetaCache (39)
Migrating to AddLocalArch (40)
Migrating to AddArchOrder (41)
Migrating to AddDownloadPermissionsAndRole (42)
Migrating to AddArchs2 (43)
Migrating to AddDownload (44)
Migrating to AddArchs3 (45)
Migrating to AddBcntsynctag (46)
On Wed, Nov 4, 2009 at 8:25 AM, Adrian Schröter
Am Mittwoch, 4. November 2009 13:00:40 schrieb Doug Reiland:
I have a new opensuse 11.1 installed system and trying to setup a local obs for the first time.
I am using the instructions at http://en.opensuse.org/Build_Service/Build_Service_Installation_Tutorial/op enSUSE_11.0
Please check the logfile from
/srv/www/obs/frontend/log/production_slave.log
(or whatever mode you use).
I have done thru the lighttpd configuration and started everything. I attempt to access http://127.0.42.1 and get: 500 - Internal Server Error
Looking at /var/log/lighttpd/error.log, I see: 2009-11-04 06:16:37: (mod_fastcgi.c.1768) connect failed: Connection refused on unix:/srv/www/obs/webclient/tmp/sockets/fcgi.socket-4 2009-11-04 06:16:37: (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-11-04 06:16:38: (mod_fastcgi.c.2494) unexpected end-of-file (perhaps the fastcgi process died): pid: 17635 socket: unix:/srv/www/obs/webclient/tmp/sockets/fcgi.socket-4 2009-11-04 06:16:38: (mod_fastcgi.c.3278) child exited, pid: 17635 status: 1 2009-11-04 06:16:38: (mod_fastcgi.c.3325) response not received, request sent: 815 on socket: unix:/srv/www/obs/webclient/tmp/sockets/fcgi.socket-4 for /dispatch.fcgi , closing connection
My log permissions are ok: ls -sld /srv/www/obs/*/log 4 drwxr-xr-x 2 lighttpd lighttpd 4096 2009-04-08 16:05 common/log 4 drwxr-xr-x 2 lighttpd lighttpd 4096 2009-11-04 05:17 frontend/log 4 drwxr-xr-x 2 lighttpd lighttpd 4096 2009-11-04 05:28 webclient/log
ls -sla /srv/obs total 36 4 drwxr-xr-x 9 obsrun obsrun 4096 2009-11-01 23:00 . 4 drwxr-xr-x 5 root root 4096 2009-11-01 22:45 .. 4 drwxr-xr-x 5 obsrun obsrun 4096 2009-11-01 23:00 events 4 drwxr-xr-x 2 obsrun obsrun 4096 2009-11-01 23:00 info 4 drwxr-xr-x 4 obsrun obsrun 4096 2009-11-01 23:00 jobs 4 drwxr-xr-x 2 obsrun obsrun 4096 2009-11-04 06:17 log 4 drwxr-xr-x 2 obsrun obsrun 4096 2009-10-30 00:26 projects 4 drwxr-xr-x 2 obsrun obsrun 4096 2009-11-04 06:15 run 4 drwxr-xr-x 3 obsrun obsrun 4096 2009-11-01 23:00 workers
Thoughts?
--
Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de
-- 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
Am Donnerstag, 5. November 2009 03:47:00 schrieb Michael_E_Brown@dell.com:
You need to check the permissions of the logfiles. In my latest setup, I was also getting 500 errors, and it was due to incorrect ownership/permissions on the log files. Check all the log files permissions. --
if this is the case, we seem to have a bug in our packages. But according to the spec file they should belong to the lighttpd user.
Michael
-----Original Message----- From: Doug Reiland [mailto:dreiland@gmail.com] Sent: Wed 11/4/2009 5:47 PM To: Adrian Schröter Cc: opensuse-buildservice@opensuse.org Subject: Re: [opensuse-buildservice] local obs server setup problems
This the the data from /srv/www/obs/frontend/log/production_slave.log:
# Logfile created on Sun Nov 01 23:33:53 -0500 2009Migrating to InitialDatabase (1) Migrating to AddMetaCache (2) Migrating to UserAdminnote (3) Migrating to AddRepositories (4) Migrating to CreateDisabledRepos (5) Migrating to CreateTaggings (6) Migrating to AddIndexForTaggableType (7) Migrating to AddTimeStamp (8) Migrating to AddCreateAndModifiedTimeStamps (9) Migrating to AddDownloadCounter (10) Migrating to RemoveBogusDefaultTimestamps (11) Migrating to CreatePackageUrl (12) Migrating to AddArchs (13) Migrating to CreateAdvancedDownloadStats (14) Migrating to RemoveOldDownloadCounter (15) Migrating to AddRatingTable (16) Migrating to CreateStatusMessages (17) Migrating to AddSeverityToStatusMessages (18) Migrating to AddPermissionsForStatusMessages (19) Migrating to AddPermissionsForDownloadCounters (20) Migrating to AddActivityAttributes (21) Migrating to CreateBlacklistTags (22) Migrating to CreateMessages (23) Migrating to InsertSrcAndNoarchArchitecture (24) Migrating to AddSelectableFlagForArchitectures (25) Migrating to PermissionUpdate (26) Migrating to AddLocalPermissions (27) Migrating to AddProjectBuildFlags (28) Migrating to CreateFlags (29) Migrating to ImportBuildFlagsFromBackend (30) Migrating to RemoveOldFlagTables (31) Migrating to AddDeletedPseudoRepository (32) Migrating to AddBugownerRole (33) Migrating to AddRemoteBsConfig (34) Migrating to ModifyRepositoryForRemoteBs (35) Migrating to AddDevelProject (36) Migrating to RenameDebugFlagToDebuginfo (37) Migrating to AddI686Arch (38) Migrating to AddRenderedMetaCache (39) Migrating to AddLocalArch (40) Migrating to AddArchOrder (41) Migrating to AddDownloadPermissionsAndRole (42) Migrating to AddArchs2 (43) Migrating to AddDownload (44) Migrating to AddArchs3 (45) Migrating to AddBcntsynctag (46) Migrating to InitialDatabase (1) Migrating to AddMetaCache (2) Migrating to UserAdminnote (3) Migrating to AddRepositories (4) Migrating to CreateDisabledRepos (5) Migrating to CreateTaggings (6) Migrating to AddIndexForTaggableType (7) Migrating to AddTimeStamp (8) Migrating to AddCreateAndModifiedTimeStamps (9) Migrating to AddDownloadCounter (10) Migrating to RemoveBogusDefaultTimestamps (11) Migrating to CreatePackageUrl (12) Migrating to AddArchs (13) Migrating to CreateAdvancedDownloadStats (14) Migrating to RemoveOldDownloadCounter (15) Migrating to AddRatingTable (16) Migrating to CreateStatusMessages (17) Migrating to AddSeverityToStatusMessages (18) Migrating to AddPermissionsForStatusMessages (19) Migrating to AddPermissionsForDownloadCounters (20) Migrating to AddActivityAttributes (21) Migrating to CreateBlacklistTags (22) Migrating to CreateMessages (23) Migrating to InsertSrcAndNoarchArchitecture (24) Migrating to AddSelectableFlagForArchitectures (25) Migrating to PermissionUpdate (26) Migrating to AddLocalPermissions (27) Migrating to AddProjectBuildFlags (28) Migrating to CreateFlags (29) Migrating to ImportBuildFlagsFromBackend (30) Migrating to RemoveOldFlagTables (31) Migrating to AddDeletedPseudoRepository (32) Migrating to AddBugownerRole (33) Migrating to AddRemoteBsConfig (34) Migrating to ModifyRepositoryForRemoteBs (35) Migrating to AddDevelProject (36) Migrating to RenameDebugFlagToDebuginfo (37) Migrating to AddI686Arch (38) Migrating to AddRenderedMetaCache (39) Migrating to AddLocalArch (40) Migrating to AddArchOrder (41) Migrating to AddDownloadPermissionsAndRole (42) Migrating to AddArchs2 (43) Migrating to AddDownload (44) Migrating to AddArchs3 (45) Migrating to AddBcntsynctag (46)
On Wed, Nov 4, 2009 at 8:25 AM, Adrian Schröter
wrote: Am Mittwoch, 4. November 2009 13:00:40 schrieb Doug Reiland:
I have a new opensuse 11.1 installed system and trying to setup a local obs for the first time.
I am using the instructions at http://en.opensuse.org/Build_Service/Build_Service_Installation_Tutorial /op enSUSE_11.0
Please check the logfile from
/srv/www/obs/frontend/log/production_slave.log
(or whatever mode you use).
I have done thru the lighttpd configuration and started everything. I attempt to access http://127.0.42.1 and get: 500 - Internal Server Error
Looking at /var/log/lighttpd/error.log, I see: 2009-11-04 06:16:37: (mod_fastcgi.c.1768) connect failed: Connection refused on unix:/srv/www/obs/webclient/tmp/sockets/fcgi.socket-4 2009-11-04 06:16:37: (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-11-04 06:16:38: (mod_fastcgi.c.2494) unexpected end-of-file (perhaps the fastcgi process died): pid: 17635 socket: unix:/srv/www/obs/webclient/tmp/sockets/fcgi.socket-4 2009-11-04 06:16:38: (mod_fastcgi.c.3278) child exited, pid: 17635 status: 1 2009-11-04 06:16:38: (mod_fastcgi.c.3325) response not received, request sent: 815 on socket: unix:/srv/www/obs/webclient/tmp/sockets/fcgi.socket-4 for /dispatch.fcgi , closing connection
My log permissions are ok: ls -sld /srv/www/obs/*/log 4 drwxr-xr-x 2 lighttpd lighttpd 4096 2009-04-08 16:05 common/log 4 drwxr-xr-x 2 lighttpd lighttpd 4096 2009-11-04 05:17 frontend/log 4 drwxr-xr-x 2 lighttpd lighttpd 4096 2009-11-04 05:28 webclient/log
ls -sla /srv/obs total 36 4 drwxr-xr-x 9 obsrun obsrun 4096 2009-11-01 23:00 . 4 drwxr-xr-x 5 root root 4096 2009-11-01 22:45 .. 4 drwxr-xr-x 5 obsrun obsrun 4096 2009-11-01 23:00 events 4 drwxr-xr-x 2 obsrun obsrun 4096 2009-11-01 23:00 info 4 drwxr-xr-x 4 obsrun obsrun 4096 2009-11-01 23:00 jobs 4 drwxr-xr-x 2 obsrun obsrun 4096 2009-11-04 06:17 log 4 drwxr-xr-x 2 obsrun obsrun 4096 2009-10-30 00:26 projects 4 drwxr-xr-x 2 obsrun obsrun 4096 2009-11-04 06:15 run 4 drwxr-xr-x 3 obsrun obsrun 4096 2009-11-01 23:00 workers
Thoughts?
--
Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de
-- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Thu, Nov 05, 2009 at 08:26:03AM +0100, Adrian Schröter wrote:
Am Donnerstag, 5. November 2009 03:47:00 schrieb Michael_E_Brown@dell.com:
You need to check the permissions of the logfiles. In my latest setup, I was also getting 500 errors, and it was due to incorrect ownership/permissions on the log files. Check all the log files permissions. --
if this is the case, we seem to have a bug in our packages.
But according to the spec file they should belong to the lighttpd user.
Well, I have at least two fresh OBS installations that say otherwise. :( -- Michael
I think I so your old problem, and checked/changed the permissions
before I posted here.
My log directories are:
ls -sld /srv/www/obs/*/log
4 drwxr-xr-x 2 lighttpd lighttpd 4096 2009-04-08 16:05 common/log
4 drwxr-xr-x 2 lighttpd lighttpd 4096 2009-11-04 05:17 frontend/log
4 drwxr-xr-x 2 lighttpd lighttpd 4096 2009-11-04 05:28 webclient/log
Do these match yours? Are there other files?
Doug
On Wed, Nov 4, 2009 at 9:47 PM,
You need to check the permissions of the logfiles. In my latest setup, I was also getting 500 errors, and it was due to incorrect ownership/permissions on the log files. Check all the log files permissions. -- Michael
-----Original Message----- From: Doug Reiland [mailto:dreiland@gmail.com] Sent: Wed 11/4/2009 5:47 PM To: Adrian Schröter Cc: opensuse-buildservice@opensuse.org Subject: Re: [opensuse-buildservice] local obs server setup problems
This the the data from /srv/www/obs/frontend/log/production_slave.log:
# Logfile created on Sun Nov 01 23:33:53 -0500 2009Migrating to InitialDatabase (1) Migrating to AddMetaCache (2) Migrating to UserAdminnote (3) Migrating to AddRepositories (4) Migrating to CreateDisabledRepos (5) Migrating to CreateTaggings (6) Migrating to AddIndexForTaggableType (7) Migrating to AddTimeStamp (8) Migrating to AddCreateAndModifiedTimeStamps (9) Migrating to AddDownloadCounter (10) Migrating to RemoveBogusDefaultTimestamps (11) Migrating to CreatePackageUrl (12) Migrating to AddArchs (13) Migrating to CreateAdvancedDownloadStats (14) Migrating to RemoveOldDownloadCounter (15) Migrating to AddRatingTable (16) Migrating to CreateStatusMessages (17) Migrating to AddSeverityToStatusMessages (18) Migrating to AddPermissionsForStatusMessages (19) Migrating to AddPermissionsForDownloadCounters (20) Migrating to AddActivityAttributes (21) Migrating to CreateBlacklistTags (22) Migrating to CreateMessages (23) Migrating to InsertSrcAndNoarchArchitecture (24) Migrating to AddSelectableFlagForArchitectures (25) Migrating to PermissionUpdate (26) Migrating to AddLocalPermissions (27) Migrating to AddProjectBuildFlags (28) Migrating to CreateFlags (29) Migrating to ImportBuildFlagsFromBackend (30) Migrating to RemoveOldFlagTables (31) Migrating to AddDeletedPseudoRepository (32) Migrating to AddBugownerRole (33) Migrating to AddRemoteBsConfig (34) Migrating to ModifyRepositoryForRemoteBs (35) Migrating to AddDevelProject (36) Migrating to RenameDebugFlagToDebuginfo (37) Migrating to AddI686Arch (38) Migrating to AddRenderedMetaCache (39) Migrating to AddLocalArch (40) Migrating to AddArchOrder (41) Migrating to AddDownloadPermissionsAndRole (42) Migrating to AddArchs2 (43) Migrating to AddDownload (44) Migrating to AddArchs3 (45) Migrating to AddBcntsynctag (46) Migrating to InitialDatabase (1) Migrating to AddMetaCache (2) Migrating to UserAdminnote (3) Migrating to AddRepositories (4) Migrating to CreateDisabledRepos (5) Migrating to CreateTaggings (6) Migrating to AddIndexForTaggableType (7) Migrating to AddTimeStamp (8) Migrating to AddCreateAndModifiedTimeStamps (9) Migrating to AddDownloadCounter (10) Migrating to RemoveBogusDefaultTimestamps (11) Migrating to CreatePackageUrl (12) Migrating to AddArchs (13) Migrating to CreateAdvancedDownloadStats (14) Migrating to RemoveOldDownloadCounter (15) Migrating to AddRatingTable (16) Migrating to CreateStatusMessages (17) Migrating to AddSeverityToStatusMessages (18) Migrating to AddPermissionsForStatusMessages (19) Migrating to AddPermissionsForDownloadCounters (20) Migrating to AddActivityAttributes (21) Migrating to CreateBlacklistTags (22) Migrating to CreateMessages (23) Migrating to InsertSrcAndNoarchArchitecture (24) Migrating to AddSelectableFlagForArchitectures (25) Migrating to PermissionUpdate (26) Migrating to AddLocalPermissions (27) Migrating to AddProjectBuildFlags (28) Migrating to CreateFlags (29) Migrating to ImportBuildFlagsFromBackend (30) Migrating to RemoveOldFlagTables (31) Migrating to AddDeletedPseudoRepository (32) Migrating to AddBugownerRole (33) Migrating to AddRemoteBsConfig (34) Migrating to ModifyRepositoryForRemoteBs (35) Migrating to AddDevelProject (36) Migrating to RenameDebugFlagToDebuginfo (37) Migrating to AddI686Arch (38) Migrating to AddRenderedMetaCache (39) Migrating to AddLocalArch (40) Migrating to AddArchOrder (41) Migrating to AddDownloadPermissionsAndRole (42) Migrating to AddArchs2 (43) Migrating to AddDownload (44) Migrating to AddArchs3 (45) Migrating to AddBcntsynctag (46)
On Wed, Nov 4, 2009 at 8:25 AM, Adrian Schröter
wrote: Am Mittwoch, 4. November 2009 13:00:40 schrieb Doug Reiland:
I have a new opensuse 11.1 installed system and trying to setup a local obs for the first time.
I am using the instructions at http://en.opensuse.org/Build_Service/Build_Service_Installation_Tutorial/op enSUSE_11.0
Please check the logfile from
/srv/www/obs/frontend/log/production_slave.log
(or whatever mode you use).
I have done thru the lighttpd configuration and started everything. I attempt to access http://127.0.42.1 and get: 500 - Internal Server Error
Looking at /var/log/lighttpd/error.log, I see: 2009-11-04 06:16:37: (mod_fastcgi.c.1768) connect failed: Connection refused on unix:/srv/www/obs/webclient/tmp/sockets/fcgi.socket-4 2009-11-04 06:16:37: (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-11-04 06:16:38: (mod_fastcgi.c.2494) unexpected end-of-file (perhaps the fastcgi process died): pid: 17635 socket: unix:/srv/www/obs/webclient/tmp/sockets/fcgi.socket-4 2009-11-04 06:16:38: (mod_fastcgi.c.3278) child exited, pid: 17635 status: 1 2009-11-04 06:16:38: (mod_fastcgi.c.3325) response not received, request sent: 815 on socket: unix:/srv/www/obs/webclient/tmp/sockets/fcgi.socket-4 for /dispatch.fcgi , closing connection
My log permissions are ok: ls -sld /srv/www/obs/*/log 4 drwxr-xr-x 2 lighttpd lighttpd 4096 2009-04-08 16:05 common/log 4 drwxr-xr-x 2 lighttpd lighttpd 4096 2009-11-04 05:17 frontend/log 4 drwxr-xr-x 2 lighttpd lighttpd 4096 2009-11-04 05:28 webclient/log
ls -sla /srv/obs total 36 4 drwxr-xr-x 9 obsrun obsrun 4096 2009-11-01 23:00 . 4 drwxr-xr-x 5 root root 4096 2009-11-01 22:45 .. 4 drwxr-xr-x 5 obsrun obsrun 4096 2009-11-01 23:00 events 4 drwxr-xr-x 2 obsrun obsrun 4096 2009-11-01 23:00 info 4 drwxr-xr-x 4 obsrun obsrun 4096 2009-11-01 23:00 jobs 4 drwxr-xr-x 2 obsrun obsrun 4096 2009-11-04 06:17 log 4 drwxr-xr-x 2 obsrun obsrun 4096 2009-10-30 00:26 projects 4 drwxr-xr-x 2 obsrun obsrun 4096 2009-11-04 06:15 run 4 drwxr-xr-x 3 obsrun obsrun 4096 2009-11-01 23:00 workers
Thoughts?
--
Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de
-- 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
On Thu, Nov 05, 2009 at 06:55:56AM -0500, Doug Reiland wrote:
I think I so your old problem, and checked/changed the permissions before I posted here. My log directories are:
ls -sld /srv/www/obs/*/log 4 drwxr-xr-x 2 lighttpd lighttpd 4096 2009-04-08 16:05 common/log 4 drwxr-xr-x 2 lighttpd lighttpd 4096 2009-11-04 05:17 frontend/log 4 drwxr-xr-x 2 lighttpd lighttpd 4096 2009-11-04 05:28 webclient/log
Do these match yours? Are there other files?
Yes, those match mine. If you had to change them, then adrians needs to know so he can fix the packaging. You also need to check the actual log files themselves. Mine were owned by root (broken) until I chown-ed them to lighttpd (correct):
ls -la /srv/www/obs/*/log/* -rw-r--r-- 1 lighttpd lighttpd 70714506 2009-11-05 09:28 /srv/www/obs/frontend/log/backend_access.log -rw-r--r-- 1 lighttpd lighttpd 0 2009-05-21 19:21 /srv/www/obs/frontend/log/development.log -rw------- 1 lighttpd lighttpd 24082 2009-11-03 18:01 /srv/www/obs/frontend/log/fastcgi.crash.log -rw------- 1 lighttpd lighttpd 308241393 2009-11-05 09:28 /srv/www/obs/frontend/log/obs-frontend-access.log -rw------- 1 lighttpd lighttpd 1118977319 2009-11-05 09:28 /srv/www/obs/frontend/log/production_slave.log -rw-r--r-- 1 lighttpd lighttpd 1657 2009-05-21 18:28 /srv/www/obs/webclient/log/development.log -rw------- 1 lighttpd lighttpd 28671 2009-11-03 18:01 /srv/www/obs/webclient/log/fastcgi.crash.log -rw------- 1 lighttpd lighttpd 96817552 2009-11-04 16:15 /srv/www/obs/webclient/log/obs-webclient-access.log -rw------- 1 lighttpd lighttpd 96644401 2009-11-04 16:15 /srv/www/obs/webclient/log/production_slave.log
The next thing you can do, and forgive me because I'm no expert on this and am doing this from memory, you should run the '/srv/www/obs/frontend/public/dispatch.fcgi' by hand (su - lighttpd -c /srv/www/obs/frontend/public/dispatch.fcgi) to see what the error message it gives you is. -- Michael
There was a log file that was root.root, but I changed it and made the
log directories g+s, but it didn't change anything.
Also, I ran:
su - lighttpd -c /srv/www/obs/frontend/public/dispatch.fcgi
but it came right back to the shell prompt. Would you expect to see
output or errors?
Thanks again,
Doug
On Thu, Nov 5, 2009 at 10:30 AM, Michael E Brown
On Thu, Nov 05, 2009 at 06:55:56AM -0500, Doug Reiland wrote:
I think I so your old problem, and checked/changed the permissions before I posted here. My log directories are:
ls -sld /srv/www/obs/*/log 4 drwxr-xr-x 2 lighttpd lighttpd 4096 2009-04-08 16:05 common/log 4 drwxr-xr-x 2 lighttpd lighttpd 4096 2009-11-04 05:17 frontend/log 4 drwxr-xr-x 2 lighttpd lighttpd 4096 2009-11-04 05:28 webclient/log
Do these match yours? Are there other files?
Yes, those match mine. If you had to change them, then adrians needs to know so he can fix the packaging.
You also need to check the actual log files themselves. Mine were owned by root (broken) until I chown-ed them to lighttpd (correct):
ls -la /srv/www/obs/*/log/* -rw-r--r-- 1 lighttpd lighttpd 70714506 2009-11-05 09:28 /srv/www/obs/frontend/log/backend_access.log -rw-r--r-- 1 lighttpd lighttpd 0 2009-05-21 19:21 /srv/www/obs/frontend/log/development.log -rw------- 1 lighttpd lighttpd 24082 2009-11-03 18:01 /srv/www/obs/frontend/log/fastcgi.crash.log -rw------- 1 lighttpd lighttpd 308241393 2009-11-05 09:28 /srv/www/obs/frontend/log/obs-frontend-access.log -rw------- 1 lighttpd lighttpd 1118977319 2009-11-05 09:28 /srv/www/obs/frontend/log/production_slave.log -rw-r--r-- 1 lighttpd lighttpd 1657 2009-05-21 18:28 /srv/www/obs/webclient/log/development.log -rw------- 1 lighttpd lighttpd 28671 2009-11-03 18:01 /srv/www/obs/webclient/log/fastcgi.crash.log -rw------- 1 lighttpd lighttpd 96817552 2009-11-04 16:15 /srv/www/obs/webclient/log/obs-webclient-access.log -rw------- 1 lighttpd lighttpd 96644401 2009-11-04 16:15 /srv/www/obs/webclient/log/production_slave.log
The next thing you can do, and forgive me because I'm no expert on this and am doing this from memory, you should run the '/srv/www/obs/frontend/public/dispatch.fcgi' by hand (su - lighttpd -c /srv/www/obs/frontend/public/dispatch.fcgi) to see what the error message it gives you is.
-- Michael
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Update just in case others have the issue.
The main problem was the RAILS_GEM_VERSION setting in the frontend and
webclient config/environment.rb
It was something like: '-> 2.1' .....
It should be '2.1.2'.
Thanks for your help!
darix on the irc channel worked for several hours to nail this down.
Big thanks to darix.
Doug
On Thu, Nov 5, 2009 at 7:22 PM, Doug Reiland
There was a log file that was root.root, but I changed it and made the log directories g+s, but it didn't change anything.
Also, I ran: su - lighttpd -c /srv/www/obs/frontend/public/dispatch.fcgi
but it came right back to the shell prompt. Would you expect to see output or errors?
Thanks again, Doug
On Thu, Nov 5, 2009 at 10:30 AM, Michael E Brown
wrote: On Thu, Nov 05, 2009 at 06:55:56AM -0500, Doug Reiland wrote:
I think I so your old problem, and checked/changed the permissions before I posted here. My log directories are:
ls -sld /srv/www/obs/*/log 4 drwxr-xr-x 2 lighttpd lighttpd 4096 2009-04-08 16:05 common/log 4 drwxr-xr-x 2 lighttpd lighttpd 4096 2009-11-04 05:17 frontend/log 4 drwxr-xr-x 2 lighttpd lighttpd 4096 2009-11-04 05:28 webclient/log
Do these match yours? Are there other files?
Yes, those match mine. If you had to change them, then adrians needs to know so he can fix the packaging.
You also need to check the actual log files themselves. Mine were owned by root (broken) until I chown-ed them to lighttpd (correct):
ls -la /srv/www/obs/*/log/* -rw-r--r-- 1 lighttpd lighttpd 70714506 2009-11-05 09:28 /srv/www/obs/frontend/log/backend_access.log -rw-r--r-- 1 lighttpd lighttpd 0 2009-05-21 19:21 /srv/www/obs/frontend/log/development.log -rw------- 1 lighttpd lighttpd 24082 2009-11-03 18:01 /srv/www/obs/frontend/log/fastcgi.crash.log -rw------- 1 lighttpd lighttpd 308241393 2009-11-05 09:28 /srv/www/obs/frontend/log/obs-frontend-access.log -rw------- 1 lighttpd lighttpd 1118977319 2009-11-05 09:28 /srv/www/obs/frontend/log/production_slave.log -rw-r--r-- 1 lighttpd lighttpd 1657 2009-05-21 18:28 /srv/www/obs/webclient/log/development.log -rw------- 1 lighttpd lighttpd 28671 2009-11-03 18:01 /srv/www/obs/webclient/log/fastcgi.crash.log -rw------- 1 lighttpd lighttpd 96817552 2009-11-04 16:15 /srv/www/obs/webclient/log/obs-webclient-access.log -rw------- 1 lighttpd lighttpd 96644401 2009-11-04 16:15 /srv/www/obs/webclient/log/production_slave.log
The next thing you can do, and forgive me because I'm no expert on this and am doing this from memory, you should run the '/srv/www/obs/frontend/public/dispatch.fcgi' by hand (su - lighttpd -c /srv/www/obs/frontend/public/dispatch.fcgi) to see what the error message it gives you is.
-- Michael
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
hi, to cut this short bug in the obs-api package. we patched it locally and i submitted a new obs-server package darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (5)
-
Adrian Schröter
-
Doug Reiland
-
Marcus Rueckert
-
Michael E Brown
-
Michael_E_Brown@Dell.com