I'm using -sname foo in vm.args. When I attempt to use bin/foo remote_console, the script terminates immediately with no output. $? is 127.
Using bin/foo ping results in:
=INFO REPORT==== 19-May-2016::19:42:46 ===
Can't set short node name!
Please check your configuration
escript: exception error: no match of right hand side value
{error,
{{shutdown,
{failed_to_start_child,net_kernel,
{'EXIT',nodistribution}}},
{child,undefined,net_sup_dynamic,
{erl_distribution,start_link,
[['foo_maint_19746@baz.quux.example.com',
shortnames]]},
permanent,1000,supervisor,
[erl_distribution]}}}
Comparing the output of hostname with a box that works shows that this particular box returns the FQDN, rather than just the hostname.
I'm using
-sname foo
invm.args
. When I attempt to usebin/foo remote_console
, the script terminates immediately with no output.$?
is 127.Using
bin/foo ping
results in:Comparing the output of
hostname
with a box that works shows that this particular box returns the FQDN, rather than just the hostname.Related to #408?