Logan B Posted September 22, 2022 Posted September 22, 2022 Hi! I'm running a forge server for me and a friend. It's going well so far, but the server will randomly after 15-30m, even when no-one has logged in. Here is the relevant stuff. [22Sep2022 00:08:38.037] [Server thread/DEBUG] [mixin/]: Mixing MixinEnchantmentHelper from tetra.mixins.json into net.minecraft.world.item.enchantment.EnchantmentHelper [22Sep2022 00:09:27.873] [Server console handler/ERROR] [net.minecraft.server.dedicated.DedicatedServer/]: Caught previously unhandled exception : java.io.IOError: java.io.IOException: Error executing 'stty -a': stty: 'standard input': Input/output error at org.jline.terminal.impl.AbstractPosixTerminal.setAttributes(AbstractPosixTerminal.java:54) ~[jline-terminal-3.12.1.jar%2313!/:?] at org.jline.reader.impl.LineReaderImpl.readLine(LineReaderImpl.java:650) ~[jline-reader-3.12.1.jar%2312!/:?] at org.jline.reader.impl.LineReaderImpl.readLine(LineReaderImpl.java:418) ~[jline-reader-3.12.1.jar%2312!/:?] at net.minecraftforge.server.console.TerminalHandler.handleCommands(TerminalHandler.java:46) ~[forge-1.18.2-40.1.0-universal.jar%2354!/:?] at net.minecraft.server.dedicated.DedicatedServer$1.run(DedicatedServer.java:92) ~[server-1.18.2-20220404.173914-srg.jar%2350!/:?] Caused by: java.io.IOException: Error executing 'stty -a': stty: 'standard input': Input/output error at org.jline.utils.ExecHelper.exec(ExecHelper.java:42) ~[jline-terminal-3.12.1.jar%2313!/:?] at org.jline.terminal.impl.ExecPty.doGetConfig(ExecPty.java:175) ~[jline-terminal-3.12.1.jar%2313!/:?] at org.jline.terminal.impl.ExecPty.getAttr(ExecPty.java:87) ~[jline-terminal-3.12.1.jar%2313!/:?] at org.jline.terminal.impl.ExecPty.doSetAttr(ExecPty.java:93) ~[jline-terminal-3.12.1.jar%2313!/:?] at org.jline.terminal.impl.AbstractPty.setAttr(AbstractPty.java:29) ~[jline-terminal-3.12.1.jar%2313!/:?] at org.jline.terminal.impl.AbstractPosixTerminal.setAttributes(AbstractPosixTerminal.java:52) ~[jline-terminal-3.12.1.jar%2313!/:?] ... 4 more And then it shuts down. Quote
warjort Posted September 22, 2022 Posted September 22, 2022 The error says your terminal is broken. Did you start the server from the command line then close the window? Quote Boilerplate: If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one. If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install Large files should be posted to a file sharing site like https://gist.github.com You should also read the support forum sticky post.
Logan B Posted September 22, 2022 Author Posted September 22, 2022 I was hosting it on a remote server and accessing it through SSH. I'd turn on the server, wait until it was working and then close the connection. Quote
warjort Posted September 22, 2022 Posted September 22, 2022 (edited) https://en.wikipedia.org/wiki/Nohup or similar tricks. Edited September 22, 2022 by warjort Quote Boilerplate: If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one. If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install Large files should be posted to a file sharing site like https://gist.github.com You should also read the support forum sticky post.
Ugdhar Posted September 22, 2022 Posted September 22, 2022 I'd go with tmux or screen for running a terminal you can detach from. https://www.howtogeek.com/671422/how-to-use-tmux-on-linux-and-why-its-better-than-screen/ Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.