首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >使用EXRM部署菲尼克斯

使用EXRM部署菲尼克斯
EN

Stack Overflow用户
提问于 2016-03-29 10:04:22
回答 1查看 249关注 0票数 2

我正试图在Ubuntu服务器上部署一个带有EXRM的凤凰应用程序。

发行版运行得很完美,网站可以访问,但是当我打开版本时,它说

代码语言:javascript
复制
Node 'myapp@myhost' not responding to pings.

vm.args文件

代码语言:javascript
复制
## Name of the node
-sname pxblog

## Cookie for distributed erlang
-setcookie pxblog

## Heartbeat management; auto-restarts VM if it dies or becomes unresponsive
## (Disabled by default..use with caution!)
##-heart

## Enable kernel poll and a few async threads
##+K true
##+A 5

## Increase number of concurrent ports/sockets
##-env ERL_MAX_PORTS 4096

## Tweak GC to run more often
##-env ERL_FULLSWEEP_AFTER 10

更新的vm.args (已解决)

代码语言:javascript
复制
## Name of the node
-sname pxblog@localhost

## Cookie for distributed erlang
-setcookie pxblog

## Heartbeat management; auto-restarts VM if it dies or becomes unresponsive
## (Disabled by default..use with caution!)
##-heart

## Enable kernel poll and a few async threads
##+K true
##+A 5

## Increase number of concurrent ports/sockets
##-env ERL_MAX_PORTS 4096

## Tweak GC to run more often
##-env ERL_FULLSWEEP_AFTER 10
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2016-03-29 12:55:51

检查vm.args文件。查找与此类似的一行:

代码语言:javascript
复制
## Name of the node
-name test@127.0.0.1

我想你会发现"myapp@myhost“这个名字。尝试将其更改为yourappname@localhost或yourappname@127.0.0.1。注:我不是说你应该把文字字符串yourappname放在那里。替换您的应用程序的名称。

票数 3
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/36281192

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档