hadoop - 运行 ssh-host-config

标签 hadoop cygwin

我尝试在安装 Cygwin 后运行 ssh-host-config。它因以下错误而失败:

$ **ssh-host-config**
/usr/bin/ssh-host-config: line 49: /usr/share/csih/cygwin-service-installation-helper.sh: No such file or directory

物理文件在路径中可用。我验证了 PATH 变量,它指向 D:\cygwin\bin;D:\cygwin\usr\bin。

我还运行了挂载命令:

D:/cygwin/bin on /usr/bin type ntfs (binary,auto)
D:/cygwin/lib on /usr/lib type ntfs (binary,auto)

**> C:/cygwin on /usr type ntfs (binary)**

D:/cygwin on / type ntfs (binary,auto)

突出显示的是错误的安装路径。

我试图卸载它并指向正确的路径,但没有成功。实际上我正在尝试在我的机器上安装 Hadoop 集群。

最佳答案

我正在 Windows XP m/c 中安装。 而不是 cygwin\usr\bin 文件夹,cygwin 在我的 m/c 中创建了 cygwin\usr\sbin。因此 sbin 文件夹应该在路径中。

检查 k如果那是你的问题。 我正在按照此处的说明进行操作:

http://ebiquity.umbc.edu/Tutorials/Hadoop/05%20-%20Setup%20SSHD.html

关于hadoop - 运行 ssh-host-config,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16277273/

相关文章:

MongoDB Hadoop 集成

hadoop - Java Hadoop中的Map Reduce

git - 无法在 Windows 上使用 Cygwin 启动 Git GUI

windows - 如何在 Windows 上正确克隆 --recursive git 存储库?

hadoop - 如何在 hive 中的十进制数字中添加零?

hadoop - 从 MapReduce 作业向 Hive 添加分区

linux - 无法从 CYGWIN 终端启动 "bin/cassandra -f"

windows - 构建供 Windows 开发人员使用的开源库 DLL 的最佳方法是什么?

android - 在 ffmpeg 中使用 build_libstagefright 为 android 构建文件 .so

sql-server - SQOOP EXPORT : java. sql.BatchUpdateException:参数 #1 尚未设置