STEAM GROUP
Linux Game Server Managers linuxgsm
STEAM GROUP
Linux Game Server Managers linuxgsm
53
IN-GAME
524
ONLINE
Founded
February 9, 2015
Davvad Jan 30, 2017 @ 6:25am
./mcserver start FAIL
Hello community, I have a problem to start my Mc server. If I use the command "./mcserver start" I get an error message.
[FAIL] Starting mc-server: Executable java -Xmx8192M -jar minecraft_server.jar was not found.
I don´t know how too fix this error. If I run the server at the debug mod he doesn´t show me any errors. Please help me fix the error

Minecraft Debug ================================= Distro: Debian GNU/Linux 8.7 (jessie) Arch: x86_64 Kernel: 3.16.0-4-amd64 tmux: tmux 1.9 Avg Load: 1.40, 1.36, 1.45 Free Memory: 10G Free Disk: 264G Start parameters: java -Xmx8192M -jar minecraft_server.jar nogui Use for identifying server issues only! Press CTRL+c to drop out of debug mode. Warning! If mc-server is already running it will be stopped. Continue? [Y/n]y [ INFO ] Debug mc-server: Stopping any running servers [ INFO ] Stopping mc-server: Brostudios Minecraft Server is already stopped [ OK ] Debug mc-server: Starting debug [14:55:59] [Server thread/INFO]: Starting minecraft server version 1.11.2 [14:55:59] [Server thread/INFO]: Loading properties [14:55:59] [Server thread/INFO]: Default game type: SURVIVAL [14:55:59] [Server thread/INFO]: Generating keypair [14:55:59] [Server thread/INFO]: Using epoll channel type [14:55:59] [Server thread/INFO]: Preparing level "world" [14:55:59] [Server thread/INFO]: Preparing start region for level 0 [14:56:00] [Server thread/INFO]: Preparing spawn area: 25% [14:56:01] [Server thread/INFO]: Done (2.076s)! For help, type "help" or "?" [14:57:05] [Server Shutdown Thread/INFO]: Stopping server [14:57:05] [Server Shutdown Thread/INFO]: Saving players [14:57:05] [Server Shutdown Thread/INFO]: Saving worlds [14:57:05] [Server Shutdown Thread/INFO]: Saving chunks for level 'world'/Overworld [ OK ] Debug mc-server: Closing debug
Last edited by Davvad; Jan 30, 2017 @ 7:55am
< >
Showing 1-12 of 12 comments
Mazer Jan 30, 2017 @ 6:35am 
Post the output of:
./mcserver pd # Just the link ls -l serverfiles # Post the console output
Davvad Jan 30, 2017 @ 7:49am 
ls -l serverfiles :
total 9532 -rw-r--r-- 1 mcserver mcserver 2 Jan 30 14:55 banned-ips.json -rw-r--r-- 1 mcserver mcserver 2 Jan 30 14:55 banned-players.json -rw-r--r-- 1 mcserver mcserver 10 Jan 30 14:31 eula.txt drwxr-xr-x 2 mcserver mcserver 4096 Jan 30 14:55 logs -rw-r--r-- 1 mcserver mcserver 9720835 Jan 30 14:31 minecraft_server.jar -rw-r--r-- 1 mcserver mcserver 2 Jan 30 14:55 ops.json -rw-r--r-- 1 mcserver mcserver 839 Jan 30 14:55 server.properties -rw-r--r-- 1 mcserver mcserver 2 Jan 30 14:55 usercache.json -rw-r--r-- 1 mcserver mcserver 2 Jan 30 14:34 whitelist.json drwxr-xr-x 7 mcserver mcserver 4096 Jan 30 14:57 world

./mcserver pd :
[ OK ] Postdetails mc-server: Posting details to hastebin.com for 30D Please share the following url for support: https://hastebin.com/<!DOCTYPE html> <html> <head> width=device-width, initial-scale=1 <title>Application Error</title> </head> <body> </body> </html>

Last edited by Davvad; Jan 30, 2017 @ 7:55am
Mazer Jan 30, 2017 @ 8:04am 
Don't run postdetails as root. Please re-run and post the link.

Please also post the results of
which java
Last edited by Mazer; Jan 30, 2017 @ 8:05am
Davvad Jan 30, 2017 @ 8:23am 
java version "1.8.0_121" Java(TM) SE Runtime Environment (build 1.8.0_121-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)

If I use "su - mcserver" or mcserver to log in, I always get the message as in the previous post.
Mazer Jan 30, 2017 @ 9:11am 
Originally posted by Davvad:
If I use "su - mcserver" or mcserver to log in, I always get the message as in the previous post.
Could you then post the output of:
./mcserver details
Davvad Jan 30, 2017 @ 9:58am 
Distro Details =============================================================================================== Distro: Debian GNU/Linux 8.7 (jessie) Arch: x86_64 Kernel: 3.16.0-4-amd64 tmux: tmux 1.9 GLIBC: 2.19 Performance =============================================================================================== Uptime: 19d, 20h, 48m Avg Load: 1.22, 1.43, 1.47 Mem: total used free cached Physical: 11G 916M 10G 11G Swap: 0B 0B 0B Storage =============================================================================================== Filesystem: /dev/sda2 Total: 295G Used: 17G Available: 264G LGSM Total: 23M Serverfiles: 13M Minecraft Server Details =============================================================================================== Server name: Brostudios Minecraft Server Server IP: :25565 RCON password: admin Maxplayers: 20 Game mode: 0 Game world: world Status: OFFLINE mcserver Script Details =============================================================================================== Service name: mc-server mcserver version: 170128 User: mcserver Email alert: off Pushbullet alert: off Update on start: on Location: /home/mcserver Config file: /home/mcserver/serverfiles/server.properties Backups =============================================================================================== No Backups created Command-line Parameters =============================================================================================== java -Xmx8192M -jar minecraft_server.jar nogui Ports =============================================================================================== Change ports by editing the parameters in: /home/mcserver/serverfiles/server.properties Useful port diagnostic command: netstat -atunp | grep java DESCRIPTION DIRECTION PORT PROTOCOL > Game INBOUND 25565 udp Status: OFFLINE
Last edited by Davvad; Feb 1, 2017 @ 10:07am
Mazer Jan 30, 2017 @ 10:04am 
Things look mostly okay except the egregious 8G of heap space - 80% of your total ram.
Try 1G for starters - any difference?

Try:
cd serverfiles java -Xmx1G -jar minecraft_server.jar nogui
Last edited by Mazer; Jan 30, 2017 @ 10:05am
Davvad Jan 30, 2017 @ 10:08am 
It seems to run with the command

[19:12:01] [Server thread/INFO]: Starting minecraft server version 1.11.2 [19:12:01] [Server thread/INFO]: Loading properties [19:12:01] [Server thread/INFO]: Default game type: SURVIVAL [19:12:01] [Server thread/INFO]: Generating keypair [19:12:02] [Server thread/INFO]: Starting Minecraft server on *:25565 [19:12:02] [Server thread/INFO]: Using epoll channel type [19:12:02] [Server thread/INFO]: Preparing level "world" [19:12:02] [Server thread/INFO]: Preparing start region for level 0 [19:12:03] [Server thread/INFO]: Preparing spawn area: 9% [19:12:04] [Server thread/WARN]: Keeping entity minecraft:chicken that already exists with UUID 5f4b66d8-6afb-4705-9f43-95f93888197a [19:12:04] [Server thread/WARN]: Keeping entity minecraft:sheep that already exists with UUID 18f6b046-6cb8-4fd9-ad7e-710689f08678 [19:12:04] [Server thread/WARN]: Keeping entity minecraft:sheep that already exists with UUID 99d09af9-ea41-48d5-942c-0b296af72e64 [19:12:04] [Server thread/INFO]: Preparing spawn area: 86% [19:12:05] [Server thread/INFO]: Done (2.484s)! For help, type "help" or "?"

But when I change it in "mcserver" I get the same error
Last edited by Davvad; Jan 30, 2017 @ 10:16am
Mazer Jan 30, 2017 @ 10:17am 
You must have something wrong in your mcserver script then. Please post it to hastebin/pastebin.
Davvad Jan 30, 2017 @ 10:21am 
Last edited by Davvad; Feb 1, 2017 @ 10:07am
Mazer Jan 30, 2017 @ 10:41am 
What happens when you turn "updateonstart" back to off?
Davvad Jan 30, 2017 @ 1:25pm 
Unfortunately still the same problem.....
I would like to thank them for taking so much time for me
< >
Showing 1-12 of 12 comments
Per page: 1530 50

Date Posted: Jan 30, 2017 @ 6:25am
Posts: 12