0

rocketMQ run runserver.sh bring sh: /usr/local/rocketMQ/incubator-rocketmq/bin/runserver.sh: No such file or directory

what's wrong?

i opend the file 'runserver.sh' and run 'set ff' it result to fileformat=unix

Alex
  • 21
  • 3

1 Answers1

0

you forgot configure rocket home.

1.temporary configure rocket home
for example, temporary configure the rocketmq home: export ROCKETMQ_HOME=/root/rocketmq-all-4.5.1-bin-release
and then start nameserver: sh bin/mqnamesrv

2.forever configure rocket home
in mac os:
open bash_profile: vim ~/.bash_profile
add rocket home,for example: ROCKETMQ_HOME=/root/rocketmq-all-4.5.1-bin-release
source ./.bash_profile

faryang
  • 55
  • 6