pterodactyl / panel

Pterodactyl® is a free, open-source game server management panel built with PHP, React, and Go. Designed with security in mind, Pterodactyl runs all game servers in isolated Docker containers while exposing a beautiful and intuitive UI to end users.
https://pterodactyl.io
Other
6.36k stars 1.56k forks source link

[Pterodactyl Daemon] ---------- Detected server process in a crashed state! ---------- #1225

Closed 0xC1A551C closed 6 years ago

0xC1A551C commented 6 years ago

Endless bootloop of this.

[Pterodactyl Daemon] Server marked as STARTING
[Pterodactyl Daemon] Checking size of server data directory...
[Pterodactyl Daemon] Disk Usage: 87113M / 512000M
[Pterodactyl Daemon] Ensuring file permissions.
[Pterodactyl Daemon] Running server preflight.
[Pterodactyl Daemon] Starting server container.
[Pterodactyl Daemon] Server container started. Attaching...
[Pterodactyl Daemon] ---------- Detected server process in a crashed state! ----------
[Pterodactyl Daemon] Exit Code: 1
[Pterodactyl Daemon] Out of Memory: false
[Pterodactyl Daemon] Error Response:
[Pterodactyl Daemon] Server marked as OFF
[Pterodactyl Daemon] Attempting to reboot server now.
[Pterodactyl Daemon] Server marked as STARTING
[Pterodactyl Daemon] Checking size of server data directory...
[Pterodactyl Daemon] Disk Usage: 87113M / 512000M
[Pterodactyl Daemon] Ensuring file permissions.
[Pterodactyl Daemon] Running server preflight.
[Pterodactyl Daemon] Starting server container.
[Pterodactyl Daemon] Server container started. Attaching...
[Pterodactyl Daemon] ---------- Detected server process in a crashed state! ----------
[Pterodactyl Daemon] Exit Code: 1
[Pterodactyl Daemon] Out of Memory: false
[Pterodactyl Daemon] Error Response:
[Pterodactyl Daemon] Server marked as OFF
[Pterodactyl Daemon] Aborting automatic reboot due to crash within the last 60 seconds.

Randomly started happening after I deleted the spigot.jar file from the server. where spigot.yml is. Startup params are all OK, and a working URL is present with spigot.jar.

Grabbed this from the wings.log file in srv/daemon.

{"name":"wings","hostname":"mira","pid":970,"level":30,"msg":"+ ------------------------------------ +","time":"2018-07-01T05:07:14.148Z","v":0}
{"name":"wings","hostname":"mira","pid":970,"level":30,"msg":"| Running Pterodactyl Daemon v0.5.6    |","time":"2018-07-01T05:07:14.149Z","v":0}
{"name":"wings","hostname":"mira","pid":970,"level":30,"msg":"|        https://pterodactyl.io        |","time":"2018-07-01T05:07:14.149Z","v":0}
{"name":"wings","hostname":"mira","pid":970,"level":30,"msg":"|  Copyright 2015 - 2018 Dane Everitt  |","time":"2018-07-01T05:07:14.150Z","v":0}
{"name":"wings","hostname":"mira","pid":970,"level":30,"msg":"+ ------------------------------------ +","time":"2018-07-01T05:07:14.150Z","v":0}
{"name":"wings","hostname":"mira","pid":970,"level":30,"msg":"Loading modules, this could take a few seconds.","time":"2018-07-01T05:07:14.150Z","v":0}
{"name":"wings","hostname":"mira","pid":970,"level":30,"msg":"Modules loaded, starting Pterodactyl Daemon...","time":"2018-07-01T05:07:16.619Z","v":0}
{"name":"wings","hostname":"mira","pid":970,"level":30,"msg":"Configuring user pterodactyl (id: 999) as the owner of all server files.","time":"2018-07-01T05:07:17.325Z","v":0}
{"name":"wings","hostname":"mira","pid":970,"level":30,"msg":"Configuring timezone file location...","time":"2018-07-01T05:07:17.358Z","v":0}
{"name":"wings","hostname":"mira","pid":970,"level":30,"msg":"Checking container networking environment...","time":"2018-07-01T05:07:17.359Z","v":0}
{"name":"wings","hostname":"mira","pid":970,"level":30,"msg":"Found network interface for daemon: pterodactyl_nw","time":"2018-07-01T05:07:17.379Z","v":0}
{"name":"wings","hostname":"mira","pid":970,"level":30,"msg":"Ensuring correct network interface for containers...","time":"2018-07-01T05:07:17.379Z","v":0}
{"name":"wings","hostname":"mira","pid":970,"level":30,"msg":"Networking gateway detected as 172.18.0.1 for interface: pterodactyl0.","time":"2018-07-01T05:07:17.392Z","v":0}
{"name":"wings","hostname":"mira","pid":970,"level":30,"msg":"Contacting panel to retrieve a list of currrent Eggs available to the node.","time":"2018-07-01T05:07:17.394Z","v":0}
{"name":"wings","hostname":"mira","pid":970,"level":30,"msg":"Checking existing eggs against Panel response...","time":"2018-07-01T05:07:18.231Z","v":0}
{"name":"wings","hostname":"mira","pid":970,"level":30,"msg":"Beginning server initialization process.","time":"2018-07-01T05:07:18.318Z","v":0}
{"name":"wings","hostname":"mira","pid":970,"level":30,"msg":"Configuring websocket for daemon stats...","time":"2018-07-01T05:07:18.542Z","v":0}
{"name":"wings","hostname":"mira","pid":970,"level":30,"msg":"Configuring internal SFTP server...","time":"2018-07-01T05:07:18.543Z","v":0}
{"name":"wings","hostname":"mira","pid":970,"level":30,"msg":"Pterodactyl Daemon is up-to-date!","time":"2018-07-01T05:07:18.780Z","v":0}
{"name":"wings","hostname":"mira","pid":970,"level":30,"msg":"Pterodactyl Daemon is now listening for secure connections on 0.0.0.0:8443","time":"2018-07-01T05:07:18.780Z","v":0}
{"name":"wings","hostname":"mira","pid":970,"server":"e64b523c-d5a6-492d-9dc6-f4709724042f","level":30,"msg":"Server status has been changed to STARTING","time":"2018-07-01T05:07:46.137Z","v":0}
{"name":"wings","hostname":"mira","pid":970,"server":"e64b523c-d5a6-492d-9dc6-f4709724042f","level":30,"msg":"Server status has been changed to OFF","time":"2018-07-01T05:07:50.516Z","v":0}
{"name":"wings","hostname":"mira","pid":970,"server":"e64b523c-d5a6-492d-9dc6-f4709724042f","level":40,"ExitCode":1,"OOMKilled":false,"Error":"","msg":"Server detected as crashed! Attempting server reboot.","time":"2018-07-01T05:07:50.517Z","v":0}
{"name":"wings","hostname":"mira","pid":970,"server":"e64b523c-d5a6-492d-9dc6-f4709724042f","level":30,"msg":"Server status has been changed to STARTING","time":"2018-07-01T05:07:50.517Z","v":0}
{"name":"wings","hostname":"mira","pid":970,"server":"e64b523c-d5a6-492d-9dc6-f4709724042f","level":30,"msg":"Server status has been changed to OFF","time":"2018-07-01T05:07:52.413Z","v":0}
{"name":"wings","hostname":"mira","pid":970,"server":"e64b523c-d5a6-492d-9dc6-f4709724042f","level":40,"ExitCode":1,"OOMKilled":false,"Error":"","msg":"Server detected as crashed but has crashed within the last 60 seconds, aborting reboot.","time":"2018-07-01T05:07:52.414Z","v":0}
{"name":"wings","hostname":"mira","pid":970,"server":"e64b523c-d5a6-492d-9dc6-f4709724042f","level":30,"msg":"Server status has been changed to STARTING","time":"2018-07-01T05:09:08.125Z","v":0}
{"name":"wings","hostname":"mira","pid":970,"server":"e64b523c-d5a6-492d-9dc6-f4709724042f","level":30,"msg":"Server status has been changed to STOPPING","time":"2018-07-01T05:09:08.126Z","v":0}
{"name":"wings","hostname":"mira","pid":970,"level":30,"msg":"Checking if we need to update image quay.io/pterodactyl/core:java-glibc, if so it will happen now.","time":"2018-07-01T05:09:08.255Z","v":0}
{"name":"wings","hostname":"mira","pid":970,"level":30,"msg":"Pulling image quay.io/pterodactyl/core:java-glibc ... this could take a few minutes.","time":"2018-07-01T05:09:09.481Z","v":0}
{"name":"wings","hostname":"mira","pid":970,"server":"e64b523c-d5a6-492d-9dc6-f4709724042f","level":30,"msg":"Completed rebuild process for server container.","time":"2018-07-01T05:09:10.205Z","v":0}
{"name":"wings","hostname":"mira","pid":970,"server":"e64b523c-d5a6-492d-9dc6-f4709724042f","level":30,"msg":"Server status has been changed to OFF","time":"2018-07-01T05:09:10.206Z","v":0}
{"name":"wings","hostname":"mira","pid":970,"server":"e64b523c-d5a6-492d-9dc6-f4709724042f","level":30,"msg":"Server status has been changed to STARTING","time":"2018-07-01T05:09:10.206Z","v":0}
{"name":"wings","hostname":"mira","pid":970,"server":"e64b523c-d5a6-492d-9dc6-f4709724042f","level":30,"msg":"Server status has been changed to OFF","time":"2018-07-01T05:09:12.099Z","v":0}
{"name":"wings","hostname":"mira","pid":970,"server":"e64b523c-d5a6-492d-9dc6-f4709724042f","level":40,"ExitCode":1,"OOMKilled":false,"Error":"","msg":"Server detected as crashed! Attempting server reboot.","time":"2018-07-01T05:09:12.100Z","v":0}
{"name":"wings","hostname":"mira","pid":970,"server":"e64b523c-d5a6-492d-9dc6-f4709724042f","level":30,"msg":"Server status has been changed to STARTING","time":"2018-07-01T05:09:12.100Z","v":0}
{"name":"wings","hostname":"mira","pid":970,"server":"e64b523c-d5a6-492d-9dc6-f4709724042f","level":30,"msg":"Server status has been changed to OFF","time":"2018-07-01T05:09:14.250Z","v":0}
{"name":"wings","hostname":"mira","pid":970,"server":"e64b523c-d5a6-492d-9dc6-f4709724042f","level":40,"ExitCode":1,"OOMKilled":false,"Error":"","msg":"Server detected as crashed but has crashed within the last 60 seconds, aborting reboot.","time":"2018-07-01T05:09:14.251Z","v":0}
{"name":"wings","hostname":"mira","pid":970,"server":"e64b523c-d5a6-492d-9dc6-f4709724042f","level":30,"msg":"Server status has been changed to STARTING","time":"2018-07-01T05:13:10.463Z","v":0}
{"name":"wings","hostname":"mira","pid":970,"server":"e64b523c-d5a6-492d-9dc6-f4709724042f","level":30,"msg":"Server status has been changed to OFF","time":"2018-07-01T05:13:12.482Z","v":0}
{"name":"wings","hostname":"mira","pid":970,"server":"e64b523c-d5a6-492d-9dc6-f4709724042f","level":40,"ExitCode":1,"OOMKilled":false,"Error":"","msg":"Server detected as crashed! Attempting server reboot.","time":"2018-07-01T05:13:12.482Z","v":0}
{"name":"wings","hostname":"mira","pid":970,"server":"e64b523c-d5a6-492d-9dc6-f4709724042f","level":30,"msg":"Server status has been changed to STARTING","time":"2018-07-01T05:13:12.483Z","v":0}
{"name":"wings","hostname":"mira","pid":970,"server":"e64b523c-d5a6-492d-9dc6-f4709724042f","level":30,"msg":"Server status has been changed to OFF","time":"2018-07-01T05:13:14.326Z","v":0}
{"name":"wings","hostname":"mira","pid":970,"server":"e64b523c-d5a6-492d-9dc6-f4709724042f","level":40,"ExitCode":1,"OOMKilled":false,"Error":"","msg":"Server detected as crashed but has crashed within the last 60 seconds, aborting reboot.","time":"2018-07-01T05:13:14.327Z","v":0}
{"name":"wings","hostname":"mira","pid":970,"server":"e64b523c-d5a6-492d-9dc6-f4709724042f","level":30,"msg":"Server status has been changed to STARTING","time":"2018-07-01T06:44:55.563Z","v":0}
{"name":"wings","hostname":"mira","pid":970,"server":"e64b523c-d5a6-492d-9dc6-f4709724042f","level":30,"msg":"Server status has been changed to OFF","time":"2018-07-01T06:44:57.378Z","v":0}
{"name":"wings","hostname":"mira","pid":970,"server":"e64b523c-d5a6-492d-9dc6-f4709724042f","level":40,"ExitCode":1,"OOMKilled":false,"Error":"","msg":"Server detected as crashed! Attempting server reboot.","time":"2018-07-01T06:44:57.381Z","v":0}
{"name":"wings","hostname":"mira","pid":970,"server":"e64b523c-d5a6-492d-9dc6-f4709724042f","level":30,"msg":"Server status has been changed to STARTING","time":"2018-07-01T06:44:57.382Z","v":0}
{"name":"wings","hostname":"mira","pid":970,"server":"e64b523c-d5a6-492d-9dc6-f4709724042f","level":30,"msg":"Server status has been changed to OFF","time":"2018-07-01T06:44:59.213Z","v":0}
{"name":"wings","hostname":"mira","pid":970,"server":"e64b523c-d5a6-492d-9dc6-f4709724042f","level":40,"ExitCode":1,"OOMKilled":false,"Error":"","msg":"Server detected as crashed but has crashed within the last 60 seconds, aborting reboot.","time":"2018-07-01T06:44:59.213Z","v":0}
{"name":"wings","hostname":"mira","pid":970,"server":"e64b523c-d5a6-492d-9dc6-f4709724042f","level":30,"msg":"Server status has been changed to STARTING","time":"2018-07-01T06:46:08.730Z","v":0}
{"name":"wings","hostname":"mira","pid":970,"server":"e64b523c-d5a6-492d-9dc6-f4709724042f","level":30,"msg":"Server status has been changed to OFF","time":"2018-07-01T06:46:10.644Z","v":0}
{"name":"wings","hostname":"mira","pid":970,"server":"e64b523c-d5a6-492d-9dc6-f4709724042f","level":40,"ExitCode":1,"OOMKilled":false,"Error":"","msg":"Server detected as crashed! Attempting server reboot.","time":"2018-07-01T06:46:10.644Z","v":0}
{"name":"wings","hostname":"mira","pid":970,"server":"e64b523c-d5a6-492d-9dc6-f4709724042f","level":30,"msg":"Server status has been changed to STARTING","time":"2018-07-01T06:46:10.645Z","v":0}
{"name":"wings","hostname":"mira","pid":970,"server":"e64b523c-d5a6-492d-9dc6-f4709724042f","level":30,"msg":"Server status has been changed to OFF","time":"2018-07-01T06:46:12.470Z","v":0}
{"name":"wings","hostname":"mira","pid":970,"server":"e64b523c-d5a6-492d-9dc6-f4709724042f","level":40,"ExitCode":1,"OOMKilled":false,"Error":"","msg":"Server detected as crashed but has crashed within the last 60 seconds, aborting reboot.","time":"2018-07-01T06:46:12.471Z","v":0}

**### EDIT: I seem to have fixed the issue, but I am uncertain as to how I fixed it. I added the spigot-latest.jar myself & it did not work. I then rebooted the daemon & all of a sudden it worked.

Shouldnt the server download the jar from the URL I provided without me manually uploading the jar file?**

image

0xC1A551C commented 6 years ago

Upon boot I am now encountering this issue. (Minecraft nest)

[Pterodactyl Daemon] Server marked as STARTING
[Pterodactyl Daemon] Checking size of server data directory...
[Pterodactyl Daemon] Disk Usage: 87121M / 512000M
[Pterodactyl Daemon] Ensuring file permissions.
[Pterodactyl Daemon] Running server preflight.
[Pterodactyl Daemon] Starting server container.
[Pterodactyl Daemon] Server container started. Attaching...
Loading libraries, please wait...
ERROR StatusLogger Could not search jar file '/home/container/spigot-latest.jar' for classes matching criteria: annotated with @Plugin due to an IOException
java.util.zip.ZipException: invalid distance too far back
at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:164)
at java.util.zip.ZipInputStream.read(ZipInputStream.java:194)
at java.util.jar.JarInputStream.read(JarInputStream.java:207)
at java.util.zip.ZipInputStream.closeEntry(ZipInputStream.java:140)
at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:118)
at java.util.jar.JarInputStream.getNextEntry(JarInputStream.java:142)
at java.util.jar.JarInputStream.getNextJarEntry(JarInputStream.java:179)
at org.apache.logging.log4j.core.config.plugins.util.ResolverUtil.loadImplementationsInJar(ResolverUtil.java:366)
at org.apache.logging.log4j.core.config.plugins.util.ResolverUtil.loadImplementationsInJar(ResolverUtil.java:323)
at org.apache.logging.log4j.core.config.plugins.util.ResolverUtil.findInPackage(ResolverUtil.java:217)
at org.apache.logging.log4j.core.config.plugins.util.PluginRegistry.loadFromPackage(PluginRegistry.java:221)
at org.apache.logging.log4j.core.config.plugins.util.PluginManager.collectPlugins(PluginManager.java:136)
at org.apache.logging.log4j.core.pattern.PatternParser.<init>(PatternParser.java:132)
at org.apache.logging.log4j.core.pattern.PatternParser.<init>(PatternParser.java:113)
at org.apache.logging.log4j.core.layout.PatternLayout.createPatternParser(PatternLayout.java:246)
at org.apache.logging.log4j.core.layout.PatternLayout$SerializerBuilder.build(PatternLayout.java:375)
at org.apache.logging.log4j.core.layout.PatternLayout.<init>(PatternLayout.java:128)
at org.apache.logging.log4j.core.layout.PatternLayout.<init>(PatternLayout.java:58)
at org.apache.logging.log4j.core.layout.PatternLayout$Builder.build(PatternLayout.java:652)
at org.apache.logging.log4j.core.config.AbstractConfiguration.setToDefault(AbstractConfiguration.java:577)
at org.apache.logging.log4j.core.config.DefaultConfiguration.<init>(DefaultConfiguration.java:47)
at org.apache.logging.log4j.core.LoggerContext.<init>(LoggerContext.java:86)
at org.apache.logging.log4j.core.selector.ClassLoaderContextSelector.createContext(ClassLoaderContextSelector.java:171)
at org.apache.logging.log4j.core.selector.ClassLoaderContextSelector.locateContext(ClassLoaderContextSelector.java:145)
at org.apache.logging.log4j.core.selector.ClassLoaderContextSelector.getContext(ClassLoaderContextSelector.java:70)
at org.apache.logging.log4j.core.selector.ClassLoaderContextSelector.getContext(ClassLoaderContextSelector.java:57)
at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:147)
at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:45)
at org.apache.logging.log4j.LogManager.getContext(LogManager.java:194)
at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:551)
at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:537)
at net.minecraft.server.v1_12_R1.MinecraftServer.<clinit>(MinecraftServer.java:56)
at org.bukkit.craftbukkit.Main.main(Main.java:194)
parkervcp commented 6 years ago

this is due to the fact that you deleted the server jar file. The jar file only gets downloaded during install.

BronzW commented 4 years ago

How do we fix this then?

mrameezahsan commented 3 years ago

Iam Also Getting this problem plz help

[DE15 Daemon]: Checking server disk space usage, this could take a few seconds... [DE15 Daemon]: Updating process configuration files... [DE15 Daemon]: Ensuring file permissions are set correctly, this could take a few seconds... container@pterodactyl~ Server marked as starting... [DE15 Daemon]: Pulling Docker container image, this could take a few minutes to complete... [DE15 Daemon]: Finished pulling Docker container image

| RAM: 8000 MB | IP: 157.90.213.55:31146 | Server UUID: 06aa2e16-8da5-4e97-aa24-3cfa4c31df41

=============================== | Create backup.me file to backup server | Don't forget to backup server regularly | PaperMC(PaperSpigot), Purpur, and Tuinity is high performance spigot fork, you can still use bukkit/spigot plugins. | To use custom jar rename server jar to custom.jar

===============================


| _| | () | \ | | | |
| | _| |_ | | | _| |
_ | / | | \ \/ / . |/ \ / ` |/ \/ | | | | (| | | |> <| |\ | () | (_| | /_ \ || _,||//__| _|_/ \,|___||___/

| Starting....

=============================== Downloading...

curl: (6) Could not resolve host: meta.fabricmc.net --2021-06-28 05:53:47-- https://maven.fabricmc.net/net/fabricmc/fabric-installer//fabric-installer-.jar Resolving maven.fabricmc.net (maven.fabricmc.net)... failed: Temporary failure in name resolution. wget: unable to resolve host address ‘maven.fabricmc.net’ Error: Invalid or corrupt jarfile fabric-installer.jar mv: cannot stat 'fabric-server-launch.jar': No such file or directory

Starting Server...

DanielK1511 commented 2 years ago

I get a similar Error, But i didn't delete the Server jar

ryandrazaidan commented 2 years ago

i get the same problem, but i didnt delete the jar