Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: Problems with ssh/telnet/ftp login: windows error 5 Date: Fri, 17 Jun 2005 15:54:00 +0200 Message-ID: <59CA32C0B391A84FAE3F37A8304DF75D046B5012@bbnexc02.emea.cpqcorp.net> From: "Zecha, Holger" To: X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id j5HDtU1d023537 Hello, After doing a update I'm unable to login using ssh protocol v2 and Password authentication. The login using private/public key still works fine. I'm also not able to do a telnet and/or ftp to the system. I traced the issue down to login.exe, which shows the following errors: 20 20 [unknown (0x998)] login 2436 _cygtls::remove: wait 0x0 3850 3870 [unknown (0x998)] login 2436 _cygtls::remove: removed 0x1941F084 element 2 1654494 1658364 [main] login 2436 fhandler_tty_slave::read: reading 14 bytes (vtime 0) 1018 1659382 [main] login 2436 fhandler_tty_slave::read: 14=read(4105DE, 1010) 789 1660171 [main] login 2436 readv: 14 = readv (0, 0x22EBF0, 1), errno 9 17166 1677337 [main] login 2436 normalize_posix_path: src /etc/passwd 670 1678007 [main] login 2436 normalize_posix_path: /etc/passwd = normalize_posix_path (/etc/passwd) 700 1678707 [main] login 2436 mount_info::conv_to_win32_path: conv_to_win32_path (/etc/passwd) 780 1679487 [main] login 2436 set_flags: flags: binary (0x2) 801 1680288 [main] login 2436 mount_info::conv_to_win32_path: src_path /etc/passwd, dst C:\programme\cygwin\etc\passwd, flags 0xA, rc 0 1217 1681505 [main] login 2436 symlink_info::check: not a symlink 606 1682111 [main] login 2436 symlink_info::check: 0 = symlink.check (C:\programme\cygwin\etc\passwd, 0x22E6D0) (0xA) 1081 1683192 [main] login 2436 set_privilege: 1 = set_privilege ((token 15C) SeChangeNotifyPrivilege, 1) 1893 1685085 [main] login 2436 path_conv::check: this->path(C:\programme\cygwin\etc\passwd), has_acls(1) 1451 1686536 [main] login 2436 etc::test_file_change: FindFirstFile succeeded 69262 1755798 [main] login 2436 pwdgrp::load: /etc/passwd curr_lines 8 1266 1757064 [main] login 2436 pwdgrp::load: /etc/passwd load succeeded 835 1757899 [main] login 2436 open: open (/etc/nologin, 0x0) 658 1758557 [main] login 2436 normalize_posix_path: src /etc/nologin 733 1759290 [main] login 2436 normalize_posix_path: /etc/nologin = normalize_posix_path (/etc/nologin) 750 1760040 [main] login 2436 mount_info::conv_to_win32_path: conv_to_win32_path (/etc/nologin) 688 1760728 [main] login 2436 set_flags: flags: binary (0x2) 634 1761362 [main] login 2436 mount_info::conv_to_win32_path: src_path /etc/nologin, dst C:\programme\cygwin\etc\nologin, flags 0xA, rc 0 1104 1762466 [main] login 2436 symlink_info::check: GetFileAttributes (C:\programme\cygwin\etc\nologin) failed 859 1763325 [main] login 2436 geterrno_from_win_error: windows error 2 == errno 2 1408 1764733 [main] login 2436 symlink_info::check: GetFileAttributes (C:\programme\cygwin\etc\nologin.lnk) failed 680 1765413 [main] login 2436 geterrno_from_win_error: windows error 2 == errno 2 655 1766068 [main] login 2436 symlink_info::check: 0 = symlink.check (C:\programme\cygwin\etc\nologin, 0x22C630) (0xA) 717 1766785 [main] login 2436 mount_info::conv_to_win32_path: conv_to_win32_path (/etc) 702 1767487 [main] login 2436 set_flags: flags: binary (0x2) 701 1768188 [main] login 2436 mount_info::conv_to_win32_path: src_path /etc, dst C:\programme\cygwin\etc, flags 0xA, rc 0 952 1769140 [main] login 2436 symlink_info::check: not a symlink 681 1769821 [main] login 2436 symlink_info::check: 0 = symlink.check (C:\programme\cygwin\etc, 0x22C630) (0xA) 799 1770620 [main] login 2436 path_conv::check: this->path(C:\programme\cygwin\etc\nologin), has_acls(1) 627 1771247 [main] login 2436 build_fh_pc: fh 0x61821DC8 1000 1772247 [main] login 2436 fhandler_base::open: (C:\programme\cygwin\etc\nologin, 0x100000) 4262 1776509 [main] login 2436 seterrno_from_win_error: /netrel/src/cygwin-1.5.17-1/winsup/cygwin/fhandler.cc:666 windows error 2 1046 1777555 [main] login 2436 geterrno_from_win_error: windows error 2 == errno 2 740 1778295 [main] login 2436 __set_errno: void seterrno_from_win_error(const char*, int, long unsigned int):307 val 2 757 1779052 [main] login 2436 fhandler_base::open: C0000034 = NtCreateFile (0x0, 80100000, C:\programme\cygwin\etc\nologin, io, NULL, 0, 7, 1, 20, NULL, 0) 882 1779934 [main] login 2436 fhandler_base::open: 0 = fhandler_base::open (C:\programme\cygwin\etc\nologin, 0x100000) 683 1780617 [main] login 2436 fhandler_base::open_fs: 0 = fhandler_disk_file::open (C:\programme\cygwin\etc\nologin, 0x0) 772 1781389 [main] login 2436 open: -1 = open (/etc/nologin, 0x0) 703 1782092 [main] login 2436 fhandler_tty_slave::tcsetattr: (1034): tty output_mutex: waiting -1 ms 727 1782819 [main] login 2436 fhandler_tty_slave::tcsetattr: (1034): tty output_mutex: acquired 685 1783504 [main] login 2436 fhandler_tty_slave::tcsetattr: (1036): tty output_mutex released 2085 1785589 [main] login 2436 fhandler_tty_slave::write: tty0, write(4010C8, 9) 659 1786248 [main] login 2436 fhandler_tty_slave::write: (682): tty output_mutex: waiting -1 ms 652 1786900 [main] login 2436 fhandler_tty_slave::write: (682): tty output_mutex: acquired 720 1787620 [main] login 2436 fhandler_tty_slave::write: waited 9000 ms for output_done_event, WFSO 0 766 1788386 [main] login 2436 fhandler_tty_slave::write: (725): tty output_mutex released 7931 1796317 [main] login 2436 readv: readv (0, 0x22EB60, 1) blocking, sigcatchers 1 911 1797228 [main] login 2436 readv: no need to call ready_for_read 871 1798099 [main] login 2436 fhandler_tty_slave::read: read(4105D0, 1024) handle 0x2B0 2475251 4273350 [main] login 2436 fhandler_tty_slave::read: reading 8 bytes (vtime 0) 1093 4274443 [main] login 2436 fhandler_tty_slave::read: 8=read(4105D8, 1016) 611 4275054 [main] login 2436 readv: 8 = readv (0, 0x22EB60, 1), errno 2 4979 4280033 [main] login 2436 fhandler_tty_slave::write: tty0, write(22CFF0, 1) 686 4280719 [main] login 2436 fhandler_tty_slave::write: (682): tty output_mutex: waiting -1 ms 696 4281415 [main] login 2436 fhandler_tty_slave::write: (682): tty output_mutex: acquired 694 4282109 [main] login 2436 fhandler_tty_slave::write: waited 1000 ms for output_done_event, WFSO 0 596 4282705 [main] login 2436 fhandler_tty_slave::write: (725): tty output_mutex released 1689 4284394 [main] login 2436 fhandler_tty_slave::tcsetattr: (1034): tty output_mutex: waiting -1 ms 595 4284989 [main] login 2436 fhandler_tty_slave::tcsetattr: (1034): tty output_mutex: acquired 655 4285644 [main] login 2436 fhandler_tty_slave::tcsetattr: (1036): tty output_mutex released 674 4286318 [main] login 2436 extract_nt_dom_user: pw_gecos 410A42 (U-BOMBER\Administrator,S-1-5-21-583907252-813497703-1547161642-500) 627 4286945 [main] login 2436 cygwin_logon_user: LogonUserA (Administrator, BOMBER, test123, ...) 3274 4290219 [main] login 2436 seterrno_from_win_error: /netrel/src/cygwin-1.5.17-1/winsup/cygwin/security.cc:135 windows error 5 1438 4291657 [main] login 2436 geterrno_from_win_error: windows error 5 == errno 13 769 4292426 [main] login 2436 __set_errno: void seterrno_from_win_error(const char*, int, long unsigned int):307 val 13 1873 4294299 [main] login 2436 fhandler_tty_slave::write: tty0, write(4101C8, 16) 718 4295017 [main] login 2436 fhandler_tty_slave::write: (682): tty output_mutex: waiting -1 ms 577 4295594 [main] login 2436 fhandler_tty_slave::write: (682): tty output_mutex: acquired 787 4296381 [main] login 2436 fhandler_tty_slave::write: waited 16000 ms for output_done_event, WFSO 0 610 4296991 [main] login 2436 fhandler_tty_slave::write: (725): tty output_mutex released 8006 4304997 [main] login 2436 fhandler_tty_slave::write: tty0, write(4101C8, 7) 841 4305838 [main] login 2436 fhandler_tty_slave::write: (682): tty output_mutex: waiting -1 ms 712 4306550 [main] login 2436 fhandler_tty_slave::write: (682): tty output_mutex: acquired 711 4307261 [main] login 2436 fhandler_tty_slave::write: waited 7000 ms for output_done_event, WFSO 0 633 4307894 [main] login 2436 fhandler_tty_slave::write: (725): tty output_mutex released 4112 4312006 [main] login 2436 readv: readv (0, 0x22EBF0, 1) blocking, sigcatchers 1 599 4312605 [main] login 2436 readv: no need to call ready_for_read 657 4313262 [main] login 2436 fhandler_tty_slave::read: read(4105D0, 1024) handle 0x2B0 3599409 7912671 [unknown (0x548)] login 2436 _cygtls::remove: wait 0xFFFFFFFF Has anybody a idea which is causing the windows error 5? 3274 4290219 [main] login 2436 seterrno_from_win_error: /netrel/src/cygwin-1.5.17-1/winsup/cygwin/security.cc:135 windows error 5 1438 4291657 [main] login 2436 geterrno_from_win_error: windows error 5 == errno 13 769 4292426 [main] login 2436 __set_errno: void seterrno_from_win_error(const char*, int, long unsigned int):307 val 13 1873 4294299 [main] login 2436 fhandler_tty_slave::write: tty0, write(4101C8, 16) Thanks Holger -- 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/