【发布时间】:2013-07-18 03:34:57
【问题描述】:
我在cygwin提示符下输入ssh-host-config(以管理员权限启动),对权限分离说yes,新建本地账户sshd,将sshd安装为服务;我没有为守护进程输入 CYGWIN 的值;我输入了 no 以使用不同的名称;是的,用于创建新的特权用户帐户。
在我的services.msc 中我无法启动服务:
The CYGWIN sshd service on Local Computer started and then stopped.
Some services stop automatically if they are not in use by other services
or programs.
在 cygwin 提示符下,net start sshd 产生:
The CYGWIN sshd service could not be started.
The service did not report an error.
More help is available by typing NET HELPMSG 3534
在 cygwin 提示符下,cygrunsrv -S sshd 产生:
cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062:
The service has not been started.
我的 /var/log/sshd.log 显示以下内容:
Unable to initialize device PRN
我已经搜索了与此问题相关的 SO 问题以及一般 Internet,我想是什么让我的问题与众不同与 sshd.log 相关。我找不到其他收到此邮件的人。
我这样做是为了在我的 Windows 上安装 Hadoop。我无法在这台速度慢的计算机上运行虚拟机,因为一切都陷入了困境。
【问题讨论】:
-
我在 Windows 7 中遇到了完全相同的问题。我已经关注了各种链接,但问题仍然存在。我关注的一些链接是:ebiquity.umbc.edu/Tutorials/Hadoop/00%20-%20Intro.html、gist.github.com/tariqmislam/2159173。任何阅读本文的人都可以提供解决方案。