Added slurpd log and extend slurpd sleep to 15 seconds

This commit is contained in:
Kurt Zeilenga 1998-08-19 00:11:06 +00:00
parent 49d40a26f8
commit 70c5050d85
2 changed files with 4 additions and 3 deletions

View File

@ -22,6 +22,7 @@ BJORNSDN="cn=Bjorn Jensen, ou=Information Technology Division, ou=People, o=Univ
JAJDN="cn=James A Jones 1, ou=Alumni Association, ou=People, o=University of Michigan, c=US"
MASTERLOG=$DBDIR/master.log
SLAVELOG=$DBDIR/slave.log
SLURPLOG=$DBDIR/slurp.log
SEARCHOUT=$DBDIR/ldapsearch.out
MASTEROUT=$DBDIR/master.out
SLAVEOUT=$DBDIR/slave.out

View File

@ -48,7 +48,7 @@ for i in 0 1 2 3 4 5; do
done
echo "Starting slurpd..."
$SLURPD -f $MASTERCONF -d 4 -t $REPLDIR > /dev/null 2>&1 &
$SLURPD -f $MASTERCONF -d 4 -t $REPLDIR > $SLURPLOG 2>&1 &
SLURPPID=$!
echo "Using ldapmodify to populate the database..."
@ -123,8 +123,8 @@ changetype: delete
EOMODS
echo "Waiting 10 seconds for slurpd to send changes..."
sleep 10
echo "Waiting 15 seconds for slurpd to send changes..."
sleep 15
echo "Using ldapsearch to read all the entries from the master..."
$LDAPSEARCH -L -S "" -b "$BASEDN" -h localhost -p $PORT \