<div dir="ltr"><div><div><div>Hi!<br><br></div>Have you verified that you can perform the ssl handshake with your input options running just normally<br></div><div>without the distribution?<br></div><br></div>Regards Ingela Erlang/OTP team Ericsson AB<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/12/9 éÇÏÎÉΠíÉÈÁÉÌ <span dir="ltr"><<a href="mailto:igonin_phys@mail.ru" target="_blank">igonin_phys@mail.ru</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Hi!<br>
I already asked this question in Basho/node_package/riak, but received no clear answer. Someone may be encountered such a problem?<br>
<br>
I'm using rebar to build my application, and šnode_package to create RPM-package.<br>
Then i define an environment variables in the file vm.ags as describedš <a href="http://www.erlang.org/doc/apps/ssl/ssl_distribution.html" target="_blank">http://www.erlang.org/doc/apps/ssl/ssl_distribution.html</a>:<br>

-proto_dist inet_tls<br>
-ssl_dist_opt client_certfile "/var/lib/myapp/cert.pem"<br>
-ssl_dist_opt server_certfile "/var/lib/myapp/cert.pem"<br>
-ssl_dist_opt server_secure_renegotiate true<br>
-ssl_dist_opt client_secure_renegotiate true<br>
And then run:<br>
<br>
[root@srv bin]# myapp start<br>
!!!!<br>
!!!! WARNING: ulimit -n is 1024; 4096 is the recommended minimum.<br>
!!!!<br>
myapp failed to start within 15 seconds,<br>
see the output of 'myapp console' for more information.<br>
If you want to wait longer, set the environment variable<br>
WAIT_FOR_ERLANG to the number of seconds to wait.<br>
<br>
===========<br>
In the result I get:<br>
1. The console log -- all well, as if the node is started correctly.<br>
2. The error log is empty.<br>
3. The 'ps eax | grep beam.smp' command -- shows, that the Erlang virtual machine is running (!).<br>
4. But:<br>
* šCommand 'start' -- hangs<br>
* š'ping' is not work<br>
* šThe node cannot be stopped, because the 'stop' command does not work<br>
* šI can't connect to the node through 'attach'/'attach-direct' for the same reason<br>
* šEven 'getpid' says that the node is not running....<br>
<br>
What could be the problem?<br>
<br>
(Erlang R16B01, RHEL6.3 )<br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote></div><br></div>