SHARE
TWEET

Untitled

a guest May 20th, 2019 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. > node src/index.js | node_modules/bunyan/bin/bunyan -o short
  2.  
  3. 21:22:36.026Z  INFO wings: + ------------------------------------ +
  4. 21:22:36.028Z  INFO wings: | Running Pterodactyl Daemon v0.6.12    |
  5. 21:22:36.028Z  INFO wings: |        https://pterodactyl.io        |
  6. 21:22:36.028Z  INFO wings: |  Copyright 2015 - 2019 Dane Everitt  |
  7. 21:22:36.028Z  INFO wings: + ------------------------------------ +
  8. 21:22:36.028Z  INFO wings: Loading modules, this could take a few seconds.
  9. 21:22:36.392Z  INFO wings: Modules loaded, starting Pterodactyl Daemon...
  10. 21:22:36.407Z  INFO wings: Creating keypair to use for SFTP connections.
  11. 21:22:41.173Z FATAL wings: A fatal error caused the daemon to abort the startup. (err.code=127, err.signal=null)
  12.     Error: Command failed: unzip --help
  13.     /bin/sh: 1: unzip: not found
  14.  
  15.         at ChildProcess.exithandler (child_process.js:281:12)
  16.         at emitTwo (events.js:126:13)
  17.         at ChildProcess.emit (events.js:214:7)
  18.         at maybeClose (internal/child_process.js:915:16)
  19.         at Socket.stream.socket.on (internal/child_process.js:336:11)
  20.         at emitOne (events.js:116:13)
  21.         at Socket.emit (events.js:211:7)
  22.         at Pipe._handle.close [as _onclose] (net.js:561:12)
  23.     --
  24.     additional: {
  25.       "killed": false,
  26.       "code": 127,
  27.       "signal": null,
  28.       "cmd": "unzip --help"
  29.     }
  30. 21:22:41.173Z ERROR wings: You should forcibly quit this process (CTRL+C) and attempt to fix the issue.
  31. root@PTDEAMON1:/srv/daemon# npm install -g forever
  32. /usr/bin/forever -> /usr/lib/node_modules/forever/bin/forever
  33. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/forever/node_modules/fsevents):
  34. npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
  35.  
  36. + forever@1.0.0
  37. added 247 packages from 152 contributors in 12.903s
  38. root@PTDEAMON1:/srv/daemon# forever start src/index.js
  39. warn:    --minUptime not set. Defaulting to: 1000ms
  40. warn:    --spinSleepTime not set. Your script will exit if it does not stay up for at least 1000ms
  41. info:    Forever processing file: src/index.js
  42. root@PTDEAMON1:/srv/daemon# cd /etc/systemd/system
  43. root@PTDEAMON1:/etc/systemd/system# nano wings.service
  44. root@PTDEAMON1:/etc/systemd/system# forever stop src/index.js
  45. error:   Forever cannot find process with id: src/index.js
  46. root@PTDEAMON1:/etc/systemd/system# sudo npm start
  47. npm ERR! path /etc/systemd/system/package.json
  48. npm ERR! code ENOENT
  49. npm ERR! errno -2
  50. npm ERR! syscall open
  51. npm ERR! enoent ENOENT: no such file or directory, open '/etc/systemd/system/package.json'
  52. npm ERR! enoent This is related to npm not being able to find a file.
  53. npm ERR! enoent
  54.  
  55. npm ERR! A complete log of this run can be found in:
  56. npm ERR!     /root/.npm/_logs/2019-05-20T21_25_47_500Z-debug.log
  57. root@PTDEAMON1:/etc/systemd/system# systemctl enable --now wings
  58. Created symlink from /etc/systemd/system/multi-user.target.wants/wings.service to /etc/systemd/system/wings.service.
  59. root@PTDEAMON1:/etc/systemd/system# sudo npm start
  60. npm ERR! path /etc/systemd/system/package.json
  61. npm ERR! code ENOENT
  62. npm ERR! errno -2
  63. npm ERR! syscall open
  64. npm ERR! enoent ENOENT: no such file or directory, open '/etc/systemd/system/package.json'
  65. npm ERR! enoent This is related to npm not being able to find a file.
  66. npm ERR! enoent
  67.  
  68. npm ERR! A complete log of this run can be found in:
  69. npm ERR!     /root/.npm/_logs/2019-05-20T21_26_03_476Z-debug.log
  70. root@PTDEAMON1:/etc/systemd/system# forever start src/index.js
  71. warn:    --minUptime not set. Defaulting to: 1000ms
  72. warn:    --spinSleepTime not set. Your script will exit if it does not stay up for at least 1000ms
  73. info:    Forever processing file: src/index.js
  74. error:   Cannot start forever
  75. error:   script /etc/systemd/system/src/index.js does not exist.
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top