tsung icon indicating copy to clipboard operation
tsung copied to clipboard

Tsung 1.7.0 crashes on start

Open javierg opened this issue 4 years ago • 3 comments
trafficstars

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

javierg avatar Feb 24 '21 04:02 javierg

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.

javierg avatar Feb 24 '21 16:02 javierg

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.

brlanier avatar Feb 24 '21 18:02 brlanier

1.8.0 has been released:

  • https://github.com/processone/tsung/releases/tag/v1.8.0

It has been solved?

Neustradamus avatar Mar 04 '23 14:03 Neustradamus