Hi, I think I know the reason for this. If you are using the latest openSUSE:Tools/obs-server, adrian accidentially commited the two new scripts: - obsdispatcher - obspublisher to be == obsscheduler. With the new backend, the dispatcher and publisher were separated from the scheduler. So what you need to do is: rcobsrepserver start rcobssrcserver start rclighttpd start rcobsscheduler start rcobsdispatcher start rcobspublisher start I have attached to this e-mail the correct scripts obsdispatcher & obspublisher Hope it helps. Martin Oliver Bengs wrote:
Am Sun, 4 Nov 2007 19:05:38 +0100 schrieb Adrian Schröter <adrian@suse.de>:
On Saturday 03 November 2007 12:48:36 wrote aledr:
Hi!
I followed the wiki informations and the README.setup steps to install a local build service, and seems that almost everything is working. But the "Build Status" of the packages are just "scheduled".
Same here, since the last update.
<snip>
do you have a worker process running ?
The worker idles.
# cat /srv/obs/workers/idle/i686\:apollo_2 <worker hostarch="i686" ip="192.168.0.5" port="16732" workerid="apollo/2" />
There isn't a Firewall running and the IP is correct.
Without it, it will remain to be scheduled (this means the scheduler did it's job), but nothing starts to build it ...
So it looks like ;)
Olli
#! /bin/sh # Copyright (c) 2007, Novell Inc. # # Author: adrian@suse.de # # /etc/init.d/obsdispatcher # and its symbolic link # /usr/sbin/rcobsdispatcher # ### BEGIN INIT INFO # Provides: obsdispatcher # Required-Start: $time $syslog obssrcserver obsrepserver # Required-Stop: # Default-Start: 3 5 # Default-Stop: 0 1 2 4 6 # Description: openSUSE build service ### END INIT INFO . /etc/rc.status . /etc/sysconfig/obs-server # Determine the base and follow a runlevel link name. base=${0##*/} link=${base#*[SK][0-9][0-9]} obsdir=/usr/lib/obs/server/ rc_reset case "$1" in start) echo -n "Initializing obsdispatcher" cd "$obsdir" # FIXME: not nice, this should receive a proper daemon handling, # including real logging, pid file and startproc ./bs_dispatch >& /srv/obs/log/dispatcher_$i.log & rc_status -v ;; stop) echo -n "Shutting down obsdispatcher" killall bs_dispatch rc_status -v ;; restart) ## If first returns OK call the second, if first or ## second command fails, set echo return value. $0 stop && $0 start rc_status ;; try-restart) $0 status if test $? = 0; then $0 restart else rc_reset # Not running is not a failure. fi # Remember status and be quiet rc_status ;; reload) ;; status) echo -n "Checking for obsdispatcher:" checkproc bs_dispatch rc_status -v ;; *) echo "Usage: $0 {start|stop|status|try-restart|restart|reload}" exit 1 ;; esac rc_exit #! /bin/sh # Copyright (c) 2007, Novell Inc. # # Author: adrian@suse.de # # /etc/init.d/obspublisher # and its symbolic link # /usr/sbin/rcobspublisher # ### BEGIN INIT INFO # Provides: obspublisher # Required-Start: $time $syslog obssrcserver obsrepserver # Required-Stop: # Default-Start: 3 5 # Default-Stop: 0 1 2 4 6 # Description: openSUSE build service ### END INIT INFO . /etc/rc.status . /etc/sysconfig/obs-server # Determine the base and follow a runlevel link name. base=${0##*/} link=${base#*[SK][0-9][0-9]} obsdir=/usr/lib/obs/server/ rc_reset case "$1" in start) echo -n "Initializing obspublisher" cd "$obsdir" # FIXME: not nice, this should receive a proper daemon handling, # including real logging, pid file and startproc ./bs_publish >& /srv/obs/log/publisher_$i.log & rc_status -v ;; stop) echo -n "Shutting down obspublisher" killall bs_publish rc_status -v ;; restart) ## If first returns OK call the second, if first or ## second command fails, set echo return value. $0 stop && $0 start rc_status ;; try-restart) $0 status if test $? = 0; then $0 restart else rc_reset # Not running is not a failure. fi # Remember status and be quiet rc_status ;; reload) ;; status) echo -n "Checking for obspublisher: " checkproc bs_publish rc_status -v ;; *) echo "Usage: $0 {start|stop|status|try-restart|restart|reload}" exit 1 ;; esac rc_exit