Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Linux Servers

Support::Linux Servers Support forum for Linux EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 10-11-2007, 09:31 PM
kai4785
Fire Beetle
 
Join Date: Sep 2007
Posts: 18
Default Problems I ran into and resolutions.

I intend to make this a list of errors I ran into that I am not able to find clear answers to other places on the forum.

No zoneserver available to boot up.

This is because nothing is running the 'zone' binary. Try running the command:
./zone &

If you run ./zone and it hits an error (like a mysql error) it simply dies. If you shove it into the back ground, it stays alive, and you'll stop getting the pesky error message after you've created your character.

I'll be back later with anything else I can find.
Reply With Quote
  #2  
Old 10-11-2007, 09:39 PM
Angelox
AX Classic Developer
 
Join Date: May 2006
Location: filler
Posts: 2,049
Default

try changing "zone" to "zones" or look in your table "launcher" and see what's active for dynamic zones (use this)
Reply With Quote
  #3  
Old 10-11-2007, 11:02 PM
kai4785
Fire Beetle
 
Join Date: Sep 2007
Posts: 18
Default

Doh, I can't go back and edit my post. I'm finding that I just simply don't know how to start up a zone:

http://www.eqemulator.net/wiki/wikka...ka=LinuxServer

This guy says run the command:

./zone EXTERNAL_IP_ADDRESS $1 77$2 192.168.0.100 &

I assume EXTERNAL_IP_ADDRESS is supposed to be a real IP address? I also assume that 192.168.0.100 is supposed to be the IP address of my machien on the local network. If so, I'm running this command:

./zone 207.187.198.34 . 7790 192.168.1.3 &

I generaly don't get any errors till I try to log in with a character I've created. My game client says "Zone is unavailable" and my logs say "No zoneserver available to boot up."

I have tried replacing '.' with 'rivervale' since I'm creating a halfling. No luck.

How do I use this 'zone' binary? I don't get it.

Also, a select * from 'launcher' returns 0 rows. :(

Last edited by kai4785; 10-12-2007 at 07:06 AM..
Reply With Quote
  #4  
Old 10-11-2007, 11:29 PM
Angelox
AX Classic Developer
 
Join Date: May 2006
Location: filler
Posts: 2,049
Default

Do you have a startup script? here's a minilogin example;
./startup:
Code:
#!/bin/sh

wine MiniLogin.exe > logs/MiniLogin.log &
P=`pwd` 
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$P"
#make sure we have a place to log
mkdir -p logs 2>&1 > /dev/null 

#boot up world
if [ ! -e .lock-world ] ; then 
	    touch .lock-world 
	    ./world & 
	    # wait for shared memory to load
	    sleep 20 
fi 
#start up the official launcher
if [ ! -e .lock-launcher ]; then
	    touch .lock-launcher
	    ./eqlaunch zones &
	    sleep 40
	    ./eqlaunch LoY &
	    sleep 40
	    ./shifts & 
	    ./eqlaunch Classic &
	    sleep 40
#	    ./eqlaunch Kunark &
#	    sleep 40
#	    ./eqlaunch Cities &
#	    sleep 120

fi
You need a "stop" script too
./stop;
Code:
#!/bin/sh 

killall world eqlaunch zone shifts
sleep 3

if ps ax|grep -e 'w[o]rld' -e 'z[o]ne' -e 'eq[l]aunch' >/dev/null; then
	            killall -9 world eqlaunch zone
	            sleep 2
fi

./cleanipc 
rm -f .lock-zones .lock-world .lock-login .lock-launcher
(launcher (eqlaunch) starts the zone executable.)


eqemu_config.xml;
Code:
<?xml version="1.0">
<server>
        <world>
		<shortname>classic</shortname>
		<longname>Angelox Classic Challenge</longname>
                
                <!-- Only specify these two if you really think you need to. -->
		<address>blackwater.dynip.com</address>
		<localaddress>192.168.1.105</localaddress>
		
		<!-- Loginserver information.  -->
        <loginserver>
		<host>192.168.1.105</host>
		<port>5999</port>
		<account></account>
		<password></password>
        </loginserver>
	<!-- Server status.  Default is unlocked -->
	<!--<locked/>-->
	<!-- <unlocked/> -->
                
	<!-- Sets the shared key used by zone/launcher to connect to world -->
                <key>*********</key>

                <!-- Enable and set the port for the HTTP service. -->
                <http port="9080" enabled="true" mimefile="mime.types" />
        </world>

                <!-- Database configuration, replaces db.ini. -->
        <database>
                <host>localhost</host>
                <port>3306</port>
                <username>eq</username>
                <password>******</password>
                <db>ax_classic</db>
        </database>
</server>
Reply With Quote
  #5  
Old 10-11-2007, 11:47 PM
kai4785
Fire Beetle
 
Join Date: Sep 2007
Posts: 18
Default

Ya, I have start up scripts, but it just calls './eqlaunch peq' . I'm not sure how that's supposed to work.

start.sh
Code:
#!/bin/sh

ulimit -c 99999999

rm -f .zone_shutdown
rm -f .world_shutdown

set -x

LNAME="peq"     #launcher name
if [ "$1" = "test" ]; then
        LNAME="test"
fi

P=`pwd`
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$P"

#make sure we have a place to log
mkdir -p logs 2>&1 > /dev/null

#clear out old logs, if both are stopped
if [ ! -e .lock-zones -a ! -e .lock-world ] ; then
  for f in logs/eqemu_*.log
  do
        if [ "$f" = "logs/eqemu_commands_zone.log" ]; then
                continue;
        fi

        rm -f $f
  done
fi

#boot up world
if [ ! -e .lock-world ] ; then
        touch .lock-world
#       ./world 2>&1 > logs/world &
        ./persist_world 2>&1 > logs/world &
        # wait for shared memory to load
        sleep 15
fi

#start up the official launcher
if [ ! -e .lock-launcher ]; then
        touch .lock-launcher
        ./eqlaunch $LNAME 2>&1 > logs/launcher &
fi
stop.sh
Code:
#!/bin/sh

touch .zone_shutdown
touch .world_shutdown

killall world eqlaunch zone
sleep 3

if ps ax|grep -e 'w[o]rld' -e 'z[o]ne' -e 'eq[l]aunch' >/dev/null; then
                killall -9 world eqlaunch zone
                sleep 2
fi

./cleanipc
rm -f .lock-zones .lock-world .lock-login .lock-launcher

The more I look at it the more it seems that I'm simply missing something in the database. My `launcher` and `launcher_zones` tables are both empty.

Can you dump what you have in those tables on a working server for me?

Last edited by kai4785; 10-12-2007 at 07:51 AM..
Reply With Quote
  #6  
Old 10-12-2007, 12:08 AM
Angelox
AX Classic Developer
 
Join Date: May 2006
Location: filler
Posts: 2,049
Default

Get my database from Rathe Forums and use those, just dump and copy the tables over - it's all compatible.
I'm off to work now, be back in a while.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 10:27 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3