It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage


       I experienced the following error while setting up EMQX broker for my project. The error log is listed below. 


=ERROR REPORT==== 20-Sep-2019::10:49:29.321696 ===
Error when reading /home/ubuntu/.erlang.cookie: eacces
=SUPERVISOR REPORT==== 20-Sep-2019::10:49:29.323878 ===
supervisor: {local,net_sup}
errorContext: start_error
reason: {"Error when reading /home/ubuntu/.erlang.cookie: eacces",
offender: [{pid,undefined},
=CRASH REPORT==== 20-Sep-2019::10:49:29.323753 ===
initial call: auth:init/1
pid: <0.81.0>
registered_name: []
exception error: "Error when reading /home/ubuntu/.erlang.cookie: eacces"
in function auth:init_cookie/0 (auth.erl, line 286)
in call from auth:init/1 (auth.erl, line 140)
in call from gen_server:init_it/2 (gen_server.erl, line 374)
in call from gen_server:init_it/6 (gen_server.erl, line 342)
ancestors: [net_sup,kernel_sup,<0.46.0>]
message_queue_len: 0
messages: []
links: [<0.79.0>]
dictionary: []
trap_exit: true
status: running
heap_size: 1598
stack_size: 27
reductions: 2292

escript: exception error: no match of right hand side value
{"Error when reading /home/ubuntu/.erlang.cookie: eacces",
in function nodetool__escript__1568__976569__120698__2:'-main/1-fun-4-'/1 (/usr/lib/emqx/bin/nodetool, line 23)
in call from nodetool__escript__1568__976569__120698__2:do_with_ret/3 (/usr/lib/emqx/bin/nodetool, line 142)
in call from nodetool__escript__1568__976569__120698__2:main/1 (/usr/lib/emqx/bin/nodetool, line 20)
in call from escript:run/2 (escript.erl, line 758)
in call from escript:start/1 (escript.erl, line 277)
in call from init:start_em/1
in call from init:do_boot/3

1 answer

0 votes

I think you might be asking the wrong crowd - we're a community of end-users of Atlassian software, not coders working with erlang on emqx (you might get lucky and one of us is, and sees this, but this place is for Atlassian stuff)

Just looking for every chance to get this error resolved.


Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Off-topic

Does your company have a sustainability program?

As part of Atlassian's commitment to combat climate change, we will run our operations on 100 percent renewable energy by 2025. We’re also setting science-based targets to limit warming to 1.5°C and ...

75 views 0 5
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you