server stops the second i start it how do i fix it?

[Pterodactyl Daemon]: Updating process configuration files... [Pterodactyl Daemon]: Ensuring file permissions are set correctly, this could take a few seconds... container@pterodactyl~ Server marked as starting... [Pterodactyl Daemon]: Pulling Docker container image, this could take a few minutes to complete... [Pterodactyl Daemon]: Finished pulling Docker container image container@pterodactyl~ java -version openjdk version "21.0.3" 2024-04-16 LTS OpenJDK Runtime Environment Temurin-21.0.3+9 (build 21.0.3+9-LTS) OpenJDK 64-Bit Server VM Temurin-21.0.3+9 (build 21.0.3+9-LTS, mixed mode, sharing) container@pterodactyl~ java -Xms128M -XX:MaxRAMPercentage=95.0 -Dterminal.jline=false -Dterminal.ansi=true -jar servers.jar Error: Unable to access jarfile servers.jar container@pterodactyl~ Server marked as offline... [Pterodactyl Daemon]: ---------- Detected server process in a crashed state! ---------- [Pterodactyl Daemon]: Exit code: 1 [Pterodactyl Daemon]: Out of memory: false [Pterodactyl Daemon]: Updating process configuration files... [Pterodactyl Daemon]: Ensuring file permissions are set correctly, this could take a few seconds... container@pterodactyl~ Server marked as starting... [Pterodactyl Daemon]: Pulling Docker container image, this could take a few minutes to complete... [Pterodactyl Daemon]: Finished pulling Docker container image container@pterodactyl~ java -version openjdk version "21.0.3" 2024-04-16 LTS OpenJDK Runtime Environment Temurin-21.0.3+9 (build 21.0.3+9-LTS) OpenJDK 64-Bit Server VM Temurin-21.0.3+9 (build 21.0.3+9-LTS, mixed mode, sharing) container@pterodactyl~ java -Xms128M -XX:MaxRAMPercentage=95.0 -Dterminal.jline=false -Dterminal.ansi=true -jar servers.jar Error: Unable to access jarfile servers.jar container@pterodactyl~ Server marked as offline... [Pterodactyl Daemon]: ---------- Detected server process in a crashed state! ---------- [Pterodactyl Daemon]: Exit code: 1 [Pterodactyl Daemon]: Out of memory: false [Pterodactyl Daemon]: Aborting automatic restart, last crash occurred less than 60 seconds ago.
19 Replies
Admincraft Meta
Admincraft Meta5mo ago
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close !close !solved !answered
Requested by mristic#0
Skullians
Skullians5mo ago
uh it’s in the log your server.jar does not exist
mristic
mristicOP5mo ago
i have one tho
Skullians
Skullians5mo ago
show a screenshot
mristic
mristicOP5mo ago
No description
Skullians
Skullians5mo ago
where is it located oh rename it to servers.jar
mristic
mristicOP5mo ago
/home/container/ ok its still crashing
Skullians
Skullians5mo ago
logs
mristic
mristicOP5mo ago
Admincraft Meta
Admincraft Meta5mo ago
We have uploaded your file to a paste service for better readability
Paste services are more mobile friendly and easier to read than just posting a file
Requested by mristic
Skullians
Skullians5mo ago
It’s a different crash but what mc version
mristic
mristicOP5mo ago
1.12.2
Skullians
Skullians5mo ago
you’re using java 21 for 1.12.2 Change your Java version to 11 or 8 do 8
mristic
mristicOP5mo ago
oh shoot thatd make more sense thanks
mristic
mristicOP5mo ago
the server says it started after like 3 mins of starting then didnt start though these are the logs i got
Admincraft Meta
Admincraft Meta5mo ago
We have uploaded your file to a paste service for better readability
Paste services are more mobile friendly and easier to read than just posting a file
Requested by mristic
Torrent
Torrent5mo ago
Incomplete logs; nothing in here indicated that the server couldn’t start All I see is a ton of errors while loading mods then you tried to run /help and got an exception then the log ends
mristic
mristicOP5mo ago
yeah i switched hosts cus this just got confusing
Admincraft Meta
Admincraft Meta5mo ago
post closed!
The post/thread has been closed!
Requested by mristic#0

Did you find this page helpful?