[erlang-questions] net_kernel:nodes_info() error

Gleber gleber.p@REDACTED
Wed Feb 20 16:03:03 CET 2008


Hello,

While figuring out how to make Distel work with long domain names, I've
encountered the following error:

gleber@REDACTED:~$ erl
Erlang (BEAM) emulator version 5.6.1 [source] [async-threads:0] [hipe]
[kernel-poll:false]

Eshell V5.6.1  (abort with ^G)
1> net_kernel:nodes_info().
** exception error: bad argument
     in function  ets:first/1
        called as ets:first(sys_dist)
     in call from net_kernel:get_nodes/1
     in call from net_kernel:get_nodes_info/0
2> ets:i().
id              name              type  size   mem      owner
----------------------------------------------------------------------------
11              code              set   259    10768    code_server
12              code_names        set   52     5065     code_server
13              shell_records     ordered_set 0      72       <0.24.0>
ac_tab          ac_tab            set
6      855      application_controller
file_io_servers file_io_servers   set   0      279      file_server_2
global_locks    global_locks      set   0      279      global_name_server
global_names    global_names      set   0      279      global_name_server
global_names_ext global_names_ext  set   0      279      global_name_server
global_pid_ids  global_pid_ids    bag   0      279      global_name_server
global_pid_names global_pid_names  bag   0      279      global_name_server
inet_cache      inet_cache        bag   0      279      inet_db
inet_db         inet_db           set   21     546      inet_db
inet_hosts      inet_hosts        set   0      279      inet_db
ok
3>

My system is Ubuntu Gutsy 7.10 with Erlang 12B built from
debian experimental deb-src files.

Do anyone know what this means? Is it a bug?



-- 
Gleb Peregud
http://gleber.pl/

"Only two things are infinite, the universe and human stupidity, and I'm not
sure about the former."
--  Albert Einstein
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080220/3deb60a8/attachment.htm>


More information about the erlang-questions mailing list