F5F Stay Refreshed Power Users Networks The program encountered an error while processing console input due to an invalid file handle.

The program encountered an error while processing console input due to an invalid file handle.

The program encountered an error while processing console input due to an invalid file handle.

Pages (2): 1 2 Next
V
vincentnele
Member
223
02-07-2023, 04:20 AM
#1
I'm facing an issue launching a Minecraft server on one of my computers. It functions perfectly on the main PC but not on the server machine. Everything remains identical except the Java version is newer on the server side. I'm using ZeroTier One API to set up a virtual network, which works on the desktop but not on the server. My setup is as follows, and I've shared the full error log (IP redacted). If anyone has experience with Java or Minecraft servers, could you suggest a solution? I've checked everything thoroughly. Only the highlighted parts might be problematic, but I included the entire network.
V
vincentnele
02-07-2023, 04:20 AM #1

I'm facing an issue launching a Minecraft server on one of my computers. It functions perfectly on the main PC but not on the server machine. Everything remains identical except the Java version is newer on the server side. I'm using ZeroTier One API to set up a virtual network, which works on the desktop but not on the server. My setup is as follows, and I've shared the full error log (IP redacted). If anyone has experience with Java or Minecraft servers, could you suggest a solution? I've checked everything thoroughly. Only the highlighted parts might be problematic, but I included the entire network.

A
ashtons1
Junior Member
3
02-07-2023, 05:38 AM
#2
Running the server via a batch script with pause as an argument yields this output: C:\Users\Dedicated-Server\Desktop\1.16.1 PORT>java -Xmx2048M -Xms2048M -jar server.jar nogui Error occurred during initialization of VM Could not reserve enough space for 2097152KB object heap C:\Users\Dedicated-Server\Desktop\1.16.1 PORT>pause Press any key to continue . . .
A
ashtons1
02-07-2023, 05:38 AM #2

Running the server via a batch script with pause as an argument yields this output: C:\Users\Dedicated-Server\Desktop\1.16.1 PORT>java -Xmx2048M -Xms2048M -jar server.jar nogui Error occurred during initialization of VM Could not reserve enough space for 2097152KB object heap C:\Users\Dedicated-Server\Desktop\1.16.1 PORT>pause Press any key to continue . . .

Z
Zer0x_18
Member
118
02-07-2023, 07:55 AM
#3
The server isn't running Windows, could that be the problem?
Z
Zer0x_18
02-07-2023, 07:55 AM #3

The server isn't running Windows, could that be the problem?

K
koolkittyLR
Member
172
02-09-2023, 05:56 AM
#4
Are you certain Java 64-bit is set up correctly?
K
koolkittyLR
02-09-2023, 05:56 AM #4

Are you certain Java 64-bit is set up correctly?

C
ColeCreeper99
Junior Member
42
02-09-2023, 01:01 PM
#5
Also available to share the message in your server.properties configuration.
C
ColeCreeper99
02-09-2023, 01:01 PM #5

Also available to share the message in your server.properties configuration.

Z
ZebraZack
Member
53
02-10-2023, 01:49 AM
#6
Minecraft server configuration details #Created on Friday 24 July 2020 spawn-protection=16 max-tick-time=60000 query.port=25565 generator-settings= sync-chunk-writes=true force-gamemode=false allow-nether=true enforce-whitelist=false gamemode=survival broadcast-console-to-ops=true enable-query=false player-idle-timeout=0 difficulty=easy spawn-monsters=true broadcast-rcon-to-ops=true op-permission-level=4 pvp=true entity-broadcast-range-percentage=100 snooper-enabled=true level-type=default hardcore=false enable-status=true enable-command-block=false max-players=20 network-compression-threshold=256 resource-pack-sha1= max-world-size=29999984 function-permission-level=2 rcon.port=25575 server-port=25565 server-ip=x.x.x.x spawn-npcs=true allow-flight=false level-name=world view-distance=10 resource-pack= spawn-animals=true white-list=false rcon.password= generate-structures=true max-build-height=256 online-mode=true level-seed= use-native-transport=true prevent-proxy-connections=false enable-jmx-monitoring=false enable-rcon=false motd=A Minecraft Server
Z
ZebraZack
02-10-2023, 01:49 AM #6

Minecraft server configuration details #Created on Friday 24 July 2020 spawn-protection=16 max-tick-time=60000 query.port=25565 generator-settings= sync-chunk-writes=true force-gamemode=false allow-nether=true enforce-whitelist=false gamemode=survival broadcast-console-to-ops=true enable-query=false player-idle-timeout=0 difficulty=easy spawn-monsters=true broadcast-rcon-to-ops=true op-permission-level=4 pvp=true entity-broadcast-range-percentage=100 snooper-enabled=true level-type=default hardcore=false enable-status=true enable-command-block=false max-players=20 network-compression-threshold=256 resource-pack-sha1= max-world-size=29999984 function-permission-level=2 rcon.port=25575 server-port=25565 server-ip=x.x.x.x spawn-npcs=true allow-flight=false level-name=world view-distance=10 resource-pack= spawn-animals=true white-list=false rcon.password= generate-structures=true max-build-height=256 online-mode=true level-seed= use-native-transport=true prevent-proxy-connections=false enable-jmx-monitoring=false enable-rcon=false motd=A Minecraft Server

F
FABIAN10614
Junior Member
38
02-10-2023, 05:11 AM
#7
I could possibly have the incorrect Java version. I'll check it.
F
FABIAN10614
02-10-2023, 05:11 AM #7

I could possibly have the incorrect Java version. I'll check it.

C
cookiedough909
Posting Freak
782
02-10-2023, 02:43 PM
#8
Check the Java configuration first. Then remove your IP address from this server's settings—its auto-assignment may lead to issues. If that fails, paste these values into server.properties. #Minecraft server settings include spawn-protection=16, max-tick-time=60000, port 25565, generator-settings with specific options, and more.
C
cookiedough909
02-10-2023, 02:43 PM #8

Check the Java configuration first. Then remove your IP address from this server's settings—its auto-assignment may lead to issues. If that fails, paste these values into server.properties. #Minecraft server settings include spawn-protection=16, max-tick-time=60000, port 25565, generator-settings with specific options, and more.

W
Windlander
Member
150
02-10-2023, 07:52 PM
#9
Wow, that really worked! You're amazing. Just a quick fix needed—IP was just a placeholder at first. Thanks for the help!
W
Windlander
02-10-2023, 07:52 PM #9

Wow, that really worked! You're amazing. Just a quick fix needed—IP was just a placeholder at first. Thanks for the help!

D
domuzcukcansu
Junior Member
3
02-11-2023, 04:03 AM
#10
It's not uncommon to be puzzled about such details. I'm still learning the ropes and trying to understand why certain settings are applied automatically.
D
domuzcukcansu
02-11-2023, 04:03 AM #10

It's not uncommon to be puzzled about such details. I'm still learning the ropes and trying to understand why certain settings are applied automatically.

Pages (2): 1 2 Next