PhonicUK.com Forums

 

These forums are no longer active. Please visit the new forums at forums.phonicuk.com


Forum Index >> McMyAdmin >> View Thread

You are logged in as: Guest

Viewing Thread: Issue with constant server restart


 #1 Posted: 6/29/2011 2:39:50 AM GMT
Poster:
Malkierian Regular User
Regular User

4 posts
OK, so I just moved from one box to another (same OS) and suddenly I'm having this trouble with McMyAdmin:


Notice: McMyAdmin has started and is ready for use.
Info: Waiting to start Minecraft server...
Debug: Scanning Plugins
Warning: Could not load Minecraft Config.
Notice: Starting Minecraft Server...
Info: Using server java VM.
Debug: Java start arguments: -Djline.terminal=jline.UnsupportedTerminal -server  -Xmx3584M -jar craftbukkit.jar nogui -d "yyyy-MM-dd HH:mm:ss"
Info: Minecraft server started with PID 21425
2011-06-28 21:21:32 [INFO] Starting minecraft server version Beta 1.6.6
2011-06-28 21:21:32 [INFO] Loading properties
2011-06-28 21:21:32 [INFO] Starting Minecraft server on *:25565
2011-06-28 21:21:32 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-823-gb9d0b04-b860jnks (MC: 1.6.6)
2011-06-28 21:21:32 [INFO] Preparing level "world"
2011-06-28 21:21:32 [INFO] Preparing start region for level 0
2011-06-28 21:21:33 [INFO] Preparing spawn area: 65%
2011-06-28 21:21:34 [INFO] Preparing start region for level 1
2011-06-28 21:21:34 [INFO] Preparing spawn area: 65%
Warning: Restarting Minecraft server to perform a configuration change.
2011-06-28 21:21:35 [INFO] Done (0.279s)! For help, type "help" or "?"
2011-06-28 21:21:35 [INFO] [CONSOLE] Server is restarting. World is being saved.
2011-06-28 21:21:35 [INFO] Enabling level saving..
2011-06-28 21:21:35 [INFO] Forcing save..
2011-06-28 21:21:36 [INFO] Save complete.
2011-06-28 21:21:36 [INFO] Stopping the server..
2011-06-28 21:21:36 [INFO] Stopping server
2011-06-28 21:21:36 [INFO] Saving chunks
2011-06-28 21:21:36 [INFO] Stopping server
2011-06-28 21:21:36 [INFO] Saving chunks


And it just keeps going and going and going.  I used to have plugins in there, I removed them as a try to stop it restarting.  I started craftbukkit by itself (manual java in shell) and it worked just fine.  So it has to be something with McMyAdmin.

Specs:
OS: Debian 6 Squeeze 64-bit
Mono version: 2.6.7
McMyAdmin version: 0.9.4.8 pro

As for actions to reproduce the problem, I have no idea, because I've never come across this before.  And then, nothing I have tried has worked.  I've narrowed it down as far as I can.

P.S.  There's nothing extra in the errors log.

 

 

Edited 6/29/2011 2:40:22 AM by Malkierian: formatting

You need to login to report or quote posts. 

 #2 Posted: 6/29/2011 9:09:34 AM GMT
Poster:
PhonicUK Admin
Administrator

1431 posts
Restart loops are caused by one of the following:

- Corrupt World
- Outdated/Damaged plugins or addons

A few things to try:

- Disabling the 'severerestart' setting in McMyAdmin.conf
- Backing up your world and trying with a fresh one

Edit: After looking again, what *may* be happening is that McMyAdmin is unable to update your server.properties file (perhaps due to a permissions or locking issue on the machine), this could cause a restart loop as it keeps trying to change the player limit. Try starting McMyAdmin with the +loglevel 0 argument to check for extra error messages.

 

Please only download PhonicUK software from PhonicUK.com!

 

Edited 6/29/2011 9:13:26 AM by PhonicUK: .

You need to login to report or quote posts. 

 #3 Posted: 6/29/2011 6:26:28 PM GMT
Poster:
Malkierian Regular User
Regular User

4 posts
- Disabling the 'severerestart' setting in McMyAdmin.conf
- Backing up your world and trying with a fresh one

Here's an update:
- I already had my severerestart set to false.
- I had removed all plugins from the plugins folder.
- I had an old version of McMyAdmin that I put in a test folder, and it worked fine.  I then took that old version (which was 0.9.4.8, btw) and put it in my main folder, and it had no problems running.  Started right up and didn't restart once.  I also looked into the permissions of the folders and files, and nothing is below 0766.  But once I updated to 0.9.4.9, the restarts began right up again.

 

 

Edited 6/29/2011 6:27:23 PM by Malkierian: added info

You need to login to report or quote posts. 

 #4 Posted: 6/29/2011 6:30:52 PM GMT
Poster:
PhonicUK Admin
Administrator

1431 posts
Does the same thing happen in a fresh 0.9.4.9 installation with all default settings in a new folder?

 

Please only download PhonicUK software from PhonicUK.com!

 

You need to login to report or quote posts. 

 #5 Posted: 6/30/2011 4:56:10 PM GMT
Poster:
Malkierian Regular User
Regular User

4 posts
OK, so I figured out what the problem was.

Last value in McMyAdmin.conf

minecraftpath=./Minecraft/

Before the switch, I had it set to

minecraftpath=/home/minecraft

which is the absolute path.

Now, I set it to

minecraftpath=./

which in this case is equivalent to /home/minecraft.  Now it works, no problem.

My guess is that it had trouble because of the missing trailing /. Maybe you want to look into that?

 

 

You need to login to report or quote posts.