尝试启动riak服务器时,无法通过运行
启动riak console
显示
Erlang R16B02_basho6(erts-5.10.3)[source-bcd8abb] [64-bit] [smp:4:4] [async-threads:64] [kernel-poll:true] [frame-pointer]
[os_mon]内存管理器端口(memsup):Erlang已关闭[os_mon] cpu supervisor port(cpu_sup):Erlang已关闭{“Kernel pid 终止 “application_controller, ”{application_start_failure,riak_api,{{关机,{failed_to_start_child,\“ PB:// \ ”lab-vault.aspirapps.com \“:8087 \”,{bad_return_value,{错误,EINVAL}}} },{riak_api_app,启动,[正常,[]]}}}“}
这是riak.config(部分)
##
## Acceptable values:
## - an IP/port pair, e.g. 127.0.0.1:10011
listener.http.internal = lab-vault.aspirapps.com:8098
## listener.protobuf.<name> is an IP address and TCP port that the Riak
## Protocol Buffers interface will bind.
##
## Default: 127.0.0.1:8087
##
## Acceptable values:
## - an IP/port pair, e.g. 127.0.0.1:10011
listener.protobuf.internal = lab-vault.aspirapps.com:8087
## The maximum length to which the queue of pending connections
## may grow. If set, it must be an integer > 0. If you anticipate a
## huge number of connections being initialized *simultaneously*, set
## this number higher.
##
## Default: 128
##
## Acceptable values:
## - an integer
## protobuf.backlog = 128
## listener.https.<name> is an IP address and TCP port that the Riak
## HTTPS interface will bind.
##
## Acceptable values:
## - an IP/port pair, e.g. 127.0.0.1:10011
## listener.https.internal = lab-vault.aspirapps.com:8088
尝试用IP替换url名称但没有运气,它显示相同的错误消息。
如何让riak启动并运行?感谢。
答案 0 :(得分:1)
让它运作起来。 感谢Joe和Vempo帮助指出可能的解决方案。
我必须使用IP地址来绑定侦听IP和端口。 修改riak.conf文件后的附加步骤是删除以前生成的配置文件
rm -f /var/lib/riak/ring/*
rm -f /var/lib/riak/generated.configs/*
谢谢大家。