You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

无法执行gatewaystart.sh脚本的问题求助

无法执行gatewaystart.sh脚本的问题求助

我现在碰到个棘手的问题——没法让gatewaystart.sh这个脚本正常执行,想请教下大家怎么解决。

先说说我已经做了哪些操作:

  • 我把下载好的IBCLinux-3.18.0.zip压缩包解压到了/opt/ibc目录,用的命令是:
    sudo unzip ~/Downloads/IBCLinux-3.18.0.zip -d /opt/ibc
    
  • 接着我切换到这个目录,给所有sh脚本添加了其他用户的执行权限:
    cd /opt/ibc
    sudo chmod o+x *.sh */*.sh
    

问题来了:我直接运行gatewaystart.sh的时候,脚本完全没反应。后来我尝试用bash gatewaystart.sh和sh gatewaystart.sh来执行,结果都弹出了错误提示:

gatewaystart.sh: 193: [[: not found
gatewaystart.sh: 195: [[: not found
-e Error: no execute permission for scripts in /opt/ibc/scripts

实在搞不懂哪里出问题了,希望有懂的朋友能帮我看看,万分感谢!

备注:内容来源于stack exchange,提问作者dinosaurslayer

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.21 15:29:33