View previous topic :: View next topic |
Author |
Message |
FilthyPitDog Apprentice
Joined: 12 Jan 2021 Posts: 198 Location: South Pacific
|
Posted: Sun May 08, 2022 1:32 am Post subject: [Solved] minecraft server |
|
|
Hey so I started my server with "rc-service minecraft-server.gentoo attach" and worked fine the first time then I hit CTRL to close. Now I tried to start it again and I cant... I also tried rebooting and still cant atttach. Any tips?
Code: | rc-service minecraft-server.gentoo attach
* Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/minecraft-server.gentoo attach
cat: /proc/6648/cmdline: No such file or directory
* The determined socket file for dtach could not be found!
* Did the process crash? |
Code: | rc-service minecraft-server.gentoo restart
* Caching service dependencies ... [ ok ]
* Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/minecraft-server.gentoo stop
* Stopping Minecraft Server (World: gentoo) ...
* Will stop /usr/bin/dtach
* Will stop PID 6648
* Will stop processes of `/usr/bin/dtach'
* start-stop-daemon: no matching processes found [ ok ]
* Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/minecraft-server.gentoo start
* Starting Minecraft Server (World: gentoo) ...
* start-stop-daemon: fopen `/run/minecraft-server.gentoo.pid': No such file or directory
* Detaching to start `/usr/bin/dtach' ... |
|
|
Back to top |
|
|
FilthyPitDog Apprentice
Joined: 12 Jan 2021 Posts: 198 Location: South Pacific
|
Posted: Sun May 08, 2022 2:05 am Post subject: |
|
|
I had to start it like this
/opt/openjdk-bin-17.0.2_p8/bin/java -Xmx8192M -Xms8192M -jar /usr/share/minecraft-server/lib/minecraft-server.jar |
|
Back to top |
|
|
|