Node.js 强pm http验证401

Node.js 强pm http验证401,node.js,strongloop,Node.js,Strongloop,我已在AWS linux实例上安装了strong pm: [root@box]# npm -g install strongloop strong-pm [root@box]# sl-pm-install --http-auth user:pass --force --upstart 0.6 --set-env NODE_ENV=production [root@box]# /sbin/initctl reload-configuration [root@box]# /sbin/initctl

我已在AWS linux实例上安装了strong pm:

[root@box]# npm -g install strongloop strong-pm
[root@box]# sl-pm-install --http-auth user:pass --force --upstart 0.6 --set-env NODE_ENV=production
[root@box]# /sbin/initctl reload-configuration
[root@box]# /sbin/initctl restart strong-pm
strong-pm start/running, process 18171
当我试图检查强pm的状态时,我得到了401

[root@box]# slc ctl -C http://user:pass@localhost:8701
(node:18234) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
(node:18234) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
Command "status" on "http://user:pass@localhost:8701" failed with Error: Error: 401

想法?我已经用不同的用户/密码组合(没有特殊字符,文档中的“admin:foobar”示例等)重新安装了好几次,但都没有效果。

完全重新安装修复了它。我的工作原理是,包含特殊字符的初始密码不可撤销地弄糟了一些东西。

您可能必须执行
停止
重新加载配置
,然后
启动
,而不是
恢复。在使用StrongPM的服务安装程序时,我发现Upstart(特别是0.6)在处理更改的服务配置时非常挑剔。