This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

proftpd hang (1.2.9rc1-2 on 1.3.22)


Hello

I have problems using proftpd 1.2.9rc1-2 (cygwin1.dll 1.3.22).

I'm able to start proftpd as service an even to log in (as
administrator). Some commands (like pwd) work fine.

But when I try to get some bytes (eg with a ls -l) I get a hang after
the last bytes.  Well not exactly a hang but i have to wait for ~6
min after a simple ls to get my prompt back. The same applies when I
do a get "file".

I attach an example session, the /etc/proftpd.conf and the cygcheck -s
output.

(The standard ftpd works fine but I need the "DefaultRoot ~" setting)

What can I do to solve this issue?

Thanks in advance

Bruno


==================================================

Administrator@foo ~
$ ftp localhost
Connected to foo.
220 ProFTPD 1.2.9rc1 Server (ProFTPD Default Installation) [foo]
Name (localhost:Administrator):
331 Password required for Administrator.
Password:
230 User Administrator logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> pwd
257 "/" is current directory.
ftp> ls -l
200 PORT command successful
150 Opening ASCII mode data connection for file list
-rwxr-xr-x   1 Administrators None            0 Jun 27 06:06 hello.txt

(after ~6 min or so)
226 Transfer complete.

==================================================
ServerName			"ProFTPD Default Installation"
ServerType			standalone
DefaultServer			on
Port				21
Umask				022
MaxInstances			30
DefaultRoot ~
<Directory />
  AllowOverwrite		on
</Directory>
==================================================

Administrator@foo ~
$ pwd
/cygdrive/c/DataPriv/home

Administrator@foo ~
$ cd /home/Administrator/

Administrator@foo /home/Administrator
$ ls -l
total 0
-rwxr-xr-x    1 Administ None            0 Jun 27 08:06 hello.txt

Administrator@foo /home/Administrator
==================================================
$ net start
These Windows NT services are started:

   Apache2
   Ati HotKey Poller
   Cardware service
   Computer Browser
   cron
   CYGWIN inetd
   EventLog
   Hibernation
   Messenger
   Net Logon
   Plug and Play
   proftpd
   Protected Storage
   Remote Procedure Call (RPC) Service
   Server
   SNMP
   Spooler
   TCP/IP NetBIOS Helper
   Windows Management
   Windows Time Service
   Workstation

The command completed successfully.
==================================================
I installed with:
cygrunsrv --install proftpd --path /usr/sbin/proftpd --args --nodaemon --termsig
TERM --shutdown

==================================================
Cygwin Win95/NT Configuration Diagnostics
Current System Time: Thu Jul 03 22:06:41 2003

Windows NT Ver 4.0 Build 1381 Service Pack 6

Path:	c:\apps\cygwin\usr\sbin\
	.
	c:\apps\cygwin\usr\local\bin
	c:\apps\cygwin\bin
	c:\apps\cygwin\bin
	c:\WINNT\system32
	c:\WINNT
	c:\Program Files\CWNT
	c:\WINNT\System32\WBEM
	c:\apps\cygwin\bin\dll
	c:\apps\bin
	c:\apps\perl-5.6.1\bin
	c:\apps\java\j2sdk1.4.1_03\bin
	c:\apps\oracle\jre\1.3.1\bin
	c:\apps\oracle\oes634client\olap\osn632
	c:\apps\oracle\oes634client\bin
	c:\apps\oracle\oes634server\bin
	c:\apps\oracle\ora920client\bin
	c:\apps\oracle\osa640client\bin
	c:\apps\oracle\osa640client\olap\bin
	c:\apps\oracle\owb903\bin
	.
	c:\apps\cygwin\usr\X11R6\bin

c:\apps\cygwin\bin\id.exe output (nontsec)
UID: 500(Administrator)  GID: 513(None)
513(None)

c:\apps\cygwin\bin\id.exe output (ntsec)
UID: 500(Administrator)  GID: 513(None)
513(None)                544(Administrators)

SysDir: C:\WINNT\System32
WinDir: C:\WINNT

HOME = `c:\DataPriv\home'
MAKE_MODE = `unix'
PWD = `/cygdrive/c/DataPriv/home'
USER = `Administrator'

Use `-r' to scan registry

a:  fd           N/A    N/A
c:  hd  NTFS    6194Mb  78% CP CS UN PA FC     SYSTEM
d:  fd           N/A    N/A
f:  cd           N/A    N/A

c:\apps\cygwin                          /                         system
 binmode
c:\apps\cygwin/bin                      /usr/bin                  system
 binmode
c:\apps\cygwin/lib                      /usr/lib                  system
 binmode
c:\apps\cygwin\usr\X11R6\lib\X11\fonts  /usr/X11R6/lib/X11/fonts  system
 binmode
.                                       /cygdrive                 system
 binmode,cygdrive

Found: c:\apps\cygwin\bin\awk.exe
Found: c:\apps\cygwin\bin\bash.exe
Found: c:\apps\cygwin\bin\cat.exe
Found: c:\apps\cygwin\bin\cp.exe
Found: c:\apps\cygwin\bin\cpp.exe
Found: c:\apps\cygwin\bin\find.exe
Found: c:\apps\cygwin\bin\gcc.exe
Found: c:\apps\cygwin\bin\gdb.exe
Found: c:\apps\cygwin\bin\grep.exe
Found: c:\apps\cygwin\bin\ld.exe
Found: c:\apps\cygwin\bin\ls.exe
Found: c:\apps\cygwin\bin\make.exe
Found: c:\apps\cygwin\bin\mv.exe
Found: c:\apps\cygwin\bin\rm.exe
Found: c:\apps\cygwin\bin\sed.exe
Found: c:\apps\cygwin\bin\sh.exe
Found: c:\apps\cygwin\bin\tar.exe

   58k 2002/05/07 c:\apps\cygwin\bin\cygbz2-1.dll
   13k 2003/06/18 c:\apps\cygwin\bin\cygcharset-1.dll
  848k 2003/04/11 c:\apps\cygwin\bin\cygcrypto-0.9.7.dll
  645k 2003/04/11 c:\apps\cygwin\bin\cygcrypto.dll
  551k 2003/04/02 c:\apps\cygwin\bin\cygcurl-2.dll
  380k 2002/07/24 c:\apps\cygwin\bin\cygdb-3.1.dll
  487k 2002/07/24 c:\apps\cygwin\bin\cygdb_cxx-3.1.dll
  136k 2002/10/17 c:\apps\cygwin\bin\cygexpat-0.dll
   61k 2003/06/10 c:\apps\cygwin\bin\cygexslt-0.dll
   45k 2001/04/25 c:\apps\cygwin\bin\cygform5.dll
   35k 2002/01/09 c:\apps\cygwin\bin\cygform6.dll
   76k 2003/03/09 c:\apps\cygwin\bin\cygform7.dll
   28k 2003/03/22 c:\apps\cygwin\bin\cyggdbm-3.dll
   19k 2003/03/22 c:\apps\cygwin\bin\cyggdbm.dll
   15k 2003/03/22 c:\apps\cygwin\bin\cyggdbm_compat-3.dll
   17k 2001/06/28 c:\apps\cygwin\bin\cyghistory4.dll
   20k 2002/10/10 c:\apps\cygwin\bin\cyghistory5.dll
  306k 2002/04/27 c:\apps\cygwin\bin\cyghttpd.dll
  945k 2003/06/18 c:\apps\cygwin\bin\cygiconv-2.dll
   22k 2001/12/13 c:\apps\cygwin\bin\cygintl-1.dll
   28k 2002/09/20 c:\apps\cygwin\bin\cygintl-2.dll
   21k 2001/06/20 c:\apps\cygwin\bin\cygintl.dll
  119k 2002/02/09 c:\apps\cygwin\bin\cygjpeg6b.dll
   61k 2003/03/05 c:\apps\cygwin\bin\cygkpathsea-3.dll
   32k 2003/04/16 c:\apps\cygwin\bin\cygltdl-3.dll
   26k 2001/04/25 c:\apps\cygwin\bin\cygmenu5.dll
   20k 2002/01/09 c:\apps\cygwin\bin\cygmenu6.dll
   48k 2003/03/09 c:\apps\cygwin\bin\cygmenu7.dll
  156k 2001/04/25 c:\apps\cygwin\bin\cygncurses++5.dll
  175k 2002/01/09 c:\apps\cygwin\bin\cygncurses++6.dll
  226k 2001/04/25 c:\apps\cygwin\bin\cygncurses5.dll
  202k 2002/01/09 c:\apps\cygwin\bin\cygncurses6.dll
  284k 2003/03/09 c:\apps\cygwin\bin\cygncurses7.dll
   15k 2001/04/25 c:\apps\cygwin\bin\cygpanel5.dll
   12k 2002/01/09 c:\apps\cygwin\bin\cygpanel6.dll
   31k 2003/03/09 c:\apps\cygwin\bin\cygpanel7.dll
   63k 2003/04/11 c:\apps\cygwin\bin\cygpcre.dll
   61k 2003/04/11 c:\apps\cygwin\bin\cygpcreposix.dll
 1069k 2003/06/02 c:\apps\cygwin\bin\cygperl5_8_0.dll
  168k 2003/02/23 c:\apps\cygwin\bin\cygpng10.dll
  173k 2003/02/23 c:\apps\cygwin\bin\cygpng12.dll
   22k 2002/06/09 c:\apps\cygwin\bin\cygpopt-0.dll
  108k 2001/06/28 c:\apps\cygwin\bin\cygreadline4.dll
  127k 2002/10/10 c:\apps\cygwin\bin\cygreadline5.dll
  176k 2003/04/11 c:\apps\cygwin\bin\cygssl-0.9.7.dll
  165k 2003/04/11 c:\apps\cygwin\bin\cygssl.dll
  281k 2003/02/24 c:\apps\cygwin\bin\cygtiff3.dll
   25k 2002/07/14 c:\apps\cygwin\bin\cygungif-4.dll
  601k 2003/05/19 c:\apps\cygwin\bin\cygwin-ruby16.dll
 3088k 2003/06/11 c:\apps\cygwin\bin\cygxerces-c23.dll
  903k 2003/06/09 c:\apps\cygwin\bin\cygxml2-2.dll
   41k 2002/01/20 c:\apps\cygwin\bin\cygXpm-noX4.dll
   46k 2002/01/20 c:\apps\cygwin\bin\cygXpm-X4.dll
  174k 2003/06/10 c:\apps\cygwin\bin\cygxslt-1.dll
   13k 2003/06/10 c:\apps\cygwin\bin\cygxsltbreakpoint-1.dll
   50k 2002/03/12 c:\apps\cygwin\bin\cygz.dll
  948k 2003/03/18 c:\apps\cygwin\bin\cygwin1.dll
    Cygwin DLL version info:
        DLL version: 1.3.22
        DLL epoch: 19
        DLL bad signal mask: 19005
        DLL old termios: 5
        DLL malloc env: 28
        API major: 0
        API minor: 78
        Shared data: 3
        DLL identifier: cygwin1
        Mount registry: 2
        Cygnus registry name: Cygnus Solutions
        Cygwin registry name: Cygwin
        Program options name: Program Options
        Cygwin mount registry name: mounts v2
        Cygdrive flags: cygdrive flags
        Cygdrive prefix: cygdrive prefix
        Cygdrive default prefix:
        Build date: Tue Mar 18 09:20:11 EST 2003
        CVS tag: dontuse-21
        Shared id: cygwin1S3

  848k 2003/04/11 c:\apps\cygwin\bin\dll\cygcrypto-0.9.7.dll
   50k 2002/03/12 c:\apps\cygwin\bin\dll\cygz.dll
  948k 2003/03/18 c:\apps\cygwin\bin\dll\cygwin1.dll
    Cygwin DLL version info:
        DLL version: 1.3.22
        DLL epoch: 19
        DLL bad signal mask: 19005
        DLL old termios: 5
        DLL malloc env: 28
        API major: 0
        API minor: 78
        Shared data: 3
        DLL identifier: cygwin1
        Mount registry: 2
        Cygnus registry name: Cygnus Solutions
        Cygwin registry name: Cygwin
        Program options name: Program Options
        Cygwin mount registry name: mounts v2
        Cygdrive flags: cygdrive flags
        Cygdrive prefix: cygdrive prefix
        Cygdrive default prefix:
        Build date: Tue Mar 18 09:20:11 EST 2003
        CVS tag: dontuse-21
        Shared id: cygwin1S3

   41k 2002/05/14 c:\apps\cygwin\usr\X11R6\bin\cygPropList-0.dll

Cygwin Package Information
Package                 Version
_update-info-dir        00170-1
a2ps                    4.12-1
apache                  1.3.24-5
ash                     20020731-1
autoconf                2.54-1
autoconf-devel          2.57-1
autoconf-stable         2.13-4
automake                1.7.1-1
automake-devel          1.7.5-1
automake-stable         1.4p5-5
base-files              1.3-1
base-passwd             1.1-1
bash                    2.05b-9
binutils                20030307-1
bison                   20030307-1
byacc                   1.9-1
bzip2                   1.0.2-2
chkconfig               1.2.24h-1
clear                   1.0-1
cron                    3.0.1-10
crypt                   1.0-1
ctags                   5.5-4
curl                    7.10.4-1
cvs                     1.11.5-1
cygrunsrv               0.96-1
cygutils                1.1.4-2
cygwin                  1.3.22-1
cygwin-doc              1.3-4
db3.1                   3.1.17-2
diff                    1.0-1
diffutils               2.8.1-1
docbook-xml42           4.2-1
docbook-xsl             1.61.3-1
doxygen                 1.2.18-1
dpkg                    1.10.4-2
ed                      0.2-1
emacs                   21.2-12
emacs-el                21.2-12
emacs-X11               21.2-12
enscript                1.6.3-3
exim                    4.20-1
expat                   1.95.5-1
fetchmail               6.2.2-1
figlet                  2.2-1
file                    4.02-1
fileutils               4.1-1
findutils               4.1.7-4
flex                    2.5.4-2
fortune                 1.8-2
fvwm                    2.4.7-2
gawk                    3.1.2-3
gcc                     3.2-3
gcc-mingw               20020817-5
gdb                     20030303-1
gdbm                    1.8.3-1
gettext                 0.11.5-1
gettext-devel           0.11.5-1
ghostscript             7.05-2
ghostscript-base        7.05-2
ghostscript-x11         7.05-2
gnugo                   3.2-1
grep                    2.5-1
groff                   1.18.1-2
gzip                    1.3.3-4
indent                  2.2.8-1
inetutils               1.3.2-22
initscripts             0.9-1
jpeg                    6b-7
less                    378-1
lesstif                 0.93.41-1
libbz2_1                1.0.2-2
libcharset1             1.8-3
libdb3.1                3.1.17-2
libgdbm                 1.8.0-5
libgdbm-devel           1.8.3-1
libgdbm3                1.8.3-1
libiconv2               1.8-3
libintl                 0.10.38-3
libintl1                0.10.40-1
libintl2                0.11.5-1
libkpathsea3            2.0.2-1
libltdl3                1.5-1
libncurses-devel        5.3-1
libncurses5             5.2-1
libncurses6             5.2-8
libncurses7             5.3-1
libpcre                 4.1-1
libpng                  1.2.5-1
libpng10                1.0.15-1
libpng12                1.2.5-1
libpopt0                1.6.4-4
libPropList             0.10.1-3
libreadline4            4.1-2
libreadline5            4.3-2
libtool                 20020705-1
libtool-devel           1.5-1
libtool-stable          1.4.3-1
libungif                4.1.0-2
libxerces-c23           2.3.0-2
libxml2                 2.5.7-1
libxslt                 1.0.30-2
links                   0.96-1
login                   1.9-5
lynx                    2.8.4-5
m4                      1.4-1
make                    3.80-1
man                     1.5j-2
mc                      4.6.0-4
mingw-runtime           3.0-1
mktemp                  1.4-1
more                    2.11o-1
ncftp                   3.1.4-1
ncurses                 5.3-1
ncurses-demo            5.3-1
netcat                  1.10-1
newlib-man              20020801
opengl                  1.1.0-6
openssh                 3.6.1p1-2
openssl                 0.9.7b-1
openssl-devel           0.9.7b-1
openssl096              0.9.6j-1
patch                   2.5.8-3
patchutils              0.2.22-2
pcre-doc                4.3-1
pdksh                   5.2.14-2
perl                    5.8.0-3
perl_manpages           5.8.0-3
pkgconfig               0.15.0-1
popt                    1.6.4-4
procmail                3.22-7
procps                  010801-2
proftpd                 1.2.9rc1-2
python                  2.2.3-2
rcs                     5.7-3
readline                4.3-2
robots                  2.0-1
rpm                     4.1-1
rpm-doc                 4.1-1
rsync                   2.5.6-1
ruby                    1.6.8-2
rxvt                    2.7.10-3
sed                     4.0.7-1
sh-utils                2.0.15-3
sharutils               4.2.1-2
shutdown                1.3-1
squid                   2.4.STABLE7-1
ssmtp                   2.38.7-3
sunrpc                  4.0-1
sysvinit                2.84-3
tar                     1.13.25-1
tcltk                   20030214-1
tcp_wrappers            7.6-1
tcsh                    6.12.00-5
termcap                 20020930-1
terminfo                5.3-2
tetex                   2.0.2-1
tetex-base              2.0.2-1
tetex-bin               2.0.2-1
tetex-doc               2.0.2-1
tetex-extra             2.0.2-1
tetex-tiny              2.0.2-1
tetex-x11               2.0.2-1
texinfo                 4.2-4
textutils               2.0.21-1
tidy                    030201-1
tiff                    3.6.0-1
time                    1.7-1
ttcp                    19980512-1
unzip                   5.50-2
vim                     6.2-1
w32api                  2.3-1
wget                    1.8.2-2
which                   1.5-1
whois                   4.6.2-1
WindowMaker             0.80.0-2
Xaw3d                   1.5-1
xerces-c                2.3.0-2
xerces-c-doc            2.3.0-2
XFree86-base            4.2.0-1
XFree86-bin             4.2.0-3
XFree86-etc             4.2.0-1
XFree86-fenc            4.2.0-2
XFree86-fnts            4.2.0-2
XFree86-lib             4.2.0-5
XFree86-man             4.2.0-1
XFree86-startup-scripts 4.2.0-4
XFree86-xserv           4.2.0-42
XFree86-xwinclip        4.2.0-8
xmlto                   0.0.14-1
xpm-nox                 4.2.0-1
zip                     2.3-2
zlib                    1.1.4-1
zsh                     4.0.6-5

Use -h to see help about each section


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]