Hi All,

I met similar issue with this thread, I knew it is old.
http://lists.basho.com/pipermail/riak-users_lists.basho.com/2012-October/009824.html

But it seems happened on my new Debian 7.3(X86_64) test box with
riak 1.4.8-1(official build).

Without those lines,

-proto_dist inet_tls
-ssl_dist_opt client_certfile "{{platform_etc_dir}}/erlclient.pem"
-ssl_dist_opt server_certfile "{{platform_etc_dir}}/erlserver.pem"

in my vm.args, everything looks ok.
With such configuration, I got riak started failed but riak process running 
with errors as following(in the end of this mail).

My certificate internal.pem is working on old box, debian 6.x with Riak-1.3.1.
Any idea?

Thanks.
Allen Chen




The error with SSL,
>>>>>>>>
2014-02-27 06:15:07.552 [error] <0.162.0> SSL: 1111: 
error:{try_clause,{error,eacces}} /etc/riak/certs/internal.pem
  [{ssl_manager,cache_pem_file,2,[{file,"ssl_manager.erl"},{line,98}]},
     {ssl_certificate,file_to_certificats,2,
                         [{file,"ssl_certificate.erl"},{line,111}]},
                            {ssl_connection,init_certificates,6,
                                               
[{file,"ssl_connection.erl"},{line,1107}]},
                                                  
{ssl_connection,ssl_init,2,[{file,"ssl_connection.erl"},{line,1062}]},
                                                     
{ssl_connection,init,1,[{file,"ssl_connection.erl"},{line,316}]},
                                                        
{gen_fsm,init_it,6,[{file,"gen_fsm.erl"},{line,361}]},
                                                           
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,227}]}]

                                                           2014-02-27 
06:15:07.553 [error] <0.162.0> CRASH REPORT Process <0.162.0> with 0 neighbours 
exited with reason: ecertfile in gen_fsm:init_it/6 line 371
                                                           2014-02-27 
06:15:07.553 [error] <0.20.0> Supervisor ssl_connection_sup_dist had child 
undefined started with {ssl_connection,start_link,undefined} at <0.162.0> exit 
with reason ecertfile in context child_terminated
                                                           2014-02-27 
06:15:07.559 [error] <0.167.0> SSL: 1111: error:{try_clause,{error,eacces}} 
/etc/riak/certs/internal.pem
                                                             
[{ssl_manager,cache_pem_file,2,[{file,"ssl_manager.erl"},{line,98}]},
                                                                
{ssl_certificate,file_to_certificats,2,
                                                                                
    [{file,"ssl_certificate.erl"},{line,111}]},
                                                                                
       {ssl_connection,init_certificates,6,
                                                                                
                                      
[{file,"ssl_connection.erl"},{line,1107}]},
                                                                                
                                         
{ssl_connection,ssl_init,2,[{file,"ssl_connection.erl"},{line,1062}]},
                                                                                
                                            
{ssl_connection,init,1,[{file,"ssl_connection.erl"},{line,316}]},
                                                                                
                                               
{gen_fsm,init_it,6,[{file,"gen_fsm.erl"},{line,361}]},
                                                                                
                                                  
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,227}]}]


_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to