Skip to content

Instantly share code, notes, and snippets.

@mattray
Created February 9, 2018 05:48
Show Gist options
  • Select an option

  • Save mattray/41d9fef12d72e4dd7c9875a09f5a0f0d to your computer and use it in GitHub Desktop.

Select an option

Save mattray/41d9fef12d72e4dd7c9875a09f5a0f0d to your computer and use it in GitHub Desktop.
[5][default:/src:0]# sl
sl
--> Tailing the Habitat Supervisor's output (use 'Ctrl+c' to stop)
→ Using core/libsodium/1.0.13/20170905223149
→ Using core/linux-headers/4.3/20170513200956
→ Using core/openssl/1.0.2l/20171014213633
→ Using core/xz/5.2.2/20170513214327
→ Using core/zlib/1.2.8/20170513201911
✓ Installed core/hab-launcher/6927/20180203032953
★ Install of core/hab-launcher/6927/20180203032953 complete with 1 new packages installed.
hab-sup(MR): Supervisor Member-ID 652551fdfee44597a1a4fd1385be6cdf
hab-sup(MR): Starting gossip-listener on 0.0.0.0:9638
hab-sup(MR): Starting http-gateway on 0.0.0.0:9631
hab-sup(MR): Starting mattray/sample-node-app
sample-node-app.default(UCW): Watching user.toml
sample-node-app.default(HK): init, compiled to /hab/svc/sample-node-app/hooks/init
sample-node-app.default(HK): Hooks compiled
sample-node-app.default(SR): Hooks recompiled
default(CF): Updated config.json 3f22842e8d737bbb107d9ac19afba42642eccf68a06ddfbdba70507b23b8498a
default(CF): Updated app_env.sh 9c88a9595def28f5914f08997b3cd3ba8d32f0e3eb2b4e4ea90264acd6acb66b
sample-node-app.default(SR): Configuration recompiled
sample-node-app.default(SR): Initializing
sample-node-app.default(SV): Starting service as user=hab, group=hab
sample-node-app.default(O): fs.js:646
sample-node-app.default(O): return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
sample-node-app.default(O): ^
sample-node-app.default(O):
sample-node-app.default(O): Error: EACCES: permission denied, open '/hab/pkgs/mattray/sample-node-app/1.0.1/20180209054334/app/bin/www'
sample-node-app.default(O): at Object.fs.openSync (fs.js:646:18)
sample-node-app.default(O): at Object.fs.readFileSync (fs.js:551:33)
sample-node-app.default(O): at Object.Module._extensions..js (module.js:653:20)
sample-node-app.default(O): at Module.load (module.js:556:32)
sample-node-app.default(O): at tryModuleLoad (module.js:499:12)
sample-node-app.default(O): at Function.Module._load (module.js:491:3)
sample-node-app.default(O): at Function.Module.runMain (module.js:684:10)
sample-node-app.default(O): at startup (bootstrap_node.js:187:16)
sample-node-app.default(O): at bootstrap_node.js:608:3
hab-launch(SV): Child for service 'sample-node-app.default' with PID 1548 exited with code exit code: 1
sample-node-app.default(SV): Starting service as user=hab, group=hab
sample-node-app.default(O): fs.js:646
sample-node-app.default(O): return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment