[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FTP broken



On Tue, Aug 03, 1999 at 01:58:14PM +0200, Assar Westerlund wrote:
> Brian A May <bmay@dgs.monash.edu.au> writes:
> > Any body experienced problems with ftp? Not only doesn't it work,
> > but (for me) it reports the wrong version number (normally
> > this would indicate an installation error, but everything looks
> > OK to me).
> 
> It should report the correct version.  Are you sure you're not using
> some old shared library or something like that?

Not that I am aware of... Does the following look correct to you?

[545] [snoopy:bam] ~/cvswork/heimdal/build/appl/ftp >ldd /usr/local/lib/heimdal/bin/ftp
        libgssapi.so.0 => /usr/local/lib/heimdal/lib/libgssapi.so.0 (0x4000c000)        libresolv.so.2 => /lib/libresolv.so.2 (0x40016000)
        libkrb5.so.3 => /usr/local/lib/heimdal/lib/libkrb5.so.3 (0x40026000)
        libasn1.so.1 => /usr/local/lib/heimdal/lib/libasn1.so.1 (0x4004d000)
        libdes.so.0 => /usr/local/lib/heimdal/lib/libdes.so.0 (0x4006a000)
        libroken.so.0 => /usr/local/lib/heimdal/lib/libroken.so.0 (0x4007b000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x40086000)
        libreadline.so.2 => /lib/libreadline.so.2 (0x400b3000)
        libncurses.so.3.4 => /lib/libncurses.so.3.4 (0x400de000)
        libc.so.6 => /lib/libc.so.6 (0x40123000)
        libncurses.so.4 => /lib/libncurses.so.4 (0x401c8000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

LATER: I suspect the problem may be because the version number is stored
in the Makefile. When the Makefile changes, it doesn't automatically
cause the rest of the source files to be rebuilt (I use CVS). I probably
should get into the habbit of typing "make clean" before "make".

> > [566] [silas-2:bam] ~/cvswork >ftp snoopy.apana.org.au
> > Connected to snoopy.apana.org.au.
> > 220 snoopy FTP server (Version 6.00+heimdal-0.1h) ready.
> > Trying GSSAPI...
> > zsh: segmentation fault  ftp snoopy.apana.org.au
> 
> Thanks for the bug report.  The following patch should fix the
> problem.

Thanks. It is now working again:

[504] [snoopy:bam] /usr/local/lib/heimdal/lib >/usr/local/lib/heimdal/bin/ftp snoopy
Connected to snoopy.apana.org.au.
220 snoopy FTP server (Version 6.00+heimdal-0.1h) ready.
Trying GSSAPI...
Authentication successful.

Name (snoopy:bam):
S:232-Linux snoopy 2.2.6 #2 Fri Apr 23 21:35:43 EST 1999 i486 unknown
S:232-
S:232-Copyright (C) 1993-1999 Software in the Public Interest, and others
S:232-
S:232-Most of the programs included with the Debian GNU/Linux system are
S:232-freely redistributable; the exact distribution terms for each program
S:232-are described in the individual files in /usr/doc/*/copyright
S:232-
S:232-Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
S:232-permitted by applicable law.
S:232 User bam logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>

-- 
Brian May <bam@snoopy.apana.org.au>