Differences

This shows you the differences between the selected revisions of the page.

2009-09-05 2009-12-04
OpenWrt - groups error due to ash shell (Adrian Nicolaiev) old revision restored (martin)
Line 25: Line 25:
You may get this message when connecting to a server for following reasons: You may get this message when connecting to a server for following reasons:
  * You are trying to use WinSCP for a purpose for which it is not designed. [[requirements|WinSCP needs]] a SSH or FTP server to be installed at the other end (on the machine you want to connect to). In particular, you cannot easily use it to connect to another Windows workstation, since Windows does not have an SSH or FTP server included by default. Please refer to [[guide_exchange|FAQ]].   * You are trying to use WinSCP for a purpose for which it is not designed. [[requirements|WinSCP needs]] a SSH or FTP server to be installed at the other end (on the machine you want to connect to). In particular, you cannot easily use it to connect to another Windows workstation, since Windows does not have an SSH or FTP server included by default. Please refer to [[guide_exchange|FAQ]].
-  * You are trying to use [[protocol]] that the server does not support. Particularly you are trying SFTP/SCP (over SSH), but the server supports FTP; or vice versa. Check selected protocol on [[ui_login_session#protocol_group|login dialog]]. +  * You are trying to use [[protocol]] that the server does not support. Particularly you are trying SFTP/SCP (over SSH), but the server supports FTP; or vice versa. Check selected protocol on [[ui_login_session#protocol_group|login dialog]]. Note that WinSCP defaults to SFTP protocol, while most other similar applications default to FTP
-  * The server is running on non-standard port. Please make sure you enter actual port number of [[ui_login_session|login dialog]].+  * The server is running on non-standard port. Please make sure you enter actual port number on [[ui_login_session|login dialog]].
  * You may need to connect through proxy server, but you have not specified one on [[ui_login_proxy|login dialog]].   * You may need to connect through proxy server, but you have not specified one on [[ui_login_proxy|login dialog]].
  * Connection was blocked by firewall. Please refer to [[faq_connection_refused|FAQ]].   * Connection was blocked by firewall. Please refer to [[faq_connection_refused|FAQ]].
- 
- 
If you are trying to use WinSCP to connect to your iPhone or iPod Touch, please refer to [[faq_iphone|FAQ]]. If you are trying to use WinSCP to connect to your iPhone or iPod Touch, please refer to [[faq_iphone|FAQ]].
Line 69: Line 67:
  * Your domain name is new and is not fully distributed to DNS servers yet.   * Your domain name is new and is not fully distributed to DNS servers yet.
  * Connection was blocked by firewall. Please refer to [[faq_connection_refused|FAQ]].   * Connection was blocked by firewall. Please refer to [[faq_connection_refused|FAQ]].
 +  * Problem with DNS server.
 +
 +===== [[no_data_of_requested_type_found]] The requested name is valid, but no data of the requested type was found =====
 +All reasons and hints for [[message_host_does_not_exist|"Host does not exist"]] apply to this error too.
===== [[error_code_4]] General failure; Error code: 4 ===== ===== [[error_code_4]] General failure; Error code: 4 =====
Line 184: Line 186:
===== [[return_code_127]] Command failed with return code 127 (or 255) ===== ===== [[return_code_127]] Command failed with return code 127 (or 255) =====
-You will get the error with [[protocols#scp|SCP protocol]], if command necessary for facilitate operation you were trying to do does not exist on remote server or the shell cannot find it. Typically your get the error for ''scp'' command that is used to transfer files. +You will get the error with [[protocols#scp|SCP protocol]], if command necessary for facilitate operation you were trying to do does not exist on remote server or the shell cannot find it.
- +
-For example: if you are trying to connect to an [[http://openwrt.org|OpenWrt]] enabled router, which uses **ash shell**, you will get a //Command 'groups' failed with return code 127 and error message -ash: groups: not found//. In this case, you may disable **Environment >> SCP/Shell >> Lookup users groups** to avoid this error message.+
If you are not an experienced Unix user, you should first try using [[protocols#sftp|SFTP protocol]] instead. If you are not an experienced Unix user, you should first try using [[protocols#sftp|SFTP protocol]] instead.
Line 193: Line 193:
You can also try to run the respective command from terminal (with the same account that you use with WinSCP), to verify that you can execute it. You may not have sufficient permissions, or the command dependencies may not be installed. You can also try to run the respective command from terminal (with the same account that you use with WinSCP), to verify that you can execute it. You may not have sufficient permissions, or the command dependencies may not be installed.
 +
 +Common situations, in which you may get the error:
 +  * Transferring files fails, because path to ''scp'' command is not in ''PATH'';
 +  * Error appears while logging in, because your *nix distribution lacks ''groups'' command. You can instruct WinSCP not to use the command in [[ui_login_scp#other_options|session settings]].
===== [[not_able_to_determine_application_started]] WinSCP was not able to determine application that was started to open the file. WinSCP cannot watch for changes in the file and thus it will not upload the changed file back ===== ===== [[not_able_to_determine_application_started]] WinSCP was not able to determine application that was started to open the file. WinSCP cannot watch for changes in the file and thus it will not upload the changed file back =====

Last modified: by martin