Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Nutch Wiki" for change 
notification.

The following page has been changed by MatMcGowan:
http://wiki.apache.org/nutch/GettingNutchRunningOnCygwin

------------------------------------------------------------------------------
  
  The firther problem is the path setting for the sshd service. After ssh'ing 
in, the Windows hostname is still used (although on my installation $PATH 
appeared correct, e.g. {{{ssh localhost "echo $PATH; type hostname"}}}, showed 
a correct path with {{{/usr/bin:/bin}}} in the path before the windows 
directories, yet "type" was finding the windows version of the file.) 
  
- To fix the path setting, add the PATH environment variable to the sshd 
service. Under the key 
{{{HKLM\System\CurrentControlSet\Services\sshd\Parameters\Environment}}} create 
a new string value PATH, set to {{{/usr/bin:/usr/lib:/bin:$PATH}}}. After 
restarting the sshd service, return the tests above, and the {{{^M}}} should no 
longer be present.
+ To fix the path setting, add the PATH environment variable to the sshd 
service. Under the key 
{{{HKLM\System\CurrentControlSet\Services\sshd\Parameters\Environment}}} create 
a new string value PATH, set to {{{/usr/bin:/usr/lib:/bin:%PATH%}}}. This 
prepends /user/bin etc. to the PATH defined in Windows. After restarting the 
sshd service, return the tests above, and the {{{^M}}} should no longer be 
present.
  
  See also http://www.cygwin.com/ml/cygwin/2007-07/msg00045.html
  

Reply via email to