Ksql尚未开始。 ksql-server-start:32:exec:// bin / ksql-run-class:找不到 [英] Ksql is not getting started. ksql-server-start: 32: exec: //bin/ksql-run-class: not found
本文介绍了Ksql尚未开始。 ksql-server-start:32:exec:// bin / ksql-run-class:找不到的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我无法启动ksql。其提供以下错误,
Am unable to start ksql. Its providing below error,
ksql-server-start: 14: Bad substitution
ksql-server-start: 32: exec: //bin/ksql-run-class: not found
zookeeper和kafka服务器已成功启动
zookeeper and kafka server is started successfully
任何建议都会有所帮助
推荐答案
找到了解决问题的方法,
Found the solution for the issue,
ksql-server-start
ksql-server-start文件中的脚本具有用于导出路径的代码 $ base_dir = $ (cd $(目录名 $ {BASH_SOURCE [0]})/ ..&& pwd)
,并且此代码无法通过脚本执行。更改值并使用实际路径解决了问题
Script in ksql-server-start file has a code to export the path $base_dir=$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd )
and this code is not working executing via script. Changed the valuewith the actual path resolve the issue
$base_dir=$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd ) #Existing
$base_dir=/path/to/confluent-5.5.1 # This resolved the issue
这也必须在 ksql 脚本上完成
这篇关于Ksql尚未开始。 ksql-server-start:32:exec:// bin / ksql-run-class:找不到的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文