Newbie: Compile Error

Madireddy Samuel Vijaykumar mad.vijay at gmail.com
Mon Jan 18 07:29:46 EST 2010


Yeah! you were right about the ssl depenedencies not satisfied. Now i have
made a partially sucessful installation. Thoough when is run the admin test
i get the following.

riak2:~/riak/rel/riak# ./bin/riak-admin test
{error_logger,{{2010,1,18},{
11,40,9}},"Can't set long node name!\nPlease check your configuration\n",[]}
{error_logger,{{2010,1,18},{11,40,9}},crash_report,[[{initial_call,{net_kernel,init,['Argument__1']}},{pid,<0.21.0>},{registered_name,[]},{error_info,{exit,{error,badarg},[{gen_server,init_it,6},{proc_lib,init_p_do_apply,3}]}},{ancestors,[net_sup,kernel_sup,<0.9.0>]},{messages,[]},{links,[<0.18.0>]},{dictionary,[{longnames,true}]},{trap_exit,true},{status,running},{heap_size,377},{stack_size,24},{reductions,671}],[]]}
{error_logger,{{2010,1,18},{11,40,9}},supervisor_report,[{supervisor,{local,net_sup}},{errorContext,start_error},{reason,{'EXIT',nodistribution}},{offender,[{pid,undefined},{name,net_kernel},{mfa,{net_kernel,start_link,[[riak_test,longnames]]}},{restart_type,permanent},{shutdown,2000},{child_type,worker}]}]}
{error_logger,{{2010,1,18},{11,40,9}},supervisor_report,[{supervisor,{local,kernel_sup}},{errorContext,start_error},{reason,shutdown},{offender,[{pid,undefined},{name,net_sup},{mfa,{erl_distribution,start_link,[]}},{restart_type,permanent},{shutdown,infinity},{child_type,supervisor}]}]}
{error_logger,{{2010,1,18},{11,40,9}},std_info,[{application,kernel},{exited,{shutdown,{kernel,start,[normal,[]]}}},{type,permanent}]}
{"Kernel pid
terminated",application_controller,"{application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}}"}

Crash dump was written to: erl_crash.dump
Kernel pid terminated (application_controller)
({application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}})

and whole lot of messages in the error log

=====
===== LOGGING STARTED Mon Jan 18 11:52:14 UTC 2010
=====
Exec: /root/riak/rel/riak/erts-5.7.4/bin/erlexec -boot
/root/riak/rel/riak/releases/0.8/riak -embedded -config
/root/riak/rel/riak/etc/app.config -args_file
/root/riak/rel/riak/etc/vm.args -- console
Root: /root/riak/rel/riak
Erlang R13B03 (erts-5.7.4) [source] [rq:1] [async-threads:5] [hipe]
[kernel-poll:true]

** Bad path can't read
/root/riak/rel/riak/lib/kernel-2.13.4.ez/kernel-2.13.4/ebin
** Bad path can't read
/root/riak/rel/riak/lib/stdlib-1.16.4.ez/stdlib-1.16.4/ebin
** Bad path can't read /root/riak/rel/riak/lib/sasl-2.1.8.ez/sasl-2.1.8/ebin
** Bad path can't read
/root/riak/rel/riak/lib/crypto-1.6.3.ez/crypto-1.6.3/ebin
** Bad path can't read
/root/riak/rel/riak/lib/runtime_tools-1.8.2.ez/runtime_tools-1.8.2/ebin
** Bad path can't read
/root/riak/rel/riak/lib/mochiweb-0.01.ez/mochiweb-0.01/ebin
** Bad path can't read
/root/riak/rel/riak/lib/webmachine-1.5.ez/webmachine-1.5/ebin
** Bad path can't read /root/riak/rel/riak/lib/riak-0.7.ez/riak-0.7/ebin
** Bad path can't read
/root/riak/rel/riak/lib/xmerl-1.2.3.ez/xmerl-1.2.3/ebin
** Bad path can't read
/root/riak/rel/riak/lib/webtool-0.8.5.ez/webtool-0.8.5/ebin
** Bad path can't read
/root/riak/rel/riak/lib/tools-2.6.5.ez/tools-2.6.5/ebin
** Bad path can't read
/root/riak/rel/riak/lib/syntax_tools-1.6.4.ez/syntax_tools-1.6.4/ebin
** Bad path can't read /root/riak/rel/riak/lib/ssl-3.10.7.ez/ssl-3.10.7/ebin
** Bad path can't read /root/riak/rel/riak/lib/snmp-4.15.ez/snmp-4.15/ebin
** Bad path can't read
/root/riak/rel/riak/lib/public_key-0.4.ez/public_key-0.4/ebin
** Bad path can't read
/root/riak/rel/riak/lib/otp_mibs-1.0.6.ez/otp_mibs-1.0.6/ebin
** Bad path can't read
/root/riak/rel/riak/lib/os_mon-2.2.4.ez/os_mon-2.2.4/ebin
** Bad path can't read
/root/riak/rel/riak/lib/observer-0.9.8.1.ez/observer-0.9.8.1/ebin
** Bad path can't read
/root/riak/rel/riak/lib/mnesia-4.4.12.ez/mnesia-4.4.12/ebin
** Bad path can't read /root/riak/rel/riak/lib/inets-5.2.ez/inets-5.2/ebin
** Bad path can't read /root/riak/rel/riak/lib/hipe-3.7.4.ez/hipe-3.7.4/ebin
** Bad path can't read /root/riak/rel/riak/lib/gs-1.5.11.ez/gs-1.5.11/ebin
** Bad path can't read
/root/riak/rel/riak/lib/eunit-2.1.4.ez/eunit-2.1.4/ebin
** Bad path can't read /root/riak/rel/riak/lib/et-1.3.3.ez/et-1.3.3/ebin
** Bad path can't read /root/riak/rel/riak/lib/erts-5.7.4.ez/erts-5.7.4/ebin
** Bad path can't read
/root/riak/rel/riak/lib/edoc-0.7.6.5.ez/edoc-0.7.6.5/ebin
** Bad path can't read
/root/riak/rel/riak/lib/compiler-4.6.4.ez/compiler-4.6.4/ebin
** Found 0 name clashes in code paths
Eshell V5.7.4  (abort with ^G)
(riak at 127.0.0.1)1>

Need help.


"""
Anyday...
Above the ground and vertical
... is a good day!
"""
http://megam.info
:)~




On Thu, Jan 14, 2010 at 2:46 AM, Bryan Fink <bryan at basho.com> wrote:

> On Tue, Jan 12, 2010 at 6:24 AM, Madireddy Samuel Vijaykumar
> <mad.vijay at gmail.com> wrote:
> > I am new to erlang/riak. Its that such tool exists. For application that
> > runs behind loadbalacer its becomes very easy for us to store sessions if
> > this work. But it hit this...
> >
> > :~/riak# export LD_LIBRARY_PATH=/mnt/ephemeral/lib:$LD_LIBRARY_PATH
> > :~/riak# make all rel
> > ./rebar compile
> > make: *** [compile] Error 1
> >
> > while installing riak. I have Erlang R13B03 but without "fop". Is there
> > something that i am missing?
>
> Hi.  Could you please check a couple of things:
>
> 1. What's the output of 'hg head'?
>
> 2. What's the output of './rebar compile verbose=1'?
>
> Another user had a similar problem a few weeks ago.  The thread
> discussing that issues is here:
>
>
> http://lists.basho.com/pipermail/riak-users_lists.basho.com/2009-December/000275.html
>
> The issue there ended up being the libssl-dev was not installed, so
> the 'crypto' Erlang app hadn't been built.  So, it's probably also
> worth checking that, and installing it, then recompiling Erlang, if
> necessary.
>
> -Bryan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20100118/648a31f5/attachment.html>


More information about the riak-users mailing list