[Ultramonkey-users 107] Re: LVS-DR:FTPについて

Back to archive index

sekig****@gofie***** sekig****@gofie*****
2004年 12月 27日 (月) 16:48:05 JST


お世話になっております。関口です。

桐山様、コメントの程ありがとうございました。

service=noneと設定しましたところ
ipvsadminの結果で、アップされました。
負荷分散もされるようです。

virtual=192.168.2.40:21
        #fallback=127.0.0.1:21
        real=192.168.2.41:21 gate 100
        real=192.168.2.42:21 gate 100
        service=none
        scheduler=sh
        protocol=tcp
        checktype=negotiate

# ipvsadm -L -n
TCP  192.168.2.40:21 sh
  -> 192.168.2.41:21              Route   100    0          0
  -> 192.168.2.42:21              Route   100    0          0

FTPサーバはProftpを使用し、パッシブモードで構築
したいと考えておりますが、
実際にファイルをアップロードしようとすると
以下のように[ftp: connect: No route to host]という
エラーになってしまいます。
直接FTPサーバに接続しますと正常にアップロードできます。
WEBで検索をしておりますが、ファイヤーウォールマークなどを
設定することで現象は改善されるのでしょうか?
ご助言頂ければ幸いでございます。

==
[root @ mail1 root]# ftp 192.168.2.40
Connected to 192.168.2.40.
220 ProFTPD 1.2.10 Server (FTP server) [192.168.2.40]
500 AUTH not understood
500 AUTH not understood
KERBEROS_V4 rejected as an authentication type
Name (192.168.2.40:root): foo
331 Password required for foo.
Password:
230 User foo logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
227 Entering Passive Mode (192,168,2,40,17,181).
ftp: connect: No route to host
ftp> put test.txt
local: test.txt remote: test.txt
227 Entering Passive Mode (192,168,2,40,17,198).
ftp: connect: No route to host
ftp> bye
221 Goodbye.


===直接の場合===
Connected to 192.168.2.41.
220 ProFTPD 1.2.10 Server (FTP server) [192.168.2.41]
500 AUTH not understood
500 AUTH not understood
KERBEROS_V4 rejected as an authentication type
Name (192.168.2.41:root): foo
331 Password required for foo.
Password:
230 User foo logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
227 Entering Passive Mode (192,168,2,41,17,226).
150 Opening ASCII mode data connection for file list
226 Transfer complete.
ftp> put test.txt
local: test.txt remote: test_mail1.txt
227 Entering Passive Mode (192,168,2,41,17,206).
150 Opening BINARY mode data connection for test_mail1.txt
226 Transfer complete.
5 bytes sent in 3.7e-05 seconds (1.3e+02 Kbytes/s)
ftp> ls
227 Entering Passive Mode (192,168,2,41,17,194).
150 Opening ASCII mode data connection for file list
-rw-r--r--   1 (?)      (?)             5 Dec 27 16:37 test.txt
226 Transfer complete.
ftp> bye
221 Goodbye.

-------------------------------------------------------
Takahiro Sekiguchi (関口 高広) sekig****@gofie*****
-------------------------------------------------------






Ultramonkey-users メーリングリストの案内
Back to archive index