Application RemoteToolkit - Restarts + crash detection + auto saves + remote console!

Discussion in 'Bukkit Tools' started by drdanick, Jan 15, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    drdanick

    Minecraft RemoteToolkit
    -Less downtime, more fun for your players, more power to you!

    Are you a Minecraft server administrator? Do you value up-time and stability? Do you fancy the ability to remotely control your server, both in-game and out of game, in a myriad of useful ways from a plethora of different devices?
    If you answered yes to any of the above, then the Minecraft RemoteToolkit is for you!


    What the Minecraft RemoteToolkit Plugin and Wrapper do for you:
    • Provides almost perfect server uptime with no need for action from an owner/administrator!
    • Have your server save and restart at any time period with configurable restart warnings!
    • The Toolkit guarantees a restart within the set restart period, even if your server crashes, becomes unresponsive, or encounters a "SEVERE" exception!
    • Remotely control every function of the Toolkit, even from your smart phone!
    • Full remote console access via telnet with support for multiple terminal types!
    • Telnet daemon conforms to current Telnet related RFCs!
    • Customizable alert messages!
    • Fully extendable though 3rd party modules!
    • Full feature set works with most craftbukkit builds!
    • Most features work with any Minecraft server variation, even vanilla!
    • Telnet can be disabled!
    For server administrators
    Download - Release 10, Alpha 15.3 [CB 1.7.2-R0.2] (wget friendly)
    Instructions & Documentation

    For developers
    UDP API REV 8 | Documentation
    Module API | Coming soon!

    For everyone
    Official IRC channel
    #remotetoolkit @ irc.esper.net


    "Help! I've downloaded it, but I do not know how to get it working!"
    Stop! Before you give up or ask for help, make sure you have read the step-by-step installation instructions on the wiki page. If you are still having problems, please do not be hesitant to post a request for help on this thread or in the IRC channel - no matter how simple your problem seems.


    Todo


    [​IMG][​IMG]
    Any donation would be very much appreciated. I'm but a poor University student, and I sacrifice quite a lot of unpaid time to keep the Toolkit updates and support flowing.

    Thank you to the following who have chosen to support the Toolkit through a donation:
    Deren909, marshall007, Vittek, clanslots, meee, KyneSilverhide, szoller, hungoverfurball, Lama_0, Viet, acc1dent, joby890, Liger_XT5
     
    Last edited: May 6, 2017
  2. Offline

    Chekkaa

    There are many times when the server crashes and I can't use .stopwrapper and I have to end up killing it, not just the "Read timed out" one. Even when there is free memory and CPU cores, and the wrapper is run at -20 nice (but then again, so is the server. I'd run it at a lower priority than the wrapper if I could, but the server always runs at -20 also).

    And I'll try that.

    A REALLY nice feature would be if this wrapper actually detected when the server "silently" crashes, i.e. the server is still running, and there are no severe error messages (that are detected by this wrapper at least*), but people can't log in or play. I don't know exactly how one would test for that though.

    *I use the level 2 detection setting. If I use level 3, the server restarts when someone leaves the server by crashing or clicking the X and you get a connection lost severe error.
     
  3. Offline

    nubpro

    Well, after talking to my VPS supporter, they manage to help me ^^
     
  4. hi i have a weird bug. we use CB1000 and when we try to start the server with remote toolkit we get following errors
    Code:
    2011-07-19 12:54:39 [SEVERE] java.io.IOException: Not in GZIP format
    2011-07-19 12:54:39 [SEVERE]     at java.util.zip.GZIPInputStream.readHeader(Unknown Source)
    2011-07-19 12:54:39 [SEVERE]     at java.util.zip.GZIPInputStream.<init>(Unknown Source)
    2011-07-19 12:54:39 [SEVERE]     at java.util.zip.GZIPInputStream.<init>(Unknown Source)
    2011-07-19 12:54:39 [SEVERE]     at net.minecraft.server.CompressedStreamTools.a(SourceFile:8)
    2011-07-19 12:54:39 [SEVERE]     at net.minecraft.server.PlayerNBTManager.c(PlayerNBTManager.java:93)
    2011-07-19 12:54:39 [SEVERE]     at net.minecraft.server.World.<init>(World.java:120)
    2011-07-19 12:54:39 [SEVERE]     at net.minecraft.server.WorldServer.<init>(WorldServer.java:27)
    2011-07-19 12:54:39 [SEVERE]     at net.minecraft.server.SecondaryWorldServer.<init>(SecondaryWorldServer.java:8)
    2011-07-19 12:54:39 [SEVERE]     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:210)
    2011-07-19 12:54:39 [SEVERE]     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
    2011-07-19 12:54:39 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
    2011-07-19 12:54:39 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-07-19 12:54:39 [SEVERE] java.io.IOException: Not in GZIP format
    2011-07-19 12:54:39 [SEVERE]     at java.util.zip.GZIPInputStream.readHeader(Unknown Source)
    2011-07-19 12:54:39 [SEVERE]     at java.util.zip.GZIPInputStream.<init>(Unknown Source)
    2011-07-19 12:54:39 [SEVERE]     at java.util.zip.GZIPInputStream.<init>(Unknown Source)
    2011-07-19 12:54:39 [SEVERE]     at net.minecraft.server.CompressedStreamTools.a(SourceFile:8)
    2011-07-19 12:54:39 [SEVERE]     at net.minecraft.server.PlayerNBTManager.c(PlayerNBTManager.java:104)
    2011-07-19 12:54:39 [SEVERE]     at net.minecraft.server.World.<init>(World.java:120)
    2011-07-19 12:54:39 [SEVERE]     at net.minecraft.server.WorldServer.<init>(WorldServer.java:27)
    2011-07-19 12:54:39 [SEVERE]     at net.minecraft.server.SecondaryWorldServer.<init>(SecondaryWorldServer.java:8)
    2011-07-19 12:54:39 [SEVERE]     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:210)
    2011-07-19 12:54:39 [SEVERE]     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
    2011-07-19 12:54:39 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
    2011-07-19 12:54:39 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-07-19 12:54:40 [SEVERE] java.lang.NullPointerException
    2011-07-19 12:54:40 [SEVERE]     at net.minecraft.server.WorldServer.c(WorldServer.java:106)
    2011-07-19 12:54:40 [SEVERE]     at net.minecraft.server.World.a(World.java:2063)
    2011-07-19 12:54:40 [SEVERE]     at net.minecraft.server.Chunk.addEntities(Chunk.java:470)
    2011-07-19 12:54:40 [SEVERE]     at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:79)
    2011-07-19 12:54:40 [SEVERE]     at net.minecraft.server.ChunkProviderServer.getOrCreateChunk(ChunkProviderServer.java:118)
    2011-07-19 12:54:40 [SEVERE]     at net.minecraft.server.World.getChunkAt(World.java:274)
    2011-07-19 12:54:40 [SEVERE]     at net.minecraft.server.World.getTypeId(World.java:221)
    2011-07-19 12:54:40 [SEVERE]     at net.minecraft.server.World.isEmpty(World.java:225)
    2011-07-19 12:54:40 [SEVERE]     at net.minecraft.server.World.a(World.java:192)
    2011-07-19 12:54:40 [SEVERE]     at net.minecraft.server.WorldProviderHell.canSpawn(SourceFile:37)
    2011-07-19 12:54:40 [SEVERE]     at net.minecraft.server.World.canSpawn(World.java:97)
    2011-07-19 12:54:40 [SEVERE]     at net.minecraft.server.World.c(World.java:180)
    2011-07-19 12:54:40 [SEVERE]     at net.minecraft.server.World.<init>(World.java:142)
    2011-07-19 12:54:40 [SEVERE]     at net.minecraft.server.WorldServer.<init>(WorldServer.java:27)
    2011-07-19 12:54:40 [SEVERE]     at net.minecraft.server.SecondaryWorldServer.<init>(SecondaryWorldServer.java:8)
    2011-07-19 12:54:40 [SEVERE]     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:210)
    2011-07-19 12:54:40 [SEVERE]     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
    2011-07-19 12:54:40 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
    2011-07-19 12:54:40 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-07-19 12:54:40 [SEVERE] Unexpected exception
    java.lang.NullPointerException
        at net.minecraft.server.WorldServer.c(WorldServer.java:106)
        at net.minecraft.server.World.a(World.java:2063)
        at net.minecraft.server.Chunk.addEntities(Chunk.java:470)
        at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:79)
        at net.minecraft.server.ChunkProviderServer.getOrCreateChunk(ChunkProviderServer.java:118)
        at net.minecraft.server.World.getChunkAt(World.java:274)
        at net.minecraft.server.World.getTypeId(World.java:221)
        at net.minecraft.server.World.isEmpty(World.java:225)
        at net.minecraft.server.World.a(World.java:192)
        at net.minecraft.server.WorldProviderHell.canSpawn(SourceFile:37)
        at net.minecraft.server.World.canSpawn(World.java:97)
        at net.minecraft.server.World.c(World.java:180)
        at net.minecraft.server.World.<init>(World.java:142)
        at net.minecraft.server.WorldServer.<init>(WorldServer.java:27)
        at net.minecraft.server.SecondaryWorldServer.<init>(SecondaryWorldServer.java:8)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:210)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    followed by hundreds of "[INFO] Unknown console command. Type "help" for help."
    it only occurs when we try to run it with remote toolkit, when we use the run.bat everything works fine
    please help

    Edit:
    fixed it, had to use old backup tho :(
     
  5. Offline

    Mhalkyer

  6. Offline

    efstajas

    Why did my server suddenly stop and start here? It didn't even save! I did not do anything!
    Code:
    2011-07-19 20:40:18 [INFO] [ACPlanet][Imperator] efstajas: Niklas ich send dir ein paar Sachen moment 
    2011-07-19 20:40:22 [INFO] [ACPlanet][Admin] nik0109: ok 
    2011-07-19 20:40:28 [INFO] [ACPlanet][Admin] Boehm: Wo ist platz zum bauen? 
    2011-07-19 20:40:35 [INFO] [ACPlanet][Admin] nik0109: hier 
    2011-07-19 20:40:45 [INFO] [ACPlanet][Admin] Boehm: Wo ist hier 
    2011-07-19 20:40:59 [INFO] [ACPlanet][Admin] nik0109: mach tp 
    2011-07-19 20:41:09 [INFO] Starting minecraft server version Beta 1.7.3
    2011-07-19 20:41:09 [INFO] Loading properties
    2011-07-19 20:41:09 [INFO] Starting Minecraft server on *:25565
    2011-07-19 20:41:09 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-945-g73697a4-b1000jnks (MC: 1.7.3)
    2011-07-19 20:41:09 [INFO] Starting Minequery server on *:25566
    2011-07-19 20:41:09 [INFO] DataSourcePool [iConomyChestShop] autoCommit[false] transIsolation[SERIALIZABLE] min[2] max[20]
    2011-07-19 20:41:09 [INFO] SubClassFactory parent ClassLoader [org.bukkit.plugin.java.PluginClassLoader]
    2011-07-19 20:41:10 [INFO] Entities enhanced[0] subclassed[1]
    2011-07-19 20:41:10 [INFO] MusicCraft Loading...
    2011-07-19 20:41:10 [INFO] [Permissions] (Yeti) was initialized.
    2011-07-19 20:41:10 [INFO] Preparing level "ACPlanet"
    2011-07-19 20:41:12 [INFO] Preparing start region for level 0 (Seed: 4831747187277166100)
    2011-07-19 20:41:12 [INFO] Preparing start region for level 1 (Seed: -6283555721504333595)
    2011-07-19 20:41:13 [INFO] [CommandSigns] 0.9 enabled.
    2011-07-19 20:41:14 [INFO] CommandSigns: Integrated with Permissions v3.1.5
    2011-07-19 20:41:14 [INFO] CommandHelper 3.1.1 enabled
    2011-07-19 20:41:14 [INFO] CommandHelper: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-07-19 20:41:16 [INFO] [CommandHelper]: 2 alias(es) defined.
    2011-07-19 20:41:16 [INFO] Loading ColoredSigns
    2011-07-19 20:41:16 [INFO] [LimitSpawns] version 1.11 by lonelydime is enabled!
    2011-07-19 20:41:16 [INFO] ChairCraft 1.2.3 is enabled.
    2011-07-19 20:41:16 [INFO] [Tables 0.1] Enabled
    2011-07-19 20:41:16 [INFO] [FalseBook Chat] 0 ChatRooms loaded.
    2011-07-19 20:41:16 [INFO] FalseBookChat v0.85alpha by GeMo enabled
    2011-07-19 20:41:16 [INFO] BlockCantKeepUpSpam version 0.1 is enabled!
    2011-07-19 20:41:16 [INFO] [MineMail] v1.2 is initializing
    2011-07-19 20:41:16 [INFO] [Permissions] version [3.1.5] (Yeti)  loaded
    2011-07-19 20:41:16 [INFO] [MineMail]  Hooked into Permissions version 3.1.5.
    2011-07-19 20:41:16 [INFO] [MineMail] v1.2 is initialized!
    2011-07-19 20:41:16 [INFO] [ColorMe] v2.2 has been enabled.
    2011-07-19 20:41:16 [INFO] [FalseBook Core] FalseBookCore v0.85alpha by GeMo enabled!
    2011-07-19 20:41:16 [INFO] FakeMessage version 0.5 is enabled!
    2011-07-19 20:41:16 [INFO] Votifier enabled.
    2011-07-19 20:41:16 [INFO] FalseBookIC v0.85alpha by GeMo enabled
    2011-07-19 20:41:16 [INFO] SpawnX enabled
    2011-07-19 20:41:16 [INFO] [SimpleGive] Version 1.2 Permissions system detected!
    2011-07-19 20:41:16 [INFO] [SimpleGive] SimpleGive v1.2 by captainawesome7 has been enabled!
    2011-07-19 20:41:16 [INFO] [HeroicDeath] 1.8.1.156 enabled.
    2011-07-19 20:41:16 [INFO] FalseBookBlock v0.85alpha by GeMo enabled
    2011-07-19 20:41:16 [INFO] [FalseBook Block] No Cauldrons loaded!
    2011-07-19 20:41:16 [INFO] [MusicCraft] Enabling! Version: 1.4.2 by bekvon
    2011-07-19 20:41:16 [INFO] [MusicCraft] Found Permissions Plugin!
    2011-07-19 20:41:16 [INFO] ScrapBukkit version 0.2.1 is enabled!
    2011-07-19 20:41:16 [INFO] [Long Summer Days] Sunrise for ACPlanet will last about 1 minutes.
    2011-07-19 20:41:16 [INFO] [Long Summer Days] Daytime for ACPlanet will last about 10 minutes.
    2011-07-19 20:41:16 [INFO] [Long Summer Days] Sunset for ACPlanet will last about 1 minutes.
    2011-07-19 20:41:16 [INFO] [Long Summer Days] Nighttime for ACPlanet will last about 7 minutes.
    2011-07-19 20:41:16 [INFO] [Long Summer Days] Sunrise for ACPlanet_nether will last about 1 minutes.
    2011-07-19 20:41:16 [INFO] [Long Summer Days] Daytime for ACPlanet_nether will last about 10 minutes.
    2011-07-19 20:41:16 [INFO] [Long Summer Days] Sunset for ACPlanet_nether will last about 1 minutes.
    2011-07-19 20:41:16 [INFO] [Long Summer Days] Nighttime for ACPlanet_nether will last about 7 minutes.
    2011-07-19 20:41:16 [INFO] [BBROTHER] ------------------------------------
    2011-07-19 20:41:16 [INFO] [BBROTHER] Hello, and thank you for using the TESTING version of BigBrother!
    2011-07-19 20:41:16 [INFO] [BBROTHER] Please note that, since this is far from complete, there will be many bugs.
    2011-07-19 20:41:16 [INFO] [BBROTHER] IF YOU FIND ANY BUGS, PLEASE REPORT THEM ON http://bugs.nexisonline.net/bb
    2011-07-19 20:41:16 [INFO] [BBROTHER] Please stay tuned in irc.esper.net #bigbrother for updates and build notifications.
    2011-07-19 20:41:16 [INFO] [BBROTHER] ------------------------------------
    2011-07-19 20:41:16 [SEVERE] Error: null
    2011-07-19 20:41:22 [INFO] [BBROTHER] Building `bbdata` table...
    2011-07-19 20:41:22 [INFO] [BBROTHER] BBData H2 Driver r1 loaded!
    2011-07-19 20:41:23 [INFO] [BBROTHER] Building `bbworlds` table...
    2011-07-19 20:41:23 [INFO] [BBROTHER] Building `bbusers` table...
    2011-07-19 20:41:23 [INFO] [BBROTHER] Permissions enabled using: Permissions v3.1.5
    2011-07-19 20:41:23 [WARNING] [BBROTHER] 'Help' isn't detected. No /help support
    2011-07-19 20:41:23 [INFO] [BBROTHER] BigBrother 1.8-SNAPSHOT (build #552) enabled!
    2011-07-19 20:41:23 [INFO] ChatBukkit v0.0.1 is enabled!
    2011-07-19 20:41:23 [INFO] FalseBookExtra v0.85alpha by GeMo enabled
    2011-07-19 20:41:23 [INFO] WorldGuard: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-07-19 20:41:23 [INFO] WorldGuard: Loaded configuration for world 'ACPlanet"
    2011-07-19 20:41:23 [INFO] WorldGuard: (ACPlanet_nether) Single session is enforced.
    2011-07-19 20:41:23 [INFO] WorldGuard: (ACPlanet_nether) TNT ignition is PERMITTED.
    2011-07-19 20:41:23 [INFO] WorldGuard: (ACPlanet_nether) Lighters are PERMITTED.
    2011-07-19 20:41:23 [INFO] WorldGuard: (ACPlanet_nether) Lava fire is blocked.
    2011-07-19 20:41:23 [INFO] WorldGuard: (ACPlanet_nether) Fire spread is UNRESTRICTED.
    2011-07-19 20:41:23 [INFO] WorldGuard: Loaded configuration for world 'ACPlanet_nether"
    2011-07-19 20:41:23 [INFO] WorldGuard: 31 regions loaded for 'ACPlanet'
    2011-07-19 20:41:23 [INFO] WorldGuard 5.2.3-SNAPSHOT enabled.
    2011-07-19 20:41:23 [INFO] Warpz0r version 1.3.0 is enabled
    2011-07-19 20:41:23 [INFO] [Warpz0r] Found Permissions (v3.1.5)
    2011-07-19 20:41:23 [INFO] [iConomyChestShop] version 2.75 initialized!
    2011-07-19 20:41:25 [INFO] [iConomy] Logging is currently disabled.
    2011-07-19 20:41:25 [INFO] [iConomy] v5.01 (Eruanna) loaded.
    2011-07-19 20:41:25 [INFO] [iConomy] Developed by: [Nijikokun]
    2011-07-19 20:41:25 [INFO] Register: Payment method found (iConomy version: 5.01)
    2011-07-19 20:41:25 [INFO] [ColorMe] hooked into iConomy.
    2011-07-19 20:41:25 [INFO] [Warpz0r] Found iConomy (v5.01)
    2011-07-19 20:41:25 [INFO] [iConomyChestShop] Permissions version 3.1.5 loaded.
    2011-07-19 20:41:25 [INFO] [iConomyChestShop] Lockette version 1.3.8 loaded.
    2011-07-19 20:41:25 [INFO] [iConomy] hooked into Permissions.
    2011-07-19 20:41:25 [INFO] [iConomyChestShop] iConomy version 5 loaded.
    2011-07-19 20:41:25 [INFO] MoveCraft 0.6.8 Final Beta plugin enabled
    2011-07-19 20:41:25 [INFO] [MagicCarpet] MagicCarpet version 1.5.5 is enabled!
    2011-07-19 20:41:25 [INFO] [MagicCarpet] Take yourself wonder by wonder, using /magiccarpet or /mc.
    2011-07-19 20:41:25 [INFO] [MagicCarpet] Using Permissions.
    2011-07-19 20:41:25 [INFO] [MultiInv] version 2.3.0 is enabled!
    2011-07-19 20:41:25 [INFO] [HelpCommands] HelpCommands v1.3 by matjer has been enabled!
    2011-07-19 20:41:25 [INFO] [LoginMessage] 0.6.61 enabled
    2011-07-19 20:41:25 [INFO] [LoginMessage] Attempting to fill in local fields...
    2011-07-19 20:41:26 [INFO] [LoginMessage] Unable to fill in local fields.
    2011-07-19 20:41:26 [INFO] WorldEdit 4.4 enabled.
    2011-07-19 20:41:26 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-07-19 20:41:26 [INFO] Lockette version 1.3.8 is being enabled!  Yay!  (Core version 1.0)
    2011-07-19 20:41:26 [INFO] Lockette: Detected craftbukkit build [1000] ok.
    2011-07-19 20:41:26 [INFO] Lockette: Linked to Permissions plugin version 3.1.5
    2011-07-19 20:41:26 [INFO] Lockette: Using ops file for admin permissions.
    2011-07-19 20:41:26 [INFO] Lockette: Ready to protect your containers.
    2011-07-19 20:41:26 [INFO] EasyRules version 1.0.0 is enabled!
    2011-07-19 20:41:26 [INFO] [MotherNature] Using Permissions version 3.1.5 for permission handling
    2011-07-19 20:41:26 [INFO] [MotherNature] Plugin enabled! (version 1.3.2)
    ... ... ...
     
  7. Offline

    Mhalkyer

    @drdanick

    I keep getting this error when the memory gets around 2GB

    Code:
    14:45:22 [INFO] Connection reset
    14:45:45 [INFO] Read timed out
    14:45:59 [INFO] Read timed out
    14:46:31 [INFO] Read timed out
    14:46:47 [INFO] Read timed out
    14:46:48 [INFO] Read timed out
    14:47:21 [INFO] Read timed out
    14:47:26 [INFO] Connection reset
    14:47:28 [INFO] Read timed out
    14:48:33 [INFO] Read timed out
    14:49:28 [INFO] Read timed out
    Heartbeat failure threshold exceeded!
    Attempting to restart server...
    Forcing a save... (Shutdown delayed)
    Server is being forcibly restarted...
    14:50:55 [INFO] Stopping server
    java.io.IOException: Stream Closed
            at java.io.FileInputStream.readBytes(Native Method)
            at java.io.FileInputStream.read(FileInputStream.java:236)
            at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:282)
            at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:324)
            at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:176)
            at java.io.InputStreamReader.read(InputStreamReader.java:184)
            at java.io.BufferedReader.fill(BufferedReader.java:153)
            at java.io.BufferedReader.read(BufferedReader.java:174)
            at com.drdanick.McRKit.Wrapper$3.run(Wrapper.java:402)
    [ERROR] IOException writing to the console: java.io.IOException: Stream Closed
    java.io.IOException: Stream Closed
            at java.io.FileOutputStream.writeBytes(Native Method)
            at java.io.FileOutputStream.write(FileOutputStream.java:297)
            at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
            at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
            at com.drdanick.McRKit.Wrapper.handleScheduledEvent(Wrapper.java:952)
            at com.drdanick.McRKit.Scheduler.fireScheduledEvent(Scheduler.java:283)
            at com.drdanick.McRKit.Scheduler.access$000(Scheduler.java:13)
            at com.drdanick.McRKit.Scheduler$2.run(Scheduler.java:174)
            at java.util.TimerThread.mainLoop(Timer.java:534)
            at java.util.TimerThread.run(Timer.java:484)
    Any ideas?

    @drdanick

    Shortly after my 1st error I get this:

    Code:
    Error: Console input stream closed unexpectedly. Attempting to re-open stream in 20 seconds...
    Console input stream re-opening...
    [ERROR] IOException writing to the console: java.io.IOException: Stream Closed
    java.io.IOException: Stream Closed
            at java.io.FileOutputStream.writeBytes(Native Method)
            at java.io.FileOutputStream.write(FileOutputStream.java:297)
            at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
            at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
            at com.drdanick.McRKit.Wrapper.handleScheduledEvent(Wrapper.java:952)
            at com.drdanick.McRKit.Scheduler.fireScheduledEvent(Scheduler.java:283)
            at com.drdanick.McRKit.Scheduler.access$000(Scheduler.java:13)
            at com.drdanick.McRKit.Scheduler$2.run(Scheduler.java:174)
            at java.util.TimerThread.mainLoop(Timer.java:534)
            at java.util.TimerThread.run(Timer.java:484)
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 2, 2016
  8. Offline

    Infectedd

    Code:
    23:59:03 [WARNING] Unexpected exception while parsing console command
    org.bukkit.command.CommandException: Unhandled exception executing command 'list
    ' in plugin Essentials v2.3.7
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:12
    9)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:2
    90)
            at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:480)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:465)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NoClassDefFoundError: org/bukkit/permissions/Permission
            at java.lang.Class.getDeclaredMethods0(Native Method)
            at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
            at java.lang.Class.privateGetPublicMethods(Unknown Source)
            at java.lang.Class.getMethods(Unknown Source)
            at sun.org.mozilla.javascript.internal.JavaMembers.reflect(Unknown Sourc
    e)
            at sun.org.mozilla.javascript.internal.JavaMembers.<init>(Unknown Source
    )
            at sun.org.mozilla.javascript.internal.JavaMembers.lookupClass(Unknown S
    ource)
            at sun.org.mozilla.javascript.internal.NativeJavaObject.initMembers(Unkn
    own Source)
            at sun.org.mozilla.javascript.internal.NativeJavaObject.<init>(Unknown S
    ource)
            at sun.org.mozilla.javascript.internal.WrapFactory.wrapAsJavaObject(Unkn
    own Source)
            at com.sun.script.javascript.RhinoWrapFactory.wrapAsJavaObject(Unknown S
    ource)
            at sun.org.mozilla.javascript.internal.WrapFactory.wrap(Unknown Source)
            at sun.org.mozilla.javascript.internal.NativeJavaArray.get(Unknown Sourc
    e)
            at sun.org.mozilla.javascript.internal.ScriptableObject.getProperty(Unkn
    own Source)
            at sun.org.mozilla.javascript.internal.ScriptRuntime.getObjectElem(Unkno
    wn Source)
            at sun.org.mozilla.javascript.internal.ScriptRuntime.getObjectElem(Unkno
    wn Source)
            at sun.org.mozilla.javascript.internal.Interpreter.interpretLoop(Unknown
     Source)
            at sun.org.mozilla.javascript.internal.Interpreter.interpret(Unknown Sou
    rce)
            at sun.org.mozilla.javascript.internal.InterpretedFunction.call(Unknown
    Source)
            at sun.org.mozilla.javascript.internal.ContextFactory.doTopCall(Unknown
    Source)
            at sun.org.mozilla.javascript.internal.ScriptRuntime.doTopCall(Unknown S
    ource)
            at sun.org.mozilla.javascript.internal.InterpretedFunction.call(Unknown
    Source)
            at com.sun.script.javascript.RhinoScriptEngine.invoke(Unknown Source)
            at com.sun.script.javascript.RhinoScriptEngine.invokeFunction(Unknown So
    urce)
            at nickguletskii200.SpyerAdmin.CustomHandling.who(Unknown Source)
            at nickguletskii200.SpyerAdmin.SpyerAdmin.onCommand(Unknown Source)
            at com.earth2me.essentials.Essentials.onCommandEssentials(Essentials.jav
    a:399)
            at com.earth2me.essentials.Essentials.onCommand(Essentials.java:347)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            ... 6 more
    Caused by: java.lang.ClassNotFoundException: org.bukkit.permissions.Permission
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:36)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:24)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
    Eh?
     
  9. Offline

    drdanick

    The wrapper has not been tested with nice, so it's possible there could be issues somewhere, it may explain why the streams break. Unfortunately, there is no way to really reconnect the streams after they are broken. I will try to look into it.

    And I plan to have better crash detection in Release 11. The module APIs should be powerful enough, such that developers can write their own crash detection algorithms if my algorithms aren't sufficient.

    The toolkit will print notifications that it is stopping the server, so if it restarts inadvertently it means the bukkit server stopped itself, which may be due to a plugin issue. I recommend carefully checking each plugin you have installed, and the corresponding threads on these forums. If there are issues, it is likely other will have them as well.

    Those exceptions should not be an issue, so long as the server starts correctly. On that note, does it restart correctly at this point?

    That exception is thrown by essentials, I recommend directing this log to the essentials thread.
     
  10. Offline

    Infectedd

    @drdanick : it is, but it appeared when i installed rtk...
     
  11. Offline

    drdanick

    How are you launching the server, and what is the ouput when version is entered into the console?
     
  12. Offline

    Jobsti

    Huhu @drdanick

    I used an old version from your RTK (I think a version about beta 1.4 around), works great with #1000.
    Now, updated to the newest Version and works great too. I see, new Messages, nice ;-)

    Many thaks for your great Plugin., I use it since the first hmod release.
     
    drdanick likes this.
  13. Offline

    z0z1ch

    Does not save the map when restarting. :(
    Code:
    force-save-on-restart=true
     
  14. Offline

    efstajas

     
    drdanick likes this.
  15. Offline

    drdanick

    Manually enter .restart into the console. Can you pastebin all the lines of output from entering that statement, up until "Rstarting.." is printed?
     
  16. Offline

    z0z1ch

  17. Offline

    Infectedd

    @drnanick : 15:06:19 [INFO] This server is running ←[32mCraftbukkit←[37m version ←[32mgit-Bu
    kkit-0.0.0-904-g9277096-b953jnks (MC: 1.7.2)←[0m

    If the config is what you're asking for:

    Code:
    forced-restart-delay=5m
    maximum-heap-size=1024M
    toolkit-autoshutdown-alerts=10m,5m,1m
    restart-on-severe-exception=false
    server-saveall-period=0
    extra-runtime-arguments=-Djline.terminal\=jline.UnsupportedTerminal
    force-save-on-restart=true
    server-heartbeat-threshold=1m
    server-restart-alerts=10m,5m,1m
    minecraft-server-jar=craftbukkit.jar
    initial-heap-size=1024M
    overridden-process-arguments=
    failed-heartbeat-restart-count=5
    severe-exception-detection-level=1
    server-arguments=nogui
    toolkit-autoshutdown-delay=0
    import-properties=false
    server-restart-delay=5h
     
  18. Offline

    Mhalkyer

    Yes, but I have to kill the java process to restart the server. I know it isn't optimal, but is there any chance you could try to implement a "kill -9" on the MC pid if it freezes up like this? I've been trying to find the cause of this MC error, but until then I really need it to reboot the server without me.
     
  19. Offline

    Zero9195

    @Mhalkyer @drdanick
    I got the same issue and still don't have a solution. If you find one, please tell me :)
     
  20. Offline

    waffulz

    I've got an issue where I have specified in the remote.properties to use port 25562 yet I still get the following error even after restart:

    Code:
    There was an issue binding the UDP server to port 25561: java.net.BindException: Address already in use
     
  21. Offline

    Lord_Crusher

    I can't get this plugin to work. I followed the instructions on the wiki and when i try to launch the rtoolkit batch file it opens then instantly closes. I'm not sure why it does this because it's not open long enough for me to read any of the text on the command window before it closes. Any ideas as to what i'm doing wrong?

    Edit: I printscreened during the nanosecond it's open and it says:
    'java' is not recognised as an internal or external command, operable program or batch file.
     
  22. Offline

    JohnTheRipper

    Several questions and comments...

    1. I've used this since early beta builds on the hMod forums, great wrapper!

    2. Telnet isn't working, using port 25500, firewall has rule for said port, running on Linux (CentOS). Cannot connect to it externally from ANY of the 5 IPs bound to the server.

    3. There is the initial and max heap sizes in the config, suppose I only wanted to use initial and use a diff command for the max (or vice versa), is there a way to override the 2 default commands?
     
  23. Offline

    e_zach

    if your running windows you will either need to change the 'java' in the .bat to the complete path c:/program files/.../java (whatever it is on your system) or add the java path to the environment vars.
    also another tip. adding "pause" on a new line will stop the cmd window from disappearing.
     
  24. Offline

    Lord_Crusher

    Ok so i tried that and i got the same message but with the c:\programfiles part. I opened up the craftbukkit starter and saw that had changed it to: "%ProgramFiles(x86)%\Java\jre1.6.0_22\bin\java.exe" I put this in and the command window stayed up but had some errors which I have now managed to remove because they were obvious mistakes.

    All seems to be running smoothly now. Thank you :)
     
  25. Offline

    waffulz

    Anyone have any clue what's wrong?
     
  26. Offline

    drdanick


    Without the toolkit, did you have a .bat/.sh you used to launch bukkit without the toolkit? Could you paste it's contents here?


    @Zero9195


    That is a flaw of the java Process API. The best I can do to force a process to stop is just to send a standard kill signal to it. I am looking into obtaining the process id, which will allow a "kill -9" to be performed.


    Is this the first time it has stopped working? Make sure that the port definitely matches that inside remote.properties, and that you have set a rule on your firewall for both TCP and UDP. (both protocols are used by the wrapper)

    You can set the command the toolkit uses to start the server manually by using overridden-process-arguments=.
    For example, if you wanted to start the server with the default settings supplied with the toolkit, you would use this:
    Code:
    java -Djline.terminal=jline.UnsupportedTerminal -Xms1024M -Xmx1024M -jar craftbukkit.jar
    


    When you start the server, what directory relative to the server are you starting it. That is, when you start the server, are you starting it from within the folder with the toolkit executable, or from another directory?
     
  27. Offline

    Nori_Silverrage

    So is a map backup feature going to be implemented sometime soon? :) Pretty please!
    I can't stand simplesave, so I thought I'd try this out and then found it doesn't have backups... Which is okay for now, but would be a great addition in the future.
     
  28. Offline

    ilovetobmx22

    I just need help Just as simple as that someone please help me with this. Nothing is working at all.:( ive done everything anyone has had trouble with in the fourm ive been through all 40 pages and no help . ive invested 4 hrs in trying to figure out what the problem is.....
     
  29. Offline

    Tendonsie

    import-properties in wrapper.properties. What do this function? No info of this on wiki. Thanks
     
  30. Hiya. I just started using this wrapper last night, it's up and running and so far seems to work as far as the wrapper component goes. I don't really use the telnet portion since ssh isn't available yet and I already have an SSH port open to my host computer and the wrapper runs in a screen so I can always access it. That being said, I didn't bother to disable it since I didn't configure any port forwarding rules to the telnet connector, but now I'm getting this:
    Code:
    Generic UDP Socket exception: java.net.SocketException: Socket closed
    Starting UDP listen server on port 25561
    over and over while the wrapper runs. In an eight hour period that message came up about six times. Any thoughts? It's not really a specific error, and it doesn't have a time stamp or anything for me to narrow down any exact patterns.
     
  31. Offline

    ilovetobmx22

    When i try this i t says USAGE: MinecraftRestarter [<USERNAME:pASSWORD>] [PORT]
    The filename, directory name or volume lable syntax is incorrect.
     
Thread Status:
Not open for further replies.

Share This Page