Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error ./emqtt_bench: 11: exec: {{: not found #197

Open
Babiboo2022 opened this issue Dec 2, 2022 · 4 comments
Open

error ./emqtt_bench: 11: exec: {{: not found #197

Babiboo2022 opened this issue Dec 2, 2022 · 4 comments

Comments

@Babiboo2022
Copy link

It's happend when execute the command at "./emqtt_bench conn -c 50000 -i 10"

@qzhuyan
Copy link
Contributor

qzhuyan commented Dec 5, 2022

do you use compiled package or it is repo clone?

@gabrielmancini
Copy link

same error, when i try to build i had:
make all
/opt/emqtt-bench/scripts/ensure-rebar3.sh 3.14.3-emqx-7
/opt/emqtt-bench/rebar3 compile
=ERROR REPORT==== 9-Jan-2023::11:12:15.711478 ===
beam/beam_load.c(551): Error loading function rebar3:parse_args/1: op put_tuple u x:
please re-compile this module with an Erlang/OTP 25 compiler

escript: exception error: undefined function rebar3:main/1
in function escript:run/2 (escript.erl, line 750)
in call from escript:start/1 (escript.erl, line 277)
in call from init:start_em/1
in call from init:do_boot/3
make: *** [Makefile:12: compile] Error 127

@qzhuyan
Copy link
Contributor

qzhuyan commented Jan 24, 2023

looks like you are running with OTP25, you could try to downgrade to OTP24.

@lafirest lafirest added bug and removed bug labels Feb 28, 2023
@lafirest
Copy link
Member

@Babiboo2022
It seems you ran the bin/emqtt_bench in the source code repo but it is just a template. You need to run the script in the package dir.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants