MinimServer Forum
minimserver.service is failing - Printable Version

+- MinimServer Forum (https://forum.minimserver.com)
+-- Forum: MinimServer (/forumdisplay.php?fid=1)
+--- Forum: Support (/forumdisplay.php?fid=4)
+--- Thread: minimserver.service is failing (/showthread.php?tid=6674)



minimserver.service is failing - seanshankus - 02-09-2022 00:20

i'm running a LXC container with minim server and i can get it to start but it fails. I'm used to older style rc and log files so some of this is me not knowing where to look with systemctl type services (i.e. where's the error log and/or how do i turn up the logging).

here is what i get from
$> systemctl status minimserver.service

Code:
░░
░░ The process nohup could not be executed and failed.
░░
░░ The error number returned by this process is ERRNO.
Sep 01 19:14:37 modernmusic systemd[1]: minimserver.service: Control process exited, code=exited, status=216/GROUP
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ An ExecStart= process belonging to unit minimserver.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 216.
Sep 01 19:14:37 modernmusic systemd[1]: minimserver.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The unit minimserver.service has entered the 'failed' state with result 'exit-code'.
Sep 01 19:14:37 modernmusic systemd[1]: Failed to start Minimserver mulimedia server.
░░ Subject: A start job for unit minimserver.service has failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit minimserver.service has finished with a failure.
░░
░░ The job identifier is 522 and the job result is failed.



RE: minimserver.service is failing - simoncn - 02-09-2022 17:41

MinimServer doesn't use the nohup command. For running MinimServer in an LXC container, did you follow the instructions on this page?


RE: minimserver.service is failing - seanshankus - 03-09-2022 15:38

i did but was running into lots of the ipmap issues and tried many things to get the user/group aligned with the container. At some point i added the service as a debian system service that had both a user & group config that didn't exist on the server itself.
I've since uninstalled attempted to clean up everything within the container system, users, groups & services-wise. and reinstalled the minimserver service. I think the issue was me trying to register this via systemctl enable commands and then manually trying to add the necessary system files to make it work as a systemctl service.
all that to say, after the clean up and resinstall everything seems to be working.