0

Following instructions from: http://www.xappsoftware.com/wordpress/2017/02/28/install-the-emq-broker-also-known-as-emqttd-on-the-raspberry-pi-raspbian/ I built the latest version of Erlang and subsequently installed deps finally ran make successfully for emqttd broker (v2.3).

Now when I run the executable, I get the following output:

me@raspberrypi:~/emq-relx $ ./bin/emqttd console
./bin/emqttd: 20: ./bin/emqttd: runner_log_dir: not found

I did some research on Google and found some references to the rebar package using this variable after which I set it in .bash_profile and rebooted, but the error still persists.

What is wrong?

hardillb
  • 54,545
  • 11
  • 67
  • 105
Birla
  • 1,170
  • 11
  • 30
  • I am running the latest Raspbian, stretch! – Birla Sep 07 '17 at 13:42
  • The error seams to suggest it can't find the log directory, check what the default log location is, that it exists and that your user has rights to access/write that location – hardillb Sep 07 '17 at 13:54
  • The variable wasn't defined by make, so I set it to ```/var/tmp``` and I tried running as root, but no luck. The same error persists. – Birla Sep 07 '17 at 16:12

0 Answers0