[erlang-questions] erl -name foo and hostname
Boris Mühmer
boris.muehmer@REDACTED
Thu May 26 08:38:39 CEST 2016
Well my problem is resolved now: I just needed a missing host entry (with
the proper IP and FQDN) on my Ubuntu 16.04 systems and it is running now. I
also tested the connection between different machines, and they can "find"
each other without any problems now.
Regards,
Boris
2016-05-26 7:18 GMT+02:00 Boris Mühmer <boris.muehmer@REDACTED>:
> I haven't responded earlier, because I am currently struggling with my
> Ubuntu 16.04 system at home, which I only installed some days ago. This
> system is a default fresh desktop setup, without any changes so far. It was
> quite a surprise, that invoking erl with "-name" results in a crash with a
> dump file being created. I haven't seen such a behaviour for quite some
> time now.
>
> Well, this "new" problem currently keeps me distracted from Yours.
>
>
> Regards,
> Boris
>
>
> 2016-05-26 6:02 GMT+02:00 Dmitry <mbike2000ru@REDACTED>:
>
>> Actually what is interesting for me - if I do hostname =
>> localhost.localdomain,
>>
>> erl -name foo will show localhost.localdomain.
>>
>> i am going to install DHCP/DNS and wil try to get hostname via DHCP
>>
>>
>>
>>
>> On Wednesday, May 25, 2016 9:13 PM, Dmitry <mbike2000ru@REDACTED> wrote:
>>
>>
>>
>>
>> /etc/init.d/network restart
>> Shutting down loopback interface: [ OK ]
>> Bringing up loopback interface: [ OK ]
>>
>>
>> [root@REDACTED ~]# ping kazootest2.localdomain
>> ping: unknown host kazootest2.localdomain
>>
>>
>> [root@REDACTED ~]# cat /etc/networks
>> default 0.0.0.0
>> loopback 127.0.0.0
>> link-local 169.254.0.0
>>
>>
>>
>> On Wednesday, May 25, 2016 8:51 PM, Boris Mühmer <boris.muehmer@REDACTED>
>> wrote:
>>
>>
>> Have You tried to ping "kazootest2.localdomain"?
>> It would be interesting which IP shows up, if any at all. Maybe this
>> gives a hint.
>> Did You also have a look at "/etc/networks"?
>>
>>
>> Regards,
>> Boris
>>
>>
>> 2016-05-25 17:30 GMT+02:00 Dmitry <mbike2000ru@REDACTED>:
>>
>> ps aux | grep ava
>> root 16011 0.0 0.0 103308 852 pts/0 S+ 09:20 0:00 grep ava
>> [root@REDACTED ~]#
>>
>> no The AVAHI daemon is not running.
>>
>>
>> On Wednesday, May 25, 2016 8:11 PM, Boris Mühmer <boris.muehmer@REDACTED>
>> wrote:
>>
>>
>> Do You happen to have the "avahi" daemon running?
>>
>>
>> Regards,
>> Boris
>>
>> 2016-05-25 15:53 GMT+02:00 Dmitry <mbike2000ru@REDACTED>:
>>
>> Hi
>>
>> here is my data:
>>
>> [root@REDACTED ~]# hostname
>> kazootest2.mydomain.local
>> [root@REDACTED ~]# hostname -f
>> kazootest2.mydomain.local
>> [root@REDACTED ~]# erl -name foo
>> Erlang R15B03 (erts-5.9.3.1) [source] [64-bit] [async-threads:0] [hipe]
>> [kernel-poll:false]
>>
>> Eshell V5.9.3.1 (abort with ^G)
>> (foo@REDACTED)1>
>>
>>
>>
>>
>> On Monday, May 23, 2016 3:10 PM, Dmitry <mbike2000ru@REDACTED> wrote:
>>
>>
>> Hi
>>
>> cat /etc/hosts
>> 127.0.0.1 localhost.localdomain localhost
>> ::1 localhost6.localdomain6 localhost6
>> 192.168.175.135 kazootest2.mydomain.local kazootest2
>>
>> [root@REDACTED ~]# cat /etc/sysconfig/network
>> NETWORKING=yes
>> NETWORKING_IPV6=no
>> HOSTNAME=kazootest2.mydomain.local
>>
>> [root@REDACTED ~]# erl -name foo
>> Erlang R15B03 (erts-5.9.3.1) [source] [64-bit] [async-threads:0] [hipe]
>> [kernel-poll:false]
>>
>> Eshell V5.9.3.1 (abort with ^G)
>> (foo@REDACTED)1>
>>
>>
>> Why dous it shows kazootest2.localdomain?
>>
>> Any help appreciated
>>
>>
>>
>> _______________________________________________
>> erlang-questions mailing list
>> erlang-questions@REDACTED
>> http://erlang.org/mailman/listinfo/erlang-questions
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160526/4086f5fa/attachment.htm>
More information about the erlang-questions
mailing list