1
我已經安裝了強在下午的AWS Linux實例:強時HTTP認證401
[[email protected]]# npm -g install strongloop strong-pm
[[email protected]]# sl-pm-install --http-auth user:pass --force --upstart 0.6 --set-env NODE_ENV=production
[[email protected]]# /sbin/initctl reload-configuration
[[email protected]]# /sbin/initctl restart strong-pm
strong-pm start/running, process 18171
當我嘗試檢查強時的狀態,我得到一個401
[[email protected]]# slc ctl -C http://user:[email protected]: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:[email protected]:8701" failed with Error: Error: 401
想法?我用不同的用戶/傳球組合重新安裝了幾次(沒有特殊字符,文檔中的「admin:foobar」示例等),沒有任何效果。
你可能不得不做'stop','reload-configuration',然後'start'而不是'restsart'。在處理strong-pm服務安裝程序時,我發現Upstart(特別是0.6)在處理不斷變化的服務配置時非常挑剔。 –