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

Tsung 1.7.0 crashes on start #387

Open
javierg opened this issue Feb 24, 2021 · 3 comments
Open

Tsung 1.7.0 crashes on start #387

javierg opened this issue Feb 24, 2021 · 3 comments

Comments

@javierg
Copy link

javierg commented Feb 24, 2021

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
Copy link
Author

javierg commented Feb 24, 2021

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
Copy link

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
Copy link

1.8.0 has been released:

It has been solved?

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

3 participants