Index: openacs-4/etc/backup.sh =================================================================== RCS file: /usr/local/cvsroot/openacs-4/etc/backup.sh,v diff -u -r1.11.2.1 -r1.11.2.2 --- openacs-4/etc/backup.sh 20 Feb 2006 04:19:03 -0000 1.11.2.1 +++ openacs-4/etc/backup.sh 20 Feb 2006 19:39:55 -0000 1.11.2.2 @@ -122,7 +122,11 @@ #--------------------------------------------------------------------- # Check for free space #--------------------------------------------------------------------- -# get free byte count +# get free byte count - +# if you're having trouble with this, it may be because your partition +# string is too long and is forcing the numbers to be printed on the +# next line (common with LVs). Add 1 line of context to grep's output +# (-A 1) and ask awk to print the 3rd token instead. free=`df | grep $BACKUPPART | awk '{print $4}'` # force to incremental if there isn't room for full @@ -186,7 +190,7 @@ FULLNAME=$BACKUPDIR/$DATE-$COMPUTER-${directory//\//-}-backup-$TYPE.tar.gz # to use bzip2 instead of gzip, change z to j in the tar flags cd $directory - tar -zcpsh . --file $FULLNAME $NEW_FLAG + tar -zcpsh --file $FULLNAME $NEW_FLAG . $CHOWN $BACKUPUSER $FULLNAME $CHMOD 660 $FULLNAME if [ -n "$OTHERHOST" ] Index: openacs-4/etc/config.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/etc/config.tcl,v diff -u -r1.32.2.1 -r1.32.2.2 --- openacs-4/etc/config.tcl 29 Dec 2005 10:07:20 -0000 1.32.2.1 +++ openacs-4/etc/config.tcl 20 Feb 2006 19:39:55 -0000 1.32.2.2 @@ -10,7 +10,7 @@ #--------------------------------------------------------------------- # change to 80 and 443 for production use -set httpport 8000 +set httpport 8001 set httpsport 8443 # If setting port below 1024 with AOLServer 4, read comments in file: # /var/lib/aolserver/service0/packages/etc/daemontools/run @@ -19,16 +19,16 @@ # setting the address to 0.0.0.0 means aolserver listens on all interfaces set hostname [ns_info hostname] #set address [ns_info address] -set address 0.0.0.0 +set address 172.17.1.105 # Note: If port is privileged (usually < 1024), OpenACS must be # started by root, and, in AOLserver 4, the run script have a # '-b address' flag which matches the address according to settings (above) -set server "service0" +set server "msweb-upgrade" set servername "New OpenACS Installation - Development" -set serverroot "/var/lib/aolserver/${server}" +set serverroot "/home/${server}" #--------------------------------------------------------------------- # which database do you want? postgres or oracle @@ -48,7 +48,7 @@ # if debug is false, all debugging will be turned off set debug false -set homedir /usr/local/aolserver +set homedir /home/aolserver set bindir [file dirname [ns_info nsd]] ######################################################################