Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Nov 1995 16:30:06 +0500
From:      Jerry.Kendall@vmicls.com (Jerry Kendall)
To:        hackers@freebsd.org
Subject:   Re: Becoming a mirror site for FreeBSD
Message-ID:  <9511292130.AA13220.gonzo@vmicls.com>

next in thread | raw e-mail | index | archive | help
> From jmb@kryten.Atinc.COM Wed Nov 29 14:02:48 1995
> Date: Wed, 29 Nov 1995 13:49:45 -0500 (EST)
> From: "Jonathan M. Bresler" <jmb@kryten.atinc.com>
> Subject: Re: Becoming a mirror site for FreeBSD
> To: Joe Greco <jgreco@brasil.moneng.mei.com>
> cc: Jerry Kendall <Jerry.Kendall@vmicls.com>, hackers@freebsd.org,
>         hubs@freebsd.org
> MIME-Version: 1.0
> 
> 
> > > What is the best way to do this?
> 
> 	the easiest way is to use the mirror perl script (its a port 
> mirror-2.3).  i have included the packages file that i use at the end
> 	
> 	run mirror out of cron
> 
> 11 5 * * * <some path>/mirror <some path> packages
> 
> jmb
> 
> Jonathan M. Bresler        FreeBSD Postmaster         jmb@FreeBSD.ORG
> play go. ride bike. hack FreeBSD.--ah the good life 
> i am moving to a new job.                 PLEASE USE: jmb@FreeBSD.ORG
> 
> 
> 

You said to use MIRROR.

Ok.

toyed with the idea, got mirror of the CD and installed it.
All went well.

Ran mirror with modified config file.
------- config -----
#
#	PACKAGES
#
# This is the default mirror settings used by my site:
# kryten.atinc.com
#
# adapted from mirror.defaults by Lee McLoughlin <lmjm@doc.ic.ac.uk>

# You should be able to use this at other sites.  You should only have
# to change bits that reference this site so look for doc.ic below.

package=defaults
	# The LOCAL hostname - if not the same as `hostname`
	# hostname=antares.vmicls.com
	# Keep all local_dirs relative to here
	local_dir=/mirror/FreeBSD/
	remote_password=jkendall@vmicls.com
	mail_to=jkendall@vmicls.com
	# Don't mirror file modes.  Set all dirs/files to these
	dir_mode=0755
	file_mode=0444
	# By defaults files are owned by root.zero
	user=jkendall
	group=staff
	# Keep a log file in each updated directory
	update_log=/mirror/mirror.log
	# Don't overwrite my mirror log with the remote one.
	# Don't pull back any of their mirror temporary files.
	# Don't touch anything whose name begins with a space!
	# nor any FSP or gopher files...
	exclude_patt=(^|/)(\.mirror$|core$|\.cap|\.in\..*\.$|MIRROR.LOG|#.*#|\.FSP|\.cache|\.zipped|\.notar|\.message|lost+found/|\ )
	# Try to compress everything
	compress_patt=.
	compress_prog=compress
	# Don't compress information files, files that don't benifit from
	# being compressed, files that tell ftpd, gopher, wais... to do things,
	# the sources for compression programs...
	# (Note this is the only regexp that is case insensitive.)
	# z matches compress/pack/gzip, gz for gzip. (built into perl)
	# taz/tgz is compressed or gzipped tar files
	# arc, arj, lzh, zip and zoo are pc and/or amiga archives.
	# sea are mac archives.
	# vms used -z instead of .z.  stupid vms.
	# shk is multimedia? used on apple2s.
	compress_excl+|-z(\d+)?$|\.tgz|_tgz|\.tar\.Z|\.tar\.gz|\.taz$|\.arc$|\.zip$|\.lzh$|\.zoo$|\.exe$|\.lha$|\.zom$|\.gif$|\.jpeg$|\.jpg$|\.mpeg$|\.au$|\.shk$|read.*me|index|info|faq|gzip|compress|(^|/)\.\.?$
	# Don't delete own mirror log, .notar or .cache files (incl in subdirs)
	#delete_excl=(^|/)\.(mirror|notar|cache)$
	# Ignore any local readme and .mirror files
	# jmb 9411201 added .message files
	local_ignore=README.doc.ic|(^|/)\.(mirror|notar|message)$
	# Automatically delete local copies of files that the
	# remote site has zapped
	do_deletes=true
	max_delete_files=50%
	max_delete_dirs=50%


package=FreeBSD-current
	comment=FreeBSD Current distribution
	site=ftp.cdrom.com
	remote_dir=/pub/FreeBSD/FreeBSD-current/
	local_dir+FreeBSD-current
	compress_patt=
	local_ignore=packages|ports|(^|/)\.(mirror|notar|message)$



--------------------

The ouput is :
----------
jerry@antares: mirror mirror.freebsd

package=FreeBSD-current ftp.cdrom.com:/pub/FreeBSD/FreeBSD-current/ -> /mirror/FreeBSD/FreeBSD-current
Connecting to ftp.cdrom.com
Failed to connect
Pausing between retries
Cannot connect, skipping package

All done, Exiting
-------------

That's it. It does not seem to connect correctly.

I can ping/ftp to ftp.cdrom.com but, mirror does not seem to connect.

Any ideas would be helpfull.

Jerry




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9511292130.AA13220.gonzo>