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 don't start

Go down 
4 posters
AuthorMessage
bmi
Newbie
Newbie
bmi


Posts : 2
Join date : 2013-05-25
Location : Finland

Server don't start Empty
PostSubject: Server don't start   Server don't start EmptySun 26 May - 22:12

When I try start server, I get errors. I use Cygwin in 32 bit Windows Vista and UAC is disabled.
I have tested both JDK 6 and 7.

Code:

awk: ../bin/prop2sh.awk:3: warning: regexp component `[:space:]' should probably be `[[:space:]]'
awk: ../bin/prop2sh.awk:3: warning: regexp component `[:space:]' should probably be `[[:space:]]'
*** Starting world sampleworld ***
MV_HOME is ..
Using .jar files from the /dist hierarchy
Using property file ../bin/multiverse.properties
Using world file
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-5.1.25\mysql-connector-java-5.1.25-bin.jar;../dist/lib/injected.jar;../dist/lib/multiverse.jar;../dist/lib/mars.jar;../dist/lib/sampleworld.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=sampleworld -Dmultiverse.logs=../logs/sampleworld"
Starting domain server:        SUCCESS
Multiverse server version 1.5 0 (- -)
 ...    wmgr_8 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)
SUCCESS
Starting login manager:        SUCCESS
 ...    proxy_8SUCCESS
Starting mob server:            SUCCESS
Starting voice server:          SUCCESS
Wait for finished initializing msg...

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)

And when I run "grep ERROR *" I get this output:
Code:

combat.out:ERROR [2013-05-26 12:54:33,705] MessageIO            Duplicate agent name 'combat', exiting
Binary file domain.out matches
instance.out:ERROR [2013-05-26 12:54:33,874] MessageIO            Duplicate agent name 'instance', exiting
login_manager.out:ERROR [2013-05-26 12:54:34,107] MessageIO            Duplicate agent name 'login_manager', exiting
mobserver.out:ERROR [2013-05-26 12:54:35,501] MessageIO            Duplicate agent name 'mobserver', exiting
objmgr.out:ERROR [2013-05-26 12:54:33,966] MessageIO            Duplicate agent name 'objmgr', exiting
voiceserver.out:ERROR [2013-05-26 12:54:35,459] MessageIO            Duplicate agent name 'voiceserver', exiting

When I run this command I need to clear logs/sampleworld directory because there was wery much files (somename.log.1, name.out.2...) I get really weird error.

There was/is only one domain.out file (no domain.out.2, domain.out.3... files?) and it cannot removed:
Code:

rm: cannot remove `domain.out': Device or resource busy

And when I look it, starting from line 126 I found one error:
Code:

ERROR [2013-05-26 12:31:47,574] main                DomainServer listener java.lang.RuntimeException: TcpServer contructor bind failed
      at multiverse.server.network.TcpServer.<init>(TcpServer.java:22)
      at multiverse.msgsys.DomainServer.start(DomainServer.java:204)
      at multiverse.msgsys.DomainServer.main(DomainServer.java:127)
Caused by: java.net.BindException: Address already in use: bind
      at sun.nio.ch.Net.bind(Native Method)
      at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
      at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
      at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
      at multiverse.server.network.TcpServer.bind(TcpServer.java:41)
      at multiverse.server.network.TcpServer.<init>(TcpServer.java:19)
      at multiverse.msgsys.DomainServer.start(DomainServer.java:204)
      at multiverse.msgsys.DomainServer.main(DomainServer.java:127)
... and finally other error starting from line 541:
Code:

ERROR [2013-05-26 12:54:31,393] main                DomainServer listener java.lang.RuntimeException: TcpServer contructor bind failed
      at multiverse.server.network.TcpServer.<init>(TcpServer.java:22)
      at multiverse.msgsys.DomainServer.start(DomainServer.java:204)
      at multiverse.msgsys.DomainServer.main(DomainServer.java:127)
Caused by: java.net.BindException: Address already in use: bind
      at sun.nio.ch.Net.bind(Native Method)
      at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
      at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
      at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
      at multiverse.server.network.TcpServer.bind(TcpServer.java:41)
      at multiverse.server.network.TcpServer.<init>(TcpServer.java:19)
      at multiverse.msgsys.DomainServer.start(DomainServer.java:204)
      at multiverse.msgsys.DomainServer.main(DomainServer.java:127)
ยจ
It is files last text.
I copied entire file to Pastebin

Edit: When I killed all java processes, I can remove file. That means, I think, that server starts, but wrong. and server stop command gives errors (I copied this from my command line history):
Code:

awk: ../bin/prop2sh.awk:3: warning: regexp component `[:space:]' should probably be `[[:space:]]'
awk: ../bin/prop2sh.awk:3: warning: regexp component `[:space:]' should probably be `[[:space:]]'
*** Stopping world sampleworld ***
stopping login server    NOT RUNNING
stopping combat server  NOT RUNNING
stopping instance        NOT RUNNING
stopping object manager  NOT RUNNING
cat: run\sampleworld/wmgr_1.pid: No such file or directory
stopping world manager  NOT RUNNING
cat: run\sampleworld/proxy_1.pid: No such file or directory
stopping proxy server    NOT RUNNING
stopping mob server      NOT RUNNING
stopping voice server    NOT RUNNING
stopping domain server  NOT RUNNING
But when I then run ps, it don't display running java processes... Really weird Smile


Last edited by bmi on Mon 27 May - 17:11; edited 3 times in total
Back to top Go down
anadach
Newbie
Newbie
anadach


Posts : 1
Join date : 2014-04-11
Location : Poland

Server don't start Empty
PostSubject: Re: Server don't start   Server don't start EmptyFri 11 Apr - 22:28

I solved similar problem today when setting up my server (on Debian Wheezy)

You can try to update prop2sh.awk file - change line:
/^[:space:]*$/ { next }
to
/^[[:space:]]*$/ { next }

Hope that it helps.
Back to top Go down
AthlonJedi
Administrator
Administrator
AthlonJedi


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

Server don't start Empty
PostSubject: Re: Server don't start   Server don't start EmptySat 12 Apr - 4:05

Quote :

awk: ../bin/prop2sh.awk:3: warning: regexp component `[:space:]' should probably be `[[:space:]]'
awk: ../bin/prop2sh.awk:3: warning: regexp component `[:space:]' should probably be `[[:space:]]'

This ^ is telling you exactly what the problem is in the prop2sh.awk file.

Also at this time we are currently in the process of revamping the platform on the windows side of the house. The platform does run on windows machines however it is a bit more involved and troublesome than running the servers under linux.

It can be done but it is not the prefered OS to run under.

Back to top Go down
myrnin
Experienced Newbie
Experienced Newbie
myrnin


Posts : 15
Join date : 2014-03-27
Location : UK

Server don't start Empty
PostSubject: Re: Server don't start   Server don't start EmptyWed 16 Apr - 2:16

AthlonJedi wrote:



Also at this time we are currently in the process of revamping the platform on the windows side of the house. The platform does run on windows machines however it is a bit more involved and troublesome than running the servers under linux.

It can be done but it is not the prefered OS to run under.


Thumbs up
Back to top Go down
Sponsored content





Server don't start Empty
PostSubject: Re: Server don't start   Server don't start Empty

Back to top Go down
 
Server don't start
Back to top 
Page 1 of 1
 Similar topics
-
» Need help: Trying to start server
» Server errors on startup cigwin/windows7
» Combat server fails to start (NullPointerException)
» "MV_HOME is not defined" Server Start Error
» help me with the server

Permissions in this forum:You cannot reply to topics in this forum
 :: Development :: Bugs and Issues-
Jump to: