Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server Start Failing #33

Open
LordWartog opened this issue Sep 27, 2018 · 12 comments
Open

Server Start Failing #33

LordWartog opened this issue Sep 27, 2018 · 12 comments

Comments

@LordWartog
Copy link

Whenever I click "Serverstart" the batch file, it opens for a second with http://prntscr.com/kz7kov then closes and nothing happens. I've tried re downloading and changing the max ram value to the "5G" as the example and it still has the same issue. Any ideas?

@Yoosk
Copy link
Contributor

Yoosk commented Sep 27, 2018

Can't tell much without logs, but if I were to guess blind, you run that from invalid location like onedrive or inside of archive.

@LordWartog
Copy link
Author

Can't tell much without logs, but if I were to guess blind, you run that from invalid location like onedrive or inside of archive.

Not to be an idiot but, how do I get logs for this kind of crash? and I am trying to boot it from the desktop. Is that not a valid location for this script?

@Yoosk
Copy link
Contributor

Yoosk commented Sep 27, 2018

There should exist logs directory and inside it serverstart.log

@LordWartog
Copy link
Author

LordWartog commented Sep 27, 2018

Now that I have the logs, I was comparing it to the "Max Ram" issue already posted but it appears either it was patched and no longer a problem, or went unresolved. my logs are extremely similar if not identical to theirs. @Yoosk

ERROR: Error flagged, reason is: "Settings.cfg_Error:MAX_RAM"
WARN: Server startup script is exiting. Dumping current vars:
DEBUG: MC_SERVER_MAX_RAM=
DEBUG: MC_SERVER_FORGE_JAR=
DEBUG: MC_SERVER_SPONGE_BOOT=
DEBUG: MC_SERVER_JVM_ARGS=
DEBUG: MC_SERVER_MAX_CRASH=
DEBUG: MC_SERVER_CRASH_TIMER=
DEBUG: MC_SERVER_IGNORE_OFFLINE=
DEBUG: MC_SERVER_RUN_FROM_BAD_FOLDER=
DEBUG: MC_SERVER_MCVER=
DEBUG: MC_SERVER_FORGEVER=
DEBUG: MC_SERVER_FORGESHORT=
DEBUG: MC_SERVER_FORGEURL=
DEBUG: MC_SERVER_HIGH_PRIORITY=
DEBUG: MC_SERVER_SPONGE=
DEBUG: MC_SERVER_PACKNAME=
DEBUG: MC_SERVER_SPONGEURL=
DEBUG: MC_SERVER_SPONGEBOOTSTRAPURL=
DEBUG: MC_SERVER_ERROR_REASON=Settings.cfg_Error:MAX_RAM
DEBUG: MC_SERVER_TMP_FLAG=0
DEBUG: MC_SERVER_CRASH_COUNTER=1
DEBUG: MC_SERVER_CRASH_YYYYMMDD=20180927
DEBUG: MC_SERVER_CRASH_HHMMSS=103302
DEBUG: Current directory file listing:
Volume in drive C has no label.
Volume Serial Number is C61B-194F

Directory of C:\Users\Main\Desktop\New folder

09/27/2018 10:33 AM

.
09/27/2018 10:33 AM ..
09/10/2018 01:22 PM config
05/01/2018 04:41 PM 3,237 LICENSE.md
09/27/2018 10:33 AM logs
09/10/2018 01:22 PM mods
05/01/2018 04:41 PM 12,200 README.md
09/10/2018 01:22 PM scripts
05/18/2018 02:39 AM 691 server.properties
05/01/2018 04:41 PM 10,198 ServerStart(Linux).sh
05/01/2018 04:41 PM 44,968 ServerStart.bat
08/22/2018 02:28 PM 742 settings.cfg
6 File(s) 72,036 bytes
6 Dir(s) 130,194,255,872 bytes free
DEBUG: JAVA version output (java -d64 -version):
java version "1.8.0_181"
Java(TM) SE Runtime Environment (build 1.8.0_181-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)

BITSADMIN version 3.0
BITS administration utility.
(C) Copyright Microsoft Corp.

0 out of 0 jobs canceled.

@LordWartog
Copy link
Author

LordWartog commented Sep 27, 2018

Would it be better for me to try and bypass the serverstart.bat by manually adding and running a Forge file and MC server 12.2?

@Yoosk
Copy link
Contributor

Yoosk commented Sep 27, 2018

Forge installer should be included in pack, script doesn't check for mc server AFAIK.

@LordWartog
Copy link
Author

Is it in the open? or hidden in a folder somewhere?

@Yoosk
Copy link
Contributor

Yoosk commented Sep 27, 2018

should look like that 2018-09-27 18-09-08-explorer

@LordWartog
Copy link
Author

That is probably the issue. All of my installs have been void of the forge installer

@Yamza
Copy link

Yamza commented Sep 27, 2018

Are you installing to a host? Where ever you are installing to may be access restricted and thus not allowing you to run serverstart. Try running it as administrator(if this is on your pc)?

@LordWartog
Copy link
Author

LordWartog commented Sep 27, 2018

I'm installing from the Curse website, it installs to my downloads, I then use winrar to unpack it to my desktop into it's own folder. It's all my personal computer and running as admin doesn't change anything. Are there any places specifically I should check access? My computer in the past has locked certain areas giving access to no one (not sure why). @Yamza

@LordWartog
Copy link
Author

LordWartog commented Sep 27, 2018

So i found a possible solution (Currently testing), a solution to this problem is downloading the CORRECT/current forge, installing it in that file, and running it all from that jar instead of using the server start. The biggest issue is that it doesn't set RAM allocation as far as I can tell. Will update when I know more!

EDIT: This does work. There are a few errors that seem to be created this way, but as far as I can tell, if you don't have a Forge file, Get it, install it manually, then launch through the universal forge exe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants