erl -name XXX problem

Luke Gorrie <>
Fri Oct 25 12:36:11 CEST 2002


Joe Armstrong <> writes:

>    If I do erl -name joe
> 
>    My system bails out with a horrendous error message - the start of which is
> 
> {error_logger,{{2002,10,25},{12,6,18}},
> 	'Can\'t set long node name!\nPlease check your configuration\n',[]}
> 
>    What do I have to do to fix this??

Sure I should be waiting for the experts, but :-)

If you run "domainname" in the shell, does it print your domain? If
not, you can do e.g. "domainname bluetail.com" (as root) to set it.

If that diagnosis was right, I think the persistent fix is to put a
line like "domain bluetail.com" at the top of /etc/resolv.conf

(NB: 'erl -name joe' works on R9B on my machine)

Cheers,
Luke




More information about the erlang-questions mailing list