Mailinglist Archive: opensuse-buildservice (332 mails)

< Previous Next >
[opensuse-buildservice] issue with BS from scratch
  • From: "Hans-Peter Jansen" <hpj@xxxxxxxxx>
  • Date: Thu, 22 Jul 2010 16:52:18 +0200
  • Message-id: <201007221652.19964.hpj@xxxxxxxxx>

while installing BS from scratch on a 11.1 server, I ran in a couple of

I'm using this repo:

as documented in:

zypper in obs-server obs-worker obs-api obs-utils

Then I followed: /usr/share/doc/packages/obs-api/README.SETUP, putting
optional steps aside, which was pretty straight forward:

# rcobsrepserver start
Initializing obsrepserver

# rcobssrcserver start
Initializing obssrcserver
# rcobsscheduler start
Initializing obsscheduler

# rcobsdispatcher start
Initializing obsdispatcher

# rcobspublisher start
Initializing obspublisher


up until point 2.1:

# rcobsworker start
Run 8 obsworker using /var/cache/obs/worker
cpio: premature end of archive
chmod: cannot access `bs_worker': No such file or directory

What's up, here:

# bash -x /etc/init.d/obsworker start
+ echo 'Run 8 obsworker using /var/cache/obs/worker'
Run 8 obsworker using /var/cache/obs/worker
+ '[' yes == yes ']'
++ slptool findsrvs service:obs.repo_server
++ sed -n 's/service:obs.repo_server:\([^,]*\),.*/\1/p'
+ '[' -d /var/run/obs/worker/boot ']'
+ pushd /var/run/obs/worker/boot
+ curl -s http://localhost:5252/getworkercode
+ cpio --quiet --extract
cpio: premature end of archive
+ ln -s . XML
+ chmod 755 bs_worker
chmod: cannot access `bs_worker': No such file or directory
+ popd

Hmm, there's no such thing like http://localhost:5252:

# netstat -anp | grep ':5252'

Digging deeper: cat /srv/obs/log/rep_server.log

2010-07-22 15:08:43: AJAX: bs_repserver started
2010-07-22 15:08:43: bs_repserver started on port 6262

Ahh, it's listening on 6262 now. Fixing /etc/sysconfig/obs-worker...

Now proceeding up until 3.2, setting up lighttpd. You say, that resp. are preconfigured. Looking
into /etc/lighttpd/vhosts.d/obs.conf, there is only the PORT defined,
doesn't that mean, that it binds to any local address? Sorry for asking
these silly questions, but I need to modify this setting in order to get my
apache going again, and you're documenting these changes quite extensively,
but the references to 127.0.42.* are misleading then, aren't they?

Now proceeding up until 4.1, creating a reference project.

Running the command:

# curl -0 --user "Admin:opensuse" -X
PUT -T /usr/share/doc/packages/obs-api/

results in some html page printed to the console here.

In the middle one can read:

<!-- Start: Main Content Area -->
<div id="content" class="container_16 content-wrapper">

<div class="grid_16 box box-shadow alpha omega">
<h1>openSUSE Webclient Error:</h1>

<h2>Target not found</h2>
<p>A non existing page was requested.</p>

<h3>Error Details:</h3>
<strong>Errorcode: </strong>404<br/>
<strong>Message: </strong>no such route<br/>
<!-- End: Main Content Area -->

Hmm, another issue, I guess. Looking at the destination path, it wants to
write to, but
is going to match $SERVER["socket"] == ":80" in
/etc/lighttpd/vhosts.d/obs.conf, which points to /srv/www/obs/webui, and
yes, there is no such directory named source (and it's rather questionable,
if that's really the intended destination, since this kind of data would
much better fit the /srv/obs hierarchy, but there's no such dir either..

What am I missing here?

Thanks for any enlightenment in advance,
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups