Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] minecraft server
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
FilthyPitDog
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jan 2021
Posts: 85

PostPosted: Sun May 08, 2022 1:32 am    Post subject: [Solved] minecraft server Reply with quote

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
View user's profile Send private message
FilthyPitDog
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jan 2021
Posts: 85

PostPosted: Sun May 08, 2022 2:05 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum