+rm -f $LOG
+echo "initializing..." >>$LOG
+test -d reg || mkdir reg
+rm -f $pp/records/esdd000[12].grs # these should not be here, will be created later
+../../index/zebraidx -l $LOG -c $pp/zebra1.cfg init || exit 1
+
+echo "updating..." >>$LOG
+../../index/zebraidx -l $LOG -c $pp/zebra1.cfg update $pp/records || exit 1
+
+echo "killing old server (if any)..." >>$LOG
+test -f zebrasrv.pid && kill `cat zebrasrv.pid`