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

Startup Error #837

Open
agilecomputing opened this issue Apr 28, 2023 · 4 comments
Open

Startup Error #837

agilecomputing opened this issue Apr 28, 2023 · 4 comments

Comments

@agilecomputing
Copy link

Hello,

I am having a startup error when trying to run the lorawan-server. I have tried to install it both as a service and just as an executable.

The error seems to be like one of the previous posts where the .beam file is not being found, but I cannot figure out why.

When I run lorawan-server, the error I get is:

{"init terminating in do_boot",{undef,[{lorawan_app,start,[],[]},{init,start_em,1,[]},{init,do_boot,3,[]}]}}
init terminating in do_boot ({undef,[{lorawan_app,start,[],[]},{init,start_em,1,[]},{init,do_boot,3,[]}]})

Crash dump is being written to: erl_crash.dump...done

I am using Erlang/OTP version 25. Output when I run erl is:
Erlang/OTP 25 [erts-13.1.4] [source] [64-bit] [smp:1:1] [ds:1:1:10] [async-threads:1] [jit:ns]

Eshell V13.1.4 (abort with ^G)
1>

All of this is running on an Ubuntu Server x64 18.0.4.5. Output of uname -a is:
Linux lora-server 4.15.0-210-generic #221-Ubuntu SMP Tue Apr 18 08:32:52 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

I must be missing something simple - any help / pointers you can provide would be greatly appreciated.

Thank you.

@BastienV-SATIE
Copy link

Hello,

I have the same problem here :
$ bin/lorawan-server
[os_mon] memory supervisor port (memsup): Erlang has closed
[os_mon] cpu supervisor port (cpu_sup): Erlang has closed
{"init terminating in do_boot",{{badmatch,{error,{lorawan_server,{bad_return,{{lorawan_app,start,[normal,[]]},{'EXIT',{{badmatch,{error,eaddrinuse}},[{lorawan_app,start_http,2,[{file,"/home/travis/build/gotthardp/lorawan-server/build/default/lib/lorawan_server/src/lorawan_app.erl"},{line,88}]},{lorawan_app,start,2,[{file,"/home/travis/build/gotthardp/lorawan-server/build/default/lib/lorawan_server/src/lorawan_app.erl"},{line,23}]},{application_master,start_it_old,4,[{file,"application_master.erl"},{line,293}]}]}}}}}}},[{lorawan_app,start,0,[{file,"/home/travis/build/gotthardp/lorawan-server/build/default/lib/lorawan_server/src/lorawan_app.erl"},{line,13}]},{init,start_em,1,[]},{init,do_boot,3,[]}]}}
init terminating in do_boot ({{badmatch,{error,{lorawan_server,{
}}}},[{lorawan_app,start,0,[{
},{
}]},{init,start_em,1,[]},{init,do_boot,3,[]}]})

Crash dump is being written to: erl_crash.dump...done

Erlang version :
lorawan-server$ erl
Erlang/OTP 24 [erts-12.2.1] [source] [64-bit] [smp:2:2] [ds:2:2:10] [async-threads:1] [jit]

Eshell V12.2.1 (abort with ^G)

Best regards!

@BastienV-SATIE
Copy link

Everything working here : https://github.com/abelino/lorawan-server/tree/otp25-support

@agilecomputing
Copy link
Author

Did you download and build this version yourself?

Thank you.

@BastienV-SATIE
Copy link

Yes i have with erlang/otp 25.

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

2 participants