ich stark-Uhr auf einer AWS Linux-Instanz installiert haben:starke Uhr http auth 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
Wenn ich den Status strong-Uhr zu überprüfen versuchen, erhalte ich eine 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
Gedanken? Ich habe mehrere Male mit verschiedenen Benutzer/Passwort-Kombinationen neu installiert (keine Sonderzeichen, das "admin: foobar" -Beispiel aus den Dokumenten usw.) und nichts funktioniert.
Eventuell mussten Sie "stop", "reload-configuration" und dann "start" anstelle von "restesart" ausführen. Als ich am Service-Installer von strong-pm arbeitete, fand ich Upstart (besonders 0.6) wirklich knifflig, wenn es um sich ändernde Service-Konfigurationen ging. –