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 02-03-2014, 02:34 AM
sentientnz
Fire Beetle
 
Join Date: Feb 2013
Posts: 4
Default Server 'Locked' - Zones unavailable

I attempted to build a linux server for the first time today without much luck. The compile/build went without any major hitches but I have been unable to actually connect (into a game) yet.

I followed the instructions here:
https://github.com/EQEmu/Server/wiki/Linux-server-setup

I see my world server on the Server List (it shows as locked).
When I connected for the first time, I got a message in the console advising a new user was connecting. I was able to create a dwarf, but when I attempted to enter the world it kicked me out with a zone unavailable.

Even with GM priviledges, I get the same message.

To start the server I use:
linux@server:/media/sdd1/eqemu$ Bin/shared_memory
[Status] Starting Log: logs/eqemu_shared_memory_5583.log
[Status] Shared Memory Loader Program
[Error] Starting Log: logs/eqemu_error_shared_memory_5583.log
[Error] Warning: unable to read log.ini.
[Status] Connecting to database...
[Status] Using database 'eq' at localhost:3306
[Status] Loading items...
[Status] Loading factions...
[Status] Loading loot...
[Status] Loading skill caps...
[Status] Loading spells...
[Status] Loading base data...
linux@server:/media/sdd1/eqemu$ Bin/world
[Status] Starting Log: logs/eqemu_world_5586.log
[Status] Using database 'eq' at localhost:3306

In a second terminal window, I executed:
linux@server:/media/sdd1/eqemu$ Bin/eqlaunch zone

I would have expected more output from the 'world' window, but that's all it ever shows.

The 'eqlaunch zone' window shows no output at all after starting.

I tried deleting everything (including the db) and started over following the instructions again to make sure I hadn't stuffed it up but same result.

I have added a forward for ports 7000-7100 and 9000 on my router.
I don't see any zone's launching, and the log files don't contain anything beyond what is output to the terminal.

Any ideas?
Reply With Quote
  #2  
Old 02-03-2014, 09:29 AM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

You get no output at all when the zone runs? That I would find very odd. You probably would not see much more in the console windows for world running unless there was an error, but the logs would be your best place to look around. When you run your zone, run it without eqlaunch and see if you get a different result. Also post your eqemu_config.xml and pull any sensitive info, post the contents in a code block here.
Reply With Quote
  #3  
Old 02-03-2014, 03:15 PM
sentientnz
Fire Beetle
 
Join Date: Feb 2013
Posts: 4
Default

The lack of output seems to be related to the:
OPTION(EQEMU_DISABLE_LOGSYS "Disable Logging INI System" OFF)

Whether I use OFF or ON, the output seems to be minimal - even on EQEMU_DEBUG_LEVEL 10. I modified the source to get the desired results.

With the lots of output I now have I can see what's happening - not happening.

The world server starts up fine... lots of output then it waits for a launcher to connect.

When I run Bin/eqlaunch zone I get:

Code:
[Debug] [WORLD__LAUNCH] Removing launcher sentientws (1)
[Debug] [WORLD__ZONE] New TCP connection from 127.0.0.1:37966
[Debug] [WORLD__CONSOLE] New launcher from 127.0.0.1:37966
[Debug] [WORLD__LAUNCH] Adding pending launcher 2
[Debug] [WORLD__LAUNCH] Launcher Identified itself as 'zone'. Loading zone list.
[Debug] [WORLD__LAUNCH] Removing pending launcher 2. Adding zone to active list.
[Debug] [WORLD__LAUNCH] zone: dynamic_01 reported state STARTED (1 starts)
[Debug] [WORLD__LAUNCH] zone: dynamic_01 reported state STOPPED (1 starts)
[Debug] [WORLD__LAUNCH] zone: dynamic_01 reported state STARTED (2 starts)
[Debug] [WORLD__LAUNCH] zone: dynamic_01 reported state STOPPED (2 starts)
[Debug] [WORLD__LAUNCH] zone: dynamic_01 reported state STARTED (3 starts)
[Debug] [WORLD__LAUNCH] zone: dynamic_01 reported state STOPPED (3 starts)
[Debug] [WORLD__LAUNCH] zone: dynamic_01 reported state STARTED (4 starts)
[Debug] [WORLD__LAUNCH] zone: dynamic_01 reported state STOPPED (4 starts)
[Debug] [WORLD__LAUNCH] zone: dynamic_01 reported state STARTED (5 starts)
[Debug] [WORLD__LAUNCH] zone: dynamic_01 reported state STOPPED (5 starts)
[Debug] [WORLD__LAUNCH] zone: dynamic_01 reported state STARTED (6 starts)
[Debug] [WORLD__LAUNCH] zone: dynamic_01 reported state STOPPED (6 starts)
[Debug] [WORLD__LAUNCH] zone: dynamic_01 reported state STARTED (7 starts)
[Debug] [WORLD__LAUNCH] zone: dynamic_01 reported state STOPPED (7 starts)
[Debug] [WORLD__LAUNCH] Removing launcher zone (2)

If I just run Bin/zone it shows:

Code:
[Debug] Starting Log: logs/eqemu_debug_zone_14276.log
[Debug] [ZONE__INIT] Loading server configuration..
[Debug] [ZONE__INIT] Warning: Unable to read log.ini
[Debug] [ZONE__INIT] Connecting to MySQL...
[Status] Starting Log: logs/eqemu_zone_14276.log
[Status] Using database 'eq' at localhost:3306
[Debug] [ZONE__INIT] CURRENT_VERSION: 1.0.0
[Debug] [ZONE__INIT] Warning: Unable to read ./log.ini
[Debug] [ZONE__INIT] Mapping Incoming Opcodes
[Debug] [ZONE__INIT] Loading Variables
[Debug] [COMMON__THREADS] Starting DBAsyncLoop with thread ID 610600704
[Debug] [ZONE__INIT] Loading zone names
[Debug] [ZONE__INIT] Loading items
[Debug] [ZONE__INIT] Loading npc faction lists
[Debug] [ZONE__INIT] Loading loot tables
[Debug] [ZONE__INIT] Loading skill caps
[Debug] [ZONE__INIT] Loading spells
[Debug] [ZONE__INIT] Loading base data
[Debug] [ZONE__INIT] Loading guilds
[Debug] [ZONE__INIT] Loading factions
[Debug] [ZONE__INIT] Loading titles
[Debug] [ZONE__INIT] Loading AA effects
[Debug] [ZONE__INIT] Loading tributes
[Debug] [ZONE__INIT] Loading corpse timers
[Debug] [ZONE__INIT] Loading commands
[Debug] command_init(): - Command 'acceptrules' set to access level 90.
[Debug] command_init(): - Command 'aggrozone' set to access level 200.
[Debug] command_init(): - Command 'altactivate' set to access level 90.
[Debug] command_init(): - Command 'appearance' set to access level 150.
[Debug] command_init(): - Command 'attack' set to access level 150.
[Debug] command_init(): - Command 'ban' set to access level 200.
[Debug] command_init(): - Command 'bestz' set to access level 80.
[Debug] command_init(): - Command 'bind' set to access level 80.
[Debug] command_init(): - Command 'cast' set to access level 90.
[Debug] command_init(): - Command 'castspell' set to access level 90.
[Debug] command_init(): - Command 'charbackup' set to access level 80.
[Debug] command_init(): - Command 'chat' set to access level 200.
[Debug] command_init(): - Command 'copychar' set to access level 200.
[Debug] command_init(): - Command 'corpse' set to access level 90.
[Debug] command_init(): - Command 'crashtest' set to access level 201.
[Debug] command_init(): - Command 'cvs' set to access level 80.
[Debug] command_init(): - Command 'damage' set to access level 150.
[Debug] command_init(): - Command 'date' set to access level 150.
[Debug] command_init(): - Command 'dbspawn2' set to access level 100.
[Debug] command_init(): - Command 'delacct' set to access level 200.
[Debug] command_init(): - Command 'delpetition' set to access level 80.
[Debug] command_init(): - Command 'depop' set to access level 100.
[Debug] command_init(): - Command 'depopzone' set to access level 100.
[Debug] command_init(): - Command 'emote' set to access level 150.
[Debug] command_init(): - Command 'finditem' set to access level 90.
[Debug] command_init(): - Command 'findnpctype' set to access level 90.
[Debug] command_init(): - Command 'findspell' set to access level 90.
[Debug] command_init(): - Command 'findzone' set to access level 1.
[Debug] command_init(): - Command 'fixmob' set to access level 150.
[Debug] command_init(): - Command 'flag' set to access level 201.
[Debug] command_init(): - Command 'flagedit' set to access level 150.
[Debug] command_init(): - Command 'flags' set to access level 80.
[Debug] command_init(): - Command 'flymode' set to access level 80.
[Debug] command_init(): - Command 'freeze' set to access level 100.
[Debug] command_init(): - Command 'fz' set to access level 1.
[Debug] command_init(): - Command 'gassign' set to access level 150.
[Debug] command_init(): - Command 'gender' set to access level 90.
[Debug] command_init(): - Command 'giveitem' set to access level 150.
[Debug] command_init(): - Command 'givemoney' set to access level 150.
[Debug] command_init(): - Command 'gm' set to access level 80.
[Debug] command_init(): - Command 'gmspeed' set to access level 80.
[Debug] command_init(): - Command 'goto' set to access level 80.
[Debug] command_init(): - Command 'grid' set to access level 150.
[Debug] command_init(): - Command 'guild' set to access level 80.
[Debug] command_init(): - Command 'haste' set to access level 100.
[Debug] command_init(): - Command 'heal' set to access level 100.
[Debug] command_init(): - Command 'hideme' set to access level 80.
[Debug] command_init(): - Command 'hp' set to access level 90.
[Debug] command_init(): - Command 'instance' set to access level 80.
[Debug] command_init(): - Command 'invul' set to access level 80.
[Debug] command_init(): - Command 'invulnerable' set to access level 80.
[Debug] command_init(): - Command 'ipban' set to access level 201.
[Debug] command_init(): - Command 'itemsearch' set to access level 90.
[Debug] command_init(): - Command 'kick' set to access level 80.
[Debug] command_init(): - Command 'kill' set to access level 80.
[Debug] command_init(): - Command 'lastname' set to access level 80.
[Debug] command_init(): - Command 'level' set to access level 150.
[Debug] command_init(): - Command 'listnpcs' set to access level 90.
[Debug] command_init(): - Command 'listpetition' set to access level 80.
[Debug] command_init(): - Command 'loc' set to access level 0.
[Debug] command_init(): - Command 'lock' set to access level 200.
[Debug] command_init(): - Command 'makepet' set to access level 150.
[Debug] command_init(): - Command 'mana' set to access level 100.
[Debug] command_init(): - Command 'maxskills' set to access level 90.
[Debug] command_init(): - Command 'memspell' set to access level 100.
[Debug] command_init(): - Command 'motd' set to access level 200.
[Debug] command_init(): - Command 'movechar' set to access level 80.
[Debug] command_init(): - Command 'mysql' set to access level 255.
[Debug] command_init(): - Command 'name' set to access level 100.
[Debug] command_init(): - Command 'netstats' set to access level 200.
[Debug] command_init(): - Command 'npccast' set to access level 90.
[Debug] command_init(): - Command 'npcedit' set to access level 150.
[Debug] command_init(): - Command 'npcemote' set to access level 80.
[Debug] command_init(): - Command 'npcloot' set to access level 150.
[Debug] command_init(): - Command 'npcsay' set to access level 80.
[Debug] command_init(): - Command 'npcshout' set to access level 90.
[Debug] command_init(): - Command 'npcspawn' set to access level 100.
[Debug] command_init(): - Command 'npcspecialattk' set to access level 150.
[Debug] command_init(): - Command 'npcstats' set to access level 90.
[Debug] command_init(): - Command 'npctypespawn' set to access level 90.
[Debug] command_init(): - Command 'nukebuffs' set to access level 100.
[Debug] command_init(): - Command 'peekinv' set to access level 80.
[Debug] command_init(): - Command 'peqzone' set to access level 2.
[Debug] command_init(): - Command 'permaclass' set to access level 150.
[Debug] command_init(): - Command 'permagender' set to access level 150.
[Debug] command_init(): - Command 'permarace' set to access level 150.
[Debug] command_init(): - Command 'pvp' set to access level 80.
[Debug] command_init(): - Command 'qglobal' set to access level 150.
[Debug] command_init(): - Command 'questerrors' set to access level 0.
[Debug] command_init(): - Command 'race' set to access level 90.
[Debug] command_init(): - Command 'randomfeatures' set to access level 90.
[Debug] command_init(): - Command 'refundaa' set to access level 100.
[Debug] command_init(): - Command 'reloadlevelmods' set to access level 255.
[Debug] command_init(): - Command 'reloadqst' set to access level 80.
[Debug] command_init(): - Command 'reloadworld' set to access level 255.
[Debug] command_init(): - Command 'repop' set to access level 90.
[Debug] command_init(): - Command 'resetaa' set to access level 100.
[Debug] command_init(): - Command 'revoke' set to access level 80.
[Debug] command_init(): - Command 'rules' set to access level 200.
[Debug] command_init(): - Command 'save' set to access level 80.
[Debug] command_init(): - Command 'scribespell' set to access level 90.
[Debug] command_init(): - Command 'scribespells' set to access level 100.
[Debug] command_init(): - Command 'search' set to access level 90.
[Debug] command_init(): - Command 'sendzonespawns' set to access level 200.
[Debug] command_init(): - Command 'serverinfo' set to access level 201.
[Debug] command_init(): - Command 'serverrules' set to access level 90.
[Debug] command_init(): - Command 'serversidename' set to access level 90.
[Debug] command_init(): - Command 'setaapts' set to access level 100.
[Debug] command_init(): - Command 'setaaxp' set to access level 100.
[Debug] command_init(): - Command 'setadventurepoints' set to access level 200.
[Debug] command_init(): - Command 'setallskill' set to access level 100.
[Debug] command_init(): - Command 'setlsinfo' set to access level 0.
[Debug] command_init(): - Command 'setskill' set to access level 90.
[Debug] command_init(): - Command 'setskillall' set to access level 100.
[Debug] command_init(): - Command 'setstartzone' set to access level 80.
[Debug] command_init(): - Command 'setxp' set to access level 100.
[Debug] command_init(): - Command 'showbuffs' set to access level 80.
[Debug] command_init(): - Command 'showpetspell' set to access level 80.
[Debug] command_init(): - Command 'showstats' set to access level 80.
[Debug] command_init(): - Command 'shutdown' set to access level 200.
[Debug] command_init(): - Command 'size' set to access level 90.
[Debug] command_init(): - Command 'spawn' set to access level 150.
[Debug] command_init(): - Command 'spawnfix' set to access level 80.
[Debug] command_init(): - Command 'spawnstatus' set to access level 150.
[Debug] command_init(): - Command 'spfind' set to access level 150.
[Debug] command_init(): - Command 'spoff' set to access level 0.
[Debug] command_init(): - Command 'spon' set to access level 0.
[Debug] command_init(): - Command 'summon' set to access level 80.
[Debug] command_init(): - Command 'summonitem' set to access level 150.
[Debug] command_init(): - Command 'suspend' set to access level 100.
[Debug] command_init(): - Command 'texture' set to access level 150.
[Debug] command_init(): - Command 'tgczone' set to access level 3.
[Debug] command_init(): - Command 'title' set to access level 100.
[Debug] command_init(): - Command 'traindisc' set to access level 100.
[Debug] command_init(): - Command 'undyeme' set to access level 0.
[Debug] command_init(): - Command 'unfreeze' set to access level 100.
[Debug] command_init(): - Command 'unlock' set to access level 150.
[Debug] command_init(): - Command 'unscribespell' set to access level 90.
[Debug] command_init(): - Command 'unscribespells' set to access level 100.
[Debug] command_init(): - Command 'viewpetition' set to access level 80.
[Debug] command_init(): - Command 'weather' set to access level 90.
[Debug] command_init(): - Command 'worldshutdown' set to access level 200.
[Debug] command_init(): - Command 'wp' set to access level 150.
[Debug] command_init(): - Command 'wpadd' set to access level 150.
[Debug] command_init(): - Command 'wpinfo' set to access level 150.
[Debug] command_init(): - Command 'zclip' set to access level 150.
[Debug] command_init(): - Command 'zcolor' set to access level 150.
[Debug] command_init(): - Command 'zheader' set to access level 150.
[Debug] command_init(): - Command 'zone' set to access level 80.
[Debug] command_init(): - Command 'zonebootup' set to access level 100.
[Debug] command_init(): - Command 'zoneinstance' set to access level 80.
[Debug] command_init(): - Command 'zonelock' set to access level 200.
[Debug] command_init(): - Command 'zoneshutdown' set to access level 200.
[Debug] command_init(): - Command 'zsafecoords' set to access level 150.
[Debug] command_init(): - Command 'zsave' set to access level 200.
[Debug] command_init(): - Command 'zsky' set to access level 150.
[Debug] [ZONE__INIT] 257 commands loaded
[Debug] [ZONE__INIT] Loaded default rule set 'default'
[Debug] [ZONE__INIT] Loading Tasks
[Debug] [ZONE__INIT] Loading quests
[Quest] Starting Log: logs/eqemu_quest_zone_14276.log
[Quest] Tying perl output to eqemu logs
[Quest] Creating EQEmuIO=HASH(0x1e85410)
[Quest] Creating EQEmuIO=HASH(0x1e85ae8)
[Quest] Loading perlemb plugins.
[Quest] Unable to read perl file 'plugin.pl'
[Debug] [COMMON__THREADS] Starting TCPConnectionLoop with thread ID 548263680
[Debug] [ZONE__INIT] Entering sleep mode
[Debug] [NET__IDENTIFY] Registered patch 6.2
[Debug] [NET__IDENTIFY] Registered patch Titanium
[Debug] [NET__IDENTIFY] Registered patch SoF
[Debug] [NET__IDENTIFY] Registered patch SoD
[Debug] [NET__IDENTIFY] Registered patch Underfoot
[Debug] [NET__IDENTIFY] Registered patch RoF
[Debug] [COMMON__THREADS] Main thread running with thread id 643143488
[Debug] [NET__WORLD] Connected to World: 127.0.0.1:9000
[Debug] [ZONE__WORLD] World indicated port 7000 for this zone.
[Debug] [ZONE__INIT] Starting EQ Network server on port 7000
[Debug] [COMMON__THREADS] Starting EQStreamFactoryReaderLoop with thread ID 373860096
[Debug] [COMMON__THREADS] Starting EQStreamFactoryWriterLoop with thread ID 365467392

Things look ok after this - It shows unlocked on the server list, and I can now login and enter the world - I didn't try 'zoning' or loading multiple clients in different zones.
Reply With Quote
  #4  
Old 02-03-2014, 04:17 PM
sentientnz
Fire Beetle
 
Join Date: Feb 2013
Posts: 4
Default

I had to add:

Code:
	<!-- Launcher Configuration -->
	<launcher>
		<exe>Bin/zone</exe>
		<timers restart="10000" reterminate="10000" />
		<!-- <logprefix>logs/zone-</logprefix> -->
		<!-- <logsuffix>.log</logsuffix> -->
		<!-- <exe>zone.exe or ./zone</exe> -->
		<!-- <timers restart="10000" reterminate="10000"> -->
	</launcher>
Now it all works as expected. 5 zones launched and stayed up.

This seems to be the one subsection that doesn't indicate that it shows the defaults.?!?!

I tried adding <exe>./zone</exe> but it fails as before.
Only <exe>Bin/zone</exe> seems to work.

I didn't check if the <timers... > was required.
Reply With Quote
  #5  
Old 02-03-2014, 05:13 PM
demonstar55
Demi-God
 
Join Date: Apr 2008
Location: MA
Posts: 1,164
Default

The guide on the GitHub wiki is rather poor (no offense)

http://bpaste.net/show/172372/ those are the notes I took last time I did a fresh build. I was planning on turning that into a guide at some point, but I haven't.

I would also recommend using the start up script in this thread http://eqemulator.org/forums/showthread.php?t=37460
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 02:14 AM.


 

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