Re: [Web-ftp] problems on NetBSD 1.6.2
Status: Beta
Brought to you by:
aball
From: Anthony R. J. B. <an...@su...> - 2004-08-04 14:11:41
|
Anything in the apache error_log? On Wed, Aug 04, 2004 at 02:37:19PM +0200, Pascal Cabaud wrote: > Hello, > > I've some NetBSD servers and I'd like to proxify ingoing FTP > connections for my users. In order to do that, web-ftp.cgi > looks good ;-) > > At this time, I'm testing with my anonymous ftp (on the same machine). > > I've installed web-ftp in my cgi-bin directory, review all shebang in > Perl files, etc. All right, now, when I test, I get the connection page, > I supply the form and... nothing. The CGI open a connection on my ftp > server, the server answers well (tcpdump is my friend) but nothing > appear. I think it is a Unix socket problem... > > Here's some infos (with long lines, sorry): > > ~> uname -sr > NetBSD 1.6.2_STABLE > ~> perl -v > > This is perl, v5.8.4 built for i386-netbsd > [...] > ~> pkg_info | egrep '(perl|p5-)' > perl-5.8.4 Practical Extraction and Report Language > p5-CGI-3.05 Perl5 module for writing forms-based CGI programs > p5-Net-1.15 Perl5 modules to access and use network protocols > p5-Net-SSLeay-1.25nb2 Perl5 module for using OpenSSL > p5-IO-Socket-SSL-0.95nb1 Perl5 SSL socket interface class > p5-libwww-5.76nb1 Perl5 library for WWW access > [...] > (the last package is LWP) > > ~> netstat -lan -f unix > Active UNIX domain sockets > Address Type Recv-Q Send-Q Inode Conn Refs Nextref Addr > [...] > c0dbd4a8 stream 0 0 e444cd78 0 0 0 > /var/spool/sockets/WebFTP/24991 > [...] > > ~> ps ax > PID TT STAT TIME COMMAND > [...] > 24989 ?? ZW 0:00.00 (perl) > 24990 ?? S 0:00.21 ftpd: localhost: anonymous/ftp (ftpd) > 24991 ?? S 0:00.00 /usr/bin/perl /users/www/www2/cgi-bin/web-ftp.cgi > > ~> sudo lsof | more > COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME > [...] > httpd 24757 www 0r VCHR 2,2 0t0 22 /dev/null > httpd 24757 www 1w VCHR 2,2 0t0 22 /dev/null > httpd 24757 www 2w VREG 0,5 31538 813 /var/log/httpd/error_log > httpd 24757 www 3u VREG 0,5 0 309 /var/run/httpd.mm.24081.sem > httpd 24757 www 4u IPv4 0xc0df82f0 0t0 TCP xxx:www->yyy:55858 (ESTABLISHED) > httpd 24757 www 9r PIPE 0xc0c4ba80 16384 ->0xc0c4b480 > [...] > perl 25100 www cwd VDIR 0,7 512 1669168 /users/www/www2/cgi-bin > perl 25100 www txt VREG 0,4 840932 21161 /usr/pkg/bin/perl > perl 25100 www txt VREG 0,4 197300 10478 /usr/libexec/ld.elf_so > perl 25100 www txt VREG 0,4 28479 428571 /usr/lib/libm387.so.0.0 > perl 25100 www txt VREG 0,4 329022 428580 /usr/lib/libm.so.0.1 > perl 25100 www txt VREG 0,4 61407 427926 /usr/lib/libcrypt.so.0.0.1 > perl 25100 www txt VREG 0,4 2337766 427921 /usr/lib/libc.so.12.83.3 > perl 25100 www txt VREG 0,4 16831 83487 /usr/pkg/lib/perl5/5.8.4/i386-netbsd/auto/IO/IO.so > perl 25100 www txt VREG 0,4 1020912 74197 /usr/pkg/lib/perl5/5.8.4/i386-netbsd/CORE/libperl.so > perl 25100 www txt VREG 0,4 21431 83677 /usr/pkg/lib/perl5/5.8.4/i386-netbsd/auto/Socket/Socket.so > perl 25100 www txt VREG 0,4 96744 83509 /usr/pkg/lib/perl5/5.8.4/i386-netbsd/auto/POSIX/POSIX.so > perl 25100 www txt VREG 0,4 22754 428671 /usr/lib/libposix.so.0.1 > perl 25100 www txt VREG 0,4 13760 83468 /usr/pkg/lib/perl5/5.8.4/i386-netbsd/auto/Fcntl/Fcntl.so > perl 25100 www 0r PIPE 0xc0c4bb80 16384 > perl 25100 www 2w PIPE 0xc0c4b480 0 ->0xc0c4ba80 > perl 25100 www 3r VREG 0,7 3815 1721989 /users/www/www2/cgi-bin/webftp/web-ftp.conf > perl 25100 www 4r VREG 0,7 2556 1721972 /users/www/www2/cgi-bin/webftp/lang/english.map > perl 25100 www 5u IPv4 0xc0d1a504 0t0 TCP localhost:60707->localhost:ftp (ESTABLISHED) > perl 25100 www 6u unix 0xc0dbdb38 0t0 /var/spool/sockets/WebFTP/25100 > > I've tried 2.2.1 and 2.3.0 versions. > > Any idea ? > > -- > Pascal CABAUD -------------------- <http://sysadmin.eila.jussieu.fr> > UFR EILA - Universite Paris 7 2 place Jussieu > Service Informatique, Batiment S, 010 75251 Paris Cedex 05 > tel. : (33) 01-44-27-78-35 case 7002 > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > one more big change to announce. We are now OSTG- Open Source Technology > Group. Come see the changes on the new OSTG site. www.ostg.com > _______________________________________________ > Web-ftp-general mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-ftp-general > -- www.suave.net - Anthony Ball - an...@su... OSB - http://rivendell.suave.net/Beer -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Chicken Boo what's the matter with you?? |