Jarli01 / xenorchestra_installer

A simple install script for Xen Orchestra
GNU General Public License v3.0
428 stars 86 forks source link

Fresh Install 18.04.1 - xo fail to start #31

Closed geek-baba closed 6 years ago

geek-baba commented 6 years ago

Expected Behavior

The xo server should start after a fresh install and reboot.


Actual Behavior

XO server fails to start


Confirm XOCE services are running

systemctl status xo-server.service systemctl status xo-server.service ● xo-server.service - XO Server Loaded: loaded (/lib/systemd/system/xo-server.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Fri 2018-08-17 11:30:30 UTC; 5s ago Process: 1462 ExecStart=/usr/local/bin/node ./bin/xo-server (code=exited, status=203/EXEC) Main PID: 1462 (code=exited, status=203/EXEC)

Aug 17 11:30:30 xoc systemd[1]: xo-server.service: Service hold-off time over, scheduling restart. Aug 17 11:30:30 xoc systemd[1]: xo-server.service: Scheduled restart job, restart counter is at 5. Aug 17 11:30:30 xoc systemd[1]: Stopped XO Server. Aug 17 11:30:30 xoc systemd[1]: xo-server.service: Start request repeated too quickly. Aug 17 11:30:30 xoc systemd[1]: xo-server.service: Failed with result 'exit-code'. Aug 17 11:30:30 xoc systemd[1]: Failed to start XO Server.

Provide the output of journalctl logs

journalctl -u xo-server -f -n 50 -- Logs begin at Fri 2018-08-17 11:00:52 UTC. -- Aug 17 11:24:07 xoc systemd[1]: xo-server.service: Failed with result 'exit-code'. Aug 17 11:24:07 xoc systemd[1]: xo-server.service: Service hold-off time over, scheduling restart. Aug 17 11:24:07 xoc systemd[1]: xo-server.service: Scheduled restart job, restart counter is at 5. Aug 17 11:24:07 xoc systemd[1]: Stopped XO Server. Aug 17 11:24:07 xoc systemd[1]: xo-server.service: Start request repeated too quickly. Aug 17 11:24:07 xoc systemd[1]: xo-server.service: Failed with result 'exit-code'. Aug 17 11:24:07 xoc systemd[1]: Failed to start XO Server. Aug 17 11:30:29 xoc systemd[1]: Started XO Server. Aug 17 11:30:29 xoc systemd[1421]: xo-server.service: Failed to execute command: No such file or directory Aug 17 11:30:29 xoc systemd[1421]: xo-server.service: Failed at step EXEC spawning /usr/local/bin/node: No such file or directory Aug 17 11:30:29 xoc systemd[1]: xo-server.service: Main process exited, code=exited, status=203/EXEC Aug 17 11:30:29 xoc systemd[1]: xo-server.service: Failed with result 'exit-code'. Aug 17 11:30:29 xoc systemd[1]: xo-server.service: Service hold-off time over, scheduling restart. Aug 17 11:30:29 xoc systemd[1]: xo-server.service: Scheduled restart job, restart counter is at 1. Aug 17 11:30:29 xoc systemd[1]: Stopped XO Server. Aug 17 11:30:29 xoc systemd[1]: Started XO Server. Aug 17 11:30:29 xoc systemd[1432]: xo-server.service: Failed to execute command: No such file or directory Aug 17 11:30:29 xoc systemd[1432]: xo-server.service: Failed at step EXEC spawning /usr/local/bin/node: No such file or directory Aug 17 11:30:29 xoc systemd[1]: xo-server.service: Main process exited, code=exited, status=203/EXEC Aug 17 11:30:29 xoc systemd[1]: xo-server.service: Failed with result 'exit-code'. Aug 17 11:30:30 xoc systemd[1]: xo-server.service: Service hold-off time over, scheduling restart. Aug 17 11:30:30 xoc systemd[1]: xo-server.service: Scheduled restart job, restart counter is at 2. Aug 17 11:30:30 xoc systemd[1]: Stopped XO Server. Aug 17 11:30:30 xoc systemd[1]: Started XO Server. Aug 17 11:30:30 xoc systemd[1442]: xo-server.service: Failed to execute command: No such file or directory Aug 17 11:30:30 xoc systemd[1442]: xo-server.service: Failed at step EXEC spawning /usr/local/bin/node: No such file or directory Aug 17 11:30:30 xoc systemd[1]: xo-server.service: Main process exited, code=exited, status=203/EXEC Aug 17 11:30:30 xoc systemd[1]: xo-server.service: Failed with result 'exit-code'. Aug 17 11:30:30 xoc systemd[1]: xo-server.service: Service hold-off time over, scheduling restart. Aug 17 11:30:30 xoc systemd[1]: xo-server.service: Scheduled restart job, restart counter is at 3. Aug 17 11:30:30 xoc systemd[1]: Stopped XO Server. Aug 17 11:30:30 xoc systemd[1]: Started XO Server. Aug 17 11:30:30 xoc systemd[1452]: xo-server.service: Failed to execute command: No such file or directory Aug 17 11:30:30 xoc systemd[1452]: xo-server.service: Failed at step EXEC spawning /usr/local/bin/node: No such file or directory Aug 17 11:30:30 xoc systemd[1]: xo-server.service: Main process exited, code=exited, status=203/EXEC Aug 17 11:30:30 xoc systemd[1]: xo-server.service: Failed with result 'exit-code'. Aug 17 11:30:30 xoc systemd[1]: xo-server.service: Service hold-off time over, scheduling restart. Aug 17 11:30:30 xoc systemd[1]: xo-server.service: Scheduled restart job, restart counter is at 4. Aug 17 11:30:30 xoc systemd[1]: Stopped XO Server. Aug 17 11:30:30 xoc systemd[1]: Started XO Server. Aug 17 11:30:30 xoc systemd[1462]: xo-server.service: Failed to execute command: No such file or directory Aug 17 11:30:30 xoc systemd[1462]: xo-server.service: Failed at step EXEC spawning /usr/local/bin/node: No such file or directory Aug 17 11:30:30 xoc systemd[1]: xo-server.service: Main process exited, code=exited, status=203/EXEC Aug 17 11:30:30 xoc systemd[1]: xo-server.service: Failed with result 'exit-code'. Aug 17 11:30:30 xoc systemd[1]: xo-server.service: Service hold-off time over, scheduling restart. Aug 17 11:30:30 xoc systemd[1]: xo-server.service: Scheduled restart job, restart counter is at 5. Aug 17 11:30:30 xoc systemd[1]: Stopped XO Server. Aug 17 11:30:30 xoc systemd[1]: xo-server.service: Start request repeated too quickly. Aug 17 11:30:30 xoc systemd[1]: xo-server.service: Failed with result 'exit-code'. Aug 17 11:30:30 xoc systemd[1]: Failed to start XO Server.

Provide answers to these questions:

Danp2 commented 6 years ago

Thanks for the report. There appears to be a change in behavior with Node that is affecting the installation. See #30 for additional discussion.

moveFWD commented 6 years ago

Hi shwetkprabhat, you are having the same issue as i had.

From your logging file: Aug 17 11:30:30 xoc systemd[1452]: xo-server.service: Failed at step EXEC spawning /usr/local/bin/node: No such file or directory

please read my issue https://github.com/Jarli01/xenorchestra_installer/issues/30 for steps in resolving this manually.

Best regards

Jarli01 commented 6 years ago

Was just about to post the same thing.

Danp2 commented 6 years ago

Duplicate of #30

Jarli01 commented 6 years ago

Fixed in #30 with the recent updates, please test again and let us know if you encounter any other issues.

Thanks!