-
Notifications
You must be signed in to change notification settings - Fork 225
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 fails to start #302
Comments
This is still happening after a manual install on a brand new virtual server. |
This is on Ubuntu, by the way. |
There's no indication that the server failed to start until you check status:
|
The last failure, by the way, was following the defaults, therefore not a system user, just in case that was the problem. This is all on a 1GB Digital Ocean virtual server ("droplet") in a New York region 3 data center. Before installing with
I ran
When I did the manual install I copied a world into the world directory, but not when doing the automated install, since it was not mentioned in the directions for the automated install, and therefore I assume the script did it. My
but nothing else. In all my installations, whether automated or not, there was nothing in the server.properties file until I added it. (In fact, as far as I remember, the file didn't exist the first time I did an installation.) This strikes me as very odd: I would expect a normal default |
In case the problem was with Oracle's Java, I did this
and switched to using OpenJDK7. No luck. Same problem. |
Here's other info about the specifics of Ubuntu on my system:
|
Sorry you're having issue. I did some testing with this, and just to confirm, when you ran your installation manually, you created the user with the following (username possibly varied):
and automated, when it asked about adding the user, did you say no to adding the new user as system account, or left that blank?
If that's the case, the user isn't being created as a system account, which is causing msm to have issue connecting to the screen session as the user. Are you receiving the following when you try to start your world?
I suspect this has to do with the userid and groupid range the user is being created in, if not a system account. Guessing then there are permissions restrictions for the non-system account. I'm just guessing, though. The quick work around, which I've verified, is to create the user as a system account, which allows access to the screen session and the server to start without issue.
If you're getting any other error, please reply with the exact message or other steps you're taking, if I missed something. thanks. |
I created issue #306 for discussion of a possible fix for the --system account issue. |
Initially I let the wizard create the user as a system account, since that On Sat, Aug 1, 2015 at 2:32 AM, Blaine Motsinger [email protected]
Brandon Zylstra |
Sorry, but I'm unable to reproduce the issue you're having. I don't have access to a Digital Ocean VPS to be able to recreate your exact environment. Would you mind posting what's being logged in the latest.log file when you attempt to start the server? |
I know it's a relatively old issue, but I'm having the exact same problem here, though the difference is that I did a full automatic installation of msm. I'm not sure of the OP has found a workaround to fix this, any help is highly appreciated. |
Hello. Could you please describe exactly what's happening when you start your minecraft server with msm? Is there anything being written to the log file when the server starts up? For the sake of trying to get a better idea of what's going on, are you on a vps? Do you have a swap partition configured? Is there anything being written to /var/log/syslog when the server fails to start up? |
For those who stumble on this in the future... I had this exact issue on a 1GB Digitalocean VPS. There was an error file in the server directory that mentioned Java had run out of memory. I edited |
how low did you set this then? |
I don’t remember |
I installed MSM using all defaults except that I chose a system user. No matter what I did, the server would not start.
msm main start
appeared to work, but when I checked the status it was down (though active). ('main', of course, was the name of my server.)(This could be related to another issue I'm about to report... but they may be separate so I'm reporting them separately.)
The text was updated successfully, but these errors were encountered: