From owner-freebsd-hackers Wed Nov 29 13:28:28 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id NAA21875 for hackers-outgoing; Wed, 29 Nov 1995 13:28:28 -0800 Received: from bigbird.vmicls.com (bigbird.vmicls.com [198.17.96.3]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id NAA21867 for ; Wed, 29 Nov 1995 13:28:16 -0800 Received: from gonzo by bigbird.vmicls.com (8.6.9/SMI-4.1-vmicls-master-host-1) id QAA03963; Wed, 29 Nov 1995 16:30:08 -0500 From: Jerry.Kendall@vmicls.com (Jerry Kendall) Organization: VMI Communications and Learning Systems Received: by gonzo (5.0/vmi-client-host-1) id AA13220; Wed, 29 Nov 1995 16:30:06 +0500 Date: Wed, 29 Nov 1995 16:30:06 +0500 Message-Id: <9511292130.AA13220.gonzo@vmicls.com> To: hackers@freebsd.org Subject: Re: Becoming a mirror site for FreeBSD X-Sun-Charset: US-ASCII content-length: 4032 Sender: owner-hackers@freebsd.org Precedence: bulk > 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" > Subject: Re: Becoming a mirror site for FreeBSD > To: Joe Greco > cc: Jerry Kendall , 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 * * * /mirror 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 # 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