Would you like to react to this message? Create an account in a few clicks or log in to continue.

Official Community Forums
 
HomeHome  SearchSearch  Latest imagesLatest images  RegisterRegister  Log in  The Wiki  Website  github Project  

 

 Server-startup problems-- Fixed

Go down 
2 posters
AuthorMessage
GabriëL*KnighT
Experienced Newbie
Experienced Newbie
GabriëL*KnighT


Posts : 22
Join date : 2012-07-31
Location : South Africa

Server-startup problems-- Fixed Empty
PostSubject: Server-startup problems-- Fixed   Server-startup problems-- Fixed EmptyTue 31 Jul - 0:19

Hello everyone,

I have had my eye on this engine for quite some time and finally decided to try it out.

I installed everything as in the installation guide, but when I try to run the server start batch file, the server stops before initializing.

I tried looking through the log files, but I'm still not sure where my problem lies.

Here is some of the logs I am unsure about:

Instance.out
WARN [2012-07-30 16:35:23,332] main engine: world geometry is not set

AND
ERROR [2012-07-30 16:35:26,292] Instance-2 handleMessageImpl java.lang.NullPointerException
at java.lang.String.replace(Unknown Source)
at multiverse.server.util.FileUtil.expandFileName(FileUtil.java:10)
at multiverse.server.plugins.InstancePlugin$CreateInstanceHook.createInstance(InstancePlugin.java:307)
at multiverse.server.plugins.InstancePlugin$CreateInstanceHook.handleMessage(InstancePlugin.java:222)
at multiverse.server.plugins.InstancePlugin$CreateInstanceHook.processMessage(InstancePlugin.java:216)
at multiverse.server.engine.EnginePlugin.handleMessageImpl(EnginePlugin.java:424)
at multiverse.server.engine.EnginePlugin$QueuedMessage.run(EnginePlugin.java:458)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

AND

ERROR [2012-07-30 16:35:26,302] main ScriptManager.runPYFile: file=..\config\sampleworld\startup_instance.py Traceback (innermost last):
File "..\config\sampleworld\startup_instance.py", line 15, in ?
multiverse.msgsys.RPCException(java.lang.NullPointerException in instance)

at java.lang.String.replace(Unknown Source)

at multiverse.server.util.FileUtil.expandFileName(FileUtil.java:10)

at multiverse.server.plugins.InstancePlugin$CreateInstanceHook.createInstance(InstancePlugin.java:307)

at multiverse.server.plugins.InstancePlugin$CreateInstanceHook.handleMessage(InstancePlugin.java:222)

at multiverse.server.plugins.InstancePlugin$CreateInstanceHook.processMessage(InstancePlugin.java:216)

at multiverse.server.engine.EnginePlugin.handleMessageImpl(EnginePlugin.java:424)

at multiverse.server.engine.EnginePlugin$QueuedMessage.run(EnginePlugin.java:458)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)


multiverse.msgsys.RPCException: multiverse.msgsys.RPCException(java.lang.NullPointerException in instance)

at org.python.core.Py.JavaError(Unknown Source)
at org.python.core.Py.JavaError(Unknown Source)
at org.python.core.PyReflectedFunction.__call__(Unknown Source)
at org.python.core.PyReflectedFunction.__call__(Unknown Source)
at org.python.core.PyObject.__call__(Unknown Source)
at org.python.core.PyObject.invoke(Unknown Source)
at org.python.pycode._pyx5.f$0(..\config\sampleworld\startup_instance.py:15)
at org.python.pycode._pyx5.call_function(..\config\sampleworld\startup_instance.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyCode.call(Unknown Source)
at org.python.core.Py.runCode(Unknown Source)
at multiverse.server.engine.ScriptManager.runPYFile(ScriptManager.java:181)
at multiverse.server.engine.ScriptManager.runFile(ScriptManager.java:94)
at multiverse.server.engine.Engine.processPostScripts(Engine.java:527)
at multiverse.server.engine.Engine.main(Engine.java:382)
DEBUG [2012-07-30 16:35:26,302] main Engine, script completed

MOBSERVER
WARN [2012-07-30 16:35:26,152] main ScriptManager.runPYFile: file not found: ..\config\sampleworld\extensions_mobserver.py

The logs then end with:
DEBUG [2012-07-30 16:36:13,044] MessageIO Connection closed (exception) java.nio.channels.SocketChannel[connected local=/127.0.0.1 remote=/127.0.0.1:52945]
ERROR [2012-07-30 16:36:13,044] MessageIO Lost connection to agent 'mobserver' java.nio.channels.SocketChannel[closed]
DEBUG [2012-07-30 16:36:13,074] MessageIO Connection closed (exception) java.nio.channels.SocketChannel[connected local=/127.0.0.1 remote=/127.0.0.1:52942]
ERROR [2012-07-30 16:36:13,074] MessageIO Lost connection to agent 'voiceserver' java.nio.channels.SocketChannel[closed]
DEBUG [2012-07-30 16:36:13,094] MessageIO Connection closed (exception) java.nio.channels.SocketChannel[connected local=/127.0.0.1 remote=/127.0.0.1:52995]
ERROR [2012-07-30 16:36:13,104] MessageIO Lost connection to agent 'login_manager' java.nio.channels.SocketChannel[closed]
DEBUG [2012-07-30 16:36:13,124] MessageIO Connection closed (exception) java.nio.channels.SocketChannel[connected local=/127.0.0.1 remote=/127.0.0.1:52928]
ERROR [2012-07-30 16:36:13,124] MessageIO Lost connection to agent 'proxy_1' java.nio.channels.SocketChannel[closed]

My specs
Windows 7 x64
Latest JDK
Latest MySQL
Latest MySQL connector (5.1.21)
Not using Cygwin

I have tried using different ports, no luck.

I hope my logs can give some insight to the problem I'm having...

Regards

Gabriël


Last edited by GabriëL*KnighT on Sat 4 Aug - 4:56; edited 1 time in total
Back to top Go down
Guest
Guest
avatar



Server-startup problems-- Fixed Empty
PostSubject: See this thread   Server-startup problems-- Fixed EmptyTue 31 Jul - 5:06

Hi Gabriel

Check out this thread. I went through this on XP.
https://multiverse.forumotion.co.uk/t220-server-startup-failed-solved

Got it working and connecting on XP under Cygwin.

Cheers
Back to top Go down
GabriëL*KnighT
Experienced Newbie
Experienced Newbie
GabriëL*KnighT


Posts : 22
Join date : 2012-07-31
Location : South Africa

Server-startup problems-- Fixed Empty
PostSubject: Re: Server-startup problems-- Fixed   Server-startup problems-- Fixed EmptyTue 31 Jul - 6:06

Koron wrote:
Hi Gabriel

Check out this thread. I went through this on XP.
https://multiverse.forumotion.co.uk/t220-server-startup-failed-solved

Got it working and connecting on XP under Cygwin.

Cheers

Hi Koron,

I did actually scan through the old threads, but at the time didn't realize that the problem you described was (exactly) similar to mine.

Glad to see it is somewhat of a bug and not my mind going nuts. I'll try and fix it tomorrow. Cannot wait to start testing and playing with the code.

Regards
Back to top Go down
AthlonJedi
Administrator
Administrator
AthlonJedi


Posts : 213
Join date : 2012-07-19
Location : Walkerton, Indiana

Server-startup problems-- Fixed Empty
PostSubject: Re: Server-startup problems-- Fixed   Server-startup problems-- Fixed EmptySat 4 Aug - 5:54

ok is this a stock install under windows 7? Is this a master server?

I Have been trying to get a master server running under server 2008 for 2 weeks or so now and n matter what I do i keep hitting this:

Code:


MasterServer.main caught exception multiverse.server.util.MVRuntimeException: could not find class: java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
      at multiverse.server.engine.MasterDatabase.<init>(MasterDatabase.java:28)
      at multiverse.server.engine.MasterServer.dbConnect(MasterServer.java:40)
      at multiverse.server.engine.MasterServer.main(MasterServer.java:439)


This is with a stock install with only the database and other nessasary info changed and its driving me nuts!
Back to top Go down
GabriëL*KnighT
Experienced Newbie
Experienced Newbie
GabriëL*KnighT


Posts : 22
Join date : 2012-07-31
Location : South Africa

Server-startup problems-- Fixed Empty
PostSubject: Re: Server-startup problems-- Fixed   Server-startup problems-- Fixed EmptySat 4 Aug - 6:16

Hi,

I am not using the master server. See the fix Shane suggested in Koron's thread perhaps. I've got it working using a combo of what Shane suggested and Koron changed in his files.
Back to top Go down
Sponsored content





Server-startup problems-- Fixed Empty
PostSubject: Re: Server-startup problems-- Fixed   Server-startup problems-- Fixed Empty

Back to top Go down
 
Server-startup problems-- Fixed
Back to top 
Page 1 of 1
 Similar topics
-
» Server Startup Fix
» Server's File Hierchy Simplification
» Server Startup issues
» Server startup errors: startup_instance.py ?
» Multiverse client crash--fixed

Permissions in this forum:You cannot reply to topics in this forum
 :: Development :: Getting Started-
Jump to: