简体   繁体   English

./start-hbase.sh不能独立启动

[英]./start-hbase.sh is not starting on stand alone

root@sujit-pc:/usr/local/hbase/bin# ./start-hbase.sh
./start-hbase.sh: line 48: /usr/local/hbase/bin/hbase: Permission denied
./start-hbase.sh: line 55: /usr/local/hbase/bin/hbase-daemons.sh: Permission denied
./start-hbase.sh: line 56: /usr/local/hbase/bin/hbase-daemon.sh: Permission denied
./start-hbase.sh: line 57: /usr/local/hbase/bin/hbase-daemons.sh: Permission denied
./start-hbase.sh: line 59: /usr/local/hbase/bin/hbase-daemons.sh: Permission denied
root@sujit-pc:/usr/local/hbase/bin# 

I think, there is some permission issue. 我认为,存在一些许可问题。 But i am already on root 但是我已经扎根了

chmod 777 ./start-hbase.sh to allow r/w access for all users. chmod 777 ./start-hbase.sh以允许所有用户进行r / w访问。

chmod +x ./start-hbase.sh to make the script executable. chmod +x ./start-hbase.sh使脚本可执行。

Sorry i cannot comment cause less than 50 rep. 抱歉,我无法发表评论,且少于50次。 What does ls -l start-hbase.sh return? ls -l start-hbase.sh返回什么?

Btw have a look on HBase does not run after ./start-hbase.sh - Permission Denied? 顺便说一句看看./start-hbase.sh之后HBase无法运行-权限被拒绝?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM