Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- > node src/index.js | node_modules/bunyan/bin/bunyan -o short
- 21:22:36.026Z INFO wings: + ------------------------------------ +
- 21:22:36.028Z INFO wings: | Running Pterodactyl Daemon v0.6.12 |
- 21:22:36.028Z INFO wings: | https://pterodactyl.io |
- 21:22:36.028Z INFO wings: | Copyright 2015 - 2019 Dane Everitt |
- 21:22:36.028Z INFO wings: + ------------------------------------ +
- 21:22:36.028Z INFO wings: Loading modules, this could take a few seconds.
- 21:22:36.392Z INFO wings: Modules loaded, starting Pterodactyl Daemon...
- 21:22:36.407Z INFO wings: Creating keypair to use for SFTP connections.
- 21:22:41.173Z FATAL wings: A fatal error caused the daemon to abort the startup. (err.code=127, err.signal=null)
- Error: Command failed: unzip --help
- /bin/sh: 1: unzip: not found
- at ChildProcess.exithandler (child_process.js:281:12)
- at emitTwo (events.js:126:13)
- at ChildProcess.emit (events.js:214:7)
- at maybeClose (internal/child_process.js:915:16)
- at Socket.stream.socket.on (internal/child_process.js:336:11)
- at emitOne (events.js:116:13)
- at Socket.emit (events.js:211:7)
- at Pipe._handle.close [as _onclose] (net.js:561:12)
- --
- additional: {
- "killed": false,
- "code": 127,
- "signal": null,
- "cmd": "unzip --help"
- }
- 21:22:41.173Z ERROR wings: You should forcibly quit this process (CTRL+C) and attempt to fix the issue.
- root@PTDEAMON1:/srv/daemon# npm install -g forever
- /usr/bin/forever -> /usr/lib/node_modules/forever/bin/forever
- npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/forever/node_modules/fsevents):
- npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
- + forever@1.0.0
- added 247 packages from 152 contributors in 12.903s
- root@PTDEAMON1:/srv/daemon# forever start src/index.js
- warn: --minUptime not set. Defaulting to: 1000ms
- warn: --spinSleepTime not set. Your script will exit if it does not stay up for at least 1000ms
- info: Forever processing file: src/index.js
- root@PTDEAMON1:/srv/daemon# cd /etc/systemd/system
- root@PTDEAMON1:/etc/systemd/system# nano wings.service
- root@PTDEAMON1:/etc/systemd/system# forever stop src/index.js
- error: Forever cannot find process with id: src/index.js
- root@PTDEAMON1:/etc/systemd/system# sudo npm start
- npm ERR! path /etc/systemd/system/package.json
- npm ERR! code ENOENT
- npm ERR! errno -2
- npm ERR! syscall open
- npm ERR! enoent ENOENT: no such file or directory, open '/etc/systemd/system/package.json'
- npm ERR! enoent This is related to npm not being able to find a file.
- npm ERR! enoent
- npm ERR! A complete log of this run can be found in:
- npm ERR! /root/.npm/_logs/2019-05-20T21_25_47_500Z-debug.log
- root@PTDEAMON1:/etc/systemd/system# systemctl enable --now wings
- Created symlink from /etc/systemd/system/multi-user.target.wants/wings.service to /etc/systemd/system/wings.service.
- root@PTDEAMON1:/etc/systemd/system# sudo npm start
- npm ERR! path /etc/systemd/system/package.json
- npm ERR! code ENOENT
- npm ERR! errno -2
- npm ERR! syscall open
- npm ERR! enoent ENOENT: no such file or directory, open '/etc/systemd/system/package.json'
- npm ERR! enoent This is related to npm not being able to find a file.
- npm ERR! enoent
- npm ERR! A complete log of this run can be found in:
- npm ERR! /root/.npm/_logs/2019-05-20T21_26_03_476Z-debug.log
- root@PTDEAMON1:/etc/systemd/system# forever start src/index.js
- warn: --minUptime not set. Defaulting to: 1000ms
- warn: --spinSleepTime not set. Your script will exit if it does not stay up for at least 1000ms
- info: Forever processing file: src/index.js
- error: Cannot start forever
- error: script /etc/systemd/system/src/index.js does not exist.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement