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 406 forks source link

Fresh install breaks on Debian 9 #276

Open MTecknology opened 6 years ago

MTecknology commented 6 years ago

On a fresh Debian 9 installation, with the version of tsung from the package repos (and latest from source), any attempt to start a load test results in the following error.

Can't start ! {error,
                  {{badmatch,{error,enoent}},
                   [{ts_controller_sup,start_inets,1,
                        [{file,"src/tsung_controller/ts_controller_sup.erl"},
                         {line,105}]},
                    {ts_controller_sup,init,1,
                        [{file,"src/tsung_controller/ts_controller_sup.erl"},
                         {line,91}]},
                    {supervisor,init,1,[{file,"supervisor.erl"},{line,287}]},
                    {gen_server,init_it,6,
                        [{file,"gen_server.erl"},{line,328}]},
                    {proc_lib,init_p_do_apply,3,
                        [{file,"proc_lib.erl"},{line,240}]}]}}

Per a closed issue the solution is:

ln -s /usr/share /usr/lib/share
ln -s /usr/lib/x86_64-linux-gnu/tsung /usr/lib/tsung

I'm not sure why the previous issue was left closed, but this is an easily reproduced issue.

tisba commented 6 years ago

Is this maybe related, or even solved by https://github.com/processone/tsung/pull/265?