I've completed the migration for mirror.trouble-free.net and is is now
updating normally again.
--
Regards,
John Quaglieri
InterServer, Inc
201-643-0135x101
I am trying to set up a Mirror of Version 4.0 with updates. When I try to use rsync (which is the method I prefer), I get all versions. Can I rsync and get only version 4?
--
Vicki Stanfield
Linux User #30705 http://counter.li.org
Certified Red Hat Engineer - RHCE Number 806200695901889
Due to space restrictions on the current mirror server I am migrating
everything to a new server. I should have it completed tomorrow and I
have temporarily stopped caos/centos updates on mirror.trouble-free.net.
No paths or ips will change.
--
Regards,
John Quaglieri
InterServer, Inc
201-643-0135x101
Here's my rsync script, kind of a quick write so it could be better.. One thing some of you might like is that the script checks to make sure that the process is actually running if the pid file exists. If the pid file exists but the process doesnt, it clears the pid and continues...
Note: the script has be to run as root to write the pid, other wise you'll need to make a dir in /var/run and chown that dir, chown it to your user and edit the script to use that dir...
--------------[CODE]----------------
#!/bin/sh
RSYNC="/usr/bin/rsync"
RSYNC_OPTS="-aHv --delete --bwlimit=512 "
if [ -f "/var/run/mirror.pid" ]; then
RUNPID=`cat /var/run/mirror.pid`
if ps -p $RUNPID; then
echo "Mirror is already running..."
exit 1
else
echo "Mirror pid found but process dead, cleaning up"
rm -f /var/run/mirror.pid
fi
else
echo "No Mirror Process Detected"
fi
echo $$ > /var/run/mirror.pid
echo -n "Mirror Started at "
date
#CentOS Mirror
$RSYNC $RSYNC_OPTS rsync://mirror.centos.org/cAos/centos/ /data/mirrors/centos/
echo -n "Mirror Ended at "
date
rm -f /var/run/mirror.pid
----------------------------------------------------------------------------------------------------------------------------------------
Best Regards,
Shaun Reitan
Best Regards,
Shaun Reitan
Account Specialist
www.NDCHost.comwww.cPlicensing.net
Hello,
The URL given as
http://mirrors.cs.hacettepe.edu.tr/centos/
should be
http://mirrors.cs.hacettepe.edu.tr/CentOS/
and
ftp://ftp.cs.hacettepe.edu.tr/pub/mirrors/centos/
should be
ftp://ftp.cs.hacettepe.edu.tr/pub/mirrors/CentOS/
Also our departments name is "Hacettepe Univ. Dept. of Computer Sci. &
Eng." We'll be glad if corrected.
Thanks.