[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[debian-users:30996] Re: ftpmirror 1.2l で ftp.jp.debian.org のミラーができません
竜@コンプネットです
| かよこ <kayokok@xxxxxxxxxxxxxxxx> wrote at 2001/12/15 1:11:14
| quote from '[debian-users:30993] Re: ftpmirror 1.2l で ftp.jp.debian.org のミラーができません'
| ___ Message-ID: <200112141608.fBEG8sM04410@xxxxxxxxxxxxxxxxxxxxx>
>
> うーん、少なくとも私の場合、/usr/share/doc/ftpmirror/README.jis.gz を
> 読んで、辛抱強く/etc/ftpmiror/defaut を記述して、script 起動後、
> --test-mode オプション付きで、ftpmirror が吐き出すログをecho をみて調
> 整できましたが。
>
> 考えられることは、/etc/ftpmirror/defaut で/debian-ddtp以下のファイルを
> 獲得しないようしているとしか考えられないのですが、確かログの出力レベル
> も調整できたと思うので、それを厳しくして確認するのもよいかと思います。
ftpmirror のパッケージは、debianディレクトリ用(remote-directory=
/debian)、debian-non-USディレクトリ用(remote-directory=/debian-
non-US)、debian-jpディレクトリ用(remote-directory=/debian-JP)、
debian-ddtpディレクトリ用(remote-directory=/debian-ddtp)というよ
うに個別に指定しています。
その何れでも、ftp-list-method=stat(デフォルトの状態) / ftp-list-
method=list のどちらを使ってもサブディレクトリを取得しません。
/debian-ddtp 以外は ls-lR.gz ファイルがあったので、lslR-file=ls-
lR.gz と指定することで、何とかサブディレクトリが取得できました。
# これも ls-lR, ls-lR.gz ls-lR.patch.gz のどれを指定するのが良い
# のかわかりません。
しかし、/debian-ddtp には ls-lR, ls-lR.gz, ls-lR.patch.gz 何れも
ありません。
の場合でも
--test-mode=1 のログを見ながらやっているのですが、どう見ても
/debian-ddtp だけ
以下に /etc/ftpmirror/default の内容と、コマンド実行結果のログを
載せます。
---- /etc/ftpmirror/default の内容 ----
$ cat /etc/ftpmirror/default
# all ftp session will be listed if ftp-debug is 1.
ftp-debug = 0
# login name for ftp session.
ftp-user = anonymous
# password must be e-mail address.
ftp-pass = anonymous@xxxxxxxxxx
# passive mode for data transfer
# ftp-passive = 1
# all remote files will be listed if debug is 1.
debug = 0
# we don't unlink file. only rename.
unlink = rename
# our home directory.
# home-directory = /ftp
# regexp to GET from remote server.
transfer-file-regexp += !/~$/
transfer-file-regexp += !/\/#/
transfer-file-regexp += !/\/\.#/
transfer-file-regexp += !/\/\.cache/
transfer-file-regexp += !/\/\.message/
transfer-file-regexp += !/\/\.mirror/
transfer-file-regexp += !/\/\.nfs/
transfer-file-regexp += !/\/\.notready/
transfer-file-regexp += !/\/\.in/
transfer-file-regexp += !/\/\.desc\.txt$/
transfer-file-regexp += !/\/core$/
transfer-file-regexp += !/\.core$/
# regexp to GET from remote server.
transfer-directory-regexp += !/~\/$/
transfer-directory-regexp += !/\/lost\+found\/$/
# for Debian
package = Debian
ftp-server = ftp.jp.debian.org
remote-directory = /debian
local-directory = /var/cache/package/debian
unlink = yes
override-directory-regexp += !/\/lost\+found\//
----
---- /debian の取得
$ ftpmirror --test-mode=1 --log-priority=6 --remote-directory=/debian --local-directory=/var/ftp/debian Debian
package Debian started at 2001-12-15 09:12:26
success to login ftp.jp.debian.org/anonymous.
remote directory is /debian.
local directory is /var/ftp/debian
* ./ ... generating local dirinfo ok
* ./ ... no change
FTP session was terminated normally.
package Debian done at 2001-12-15 09:12:28
08:58:20
----
---- /debian の取得 (list-method に list を指定)
$ ftpmirror --test-mode=1 --log-priority=6 --ftp-list-method=list --remote-directory=/debian --local-directory=/var/ftp/debian Debian
package Debian started at 2001-12-15 09:14:38
success to login ftp.jp.debian.org/anonymous.
remote directory is /debian.
local directory is /var/ftp/debian.
* ./ ... generating local dirinfo ok
+ ./Archive-Update-in-Progress-plat.debian.or.jp ... getting
+ ./README ... getting
+ ./README.CD-manufacture ... getting
+ ./README.mirrors.html ... getting
+ ./README.mirrors.txt ... getting
+ ./README.non-US ... getting
* ./README.pgp ... making link creating
* ./dists/ ... creating
* ./dists/ ... no change
* ./dists ... change file mode failed
* ./doc/ ... creating
* ./doc/ ... no change
* ./doc ... change file mode failed
* ./indices/ ... creating
* ./indices/ ... no change
* ./indices ... change file mode failed
+ ./ls-lR ... getting
+ ./ls-lR.gz ... getting
+ ./ls-lR.patch.gz ... getting
* ./pool/ ... creating
* ./pool/ ... no change
* ./pool ... change file mode failed
* ./project/ ... creating
* ./project/ ... no change
* ./project ... change file mode failed
* ./tools/ ... creating
* ./tools/ ... no change
* ./tools ... change file mode failed
* ./ ... total 10 files updated
FTP session was terminated normally.
package Debian done at 2001-12-15 09:14:59
----
---- /debian の取得 (lslR-file に ls-lR.gz を指定)
$ ftpmirror --test-mode=1 --log-priority=6 --lslR-file=ls-lR.gz --remote-directory=/debian --local-directory=/var/ftp/debian Debian
package Debian started at 2001-12-15 09:15:57
success to login ftp.jp.debian.org/anonymous.
remote directory is /debian.
local directory is /var/ftp/debian.
loading ls-lR.gz ... ok
* ./ ... generating local dirinfo ok
+ ./README ... getting
+ ./README.CD-manufacture ... getting
+ ./README.mirrors.html ... getting
+ ./README.mirrors.txt ... getting
+ ./README.non-US ... getting
* ./README.pgp ... making link creating
* ./dists/ ... creating
* ./dists/Debian2.2r4 ... making link creating
+ ./dists/README ... getting
* ./dists/potato/ ... creating
+ ./dists/potato/ChangeLog ... getting
+ ./dists/potato/Contents-alpha.gz ... getting
+ ./dists/potato/Contents-arm.gz ... getting
+ ./dists/potato/Contents-i386.gz ... getting
+ ./dists/potato/Contents-m68k.gz ... getting
+ ./dists/potato/Contents-powerpc.gz ... getting
+ ./dists/potato/Contents-sparc.gz ... getting
:
----
---- /debian-ddtp の取得
$ ftpmirror --test-mode=1 --log-priority=6 --remote-directory=/debian-ddtp --local-directory=/var/ftp/debian-ddtp Debian
package Debian started at 2001-12-15 09:22:27
success to login ftp.jp.debian.org/anonymous.
remote directory is /debian-ddtp.
local directory is /var/ftp/debian-ddtp.
* ./ ... generating local dirinfo ok
* ./ ... no change
FTP session was terminated normally.
package Debian done at 2001-12-15 09:22:30
----
---- /debian-ddtp の取得 (list-method に list を指定)
$ ftpmirror --test-mode=1 --log-priority=6 --ftp-list-method=list --remote-directory=/debian-ddtp --local-directory=/var/ftp/debian-ddtp Debian
ackage Debian started at 2001-12-15 09:23:16
success to login ftp.jp.debian.org/anonymous.
remote directory is /debian-ddtp.
local directory is /var/ftp/debian-ddtp.
* ./ ... generating local dirinfo ok
+ ./README ... getting
* ./README.debian ... making link creating
* ./dists/ ... creating
* ./dists/ ... no change
* ./dists ... change file mode failed
* ./doc ... making link creating
* ./indices ... making link creating
* ./pool ... making link creating
* ./project/ ... creating
* ./project/ ... no change
* ./project ... change file mode failed
* ./tools ... making link creating
* ./ ... total 6 files updated
FTP session was terminated normally.
package Debian done at 2001-12-15 09:23:21
----
____
Nakane Ryuji living at Nagoya
// mailto:ryuu@xxxxxxxxxx
// business http://nagoya.cool.ne.jp/ryuu2/Compnet/
// private http://www.jade.dti.ne.jp/~ryuu/bernese/
// PGP Key fingerprint
// DH/DSS B746 156A 32CA DEB4 AB5B AB6B E634 464C 02EA 4814