Article delegate-en/3480 of [1-5098] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]

Newsgroups: mail-lists.delegate-en

ftp/sftp gateway not working
04 Sep 2006 08:39:39 GMT     "Gsandtner Michael" <psagqbdyi-jq4vg36mb5h6.ml@delegate.org>

Since there is no answer on my question 3472, I try it again. May be the subject was confusing.
If I connect via ftp to delegate, ftp client says: "421 Service not available, remote server has closed connection".
Log of delegate below.

The http/sftp Gateway works fine.

Please help.

Best Regards --Michi

[root@lxentw1 wftp]# ./linux-dg -P9021 SERVER=ftp MOUNT="/* sftp://wulkan.host.magwien.gv.at/*" ADMIN=gsa@..at -f -v
09/04 10:29:11.13 [426] 0+0: ... testing resolver[SYS] with 'WWW.DeleGate.ORG'
09/04 10:29:11.13 [426] 0+0: ... you can suppress this test by RES_WAIT=0
09/04 10:29:11.13 [426] 0+0: ... gethostname(lxentw1.host.magwien.gv.at)
09/04 10:29:11.13 [426] 0+0: configuring default RESOLV ...
09/04 10:29:11.13 [426] 0+0: ... gethostname()='lxentw1.host.magwien.gv.at'
09/04 10:29:11.13 [426] 0+0: ... SYS: lxentw1.host.magwien.gv.at -> 10.152.101.163
09/04 10:29:11.13 [426] 0+0: ... DNS: 10.152.101.163 -> lxentw1.host.magwien.gv.at
09/04 10:29:11.13 [426] 0+0: ... DNS available
09/04 10:29:11.13 [426] 0+0: ... NIS not available (no default domain)
09/04 10:29:11.13 [426] 0+0: ... export RES_ORDER=CFD
09/04 10:29:11.13 [426] 0+0: export RESOLV=cache,file,dns (set by default)
09/04 10:29:11.14 [426] 0+0: --INITIALIZATION START: 9.2.3 on Linux/2.4.21-40.ELsmp--
09/04 10:29:11.14 [426] 0+0: BINSHELL=/bin/sh
09/04 10:29:11.14 [426] 0+0: server_open(delegate,:9021,listen=20)
09/04 10:29:11.14 [426] 0+0: server_open(delegate,:9021) BOUND
09/04 10:29:11.14 [426] 0+0: DGROOT=/var/spool/delegate-nobody^M
09/04 10:29:11.14 [426] 0+0: <DeleGate/9.2.3> [426] -P9021 READY^M
<DeleGate/9.2.3> [426] -P9021 READY
Config: Linux/2.4.21-40.ELsmp; FileSize-Bits=32/64,32/32,32
DGROOT=/var/spool/delegate-nobody
ADMIN=gsa@..at
AIST-Product-ID: 2000-ETL-198715-01, H14PRO-049, H15PRO-165, H18PRO-443
Copyright (c) 1994-2000 Yutaka Sato and ETL,AIST,MITI
Copyright (c) 2001-2006 National Institute of Advanced Industrial Science and Technology (AIST)
09/04 10:29:11.14 [426] 0+0: PORT= 9021/8 (35,61)
09/04 10:29:11.14 [426] 0+0: OWNER=nobody => OWNER=nobody/nobody(nobody/nobody)
09/04 10:29:11.14 [426] 0+0: REMITTABLE = ftp,ftps
09/04 10:29:11.14 [426] 0+0: --- [z] 82BB988 libz.so
09/04 10:29:11.14 [426] 0+0: ---- [z] loaded 7 syms, unknown=0, already=0
09/04 10:29:11.14 [426] 0+0: #### gzip/gunzip = dynamically linked
09/04 10:29:11.14 [426] 0+0: ADMIN=gsa@..at protocol=ftp(specialist)
09/04 10:29:11.14 [426] 0+0: #### CACHE DISABLED #### Cache directory seems not exist: /var/spool/delegate-nobody/cache
09/04 10:29:11.14 [426] 0+0: MOUNT[0]X[3] /-/builtin/icons/* = default
09/04 10:29:11.14 [426] 0+0: MOUNT[1]X[4] /-/* = forbidden,from=!.RELIABLE,default
09/04 10:29:11.14 [426] 0+0: MOUNT[2]X[0] /-* = default
09/04 10:29:11.14 [426] 0+0: MOUNT[3]X[1] /=* = default
09/04 10:29:11.14 [426] 0+0: MOUNT[4]X[6] //* = default
09/04 10:29:11.14 [426] 0+0: MOUNT[5]X[2] /* sftp://wulkan.host.magwien.gv.at/*
09/04 10:29:11.14 [426] 0+0: MOUNT[6]X[5] /* file:/-stab-/* !asproxy,default
09/04 10:29:11.14 [426] 0+0: env[33] LIBPATH=.;/home/gsa/wftp;/var/spool/delegate-nobody/lib;/home/gsa/wftp/..;/var/spool/delegate-nobody/etc
09/04 10:29:11.14 [426] 0+0: env[35] RESOLV=cache,file,dns
09/04 10:29:11.14 [426] 0+0: arg[2] SERVER=ftp
09/04 10:29:11.14 [426] 0+0: arg[3] MOUNT=/* sftp://wulkan.host.magwien.gv.at/*
09/04 10:29:11.14 [426] 0+0: arg[4] ADMIN=gsa@..at
09/04 10:29:11.14 [426] 0+0: DELEGATE_Modified[1]: 44fbe3d7 000000000X
09/04 10:29:11.14 [426] 0+0: --INITIALIZATION DONE: 9.2.3 on Linux/2.4.21-40.ELsmp--
09/04 10:29:15.26 [437] 1+0: -- Fork(OnetimeServer): 426 -> 437
09/04 10:29:15.26 [437] 1+0: (0) accepted [45] -@[10.152.101.126]etna.host.magwien.gv.at:56033 (0.004s)(1)
09/04 10:29:15.26 [437] 1+0: PATH: ftp://-:21!lxentw1.host.magwien.gv.at:9021!etna.host.magwien.gv.at:56033!anonymous@etna.host.magwien.gv.at;1157358555
09/04 10:29:15.28 [437] 1+0: FTP server ftp://-:21/
09/04 10:29:15.28 [437] 1+0: *** / => sftp://wulkan.host.magwien.gv.at/ ***
09/04 10:29:15.28 [437] 1+0: MOUNTED-TO: //wulkan.host.magwien.gv.at/
09/04 10:29:15.28 [437] 1+0: -SFTPGW:CWD set FS->fs_proto=sftp
09/04 10:29:15.28 [437] 1+0: -- putBuiltinHTML: empty ftp-banner-postfix.dhtml
09/04 10:29:15.28 [437] 1+0: bind_insock(15,10.152.101.163,0) = 0, errno=0
09/04 10:29:15.28 [437] 1+0: ## connect[15] TIMEOUT(1000)
09/04 10:29:15.28 [437] 1+0: ### IDENT CONNECT(etna.host.magwien.gv.at:113) TIMEOUT(1000ms) (110)
09/04 10:29:15.28 [437] 1+0: #### no authorization required
09/04 10:29:15.28 [437] 1+0/1: #### AUTH GSSAPI
09/04 10:29:15.28 [437] 1+0/1: Unknown request: AUTH GSSAPI^M
09/04 10:29:15.28 [437] 1+0/2: #### AUTH KERBEROS_V4
09/04 10:29:15.28 [437] 1+0/2: Unknown request: AUTH KERBEROS_V4^M
09/04 10:29:15.28 [437] 1+0/2: ## delaying 2s on continuous error * 2/2
09/04 10:29:21.18 [437] 1+0/4: FTP LOGIN FROM etna.host.magwien.gv.at TO root@localhost
09/04 10:29:21.18 [437] 1+0/4: -SFTPGW:change_server REAL_PROTO=sftp <-FS
09/04 10:29:21.18 [437] 1+0/4: PATH: ftp://localhost:22!lxentw1.host.magwien.gv.at:9021!etna.host.magwien.gv.at:56033!anonymous@etna.host.magwien.gv.at;1157358555
09/04 10:29:21.20 [437] 1+0/4: FTP server ftp://localhost:22/
09/04 10:29:21.20 [437] 1+0/4: FTPHOPS: 1 [8/45 - -1/-1]
09/04 10:29:21.20 [437] 1+0/4: ---- CC connect got -1
09/04 10:29:21.20 [475] 1+0/4: -- Fork(SftpGW): 437 -> 475
09/04 10:29:21.20 [437] 1+0/4: -SFTPGW:connect_serv REAL_PROTO=sftp ->FS
09/04 10:29:21.20 [437] 1+0/4: willSTLS_SV: ServerFlags=10
09/04 10:29:23.84 [437] 1+0/4: bind_insock(16,10.152.101.163,0) = 0, errno=0
09/04 10:29:23.84 [437] 1+0/4: ## connect[16] TIMEOUT(1000)
09/04 10:29:23.84 [437] 1+0/4: ### IDENT CONNECT(etna.host.magwien.gv.at:113) TIMEOUT(1000ms) (110)
09/04 10:29:23.84 [437] 1+0/4: ## FTP_delayReject.1 PASS [root][****]
09/04 10:29:23.84 [437] 1+0/4: ####LS cannot open /var/spool/delegate-nobody/act/delay/13/10.152.101.126:etna.host.magwien.gv.at
09/04 10:29:23.84 [437] 1+0/4: disconnected [45] -@[10.152.101.126]etna.host.magwien.gv.at:56033 (8.582s)(0)

Mit freundlichen Gr館en 

D.I. Michael Gsandtner 
Magistrat der Stadt Wien, MA 14, Referat Infrastruktur
A 1082 Wien, Rathausstraße 1 
Email: gsa@adv.magwien.gv.at 
Telefon: +43 0 0000 0000F 
  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V