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

    drdanick

    How? Please provide more information.

    Can you pastebin both your wrapper.properties file and a section of your console around the time of a restart?

    Will do.

    1. Not yet. Fine-grained permissions will exist in R11.
    2. Not at this time.


    What telnet client are you using? Try using putty, and also make sure that your firewall isn't blocking TCP traffic on port 25561.

    .DS_Store is a hidden file placed in folders by OS X to store folder attributes. The toolkit is simply warning you that it cannot load it as a module. I will suppress errors like this shortly, as they aren't really beneficial.


    First, make sure that your firewall isn't blocking UDP traffic on port 25561. Secondly, try using this: https://drdanick.com/mcremote
     
  3. Offline

    Mindrun

  4. Offline

    MinecraftPVP

    Thanks I already found out :p

    i FOrgot to pf the tcp port lol only pf the upd for the udp clients anyway thanks im all ready to go now.
     
  5. Offline

    drdanick


    Odd, that is an issue in jline2 which should have been patched a while ago. Try launching the toolkit with this command (or edit rtoolkit.sh/rtoolkit.bat):

    Code:
    java -Xmx30M -Xms30M -XX:MaxPermSize=40M -Djline.expandevents=false -jar Minecraft_RKit.jar user:pass
    If that fails, disable jline by setting this in wrapper.properties:
    Code:
    enable-jline=false
    I should have a proper fix for this up within the next few days.
     
  6. Offline

    Liger_XT5

    Might answer why my server doesn't auto restart when it freezes for more than 10 minutes.
     
  7. Offline

    Joseph

    Is there a way of starting the server process in high priority?
     
  8. Offline

    GamingStudioX

    Help please! I installed it so it will restart when server crashes. But some errors it will not respond or do anything! Why!? Can somebody solve this problem? I only want to to restart at all kinds of crashes, all those that will prevent the players from issuing commands and disconnecting them. Any help available?
     
  9. Offline

    danmark2312

    I dont have anything from console, but it just says: **Server is restarting**

    Wrapper: http://pastebin.com/BV14iXjx
     
  10. Offline

    YoFuzzy3

    How can I disable the remote-control option? I tried setting telnet-enabled to false but rtoolkit still tries to bind to the address.
     
  11. Offline

    acc1dent

    Thanks for your work on this. Really appreciate it! Would be hard to run my server without it.
     
  12. Offline

    ebear

  13. Offline

    kajar9

    Could you improve crash detection by knowing instantly that the server is crashed after a crash-report is generated?
    It's 100% sure that the server is crashed after that message... and it could be better.

    Thanks!

    ebear as far as I can tell you messed something up in config and rtoolkit is unable to parse it properly. Try removing config file, let it regenerate and reconfigure to your needs.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 2, 2016
  14. Offline

    drdanick

    Is it at all possible for you to gain access to your console around the time of a restart? I cannot see any immediate issue with your properties file.


    The remote API (which operates over UDP) cannot be disabled. The closest you can get is to set the bind address to 127.0.0.1.

    Parsing console output to that extent is costly if you don't want false positives. Could you provide an example crash report?
     
  15. Offline

    thegtz

    Got a couple errors:
    Code:
    2013-02-11 19:29:26 [INFO] [com.drdanick.McRKit.plugin.RTKPlugin] [RemoteToolkitPlugin] Enabling RemoteToolkitPlugin vR10_A14.5
    2013-02-11 19:29:26 [INFO] [STDOUT] Memory max: 7311523840 bytes
    2013-02-11 19:29:26 [INFO] [STDOUT] Memory total: 1020067840 bytes
    2013-02-11 19:29:26 [INFO] [STDERR] ERROR LOADING TOOLKIT PLUGIN: java.lang.NoSuchMethodException: org.bukkit.craftbukkit.CraftServer.getReader()
    2013-02-11 19:29:26 [INFO] [STDERR] java.lang.NoSuchMethodException: org.bukkit.craftbukkit.CraftServer.getReader()
    2013-02-11 19:29:26 [INFO] [STDERR]    at java.lang.Class.getMethod(Class.java:1622)
    2013-02-11 19:29:26 [INFO] [STDERR]    at com.drdanick.McRKit.plugin.LegacySupport.initMetrics(LegacySupport.java:16)
    2013-02-11 19:29:26 [INFO] [STDERR]    at com.drdanick.McRKit.plugin.RTKPlugin.onEnable(RTKPlugin.java:111)
    2013-02-11 19:29:26 [INFO] [STDERR]    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
    2013-02-11 19:29:26 [INFO] [STDERR]    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:426)
    2013-02-11 19:29:26 [INFO] [STDERR]    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:383)
    2013-02-11 19:29:26 [INFO] [STDERR]    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:852)
    2013-02-11 19:29:26 [INFO] [STDERR]    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:836)
    2013-02-11 19:29:26 [INFO] [STDERR]    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:235)
    2013-02-11 19:29:26 [INFO] [STDERR]    at keepcalm.mods.bukkit.asm.BukkitStarter.run(BukkitStarter.java:46)
    2013-02-11 19:29:26 [INFO] [STDERR]    at java.lang.Thread.run(Thread.java:722)
    2013-02-11 19:29:26 [INFO] [Minecraft] Remote Toolkit Plugin R10_A14.5 enabled!
     
     
     
    2013-02-11 19:51:53 [INFO] [BukkitForge] Server issued server command: RTPING
    2013-02-11 19:52:05 [INFO] [STDERR] java.net.SocketTimeoutException: Read timed out
    2013-02-11 19:52:05 [INFO] [STDERR]    at java.net.SocketInputStream.socketRead0(Native Method)
    2013-02-11 19:52:05 [INFO] [STDERR]    at java.net.SocketInputStream.read(SocketInputStream.java:150)
    2013-02-11 19:52:05 [INFO] [STDERR]    at java.net.SocketInputStream.read(SocketInputStream.java:121)
    2013-02-11 19:52:05 [INFO] [STDERR]    at java.io.FilterInputStream.read(FilterInputStream.java:133)
    2013-02-11 19:52:05 [INFO] [STDERR]    at org.bouncycastle.crypto.io.CipherInputStream.nextChunk(Unknown Source)
    2013-02-11 19:52:05 [INFO] [STDERR]    at org.bouncycastle.crypto.io.CipherInputStream.read(Unknown Source)
    2013-02-11 19:52:05 [INFO] [STDERR]    at java.io.FilterInputStream.read(FilterInputStream.java:83)
    2013-02-11 19:52:05 [INFO] [STDERR]    at ef.a(Packet.java:142)
    2013-02-11 19:52:05 [INFO] [STDERR]    at cg.i(TcpConnection.java:324)
    2013-02-11 19:52:05 [INFO] [STDERR]    at cg.c(TcpConnection.java:544)
    2013-02-11 19:52:05 [INFO] [STDERR]    at ch.run(SourceFile:93)
    2013-02-11 19:52:05 [INFO] [STDERR] java.net.SocketException: Socket closed
    2013-02-11 19:52:05 [INFO] [STDERR]    at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:116)
    2013-02-11 19:52:05 [INFO] [STDERR]    at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
    2013-02-11 19:52:05 [INFO] [STDERR]    at org.bouncycastle.crypto.io.CipherOutputStream.write(Unknown Source)
    2013-02-11 19:52:05 [INFO] [STDERR]    at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
    2013-02-11 19:52:05 [INFO] [STDERR]    at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
    2013-02-11 19:52:05 [INFO] [STDERR]    at java.io.DataOutputStream.flush(DataOutputStream.java:123)
    2013-02-11 19:52:05 [INFO] [STDERR]    at ci.run(SourceFile:120)
     
  16. Offline

    gaetan68

    I have a Big Error

    Code:
    Minecraft Remote Toolkit R10 Alpha 14.5
    Initializing...
    Loading toolkit properties...Done.
    Loading toolkit modules...Done.
    Wrapper is running on: Windows Server 2008 R2 6.1 amd64
    Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize
    class org.fusesource.jansi.internal.Kernel32
            at org.fusesource.jansi.internal.WindowsSupport.getConsoleMode(WindowsSu
    pport.java:50)
            at jline.WindowsTerminal.getConsoleMode(WindowsTerminal.java:176)
            at jline.WindowsTerminal.init(WindowsTerminal.java:80)
            at jline.TerminalFactory.create(TerminalFactory.java:93)
            at jline.TerminalFactory.get(TerminalFactory.java:151)
            at jline.console.ConsoleReader.<init>(ConsoleReader.java:140)
            at jline.console.ConsoleReader.<init>(ConsoleReader.java:126)
            at com.drdanick.McRKit.Wrapper.init(Wrapper.java:327)
            at com.drdanick.McRKit.Wrapper.<init>(Wrapper.java:219)
            at com.drdanick.McRKit.Wrapper.createWrapper(Wrapper.java:255)
            at com.drdanick.McRKit.McRKitLauncher.<init>(McRKitLauncher.java:161)
            at com.drdanick.McRKit.McRKitLauncher.main(McRKitLauncher.java:109)
    
     
  17. Offline

    filoghost

    I can't get it working, if I start the server without toolkit is visible. But if I enable the toolkit, I can see the server only from the host. I tried disabling firewall, no errors on log, please help!
     
  18. Offline

    highguy272

    I installed it but it cannot find Rtoolkit plugin. What did I do wrong?
     
  19. Offline

    sverre26

  20. Offline

    drdanick

  21. Offline

    zxcdserf

    Code:
    Minecraft Remote Toolkit R10 Alpha 14.5
    Initializing...
    Loading toolkit properties...Done.
    Loading toolkit modules...Done.
    Wrapper is running on: Linux 2.6.32-5-amd64 amd64
    Starting wrapper...
    Starting UDP listen server on port 25561
    Error: Could not find or load main class org.bukkit.craftbukkit.Main
    Restarting...
    Error: Could not find or load main class org.bukkit.craftbukkit.Main
    Restarting...
     
    ....Loops on....
    Hi, I cannot get my Feed the Beast server to start up with that error message.
    I made sure to change the settings accordingly.
    I am using this jar: http://www.mcportcentral.co.za/index.php?topic=4657.0
     
  22. Offline

    biggnft19

    When i tried installing this plugin both my serevr cmd command box and the plugin cmd command box give me a message saying:
    C:\Users\Joshua\Desktop\Smith Craft\Smith Craft>java -Xms3G -Xmx3G -jar craftbuk
    kit.jar -o true
    210 recipes
    27 achievements
    11:39:57 [INFO] Starting minecraft server version 1.4.7
    11:39:57 [INFO] Loading properties
    11:39:57 [INFO] Default game type: SURVIVAL
    11:39:57 [INFO] Generating keypair
    11:39:58 [INFO] Starting Minecraft server on *:25565
    11:39:58 [WARNING] **** FAILED TO BIND TO PORT!
    11:39:58 [WARNING] The exception was: java.net.BindException: Address already in
    use: JVM_Bind
    11:39:58 [WARNING] Perhaps a server is already running on that port?
     
  23. Offline

    Sshadow

    Are you sure you don't already have a server running on that port? Or is anything else using that port?
     
  24. Offline

    biggnft19

    Yes, my server was working on that port before i tried to install the Remote Toolkit plugin.
     
  25. Offline

    Sshadow

    What I meant is did you stop your server entirely before trying to run it with the toolkit? If your sure it's not running then check the toolkit's remote.properties and make sure it's not trying to use port 25565 for some reason.

    Basically this error 11:39:58 [WARNING] The exception was: java.net.BindException: Address already in
    use: JVM_Bind means that something is running on that port already.
     
  26. Offline

    biggnft19

    When i try to run the the plugins cmd i keep getting this.
    Any suggestions on how to fix this?

    This is the error i am getting in the plugin cmd box:
    Minecraft Remote Toolkit R10 Alpha 14.5
    Initializing...
    Loading toolkit properties...Done.
    Loading toolkit modules...Done.
    Wrapper is running on: Windows 7 6.1 amd64
    [WARNING] Cannot add alert "10m", it occurs in the past.
    [WARNING] Cannot add alert "5m", it occurs in the past.
    Starting wrapper...
    Starting UDP listen server on port 25561
    [WARNING] Cannot add alert "10m", it occurs in the past.
    [WARNING] Cannot add alert "5m", it occurs in the past.
    Feb 18, 2013 12:26:52 PM net.wimpi.telnetd.net.PortListener run
    INFO: Listening to Port 25,561 with a connectivity queue size of 5.
    Error occurred during initialization of VM
    Incompatible minimum and maximum heap sizes specified
    Restarting...
    [WARNING] Cannot add alert "10m", it occurs in the past.
    [WARNING] Cannot add alert "5m", it occurs in the past.
    Error occurred during initialization of VM
    Incompatible minimum and maximum heap sizes specified
    Restarting...

    Someone please help me!!
     
  27. Offline

    Bo98

    drdanick

    It seems your wiki is flooded with spam pages from a few days ago.
     
  28. Offline

    fabmakesmusic

    Hello,
    we are hosting a minecraft server on a Debian system.
    I can start the Toolkit with "/rtoolkit.sh start" and the server runs fine,
    but when I close the CMD-Window (I use Putty), the server gets shuts down immediately.
    I does not shut down like it does when executing "stop". It just gets killed.
     
  29. Offline

    Sharkykzn

    Looking for advice on adding a command to backup and rollover the server log for each daily restart.

    Can this be added to the wrapper?
     
  30. Offline

    yaitsbilly

    When my server restarts, its not telling them server is restarting. It just says you were kicked.
     
  31. Offline

    kajar9

    I was reffering to this console message which definitely shows that server has crashed.

    Code:
    2013-02-24 16:39:42 [SEVERE] This crash report has been saved to: /srv/server/./crash-reports/crash-2013-02-24_16.39.42-server.txt
    It tells the console that it has generated a crash-log and your plugin should listen for that very message.
    Type SEVERE including text "This crash report has been saved to:"
     
Thread Status:
Not open for further replies.

Share This Page