bin/start-hbase.sh : No such file or directory,...

本文记录了一次在Ubuntu 11.10环境下使用VMWare安装系统后遇到的HBase启动失败的问题。主要错误信息包括找不到指定文件或目录,以及在尝试运行start-hbase.sh脚本时出现的命令未找到和语法错误等问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Today i installed a new ubuntu 11.10 in VMWare, however, i'm not lucky this time, normally run the shell, get the failure, no any clues. I'm stuck here, why it happens, the command is there, weird!

--------------------------------------

zhuji06@ubuntu :~/hbase-0.92.1$ bin/start-hbase.sh
: No such file or directory
---------------------------------------------------

zhuji06@ubuntu :~/hbase-0.92.1$ bash -x bin/start-hbase.sh

+ $'\r'
bin/start-hbase.sh: line 22: $'\r': command not found
+ $'\r'
bin/start-hbase.sh: line 24: $'\r': command not found
' usage='Usage: start-hbase.sh
+ $'\r'
bin/start-hbase.sh: line 28: $'\r': command not found
++ dirname bin/start-hbase.sh
+ bin=$'bin\r'
++ cd $'bin\r'
: No such file or directory: cd: bin
++ pwd
+ bin=$'/home/zhuji06/hbase-0.92.1\r'
+ $'\r'
bin/start-hbase.sh: line 31: $'\r': command not found
+ . $'/home/zhuji06/hbase-0.92.1\r/hbase-config.sh\r'
: No such file or directory: /home/zhuji06/hbase-0.92.1
+ $'\r'
bin/start-hbase.sh: line 33: $'\r': command not found
+ errCode=$'127\r'
bin/start-hbase.sh: line 55: syntax error: unexpected end of file

转载于:https://my.oschina.net/zhujinbao/blog/53969

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值