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  

 

 Master Server?

Go down 
+9
AWM Mars
Tristan
Draxthis
zoot686
CobaltBlues
neckro
Arithorn
Delurin
TrevaH
13 posters
Go to page : Previous  1, 2, 3, 4  Next
AuthorMessage
CobaltBlues
Moderator
Moderator
CobaltBlues


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

Master Server? - Page 3 Empty
PostSubject: Re: Master Server?   Master Server? - Page 3 EmptyThu 29 Mar - 10:03

Be sure to only run the gen-masterserver-keys.bat only once. You should also probably make the .txt file read only after running it. You don't want to regen over the .txt file because you would lose the information. And it creates a new key pair each time you run it. So if you gen a set of keys and begin using them and then generate new keys, then they old key pair will still work, but all associated information that was in the .txt file will be lost and replaced by the new key pair info.
Back to top Go down
http://www.multiversemmo.com
zoot686
Foundation Donor
zoot686


Posts : 78
Join date : 2012-02-15
Location : USA

Master Server? - Page 3 Empty
PostSubject: Re: Master Server?   Master Server? - Page 3 EmptyThu 29 Mar - 20:50

Quote :
Be sure to only run the gen-masterserver-keys.bat only once.
that was the biggest problem I had with a graphical configuration utility I did for a RSA VPN a few years ago in gtkdialog.
inexperienced users would invariably generate multiple sets of keys of which of course only the latest set existed, while only the first generated public key pair was being used by the client.........so "it worked yesterday, but don't work today" was a common complaint.

Anyways, I got a machine wiped and reinstall XP and the required goodies last night after work.
Tonight after work I'll start doing the client-server- database configuration.
Back to top Go down
zoot686
Foundation Donor
zoot686


Posts : 78
Join date : 2012-02-15
Location : USA

Master Server? - Page 3 Empty
PostSubject: Re: Master Server?   Master Server? - Page 3 EmptyFri 30 Mar - 20:50

Well it's still a "no-go" on that master server here.
Same error message rlating to the com.mysql.jdbc.Driver library.
As I've mentioned earlier, I can't understand it as the master server finds half a dozen other files that are in the directory above it and directories around mysql-jdbc.

Tried moving the connector file into a directory where the server does find files.....and still a "no-go"
Tried using the jdbc connector file that I initially used to setup up the "factory" multiverse server........still a "no-go".

Well, this weekend I think I'll do a slackware install, and see if I have better luck there..

It's almost embarrassing *grins*...........setting this thing up should be a no-brainer, but it's kicking my butt.......and I have NO idea of why.
Back to top Go down
zoot686
Foundation Donor
zoot686


Posts : 78
Join date : 2012-02-15
Location : USA

Master Server? - Page 3 Empty
PostSubject: Re: Master Server?   Master Server? - Page 3 EmptySun 1 Apr - 1:28

I'm not certain, as the master server never issues
"OK to login"
but I "might" have the server running.
What I did was to define the location of the jdbc file in the start-master.bat file
There's a section in the that defines the location of the other specific .jar files needed by the master (in the "other" directory)
Like

set BCEL=%MV_HOME%\other\bcel.jar
so I created a line
set JDBC=%MV_HOME%\other\mysql-jdbc\mysql-connector-java-3.1.14-bin.jar

Anyways the last lines of the master.out file say that they're listening on ports 9005 and 9010 and gives a database ping every minute(?).
Back to top Go down
CobaltBlues
Moderator
Moderator
CobaltBlues


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

Master Server? - Page 3 Empty
PostSubject: Re: Master Server?   Master Server? - Page 3 EmptySun 1 Apr - 1:42

Awesome!

For me, the regular Multiverse servers and the Master servers never issue the "ready to log in" so i never rely on that to determine if its working.

Shane
Back to top Go down
http://www.multiversemmo.com
zoot686
Foundation Donor
zoot686


Posts : 78
Join date : 2012-02-15
Location : USA

Master Server? - Page 3 Empty
PostSubject: Re: Master Server?   Master Server? - Page 3 EmptySun 1 Apr - 6:45

now it's on to the modified world server*grins*

i'm going to have to go through all the instructions on the wiki again and do the setup again as I'm getting some errors about files not found before it times out.

I'll figure it out.........all it'll take is a couple packs of smokes, a couple pots of coffee, and probably a couple days on and off*L*

And if you're interested in what sort of stuff I do for fun.
http://www.bashscripts.org/forum/viewtopic.php?f=7&t=1345

http://www.bashscripts.org/forum/viewtopic.php?f=7&t=1346

*grins* Rube Goldberg ain't got nothin' on me



Back to top Go down
CobaltBlues
Moderator
Moderator
CobaltBlues


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

Master Server? - Page 3 Empty
PostSubject: Re: Master Server?   Master Server? - Page 3 EmptySun 1 Apr - 8:11

If you want I can provide remote control support if you are running windows. Let me know if you are interested.
Back to top Go down
http://www.multiversemmo.com
zoot686
Foundation Donor
zoot686


Posts : 78
Join date : 2012-02-15
Location : USA

Master Server? - Page 3 Empty
PostSubject: Re: Master Server?   Master Server? - Page 3 EmptySun 1 Apr - 9:57

You mean like tightVNC or something?

I'll have to look into punching a hole hrough the local firewall, but that shouldn't be difficult
Back to top Go down
Tristan
Administrator
Administrator
Tristan


Posts : 306
Join date : 2011-08-03
Location : Liverpool, UK

Master Server? - Page 3 Empty
PostSubject: Re: Master Server?   Master Server? - Page 3 EmptySun 1 Apr - 10:06

zoot686 wrote:
You mean like tightVNC or something?

No, it'll be LogMeIn
Back to top Go down
http://www.3dmodeller.info
CobaltBlues
Moderator
Moderator
CobaltBlues


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

Master Server? - Page 3 Empty
PostSubject: Re: Master Server?   Master Server? - Page 3 EmptySun 1 Apr - 10:50

I use LogMeIn. It does not require a firewall port but does require a client install. you can configure the security of the client and its encrypted, etc. Let me know if you need assistance.
Back to top Go down
http://www.multiversemmo.com
zoot686
Foundation Donor
zoot686


Posts : 78
Join date : 2012-02-15
Location : USA

Master Server? - Page 3 Empty
PostSubject: Re: Master Server?   Master Server? - Page 3 EmptySun 1 Apr - 11:09

ok............so I got the logmein software...........what now?
Back to top Go down
zoot686
Foundation Donor
zoot686


Posts : 78
Join date : 2012-02-15
Location : USA

Master Server? - Page 3 Empty
PostSubject: Re: Master Server?   Master Server? - Page 3 EmptySun 1 Apr - 11:40

Shoulda' said, have the software installed, have the account created, tested it, and it seems to be ready to roll*L*
Back to top Go down
zoot686
Foundation Donor
zoot686


Posts : 78
Join date : 2012-02-15
Location : USA

Master Server? - Page 3 Empty
PostSubject: Re: Master Server?   Master Server? - Page 3 EmptyMon 2 Apr - 7:43

Well even though the modified world server is giving me a message about not completing in 120 seconds status-multiverse.bat says all the servers are running.......so I guess it's on to the client now.
Back to top Go down
zoot686
Foundation Donor
zoot686


Posts : 78
Join date : 2012-02-15
Location : USA

Master Server? - Page 3 Empty
PostSubject: Re: Master Server?   Master Server? - Page 3 EmptyMon 2 Apr - 14:40

Ok, the client won't run either...........it gives me an error message, and wants to send a bug report to microsoft.
I've looked at the error report details, it appear to be a hex dump.
Now this is a dead clean brand new winXP-pro install, with all the latest updates.......
It's running the .NET 4.0 updates and directx9.0c.
Got any ideas of what's up?
The only thing that I can come up with is, maybe it was built on a win7/64 system and I'm trying to run it on a winXP/32 system, as I've seen that happen before.
Back to top Go down
CobaltBlues
Moderator
Moderator
CobaltBlues


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

Master Server? - Page 3 Empty
PostSubject: Re: Master Server?   Master Server? - Page 3 EmptyTue 3 Apr - 2:58

Can you add my to Skype (scfischer7) I use this for IM. I would like to troubleshoot this with you remotely however, I cannot do it this exact moment. We need to setup a time to perform the troubleshooting. I will be using LogMeIn but the LogMeIn install you did is no good. You have to install it from the setup I send you because they secure it to specific accounts so not just anyone can get in.

There must be some setting or configuration somewhere that is causing all this trouble for you.

Shane
Back to top Go down
http://www.multiversemmo.com
Delurin
Head of Platform Development
avatar


Posts : 424
Join date : 2011-08-03

Master Server? - Page 3 Empty
PostSubject: Re: Master Server?   Master Server? - Page 3 EmptyTue 3 Apr - 6:40

Are you using sp3? I believe in the past I have had people install the .net 4 and it installs but it does not actually work unless it is sp3
Back to top Go down
zoot686
Foundation Donor
zoot686


Posts : 78
Join date : 2012-02-15
Location : USA

Master Server? - Page 3 Empty
PostSubject: Re: Master Server?   Master Server? - Page 3 EmptyTue 3 Apr - 10:59

scfischer,

That sounds good, I'll get skype installed and running on that computer.
And then we'll go from there.
hopefully the results of this will lead to either a beta, or maybe even a production version.

anyways you should have got a skype invite from me already

delurin,

I've got a win7 machine that the kids already crudded up that I can wipe and reinstall win7 on.
Maybe, I'll give that a shot too...........

Back to top Go down
zoot686
Foundation Donor
zoot686


Posts : 78
Join date : 2012-02-15
Location : USA

Master Server? - Page 3 Empty
PostSubject: Re: Master Server?   Master Server? - Page 3 EmptySun 8 Apr - 19:27

Ok..........now we got the master server running and it's on to the update server(patch server).............there's a tutorial on the WIKI about that....I'll see if I can get that squared away and running...........after all, to add new content to a remote client requires an update server.

With that the package "should" be complete.............and ready for prime time *grins*
Back to top Go down
Xangis
Foundation Developer
Xangis


Posts : 124
Join date : 2011-12-30
Location : Beaverton, OR

Master Server? - Page 3 Empty
PostSubject: Re: Master Server?   Master Server? - Page 3 EmptySat 21 Apr - 11:48

I'm trying to get the master going on an Ubuntu system.

Here's what I get when I run ./master.sh start:

Code:

./master.sh: line 249: [: too many arguments
Error: Could not find or load main class file
*** Starting master server ***
./master.sh: line 93: [: =: unary operator expected
Wait for finished initializing msg...
Error: Could not find or load main class file

I've tried the master from trunk, and the master from Sourceforge (server_test_20120322.zip). I do not know what the "main class file" should be, so that's probably what I need help sorting out.

Here are the contents of my master_server.py:

Code:

from multiverse.server.engine import *
from multiverse.server.util import *

ms = MasterServer.getMasterServer()
#ms.setTCPPort(9005)
#ms.setRDPPort(9010)

# Uncomment if you want to set a log level for this process
# that is different from the server's default log level
#Log.setLogLevel(1)

pair = SecureTokenUtil.generateMasterKeyPair()
encodedPrivKey = SecureTokenUtil.encodeMasterPrivateKey(12, pair.getPrivate())

SecureTokenManager.getInstance().initMaster(encodedPrivKey)

(which is what I picked up from earlier in this thread).

I have the MV_HOME environment variable set to the root of the multiverse directory on my system: /home/xangis/multiverse and I'm running master.sh from /home/xangis/multiverse/master.

I have the server running fine (from /home/xangis/multiverse/bin) and multiverse.sh -v start reports all processes as running.

The directory /home/xangis/multiverse/log/master is empty.
Back to top Go down
http://zetacentauri.com
CobaltBlues
Moderator
Moderator
CobaltBlues


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

Master Server? - Page 3 Empty
PostSubject: Re: Master Server?   Master Server? - Page 3 EmptySun 22 Apr - 2:44

Please post the contents of your master.sh
Back to top Go down
http://www.multiversemmo.com
Xangis
Foundation Developer
Xangis


Posts : 124
Join date : 2011-12-30
Location : Beaverton, OR

Master Server? - Page 3 Empty
PostSubject: Re: Master Server?   Master Server? - Page 3 EmptySun 22 Apr - 4:33

This is the master.sh I'm using from trunk r301. A diff with the one in the 20120322 server build on SF shows they're the same:
Code:

#!/bin/bash
(shopt -s igncr) 2>/dev/null && shopt -s igncr; # Workaround Cygwin line-ending issue

# This batch file runs the Multiverse sever processes on Linux in bash shell or on Windows/Cygwin
# You must have installed Java, a database, JDBC driver, and the Multiverse servers
# Copyright 2007 The Multiverse Network, Inc.
# Thanks to Judd-MGT for contributions.

# Optional: Set MV_HOME env. variable to be able to run this script from an arbitrary directory.
# Otherwise, this script assumes it is being run from MV_HOME/bin working directory
# NOTE: Doesn't work if you set MV_HOME.
export MV_HOME=${MV_HOME:-".."}

# Optional: Set DEFAULT_MV_PROPERTYFILE env. variable to set the default property file, otherwise use multiverse.properties
# when no property file is specified as final argument on command line.
DEFAULT_MV_PROPERTYFILE=${DEFAULT_MV_PROPERTYFILE:-"master.properties"}

### Set to true to enable JMX management and monitoring (either here or in env. variable.
ENABLE_MGMT=${ENABLE_MGMT:-"false"}

function kill_process () {
    if [ $verbose -gt 0 ]; then
        echo -en "stopping $1 "
    fi
    kill $2 > /dev/null 2>&1
    result=$?
    if [ $verbose -gt 0 ]; then
        if [ $result = 0 ]; then
            echo STOPPED
        else
            echo NOT RUNNING
        fi
    fi
}

function check_process () {
    ps -e ho pid | grep $1 > /dev/null 2>&1
    result=$?
    if [ $result = 1 ]; then
        echo FAILED
    else
        echo SUCCESS
    fi
}

function status_process () {
    if [ x$2 == x ]; then
   return
    fi
    ps -e ho pid | grep $2 > /dev/null 2>&1
    result=$?
    if [ $result = 0 ]; then
        echo -e "$1" RUNNING
    else
        echo -e "$1" NOT RUNNING
    fi
}

function archive_log_dir () {
    rm -rf "${MV_LOGS}.old"
    mv "${MV_LOGS}" "${MV_LOGS}.old"
}

function start_server () {

    if [ X$ARCHIVE_LOG_DIR = X"true" ]; then
   if [ -d "${MV_LOGS}" ]; then
       archive_log_dir
   fi
    fi

    # Use these flags for profiling
    HPROF_FLAGS="-agentlib:hprof=heap=sites,depth=8"
    GCDETAILS_FLAGS="-XX:+PrintGC -XX:+PrintGCDetails"

    # Linux: Use strace with the following flags to monitor one of the
    # multiverse server processes.
    #    strace -f -e trace=\!futex,gettimeofday,clock_gettime java \

    echo "*** Starting master server ***"
    if [ ! -d "${MV_RUN}" ]
        then
        mkdir -p "${MV_RUN}"
    fi

    if [ ! -d "${MV_LOGS}" ]
        then
        mkdir -p "${MV_LOGS}"
    fi

    rm -f ${MV_RUN}/*.pid

    if [ $DELETE_LOGS_ON_STARTUP = "true" ]; then
        rm "${MV_LOGS}"/*.out*
    fi

    if $ENABLE_MGMT = "true"; then       
        echo "Enabling JMX mgmt & monitoring"
        JAVA_FLAGS="${JAVA_FLAGS} $JMX_FLAGS"
    fi       

    if [ $verbose -gt 0 ]; then
        echo MV_HOME is $MV_HOME
        if [ $USE_CLASS_FILES = "true" ]; then
            echo "Using .class files from the /build hierarchy"
        else
            echo "Using .jar files from the /dist hierarchy"
        fi
        echo Using property file $MV_PROPERTYFILE 
        echo Using log directory $MV_LOGS
        echo Using common directory $MV_COMMON, bin directory $MV_BIN   
        echo "JAVA_FLAGS=\"${JAVA_FLAGS}\""
    fi

    # Increase the file descriptor limit up to the hard limit
    # Linux: Use /etc/security/limits.conf to set the hard limit
    ulimit -n hard

    if [ $verbose -gt 0 ]; then
        echo -en "Starting master server: \t"
    fi

    java ${JAVA_FLAGS} \
        -Dmultiverse.loggername=master \
        multiverse.server.engine.MasterServer \
   $CMDLINE_PROPS \
        $MV_BIN/master_server.py \
        &

    echo $! > "${MV_RUN}"/master.pid

    if [ $verbose -gt 0 ]; then
        check_process $(cat "${MV_RUN}"/master.pid)
    fi

    echo "Wait for finished initializing msg... "
}

function stop_server () {
    echo "*** Stopping master server ***"
    kill_process "master server  " $(cat "${MV_RUN}"/master.pid)
}

function status_server () {
    down=0
    status_process "master server  " $(cat "${MV_RUN}"/master.pid) 
    exit ${down}
}

function test_server () {
    echo "JAVA_FLAGS=\"${JAVA_FLAGS}\""
    java $JAVA_FLAGS multiverse.server.util.SecureTokenManager
    exit 0
    if [ $verbose -gt 0 ]; then
        java $JAVA_FLAGS multiverse.simpleclient.SimpleClient -e ${MV_COMMON}/simpleclient.props -s $MV_COMMON/simpleclient.py --exit-after-login
    else
        java $JAVA_FLAGS multiverse.simpleclient.SimpleClient -e ${MV_COMMON}/simpleclient.props -s ${MV_COMMON}/simpleclient.py --exit-after-login > /dev/null 2>&1
    fi
    result=$?
    if [ $verbose -gt 0 ]; then
        if [ $result == 0 ]; then
            echo "login test: PASS"
        else
            echo "login test: FAIL"
        fi
    fi
    exit ${result}
}

function import_property_file () {
    for file
    do
        if [ -f $file ]; then
            files="$files $file"
        fi
    done
    if [ -n "$files" ]; then
        awk -f "$MV_BIN/prop2sh.awk" $files > "$MV_BIN/_javaprops_"
        . "$MV_BIN/_javaprops_"
        rm -f "$MV_BIN/_javaprops_"
    fi
}

verbose=0
while getopts "hvw:p:CMP:Aa" arg; do
    case "$arg" in
        h)
            echo "$0: usage: $0 [-hvCM] [-p propertyfilename] (start|stop|status|test)"
            ;;
        v)
            let verbose++
            ;;
   p)
       MV_PROPERTYFILE=$OPTARG
       ;;
   C)
       JVM_FLAG=-client
       ;;
   M)
       ENABLE_MGMT=true
       JMX_FLAGS="-Dcom.sun.management.jmxremote"
       ;;
   P)
       CMDLINE_PROPS="$CMDLINE_PROPS -P$OPTARG"
       ;;
   A)
       AGGRESIVE="-XX:CompileThreshold=200 -Xnoclassgc -XX:+RelaxAccessControlCheck"
       ;;
   a)
       ARCHIVE_LOG_DIR=true
       ;;
   esac
done
shift $((OPTIND-1))

if [ $(uname -o) = "Cygwin" ]; then
    MV_HOME_UNIX=$(cygpath -u "${MV_HOME}")
else
    MV_HOME_UNIX="$MV_HOME"
fi

# where the local startup configs are stored, such as the port number
# and log level
MV_BIN=${MV_BIN:-"${MV_HOME}/bin"}

# where common config files are stored, such as plugin logic
MV_COMMON=${MV_COMMON:-"${MV_HOME}/config/common"}

MV_PROPERTYFILE=${MV_PROPERTYFILE:-"${MV_BIN}/${DEFAULT_MV_PROPERTYFILE}"}

import_property_file $MV_PROPERTYFILE

if [ -z "$ARCHIVE_LOG_DIR" -a -n "$multiverse_archive_logs_on_startup" ] ; then
    ARCHIVE_LOG_DIR=$multiverse_archive_logs_on_startup
fi

# Determine if we should use .class files from the build hierarchy,
# or .jar files from the dist hierarchy.  To run the property getter
# before MV_JAR is set, we always use the dist version of the property
# getter.
USE_CLASS_FILES=${USE_CLASS_FILES:-$(java -cp ${MV_HOME}/dist/lib/multiverse.jar -Dmultiverse.propertyfile=${MV_PROPERTYFILE} multiverse.scripts.PropertyGetter multiverse.use_class_files)}

RHINO=${RHINO:-"${MV_HOME}/other/rhino1_5R5/js.jar"}
GETOPT=${GETOPT:-"${MV_HOME}/other/java-getopt-1.0.11.jar"}
JYTHON=${JYTHON:-"${MV_HOME}/other/jython.jar"}
LOG4J=${LOG4J:-"${MV_HOME}/other/log4j-1.2.14.jar"}
BCEL=${BCEL:-"${MV_HOME}/other/bcel-5.2.jar"}

if  [ $USE_CLASS_FILES = "true" ]; then
    MV_JAR=${MV_JAR:-"${MV_HOME}/build"}
    MARS_JAR=${MARS_JAR:-"${MV_HOME}/build"}
    INJECTED_JAR=${INJECTED_JAR:-"${MV_HOME}/inject"}
else
    MV_JAR=${MV_JAR:-"${MV_HOME}/dist/lib/multiverse.jar"}
    MARS_JAR=${MARS_JAR:-"${MV_HOME}/dist/lib/mars.jar"}
    INJECTED_JAR=${INJECTED_JAR:-"${MV_HOME}/dist/lib/injected.jar"}
fi

JDBC=${JDBC:-$(java -cp $MV_JAR -Dmultiverse.propertyfile=${MV_PROPERTYFILE} multiverse.scripts.PropertyGetter multiverse.jdbcJarPath)}

if [ $(uname -o) == "Cygwin" ]; then
    export PATH=$(cygpath "$JAVA_HOME"/bin):.:$PATH
    MV_CLASSPATH="$RHINO;$JDBC;$INJECTED_JAR;$MV_JAR;$MARS_JAR;$GETOPT;$JYTHON;$LOG4J;$BCEL;."
else
    MV_CLASSPATH="${RHINO}:${JDBC}:${INJECTED_JAR}:${MV_JAR}:${MARS_JAR}:${GETOPT}:${JYTHON}:${LOG4J}:${BCEL}:."
fi
       
# HotSpot tracking flags: -XX:+PrintCompilation -XX:+CITime
JVM_FLAG="${JVM_FLAG:-"-server"} $AGGRESIVE"
JAVA_FLAGS="-cp ${MV_CLASSPATH} -Dmultiverse.propertyfile=${MV_PROPERTYFILE} ${JAVA_FLAGS}"
JAVA_FLAGS="${JVM_FLAG} ${JAVA_FLAGS}"

if [ X"$MV_HOSTNAME" != "X" ]; then
    CMDLINE_PROPS="$CMDLINE_PROPS -Pmultiverse.hostname=${MV_HOSTNAME}"
fi

# This is in local OS format
MV_LOGS=${MV_LOGS:-"${MV_HOME}/logs/master"}
DELETE_LOGS_ON_STARTUP=${MV_DELETE_LOGS_ON_STARTUP:-$(java $JAVA_FLAGS multiverse.scripts.PropertyGetter multiverse.delete_logs_on_startup)}

# This should always be in "unix" format
if [ $(uname -o) = "Cygwin" ]; then
    MV_RUN=${MV_RUN:-$(cygpath -w ${MV_BIN}/run/master)}
else
    MV_RUN=${MV_RUN:-${MV_BIN}/run/master}
fi

JAVA_FLAGS="${JAVA_FLAGS} -Dmultiverse.logs=${MV_LOGS}"

case "$1" in

    start)
        start_server
        ;;

    stop)
        stop_server
        ;;

    status)
        status_server
        ;;

    restart)
        stop_server
        start_server
        ;;

    test)
        test_server
        ;;
esac
Back to top Go down
http://zetacentauri.com
Xangis
Foundation Developer
Xangis


Posts : 124
Join date : 2011-12-30
Location : Beaverton, OR

Master Server? - Page 3 Empty
PostSubject: Re: Master Server?   Master Server? - Page 3 EmptyThu 3 May - 10:49

I got the master running on my Linux box. Was fairly simple, just the script looking for the properties file in a diff directory (bin). Here's how I made it work:

1. go into bin dir and run this:
Code:
ln -s ../master/master.properties master.properties

2. go into master dir and run:
Code:
./master.sh -v start

And it runs for me. Stop and status commands are fine too. I took a look at the master.sh script and all I had to do was change was line 224 from this:
Code:
MV_BIN=${MV_BIN:-"${MV_HOME}/bin"}

To this:
Code:
MV_BIN=${MV_BIN:-"${MV_HOME}/master"}

and the symlink is not needed anymore. Probably something worth adding to trunk. I could do it if you want to give me commit access. Smile
Back to top Go down
http://zetacentauri.com
CobaltBlues
Moderator
Moderator
CobaltBlues


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

Master Server? - Page 3 Empty
PostSubject: Re: Master Server?   Master Server? - Page 3 EmptySat 5 May - 9:19

What I think will be beneficial for everyone is to release something recommended by zoot686. A full and complete Multiverse server installation including Linux operating system, mysql, java, apache, fully configured and ready to go. It could be booted up or attached to a virtual machine. This would get people up and running faster and also provide them the opportunity to review a fully functional server so they can learn the settings.

This would be in conjunction with Wiki documentation and tutorials on setting up something on your own. But the base server setup and master server setup seems to be a hurdle for many.

I will see about putting this together but I cannot commit on time frames.

On another note I will be working with Vanquish VPS to see about creating ready to go server images that can easily be setup on their systems. This would provide you an internet facing server solution without all the fuss of figuring out the installs yourself.

We will see what we can do on both ends.

Thanks,
Shane C Fischer
Back to top Go down
http://www.multiversemmo.com
Xangis
Foundation Developer
Xangis


Posts : 124
Join date : 2011-12-30
Location : Beaverton, OR

Master Server? - Page 3 Empty
PostSubject: Re: Master Server?   Master Server? - Page 3 EmptySat 5 May - 11:37

Seems like a very good idea having a quickstart VPS package like that, especially if it has a working master and sampleworld already configured for startup so you can just login. Vanquish has pretty good deals, so definitely a good partner.

Since the Multiverse server runs well against the MySQL/JDBC packages in the distro repositories I didn't find it hard to set up other than the minor shell script changes, but I'm a code monkey who knows Linux reasonably well (which is why I run Nginx instead of Apache Very Happy). It would be nice to have a push-a-button-and-go setup so that non-sysadmins (such as graphic artists and Windows-only devs) can get started easily. If that's a VPS, great. If that's a robust setup shell script that works on both deb and rpm systems, that's good too.

I did post what I've learned to the Master Server page on the wiki here: http://www.multiversemmo.com/wiki/Master_Server . I'm still kind of a beginner, so there are plenty of things I don't know yet or wouldn't have thought of, so please add your knowledge to that. Smile

I'm still really fuzzy on the login/master/launcher screens though. Haven't learned much since my post in the "Client World Browser" section a few days ago...
Back to top Go down
http://zetacentauri.com
CobaltBlues
Moderator
Moderator
CobaltBlues


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

Master Server? - Page 3 Empty
PostSubject: Re: Master Server?   Master Server? - Page 3 EmptySun 6 May - 0:44

The necessary files for the website/login screens are in the Website folder. There is a post on the forums.. I think perhaps earlier in this discussion that will show how to use them.

Shane
Back to top Go down
http://www.multiversemmo.com
Sponsored content





Master Server? - Page 3 Empty
PostSubject: Re: Master Server?   Master Server? - Page 3 Empty

Back to top Go down
 
Master Server?
Back to top 
Page 3 of 4Go to page : Previous  1, 2, 3, 4  Next
 Similar topics
-
» Sampleworld, Times Square non-functioning
» I have 2 issues.
» Master Server Setup
» Master server question
» Java issue with master server

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