[erlang-questions] net_adm:ping/1 hostname

jasonlxw <>
Fri Jun 3 07:29:10 CEST 2011


:~$ erl -name  '' -setcookie 123
Erlang R13B03 (erts-5.7.4) [source] [smp:2:2] [rq:2] [async-threads:0]
[hipe] [kernel-poll:false]

Eshell V5.7.4  (abort with ^G)
()1>

-------------------
:~$ erl -name  '' -setcookie 123
Erlang R13B03 (erts-5.7.4) [source] [smp:2:2] [rq:2] [async-threads:0]
[hipe] [kernel-poll:false]

Eshell V5.7.4  (abort with ^G)
()1> net_adm:ping('')
()1> .
pong
()2>
---------------
OK.There is not any problem.


2011/6/3 maruthavanan s [via Erlang] <
>

> Hi,
>
> I wanted to run a distributed system and I tried to do the below and got a
> error
>
> 1>net_adm:ping('[hidden email]<http://user/SendEmail.jtp?type=node&node=3569984&i=0>
> ').
> pang
>
> =ERROR REPORT==== 3-Jun-2011::09:48:45 ===
> ** System NOT running to use fully qualified hostnames **
> ** Hostname 192.168.10.125 is illegal **
>
> Do I need to use only hostname and I can't  use ip addresses? I would like
> to know why because few of the networks which I came through did not have a
> DNS among LAN? One way I could find to solve this is add the ip against
> hostname in system file and proceed. (but this mostly requires admin
> /root privileges). Are there any other workarounds?
>
> Thanks,
> Marutha
>
> _______________________________________________
> erlang-questions mailing list
> [hidden email] <http://user/SendEmail.jtp?type=node&node=3569984&i=1>
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://erlang.2086793.n4.nabble.com/net-adm-ping-1-hostname-tp3569984p3569984.html
>  To start a new topic under Erlang Questions, email
> 
> To unsubscribe from Erlang Questions, click here<http://erlang.2086793.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2086794&code=bGFuZ3hpYW56aGVAZ21haWwuY29tfDIwODY3OTR8MTA2ODExODQ5Ng==>.
>
>


-----
Never give up
--
View this message in context: http://erlang.2086793.n4.nabble.com/net-adm-ping-1-hostname-tp3569984p3570042.html
Sent from the Erlang Questions mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20110602/a1cb7eb8/attachment.html>


More information about the erlang-questions mailing list