basho/riaknostic — Issue #17: net_sup crashes on (Open)Solaris when node down
Author: seancribbs
Created: 2011-12-19 00:00:23+00:00
State: open
Labels: bug

```
Attempting to restart script through sudo -u riak
20:16:23.704 [error] CRASH REPORT Process <0.44.0> with 0 neighbours crashed with reason: {error,badarg}
20:16:23.704 [error] Supervisor net_sup had child net_kernel started with net_kernel:start_link(['riak_diag627@127.0.0.1',longnames]) at undefined exit with reason {'EXIT',nodistribution} in context start_error
escript: exception error: no match of right hand side value
{error,
{shutdown,
{child,undefined,net_sup_dynamic,
{erl_distribution,start_link,
[['riak_diag627@127.0.0.1',longnames]]},
permanent,1000,supervisor,
[erl_distribution]}}}
in function riaknostic_node:start_net/0
in call from riaknostic_node:try_connect/0
in call from riaknostic_check:check/1
in call from riaknostic:'-run/1-fun-1-'/2
in call from lists:foldl/3
in call from riaknostic:run/1
```

If we can fix this in a general way we might be able to apply it to nodetool as well.