Strongloop slc clt错误:失败并显示错误:读取ETIMEDOUT

时间:2015-12-29 00:23:54

标签: strongloop

我在远程盒子上运行了strongloop-pm服务。每当我尝试使用“slc ctl IPADDRESS”或“slc deploy IPADDRESS”或任何其他slc命令向该服务发送命令时,我会收到一条错误,指出“命令失败并显示错误:读取ETIMEDOUT”

例如,这里有一些我尝试过的命令:

slc ctl -C http://IPADDRESS:8701
Command "status" on "http://IPADDRESS:8701" failed with Error: read ETIMEDOUT

和:

slc deploy http://IPADDRESS deploy
Error connecting to server: { [Error: read ECONNRESET] code: 'ECONNRESET', errno: 'ECONNRESET', syscall: 'read' }

远程控制台上的日志输出(位于/var/log/upstart/strong-pm.log)如下所示:

~
~
(END)
2015-12-29T05:39:04.407Z pid:24858 worker:16     at Function.Module._resolveFilename (module.js:327:15)
2015-12-29T05:39:04.407Z pid:24858 worker:16     at Function.Module._load (module.js:278:25)
2015-12-29T05:39:04.407Z pid:24858 worker:16     at Module.require (module.js:355:17)
2015-12-29T05:39:04.407Z pid:24858 worker:16     at Module.module.__proto__.require (/usr/local/lib/node_modules/strong-pm/node_modules/strong-agent/lib/agent.js:185:42)
2015-12-29T05:39:04.407Z pid:24858 worker:16     at require (internal/module.js:13:17)
2015-12-29T05:39:04.407Z pid:24858 worker:16     at PassportConfigurator.configureProvider (/var/lib/strong-pm/svc/2/work/291d15592019de52965662c23a2d101cd3887d49.1450903558289/node_modules/loopback-component-passport/lib/passport-configurator.js:149:22)
2015-12-29T05:39:04.407Z pid:24858 worker:16     at Object.<anonymous> (/var/lib/strong-pm/svc/2/work/291d15592019de52965662c23a2d101cd3887d49.1450903558289/server/server.js:80:24)
2015-12-29T05:39:04.407Z pid:24858 worker:16     at Module._compile (module.js:399:26)
2015-12-29T05:39:04.407Z pid:24858 worker:16     at Object.Module._extensions..js (module.js:406:10)
2015-12-29T05:39:04.407Z pid:24858 worker:16     at Module.load (module.js:345:32)
2015-12-29T05:39:04.414Z pid:24581 worker:0 ERROR supervisor worker id 16 (pid 24858) accidental exit with 1
2015-12-29T05:39:04.682Z pid:24880 worker:17 INFO strong-agent native addon missing, install a compiler
2015-12-29T05:39:04.683Z pid:24880 worker:17 INFO strong-agent v2.0.2 profiling app 'placesAPI' pid '24880'
2015-12-29T05:39:04.688Z pid:24880 worker:17 INFO strong-agent[24880] started profiling agent
2015-12-29T05:39:06.643Z pid:24581 worker:0 INFO supervisor started worker 18 (pid 24898)
2015-12-29T05:39:06.643Z pid:24581 worker:0 INFO supervisor resized to 2
2015-12-29T05:39:06.790Z pid:24880 worker:17 module.js:329
2015-12-29T05:39:06.790Z pid:24880 worker:17     throw err;
2015-12-29T05:39:06.790Z pid:24880 worker:17     ^
2015-12-29T05:39:06.791Z pid:24880 worker:17 Error: Cannot find module 'passport-local'
2015-12-29T05:39:06.791Z pid:24880 worker:17     at Function.Module._resolveFilename (module.js:327:15)
2015-12-29T05:39:06.791Z pid:24880 worker:17     at Function.Module._load (module.js:278:25)
2015-12-29T05:39:06.791Z pid:24880 worker:17     at Module.require (module.js:355:17)
2015-12-29T05:39:06.791Z pid:24880 worker:17     at Module.module.__proto__.require (/usr/local/lib/node_modules/strong-pm/node_modules/strong-agent/lib/agent.js:185:42)
2015-12-29T05:39:06.791Z pid:24880 worker:17     at require (internal/module.js:13:17)
~
~
(END)

包含它有帮助 - 扫描我的盒子上的开放端口如下:

 ✘ peter@peters-MacBook-Pro  ~/Desktop/projects/www/places-api   master ●  nmap -P0 IPADDRESS

Starting Nmap 7.00 ( https://nmap.org ) at 2015-12-29 01:34 EST
Nmap scan report for IPADDRESS
Host is up (0.085s latency).
Not shown: 989 filtered ports
PORT     STATE  SERVICE
21/tcp   open   ftp
22/tcp   open   ssh
25/tcp   closed smtp
80/tcp   closed http
443/tcp  closed https
554/tcp  open   rtsp
3000/tcp closed ppp
3001/tcp closed nessus
4444/tcp closed krb524
7070/tcp open   realserver
8701/tcp open   unknown

0 个答案:

没有答案