Hello Jason and all the rest of you >Sorry, but I cannot reproduce this problem under NT 4.0 SP 5 or 2000 >SP3.
I did reproduce it on 3 Systems, all NT4 SP6. > 1. start an interactive session under the LocalSystem account via > sshd or using the "at" trick. > 2. under LocalSystem, run strace or gdb on proftpd to see where it's > hanging Thanks for hint. I did a strace. See results at the end. >BTW, did you remember to comment out the ftp line in /etc/inetd.conf? Yes - I did: echo stream tcp nowait root internal echo dgram udp wait root internal discard stream tcp nowait root internal discard dgram udp wait root internal daytime stream tcp nowait root internal daytime dgram udp wait root internal chargen stream tcp nowait root internal chargen dgram udp wait root internal time stream tcp nowait root internal time dgram udp wait root internal #!ftp stream tcp nowait root /usr/sbin/in.proftpd in.proftpd #!ftp stream tcp nowait root /usr/sbin/in.ftpd in.ftpd telnet stream tcp nowait root /usr/sbin/in.telnetd in.telnetd ssh stream tcp nowait root /usr/sbin/in.sshd sshd -i shell stream tcp nowait root /usr/sbin/in.rshd in.rshd -L login stream tcp nowait root /usr/sbin/in.rlogind in.rlogind exec stream tcp nowait root /usr/sbin/in.rexecd in.rexecd talk dgram udp wait root /usr/sbin/in.talkd in.talkd ntalk dgram udp wait root /usr/sbin/in.talkd in.talkd I tried to use proftpd with inetd - but i've got the same hang. What can I do next? Thanks for your Help! Bruno ============================================================ --- CUT 4035 35984056 [main] acce 523 cygwin_select: sel.always_ready 0 4126 35988182 [main] acce 523 start_thread_socket: Handle 0x40 4040 35992222 [main] acce 523 start_thread_socket: Added to readfds 4294 35996516 [main] acce 523 start_thread_socket: exitsock 0x154 4138 36000654 [main] acce 523 start_thread_socket: stuff_start 0x22FC24 4086 36004740 [select_socket] acce 523 thread_socket: stuff_start 0xA06C02C 4041 36008781 [main] acce 523 select_stuff::wait: m 2, ms 30000 ---!!! HERE: ls -l 30035868 64968237 [select_socket] dmin 586 thread_socket: Win32 select returned 1 7699 64975936 [select_socket] dmin 586 thread_socket: s 0xA067E88, testing fd 0 (/dev/tcp) 4134 64980070 [select_socket] dmin 586 thread_socket: read_ready 4164 64984234 [main] dmin 586 select_stuff::wait: woke up. wait_ret 1. verifying 4097 64988331 [main] dmin 586 select_stuff::wait: gotone 1 4077 64992408 [main] dmin 586 select_stuff::wait: returning 0 4095 64996503 [main] dmin 586 select_stuff::cleanup: calling cleanup routines 4064 65000567 [main] dmin 586 socket_cleanup: si 0xA069A80 si->thread 0x610D1BA8 --- CUT 4245 69724990 [main] dmin 586 cygwin_select: 7, 0x22F6F8, 0x0, 0x0, 0x22F700 4386 69729376 [main] dmin 586 dtable::select_read: /dev/tcp fd 6 4155 69733531 [main] dmin 586 cygwin_select: to->tv_sec 180, to->tv_usec 0, ms 180000 4291 69737822 [main] dmin 586 cygwin_select: sel.always_ready 0 4401 69742223 [main] dmin 586 start_thread_socket: Handle 0xB0 4321 69746544 [main] dmin 586 start_thread_socket: Added to readfds 4564 69751108 [main] dmin 586 start_thread_socket: exitsock 0x110 4391 69755499 [main] dmin 586 start_thread_socket: stuff_start 0x22F614 4336 69759835 [main] dmin 586 select_stuff::wait: m 2, ms 180000 4502 69764337 [select_socket] dmin 586 thread_socket: stuff_start 0xA07102C ---!!! HERE hang (for minutes) 29712704 96374341 [win] acce 523 wndproc 275 WM_TIMER 1 0 1598 96375939 [win] acce 523 kill: kill (523, 14) 251 96376190 [win] acce 523 sig_send: pid 523, signal 14, its_me 1 234 96376424 [sig] acce 523 wait_sig: awake 530 96376954 [sig] acce 523 wait_sig: processing signal 14 776 96377730 [sig] acce 523 wait_sig: Got signal 14 782 96378512 [sig] acce 523 sig_handle: signal 14 --- CUT -- 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/