if i run
systemctl start mineos
it give me error:
Job for mineos.service failed because the control process exited with error code.
See “systemctl status mineos.service” and “journalctl -xeu mineos.service” for details.
Can you help. Im new to linux
Hi.
Did you run the reccomened commands? “systemctl status mineos.service” and “journalctl -xeu mineos.service” are log-viewers that show you status and any error message that pop up in your system logs for the mineos service.
Please try: systemctl status mineos
This will check to see if MineOS is already running
So far all I can answer is that something is making MineOS stop when trying to start. It might be a lot of reasons, like MineOS already running, missing files, problems with file access, missing dependencies and so on.
been trying to fix this for 4 days after a hardware fail and i cant see the problem need fresh eyes on how to fix this i probably just`` overlooking it
root@mcserver:/usr/games/minecraft# systemctl start mineos.service
Job for mineos.service failed because the control process exited with error code.
See "systemctl status mineos.service" and "journalctl -xeu mineos.service" for details.
root@mcserver:/usr/games/minecraft# journalctl -xeu mineos.service
Jul 01 20:22:34 mcserver node[6311]: code: 'MODULE_NOT_FOUND',
Jul 01 20:22:34 mcserver node[6311]: requireStack: [ '/usr/games/minecraft/service.js' ]
Jul 01 20:22:34 mcserver node[6311]: }
Jul 01 20:22:34 mcserver node[6311]: Node.js v18.19.1
Jul 01 20:22:34 mcserver systemd[1]: mineos.service: Control process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ An ExecStart= process belonging to unit mineos.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
Jul 01 20:22:34 mcserver systemd[1]: mineos.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ The unit mineos.service has entered the 'failed' state with result 'exit-code'.
Jul 01 20:22:34 mcserver systemd[1]: Failed to start mineos.service - Start MineOS minecraft front-end.
░░ Subject: A start job for unit mineos.service has failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A start job for unit mineos.service has finished with a failure.
░░
░░ The job identifier is 3211 and the job result is failed.
Jul 01 20:22:35 mcserver systemd[1]: mineos.service: Scheduled restart job, restart counter is at 5.
░░ Subject: Automatic restarting of a unit has been scheduled
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ Automatic restarting of the unit mineos.service has been scheduled, as the result for
░░ the configured Restart= setting for the unit.
Jul 01 20:22:35 mcserver systemd[1]: mineos.service: Start request repeated too quickly.
Jul 01 20:22:35 mcserver systemd[1]: mineos.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ The unit mineos.service has entered the 'failed' state with result 'exit-code'.
Jul 01 20:22:35 mcserver systemd[1]: Failed to start mineos.service - Start MineOS minecraft front-end.
░░ Subject: A start job for unit mineos.service has failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A start job for unit mineos.service has finished with a failure.
░░
░░ The job identifier is 3317 and the job result is failed.
Hi.
It looks like your node install has failed.
Please try the following:
cd /usr/games/minecraft
npm install --unsafe-perm
If that commands fails wit missing node please try:
sudo apt update
sudo apt -y install nodejs
then try
npm install --unsafe-perm
again
A note about --unsafe-perm:
This is because MineOS is reliant on some old node modules and crash if newer versions are used. Node throws a fit when MineOS tries to install the old ones and refuses, so we have to tell it we actually want them.
hay thanks i see what you mean now i wounder when this will be fully updated to not need so much modding to get work i dont remember having to do this much work the last time i installed O well still a great tool