processone / tsung

Tsung is a high-performance benchmark framework for various protocols including HTTP, XMPP, LDAP, etc.
http://www.process-one.net/en/tsung/
GNU General Public License v2.0
2.54k stars 405 forks source link

Tsung 1.7.0 crashes on start #387

Open javierg opened 3 years ago

javierg commented 3 years ago

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 commented 3 years ago

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.

brlanier commented 3 years ago

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.

Neustradamus commented 1 year ago

1.8.0 has been released:

It has been solved?