Re: [CORE] Re: Mirrors not tracking main ftp site?
От | The Hermit Hacker |
---|---|
Тема | Re: [CORE] Re: Mirrors not tracking main ftp site? |
Дата | |
Msg-id | Pine.BSF.4.33.0106050822300.38494-100000@mobile.hub.org обсуждение исходный текст |
Ответ на | Re: Mirrors not tracking main ftp site? (bpalmer <bpalmer@crimelabs.net>) |
Список | pgsql-hackers |
okay, just removed the .hidden directory from the ftp server, which should correct that ... I had setup that .hidden directory to be excluded though, not sure why it was bothering things :( On Mon, 4 Jun 2001, bpalmer wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > However, it seems that the mirrors have a lot more stuff: > > ftp://postgresql.readysetnet.com/pub/postgresql/dev/ shows dozens > > of files back to 7.1beta6, and so do the other several I checked in > > a random sample. Is the update mechanism failing to cause old files > > to be removed from the mirrors? > > Found the problem. Since rsync gets a perms denied from .hidden, it > refuses to delete files. > > root@seraph:/root# ./rsync-postgres-ftp > receiving file list ... opendir(.hidden): Permission denied > done > IO error encountered - skipping file deletion > wrote 105 bytes read 20762 bytes 2782.27 bytes/sec > total size is 521221478 speedup is 24978.27 > > When I changed the script to: > > #/usr/local/bin/rsync -avz --delete hub.org::postgresql-ftp > /mnt/ftpd/pub/postgresql > /usr/local/bin/rsync -avz --ignore-errors --delete > hub.org::postgresql-ftp /mnt/ftpd/pub/postgresql > > It worked. People need to either use the --ignore-errors or have the > .hidden folder on the server removed. > > - - Brandon > > > - ---------------------------------------------------------------------------- > b. palmer, bpalmer@crimelabs.net pgp:crimelabs.net/bpalmer.pgp5 > > -----BEGIN PGP SIGNATURE----- > Version: PGPfreeware 5.0i for non-commercial use > Charset: noconv > > iQA/AwUBOxxDFPYgmKoG+YbuEQLeiACeIhRJQ0HTZQCJc+aqHzqSfTods7IAnjEO > m9vtW2WRh3PMPXdlWeEBzTzY > =u6ep > -----END PGP SIGNATURE----- > > > > ---------------------------(end of broadcast)--------------------------- > TIP 3: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly > Marc G. Fournier ICQ#7615664 IRC Nick: Scrappy Systems Administrator @ hub.org primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org
В списке pgsql-hackers по дате отправления: