processone/tsung

Tsung 1.7.0 crashes on start

javierg opened this issue · 3 comments

On starting tsung it crashes with error:

{"init terminating in do_boot",{undef,[{tsung_controller,start,[],[]},{init,start_em,1,[]},{init,do_boot,3,[]}]}}

On Ubuntu 20, OTP-23.

dependencies installed:

apt-get install gnuplot-nox libtemplate-perl libhtml-template-perl libhtml-template-expr-perl

After some digging and specially after reading https://erlang.org/doc/apps/erts/crash_dump.html
I found that the issue is that because Tsung wasn't installed in the default folder, and the installation dir is hardcoded. It wasn't finding the Tsung nor controllers paths.

Not sure if it is already possible to override these values on runtime, I didn't found a way, with env vars. But if you got this error just ensure that things are were they suppose to be.

This was resolved for us using configure --prefix=/new_path/tsung during the installation from source. This is not well documented that I could find.
I will see about adding a small PR to the docs to show that you can change the install path.

1.8.0 has been released:

It has been solved?