|
Minimserver 2 doesn't start when Fedora 35 starts
|
|
25-12-2021, 20:44
(This post was last modified: 25-12-2021 20:53 by Le Dom.)
Post: #1
|
|||
|
|||
|
Minimserver 2 doesn't start when Fedora 35 starts
Hi,
Ive installed Minimserver 2.1 without problem on Fedora Server 35 headless. I have enabled autostart but Minimserver doesn't start when Fedora starts. So I have create a service file minimserver.service in etc/systemd/system but Minimserver doesn' start. Here is the result of ^C [root@00-A0-C9-01-03-35 ~]# systemctl status minimserver.service: × minimserver.service - minimserver 2 Loaded: loaded (/etc/systemd/system/minimserver.service; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since Sat 2021-12-25 20:16:07 CET; 17s ago Process: 3266 ExecStart=/opt/minimserver/bin/startd (code=exited, status=1/FAILURE) Main PID: 3266 (code=exited, status=1/FAILURE) CPU: 61ms déc. 25 20:16:06 00-A0-C9-01-03-35 systemd[1]: Starting minimserver 2... déc. 25 20:16:07 00-A0-C9-01-03-35 startd[3301]: /opt/minimserver/bin/startd: ligne 164: java : command not found déc. 25 20:16:07 00-A0-C9-01-03-35 systemd[1]: minimserver.service: Main process exited, code=exited, status=1/FAILURE déc. 25 20:16:07 00-A0-C9-01-03-35 systemd[1]: minimserver.service: Failed with result 'exit-code'. déc. 25 20:16:07 00-A0-C9-01-03-35 systemd[1]: Failed to start minimserver 2. I have tried to use rc.local but I get the same error. Do you have an idea or a solution? Many thanks in advance. |
|||
|
26-12-2021, 13:51
Post: #2
|
|||
|
|||
|
RE: Minimserver 2 doesn't start when Fedora 35 starts
Hi,
Finally, it seems that there is no solution to get autostart for minimserver 2 with fedora. In fact adding correct Environnement in the minimserver.service file I have been able to start minimserver with the command "systemctl start minimserver" but on Fedora startup no way to get minimserver starting. I've had enough for it and I'installed Ubuntu Server 20.04. |
|||
|
26-12-2021, 22:55
Post: #3
|
|||
|
|||
|
RE: Minimserver 2 doesn't start when Fedora 35 starts
This line:
déc. 25 20:16:07 00-A0-C9-01-03-35 startd[3301]: /opt/minimserver/bin/startd: ligne 164: java : command not found means the PATH setting at startup does not include the java executable (needed to run MinimServer). You might be able to solve this by putting a link to the java executable in /usr/local/bin or /usr/bin. If you can solve this, enabling autostart in minimserver/bin/setup should work. |
|||
|
27-12-2021, 10:07
Post: #4
|
|||
|
|||
|
RE: Minimserver 2 doesn't start when Fedora 35 starts
Hi Simon,
it is exactly what I've done but and it solves the problem when I type systemctl start minimserver. But for an obscure reason minimserver does't start at fedora startup. On Ubuntu server 20.4 everything works fine and a Real Time Kernel is available. But as I have activated my 5 licences (I forgot to deactivate them when I uninstall then reinstall OS), I'm now using minimserver in demo version. :-( |
|||
|
28-12-2021, 10:25
Post: #5
|
|||
|
|||
|
RE: Minimserver 2 doesn't start when Fedora 35 starts
I installed Fedora 35 to find out what is causing this. The problem is caused by SELinux preventing access to various resources needed by minimserver.service when minimserver.service is run at system startup.
As a workaround, I edited the /etc/selinux/config file to change SELINUX=enforcing to SELINUX=permissive. This enables MinimServer autostart to work correctly. I tried to find the correct SELinux settiings that would enable the access permissions needed by minimserver.service without making the whole system permissive but I was not successful. Any suggestions from SELinux experts would be appreciated. |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)

Search
Member List
Calendar
Help



