Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/amazon-web-services/14.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Amazon web services Libpostal docker不在AWS上运行_Amazon Web Services_Docker_Amazon Ec2 - Fatal编程技术网

Amazon web services Libpostal docker不在AWS上运行

Amazon web services Libpostal docker不在AWS上运行,amazon-web-services,docker,amazon-ec2,Amazon Web Services,Docker,Amazon Ec2,我正在使用libpostal进行地址解析。以下是git链接: 这个docker映像在我的本地机器上运行得非常好,但一旦我尝试在EC2上运行它,它就会失败,错误如下 Killed npm ERR! Linux 4.14.138-114.102.amzn2.x86_64 npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start" npm ERR! node v7.10.0 npm ERR! npm v4.2.0 npm ERR

我正在使用libpostal进行地址解析。以下是git链接:

这个docker映像在我的本地机器上运行得非常好,但一旦我尝试在EC2上运行它,它就会失败,错误如下

Killed

npm ERR! Linux 4.14.138-114.102.amzn2.x86_64
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
npm ERR! node v7.10.0
npm ERR! npm  v4.2.0
npm ERR! code ELIFECYCLE
npm ERR! errno 137
npm ERR! node-zeromq@1.0.0 start: `DEBUG=libpostal:zeromq* node server.js`
npm ERR! Exit status 137
npm ERR! 
npm ERR! Failed at the node-zeromq@1.0.0 start script 'DEBUG=libpostal:zeromq* node server.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the node-zeromq package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     DEBUG=libpostal:zeromq* node server.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs node-zeromq
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls node-zeromq
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /root/.npm/_logs/2019-10-03T00_30_06_303Z-debug.log

我确实在EC2实例上重新安装了最新版本的
zerorpc
nodejs
npm
。但是仍然无法找出错误。

嗨,拉维,您的EC2配置是什么?您正在使用存储库中的哪个Dockerfile?Amazon Linux 2。它在AmazonEC2、Systemd219、GCC7.3、Glibc2.26、Binutils 2.29.1和最新的软件包上提供了经过优化的Linux内核4.14,并通过extras实现了最佳性能。docker pull pasupulaphani/libmq有多少内存?你满足先决条件了吗?我把一切都保持在默认设置。。。是RAM错误吗?我没有看到任何与内存不足相关的内容,尽管进程可能因此而被终止,但请在/var/log/messages上查看一下。