The Official Forums for the Multiverse MMO Development Platform
 
HomeHome  FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  RegisterRegister  Log in  The Wiki  Website  github Project  
Share | .
 

 Server STARTUP FAILED >>> SOLVED

View previous topic View next topic Go down 
Go to page : 1, 2, 3, 4  Next
AuthorMessage
Koron
Super Contributor
Super Contributor


Posts: 251
Join date: 2012-06-27
Location: US

PostSubject: Server STARTUP FAILED >>> SOLVED   Sat 30 Jun - 7:16

Hi All

Just can't get this server to run, firewall shutdown, JDK installed... tried everything I can find...

Have read:
Platform Tutorial
http://www.multiversemmo.com/wiki/Platform_Tutorial_Getting_Started#Connect_to_local_servers

Server Troubleshooting
http://www.multiversemmo.com/wiki/Server_Troubleshooting#Problems_connecting_to_the_servers

Understanding the servers
http://www.multiversemmo.com/wiki/Understanding_the_Multiverse_Servers

Environment

Multiverse installed at: C:\multiverse

Python installed: v2.7

Java environment details:

CLASSPATH
C:\Program Files\Java\jdk1.6.0_32\jre\lib

JAVA_HOME
C:\Program Files\Java\jdk1.6.0_32


multiverse.properties
#Path to JDBC driver JAR file
# multiverse.jdbcJarPath=../other/mysql-jdbc/mysql-connector-java-3.0.14-production-bin.jar
multiverse.jdbcJarPath=c:\\mysql-connector-java-3.1.14\\mysql-connector-java-3.1.14-bin.jar


MySQL

MySql Server 5.5
+----------------------+
| Tables_in_multiverse |
+----------------------+
| namespaces |
| objstore |
| oid_manager |
| player_character |
| plugin_status |
+----------------------+
5 rows in set (0.03 sec)


Errors vary in the *.out logs, but one that seems to recur in instance.out

Engine, Executing script file: ..\config\sampleworld\startup_instance.py
DEBUG [2012-06-30 01:33:11,328] main runPYFile: file=..\config\sampleworld\startup_instance.py
DEBUG [2012-06-30 01:33:11,343] main sendRPC type=mv.REGISTER_INSTANCE_TEMPLATE id=23 class=multiverse.server.plugins.InstanceClient$RegisterInstanceTemplateMessage
DEBUG [2012-06-30 01:33:11,343] main Sending mv.REGISTER_INSTANCE_TEMPLATE id=23 to instance
DEBUG [2012-06-30 01:33:11,343] SelfMessage SelfMessageHandler.handle pos=169
DEBUG [2012-06-30 01:33:11,343] SelfMessage handleSelfMessage id=23 type=mv.REGISTER_INSTANCE_TEMPLATE class=multiverse.server.plugins.InstanceClient$RegisterInstanceTemplateMessage
DEBUG [2012-06-30 01:33:11,343] SelfMessage deliverMessage rpc to multiverse.server.plugins.InstancePlugin@10d20ce
DEBUG [2012-06-30 01:33:11,343] Instance-1 EnginePlugin.handleMessage: got msg id 23, matching 1 hooks for msgtype MessageType['mv.REGISTER_INSTANCE_TEMPLATE', 118]
DEBUG [2012-06-30 01:33:11,343] Instance-1 RegisterInstanceTemplateHook: template=[Template: name=sampleworld template (ns=NS.instance, key=worldFileName, val=$WORLD_DIR/$WORLD_NAME.mvw)(ns=NS.instance, key=initScriptFileName, val=$WORLD_DIR/instance_load.py)
DEBUG [2012-06-30 01:33:11,343] Instance-1 RegisterInstanceTemplateHook: added template name=sampleworld template
DEBUG [2012-06-30 01:33:11,343] Instance-1 sendResponse to instance,23 type=msgsys.RESPONSE id=24 class=multiverse.msgsys.BooleanResponseMessage
DEBUG [2012-06-30 01:33:11,343] Instance-1 EnginePlugin.handleMessage: processed msg 23, type=MessageType['mv.REGISTER_INSTANCE_TEMPLATE', 118], time in ms=0
DEBUG [2012-06-30 01:33:11,343] SelfMessage SelfMessageHandler.handle pos=30
DEBUG [2012-06-30 01:33:11,343] SelfMessage handleSelfMessage id=24 responseTo=23 type=msgsys.RESPONSE class=multiverse.msgsys.BooleanResponseMessage
DEBUG [2012-06-30 01:33:11,343] main sendRPC type=mv.CREATE_INSTANCE id=25 class=multiverse.server.plugins.InstanceClient$CreateInstanceMessage
DEBUG [2012-06-30 01:33:11,343] main Sending mv.CREATE_INSTANCE id=25 to instance
DEBUG [2012-06-30 01:33:11,343] SelfMessage SelfMessageHandler.handle pos=86
DEBUG [2012-06-30 01:33:11,343] SelfMessage handleSelfMessage id=25 type=mv.CREATE_INSTANCE class=multiverse.server.plugins.InstanceClient$CreateInstanceMessage
DEBUG [2012-06-30 01:33:11,359] SelfMessage deliverMessage rpc to multiverse.server.plugins.InstancePlugin@10d20ce
DEBUG [2012-06-30 01:33:11,359] Instance-2 EnginePlugin.handleMessage: got msg id 25, matching 1 hooks for msgtype MessageType['mv.CREATE_INSTANCE', 119]
DEBUG [2012-06-30 01:33:11,359] Instance-2 CreateInstanceHook: templateName=sampleworld template override=[Template: name=null (ns=NS.instance, key=name, val=default)
DEBUG [2012-06-30 01:33:11,359] Instance-2 CreateInstanceHook: assigned world manager WorldManager1 host=OFFICEDEV
ERROR [2012-06-30 01:33:11,359] 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)
DEBUG [2012-06-30 01:33:11,359] Instance-2 sendResponse to instance,25 type=msgsys.RESPONSE id=26 class=multiverse.msgsys.ExceptionResponseMessage
DEBUG [2012-06-30 01:33:11,359] SelfMessage SelfMessageHandler.handle pos=864
DEBUG [2012-06-30 01:33:11,359] SelfMessage handleSelfMessage id=26 responseTo=25 type=msgsys.RESPONSE class=multiverse.msgsys.ExceptionResponseMessage
ERROR [2012-06-30 01:33:11,359] 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)


The line startup_instance.py line 15
rc = InstanceClient.createInstance("sampleworld template", overrideTemplate)




Any help appreciated!


Very Happy



Last edited by Koron on Sun 22 Jul - 10:48; edited 1 time in total
Back to top Go down
http://www.aurogame.com
Koron
Super Contributor
Super Contributor


Posts: 251
Join date: 2012-06-27
Location: US

PostSubject: Python version conflict??? Server STARTUP FAILED Nothing seems to work   Sun 1 Jul - 18:00

Wonder if Python 2.7 and Jython conflict?

Just to add this is Windows XP sp3

All the tools installed and seem to work fine, world editor, terrain editor, model viewer. Tools seem to find the asset repository ok.

Client runs fine with --standalone



Just can't seem to get rid of the java.lang.NullPointerException for the servers startup.

Maybe I am missing some obvious arg for a batch file or perhaps a setting in a config file? java.lang.String.replace(Unknown Source)

instance.out
Instance.out


Thanks in advance Very Happy
Back to top Go down
http://www.aurogame.com
Delurin
Head of Platform Development


Posts: 396
Join date: 2011-08-02

PostSubject: Re: Server STARTUP FAILED >>> SOLVED   Mon 2 Jul - 14:57

It looks like you are missing the link to your world files.
Back to top Go down
Koron
Super Contributor
Super Contributor


Posts: 251
Join date: 2012-06-27
Location: US

PostSubject: Thanks   Mon 2 Jul - 18:29

Thanks Delurin

I'll check that in multiverse.properties, startup_instance.py etc. and try hardcoding it somewhere.


Hopefully I have stuff in the correct location...

MV_HOME is: c:\multiverse

I have the asset repo here and tools find it ok for now:

E:\Program Files\Multiverse Software Foundation\Multiverse Client\SampleAssets\sampleworld


Thanks again
study



Back to top Go down
http://www.aurogame.com
Koron
Super Contributor
Super Contributor


Posts: 251
Join date: 2012-06-27
Location: US

PostSubject: Java location   Tue 3 Jul - 18:55

Tried hardcoding the path to sampleworld in startup_instance.py with the same result.

Code:
template = Template("sampleworld template")
#template.put(Namespace.INSTANCE, InstanceClient.TEMPL_WORLD_FILE_NAME, "$WORLD_DIR/$WORLD_NAME.mvw")
#try hardcoding the path to the world file
template.put(Namespace.INSTANCE, InstanceClient.TEMPL_WORLD_FILE_NAME, "C:/multiverse/config/sampleworld/sampleworld.mvw")
template.put(Namespace.INSTANCE, InstanceClient.TEMPL_INIT_SCRIPT_FILE_NAME, "$WORLD_DIR/instance_load.py")


Java location

Java currently at C:\Program Files\Java\jdk1.6.0_32

Maybe I'll try moving Java to C:\ instead of C:\Program Files

I remember something about spaces in paths but didn't think it applied to the java install.

Think it's worth a try? Very Happy
Back to top Go down
http://www.aurogame.com
Koron
Super Contributor
Super Contributor


Posts: 251
Join date: 2012-06-27
Location: US

PostSubject: overrideTemplate   Tue 3 Jul - 23:53

Since it seems to be bugging out here at InstanceClient.createInstance I was wondering if
"overrideTemplate = Template()" is correct? Instance.out shows override=[Template: name=null

EDIT: even when sticking something in Template() still same error

startup_instance.py
Code:
overrideTemplate = Template()
overrideTemplate.put(Namespace.INSTANCE, InstanceClient.TEMPL_INSTANCE_NAME, "default")
rc = InstanceClient.createInstance("sampleworld template", overrideTemplate)
Log.debug("startup_instance.py: createInstance result=" + str(rc))


Instance.out
Code:
DEBUG [2012-07-03 18:26:30,609] Instance-2          CreateInstanceHook: templateName=sampleworld template override=[Template: name=null (ns=NS.instance, key=name, val=default)
DEBUG [2012-07-03 18:26:30,609] Instance-2          CreateInstanceHook: assigned world manager WorldManager1 host=OFFICEDEV
ERROR [2012-07-03 18:26:30,609] Instance-2          handleMessageImpl java.lang.NullPointerException
      at java.lang.String.replace(Unknown Source)
      at multiverse.server.util.FileUtil.expandFileName(FileUtil.java:10)
Back to top Go down
http://www.aurogame.com
Delurin
Head of Platform Development


Posts: 396
Join date: 2011-08-02

PostSubject: Re: Server STARTUP FAILED >>> SOLVED   Thu 5 Jul - 17:47

You probably also need to change $WORLD_DIR to a specific name for the instance load
Back to top Go down
Koron
Super Contributor
Super Contributor


Posts: 251
Join date: 2012-06-27
Location: US

PostSubject: Will do   Thu 5 Jul - 19:46

I'll give that a shot Delurin, thx.

study
Back to top Go down
http://www.aurogame.com
nikro
Newbie
Newbie


Posts: 3
Join date: 2012-07-02
Location: Austria

PostSubject: same problem   Mon 9 Jul - 17:46

I have the same problem and nothing seems to work, tried to

* change the path to a specific path (of both the sampleworld.mvw and the instance_load.py)
* change the slashes to backslashes and also tried double backslashes
* i even gave full rights on the directory (C:\multiverse) to everybody
* installed the server on another pc

and still nothing works....

Any help appreciated!
Back to top Go down
Koron
Super Contributor
Super Contributor


Posts: 251
Join date: 2012-06-27
Location: US

PostSubject: Still no go under Cygwin   Wed 18 Jul - 22:37

Using multiverse.sh from server_20120322.zip


Has any of this been tested and found working with the stock binaries and startup scripts on any machine other
than one of the developers with WinXP and jre and jdk6?

Any chance of seeing what a working startup script looks like?
Working multiverse.properties ?

It seems that no matter what I feed these scripts, start-multiverse.bat, multiverse.sh
or what paths are hardcoded there is always something that isn't right. I have tried more path permutations
than I can count. Performed a completely clean install of Java on both machines. Quadruple checked every
environment variable I can find.

Two different boxes with same results.

The latest with WinXP under Cygwin,
java version "1.6.0_33" Java(TM) SE Runtime Environment (build 1.6.0_33-b05)
Java HotSpot(TM) Server VM (build 20.8-b03, mixed mode)
and stock multiverse.sh from server_20120322.zip is:
"log4j:ERROR setFile(null,true) call failed.
.out (The filename, directory name, or volume label syntax is incorrect)"


The log4j error occurs when trying to start the object manager.
From Cygwin bash shell
Code:

*** Starting world sampleworld ***
MV_HOME is ..
Using .jar files from the /dist hierarchy
Using property file ../bin/multiverse.properties
Using world file ../config/sampleworld/sampleworld.mvw
Using world script directory ../config/sampleworld
Using log directory ../logs/sampleworld
Using common directory ../config/common, bin directory ../bin
JAVA_FLAGS="-server  -cp ../other/rhino1_5R5/js.jar;c:\mysql-connector-java-3.1.14\mysql-connector-java-3.1.14-bin.jar;../dist/lib/injected.jar;../dist/lib/mult
ib/mars.jar;../dist/lib/.jar;../other/java-getopt-1.0.11.jar;../other/jython.jar;../other/log4j-1.2.14.jar;../other/bcel-5.2.jar;. -Dmultiverse.propertyfile=../
rties  -Dmultiverse.worldname= -Dmultiverse.logs=../logs/sampleworld"
Starting domain server:        SUCCESS
Multiverse server version 1.5 0 (- -)
 ...    wmgr_1 SUCCESS
Starting combat server:        SUCCESS
Starting instance server:      SUCCESS
Starting object manager:        log4j:ERROR setFile(null,true) call failed.
.out (The filename, directory name, or volume label syntax is incorrect)
        at java.io.FileOutputStream.openAppend(Native Method)
        at java.io.FileOutputStream.<init>(Unknown Source)
        at java.io.FileOutputStream.<init>(Unknown Source)
        at org.apache.log4j.FileAppender.setFile(FileAppender.java:289)
        at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:167)
        at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:163)
        at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:256)
        at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:132)
        at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:96)
        at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:654)
        at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:612)
        at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:509)
        at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:415)
        at org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.java:349)
        at multiverse.server.util.Log.init(Log.java:18)
        at multiverse.server.util.InitLogAndPid.initLogAndPid(InitLogAndPid.java:55)
        at multiverse.server.engine.Engine.main(Engine.java:308)
Exception in thread "main" java.lang.NullPointerException
        at java.io.File.<init>(Unknown Source)
        at org.apache.log4j.RollingFileAppender.rollOver(RollingFileAppender.java:148)
        at multiverse.server.util.Log.rotateLogs(Log.java:212)
        at multiverse.server.util.Log.init(Log.java:27)
        at multiverse.server.util.InitLogAndPid.initLogAndPid(InitLogAndPid.java:55)
        at multiverse.server.engine.Engine.main(Engine.java:308)
SUCCESS
Starting login manager:        SUCCESS
 ...    proxy_1SUCCESS
Starting mob server:            SUCCESS
Starting voice server:          SUCCESS
Wait for finished initializing msg...



The proxy_1.pid and wmgr_1.pid files written to bin/run have borked filenames with some kind of
wierd caret superimposed on the number 1. Even after a system reboot. No proxy or wmgr processes
run.

I'd be happy to admit I may be missing something but have followed the wiki to the letter.

I have no problems getting my hands dirty but I am finding it rather hard to believe that
anyone has server 1.5 running on WinXP, jre and jdk6, under Cygwin or not.

Without seeing a working startup script or Working multiverse.properties I
am not sure I can believe it runs on WinXP.

When I eventually get this working will it end up being a maintenance nightmare? The slightest change and we are
right back here?

Following the procedures below for WinXP with stock binaries and startup files...Does...Not....Work

http://www.multiversemmo.com/wiki/Platform_Tutorial_Getting_Started#JDBC_Driver_JAR_File_Setting
and
http://www.multiversemmo.com/wiki/Server_Troubleshooting
and
www.multiversemmo.com/wiki/Server_Version_1.5_Release_Notes
and
http://www.multiversemmo.com/wiki/World_Instancing
Back to top Go down
http://www.aurogame.com
Koron
Super Contributor
Super Contributor


Posts: 251
Join date: 2012-06-27
Location: US

PostSubject: log4j:ERROR   Fri 20 Jul - 1:03

"log4j:ERROR setFile(null,true) call failed.
.out (The filename, directory name, or volume label syntax is incorrect)"



See multiverse.properties -> ### log4j configuration.

log4j.appender.FILE.File = ${multiverse.logs}/${multiverse.loggername}.out


Most likely due to ${multiverse.loggername} not being valid for a server process that fails to start.
Such as: multiverse.loggername=$AGENT_NAME in multiverse.sh
Seems the *.pid filenames mentioned above are constructed from $AGENT_NAME also


On to the next error...


Back to top Go down
http://www.aurogame.com
CobaltBlues
Moderator
Moderator


Posts: 203
Join date: 2011-11-21
Location: Chicago Land

PostSubject: Re: Server STARTUP FAILED >>> SOLVED   Fri 20 Jul - 2:52

Hi Koron,

I'm installing a fresh copy of XP 32 bit and setting up multiverse too see where you may be having the problem.

Shane
Back to top Go down
http://www.multiversemmo.com
Koron
Super Contributor
Super Contributor


Posts: 251
Join date: 2012-06-27
Location: US

PostSubject: Thanks Shane   Fri 20 Jul - 4:38

Wait... Very Happy




Back to top Go down
http://www.aurogame.com
Koron
Super Contributor
Super Contributor


Posts: 251
Join date: 2012-06-27
Location: US

PostSubject: Finally....   Fri 20 Jul - 4:46

Just minutes ago...

I got under Cygwin "DONE INITIALIZING, you can log in now" cheers
We'll see what the test client does tomorrow...

(from cygwin output... ignore the "AURO" text below ... just for my debugging...)
...also I modded wmgr_1 and proxy_1 to worldone and proxyone in multiverse.sh

Code:

$ ./multiverse.sh start
******************************
See AURO messages below for variables and paths set here in multiverse.sh
For shell scripts = and == are synonyms
TEST: changing proxy_1 and wmgr_1 to proxy_one wmgr_one  NO DIFFERENCE still wr                                                                                                    ites wierd caret and proxy_1.pid  wmgr_1.pid
log4j:ERROR solved. Set Multiverse.properties -> log4j.appender.FILE.File =                                                                                                        to a hardcoded path/file
*******************************

AURO: MVW_FILENAME was null
*** Starting world sampleworld ***
MV_HOME is ..
Using .jar files from the /dist hierarchy
Using property file ../bin/multiverse.properties
Using world file ../config/sampleworld/sampleworld.mvw
Using world script directory ../config/sampleworld
Using log directory ../logs/sampleworld
Using common directory ../config/common, bin directory ../bin
JAVA_FLAGS="-server  -cp ../other/rhino1_5R5/js.jar;c:\mysql-connector-java-3.1.                                                                                                    14\mysql-connector-java-3.1.14-bin.jar;../dist/lib/injected.jar;../dist/lib/mult                                                                                                    iverse.jar;../dist/lib/mars.jar;../dist/lib/.jar;../other/java-getopt-1.0.11.jar                                                                                                    ;../other/jython.jar;../other/log4j-1.2.14.jar;../other/bcel-5.2.jar;. -Dmultive                                                                                                    rse.propertyfile=../bin/multiverse.properties  -Dmultiverse.worldname= -Dmultive                                                                                                    rse.logs=../logs/sampleworld"
Starting domain server:        SUCCESS
Starting worldone ...          SUCCESS
Starting combat server:        SUCCESS
Starting instance server:      SUCCESS
Starting object manager:        Multiverse server version 1.5 0 (- -)
SUCCESS
Starting login manager:        SUCCESS
Starting proxyone ...          SUCCESS
Starting mob server:            SUCCESS
Starting voice server:          SUCCESS
Wait for finished initializing msg...

AURO debugging info
AURO: NOTE some of the pid files in the run dir have a wierd caret over the number in the file name
proxy_1.pid and wmgr_1.pid
Also NOTE top of multiverse.sh where there is the Workaround Cygwin line ending issue

AURO: The world file MVW_FILENAME is supposed to be ../config/sampleworld/sampleworld.mvw
AURO: MV_WORLDNAME is sampleworld
AURO: MV_RUN is ../bin/run/sampleworld
AURO: MV_LOGS is ../logs/sampleworld
AURO: DEFAULT_MV_PROPERTYFILE is multiverse.properties
AURO: MV_HOSTNAME is
AURO: MV_HOME is ..
AURO: Comment above says not currently using CMD_CLASSPATH CMD_CLASSPATH is
AURO: MV_BIN is ../bin
AURO: MV_COMMON is ../config/common
AURO: DELETE_LOGS_ON_STARTUP is true
AURO: JAVA_FLAGS is -server -cp ../other/rhino1_5R5/js.jar;c:\mysql-connector-java-3.1.14\mysql-connector-java-3.1.14-bin.jar;../dist/lib/injected.jar;../dist/lib/multiverse.jar;../dist/lib/mars.jar;../dist/lib/.jar;../other/java-getopt-1.0.11.jar;../other/jython.jar;../other/log4j-1.2.14.jar;../other/bcel-5.2.jar;. -Dmultiverse.propertyfile=../bin/multiverse.properties -Dmultiverse.worldname= -Dmultiverse.logs=../logs/sampleworld THIS MAY VARY
AURO: JVM_FLAG is -server
AURO: JDBC is c:\mysql-connector-java-3.1.14\mysql-connector-java-3.1.14-bin.jar
AURO: CMDLINE_PROPS is -Pmultiverse.worldname=
AURO: MV_WORLD is ../config/sampleworld
AURO: JMX_FLAGS is

AURO: The AGENT_NAME is proxyone THIS MAY VARY
AURO: ARCHIVE_LOG_DIR is
AURO: The verbose flag is 1
AURO: LOG4J is ../other/log4j-1.2.14.jar
AURO: RHINO is ../other/rhino1_5R5/js.jar
AURO: GETOPT is ../other/java-getopt-1.0.11.jar
AURO: BCEL is ../other/bcel-5.2.jar
AURO: JYTHON is ../other/jython.jar
AURO: MARS_JAR is ../dist/lib/mars.jar
AURO: MV_JAR is ../dist/lib/multiverse.jar
AURO: INJECTED_JAR is ../dist/lib/injected.jar
AURO: EXT_JAR is ../dist/lib/.jar
AURO: cygpath is
AURO: MV_HOME_UNIX is ..
AURO: MV_CLASSPATH is ../other/rhino1_5R5/js.jar;c:\mysql-connector-java-3.1.14\mysql-connector-java-3.1.14-bin.jar;../dist/lib/injected.jar;../dist/lib/multiverse.jar;../dist/lib/mars.jar;../dist/lib/.jar;../other/java-getopt-1.0.11.jar;../other/jython.jar;../other/log4j-1.2.14.jar;../other/bcel-5.2.jar;.

AURO: PATH is /cygdrive/c/Program Files/Java/jre6/bin:.:/usr/local/bin:/usr/bin:/cygdrive/c/Perl/site/bin:/cygdrive/c/Perl/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/system32/WBEM:/cygdrive/c/devkitPro/msys/bin:/cygdrive/c/Program Files/ImageMagick-6.6.1-Q16:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/Program Files/Intel/DMIX:/cygdrive/c/Program Files/Common Files/Roxio Shared/DLLShared:/cygdrive/c/Program Files/Microsoft SQL Server/90/Tools/binn:/cygdrive/c/Program Files/doxygen/bin:/cygdrive/c/Program Files/Java/apache-ant-1.7.1/bin:/cygdrive/c/Program Files/AdVantage SDK/Bin:/cygdrive/c/MinGW:/cygdrive/c/Program Files/ZipGenius 6:/cygdrive/c/Qt/4.6.2/lib:/cygdrive/c/Qt/4.6.2/bin:/cygdrive/c/Program Files/jZip:/cygdrive/c/Program Files/Java/jre6/bin:/cygdrive/c/Erlang/erl5.8/bin:/cygdrive/c/Downloads/CORELDRW/DRAW:/cygdrive/c/Python27:/cygdrive/c/Program Files/Common Files/Acronis/SnapAPI:/cygdrive/e/Program Files/TortoiseHg:/cygdrive/e/Program Files/OgreXMLConverter:/cygdrive/c/Program Files/ImageMagick-6.6.1-Q16:/cygdrive/e/Program Files/CMake 2.8/bin:/cygdrive/c/Program Files/Adobe/Adobe Flash CS5.5/AIR2.6/bin:/cygdrive/c/Program Files/Motion-Twin/haxe:/cygdrive/c/Program Files/Motion-Twin/neko:/cygdrive/e/Program Files/EaseUS/Todo Backup/bin

end AURO debugging info


Greg@OFFICEDEV /cygdrive/c/multiverse/bin
$
DONE INITIALIZING, you can log in now



We'll see if I can connect tomorrow...

Thanks for the response!! Very Happy
Back to top Go down
http://www.aurogame.com
Koron
Super Contributor
Super Contributor


Posts: 251
Join date: 2012-06-27
Location: US

PostSubject: Success Connected and killed a wolf.   Sun 22 Jul - 8:11

Finally started the servers, connected locally with the client and killed a wolf. cheers

Under Cygwin 1.7.5 on WinXP
jre and jdk6
MySQL 5.5
mysql-connector-java-3.1.14


Finally got the servers running without log file errors and connected on WinXP

First: Read the Platform tutorial
http://www.multiversemmo.com/wiki/Platform_Tutorial_Getting_Started



Client
multiverseclient.exe --development --noupdate

World Settings File
The world_settings_sample.xml should be in Multiverse Client/worlds
Rename, mod and copy the world settings file as noted here:
http://www.multiversemmo.com/wiki/World_Settings_File_Reference#Working_offline

In addition to the changes noted in the Platform tutorial I made the changes below.

Mods to scripts and startup_instance.py

In multiverse.properties
Code:
### If multiverse.mvwfile property is not specified, it defaults to MV_HOME/config/worldname/worldname.mvw
### Example below is Windows path; On Linux/Unix, use forward slashes instead of double backslashes.
multiverse.worldname=sampleworld
###multiverse.mvwfile=c:\\multiverse\\config\\sampleworld\\sampleworld.mvw
multiverse.mvwfile=c:/multiverse/config/sampleworld/sampleworld.mvw


startup_instance.py
Code:
#try hardcoding the path to the world file.  NEW: try again here now that servers are running under Cygwin
template.put(Namespace.INSTANCE, InstanceClient.TEMPL_WORLD_FILE_NAME, "c:/multiverse/config/sampleworld/sampleworld.mvw")
template.put(Namespace.INSTANCE, InstanceClient.TEMPL_INIT_SCRIPT_FILE_NAME, "c:/multiverse/config/sampleworld/instance_load.py")


multiverse.sh
Code:
function start_world_manager () {

    AGENT_TYPE=wmgr
          ###ORIGINAL    AGENT_NAME=$(alloc_domain_name AGENT ${AGENT_TYPE}_# )
  # Hardcoded because of invalid $AGENT_NAME, .pid file and log4j .out file error
    AGENT_NAME="wmgr_1"



multiverse.sh
Code:
function start_proxy () {

    AGENT_TYPE=proxy
    #ORIGINAL      AGENT_NAME=$(alloc_domain_name AGENT ${AGENT_TYPE}_# )
    # Hardcoded because of invalid $AGENT_NAME, .pid file and log4j .out file error
    AGENT_NAME="proxy_1"



Still have to work out the path variables for the hardcoded stuff, for the other world files etc.
At least it's running for now.

You can hardcode the paths for all the .mvw in startup_instance.py and they work.

Hopefully this can help someone else who's having trouble getting this up and running.


On to the next challenge(s).

Back to top Go down
http://www.aurogame.com
 

Server STARTUP FAILED >>> SOLVED

View previous topic View next topic Back to top 
Page 1 of 4Go to page : 1, 2, 3, 4  Next

 Similar topics

-
» [solved]Rotate Password
» Application of Leticia ( Failed )
» File Download wolf.xfs... failed
» about server
» SERVER

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