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

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

Reply
 
Thread Tools Display Modes
  #16  
Old 06-05-2010, 07:32 PM
pfyon's Avatar
pfyon
Discordant
 
Join Date: Mar 2009
Location: Ottawa
Posts: 495
Default

Ah yeah that was the problem.

You'll have to get a database for that. The most popular one is over at project eq (http://www.projecteq.net). You can download a recent release in the downloads section of the google code page (http://code.google.com/p/projecteqdb/) or check it out from the svn to get the most recent version (svn co http://projecteqdb.googlecode.com/svn/trunk/ ).
Reply With Quote
  #17  
Old 06-06-2010, 12:13 AM
Jster22
Fire Beetle
 
Join Date: Jun 2008
Location: Earth
Posts: 26
Default

Thanks for the info about the database pfyon. I checked out the code and believe I got it all sources correctly. I am just waiting on word if I have create my eqemu_config.xml file correctly from post 12?

On a side note, I sourced load_bots.sql and got some errors. Note sure if they need to be fixed since this source was optional.
Quote:
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DROP TABLE IF EXISTS `botpetinventory`' at line 1
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DROP TABLE IF EXISTS `botbuffs`' at line 1
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DELIMITER $$
DROP FUNCTION IF EXISTS `GetMobType` $$
CREATE FUNCTION `GetMobT' at line 1
ERROR 1193 (HY000): Unknown system variable 'Result'
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF (select count(*) from character_ where name = mobname) > 0 THEN
SET Res' at line 1
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ELSEIF (select count(*) from bots where Name = mobname) > 0 THEN
SET Resul' at line 1
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'END IF' at line 1
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'RETURN Result' at line 1
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'END $$
DELIMITER' at line 1
ERROR 1305 (42000): FUNCTION eqdb.GetMobType does not exist
Thanks.
Reply With Quote
  #18  
Old 06-07-2010, 07:20 PM
Jster22
Fire Beetle
 
Join Date: Jun 2008
Location: Earth
Posts: 26
Default

I believe I have gone through all the steps to set up the server, but I can't get it to start. I don't know if I have set up eqemu_config.xml file correctly. I tried ./start and this is the output. Is this working correctly?
Quote:
+ LNAME=zone
+ '[' '\1' = test ']'
+ P=/home/eqemulator/server
+ export LD_LIBRARY_PATH=:/home/eqemulator/server
+ LD_LIBRARY_PATH=:/home/eqemulator/server
+ mkdir -p logs
+ '[' '!' -e .lock-zones -a '!' -e .lock-world ']'
+ for f in 'logs/eqemu_*.log'
+ '[' logs/eqemu_debug_4267.log = logs/eqemu_commands_zone.log ']'
+ rm -f logs/eqemu_debug_4267.log
+ for f in 'logs/eqemu_*.log'
+ '[' logs/eqemu_debug_4316.log = logs/eqemu_commands_zone.log ']'
+ rm -f logs/eqemu_debug_4316.log
+ for f in 'logs/eqemu_*.log'
+ '[' logs/eqemu_debug_chatchannels.log = logs/eqemu_commands_zone.log ']'
+ rm -f logs/eqemu_debug_chatchannels.log
+ for f in 'logs/eqemu_*.log'
+ '[' logs/eqemu_debug_mail.log = logs/eqemu_commands_zone.log ']'
+ rm -f logs/eqemu_debug_mail.log
+ for f in 'logs/eqemu_*.log'
+ '[' logs/eqemu_debug_world.log = logs/eqemu_commands_zone.log ']'
+ rm -f logs/eqemu_debug_world.log
+ '[' '!' -e .lock-world ']'
+ touch .lock-world
+ '[' 1 ']'
+ ./persist_world
+ sleep 15
+ '[' '!' -e .lock-launcher ']'
+ touch .lock-launcher
+ '[' 1 ']'
+ ./eqlaunch zone
+ ./chatserver
+ '[' 1 ']'
+ ./mailserver
Thanks!
Reply With Quote
  #19  
Old 06-10-2010, 02:36 AM
Jster22
Fire Beetle
 
Join Date: Jun 2008
Location: Earth
Posts: 26
Default

I am still not able to get my server running. Looking in my server log files I keep seeing "Unable to load 'eqemu_config.xml': Failed to open file". Where does this file need to be located? Right now its in utils/defaults/. I'm not even sure I have it configured correctly. I posted it back in post 12 I think. Does it look right? Anything else I am missing to get this server started?

Thanks.
Reply With Quote
  #20  
Old 06-12-2010, 04:30 PM
Jster22
Fire Beetle
 
Join Date: Jun 2008
Location: Earth
Posts: 26
Default

Please help, I can't get this to work. I feel like I am talking to a wall now. I have completely wiped everything and started from scratch and still am stuck. Here is where I am at.

My directory structure:
home/eqemulator/projecteqemu
home/eqemulator/server
home/eqemulator/eqemumaps
home/eqemulator/projecteqdb
home/eqemulator/projecteqquests

I have ran make in projecteqemu/EQEmuServer/ and projecteqemu/EQEmuServer/EQEmuLoginServer folders successfully.

I have created and sourced my database successfully.

I modified eqemu_config.xml (as shown back in post 12). I moved it from projecteqemu/EQEmuServer/utils/defaults/ to projecteqemu/EQEmuServer/zone/

What am I missing?

In eqemulator/server i ran ./start I get the following output.
Quote:
./start: line 11: ./EQEmuLoginServer: No such file or directory
+ LNAME=zone
+ '[' '' = test ']'
+ P=/home/eqemulator/server
+ export LD_LIBRARY_PATH=:/home/eqemulator/server
+ LD_LIBRARY_PATH=:/home/eqemulator/server
+ mkdir -p logs
+ '[' '!' -e .lock-zones -a '!' -e .lock-world ']'
+ '[' '!' -e .lock-world ']'
+ '[' '!' -e .lock-launcher ']'
+ '[' 1 ']'
+ ./chatserver
./start: line 73: ./chatserver: No such file or directory
+ '[' 1 ']'
+ ./mailserver
./start: line 78: ./mailserver: No such file or directory
I have checked eqemulator/server/logs and all logs are empty.

Please, any help? Thanks!
Reply With Quote
  #21  
Old 06-15-2010, 08:03 PM
Jster22
Fire Beetle
 
Join Date: Jun 2008
Location: Earth
Posts: 26
Default

I have moved spells_us.txt into home/eqemulator/server. I don't have a copy of spells_en.txt. Could someone send that to me please?

Any suggestions about my last post?

Thanks.
Reply With Quote
  #22  
Old 06-20-2010, 05:37 PM
Jster22
Fire Beetle
 
Join Date: Jun 2008
Location: Earth
Posts: 26
Default

bump
Still looking for help. Thanks.
Reply With Quote
  #23  
Old 06-20-2010, 07:39 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

You don't really need the spell files anymore. It doesn't hurt to have them there, but spells are loaded from the database now.

You will need to move your config file directly into your server folder, NOT zone or any other folder.

In your config file, you can probably just comment these lines out or just remove them:
Code:
                <address>(whatismyip.com)</address>
                <localaddress>(whatismyip.com)</localaddress>
And you are going to need to create symbolic links for all of your files. That is why you are getting errors for the EQEmuLoginServer, and the mail and chat servers. In your case, you want to do something like this:

Code:
cd /home/eqemulator/server
ln -s ../projecteqemu/EQEmuServer/utils/defaults/* .
ln -s ../projecteqemu/EQEmuServer/utils/patch_* .
ln -s ../projecteqemu/EQEmuServer/utils/cleanipc
ln -s ../projecteqemu/EQEmuServer/world/world
ln -s ../projecteqemu/EQEmuServer/zone/zone
ln -s ../projecteqemu/EQEmuServer/EMuShareMem/libEMuShareMem.so
ln -s ../projecteqemu/EQEmuServer/eqlaunch/eqlaunch
ln -s ../projecteqemu/EQEmuServer/EQEmuLoginServer/EQEmuLoginServer
ln -s ../projecteqemu/EQEmuServer/ucs/ucs
ln -s ../projecteqemu/EQEmuServer/mailserver/mailserver
ln -s ../projecteqemu/EQEmuServer/chatserver/chatserver
This is basically like creating shortcuts to all of these files, so you can leave them in your source folder and update them or whatever, and always have access to them right from your server folder for scripts and starting the server.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #24  
Old 06-21-2010, 08:59 PM
Jster22
Fire Beetle
 
Join Date: Jun 2008
Location: Earth
Posts: 26
Default

Hi trevius. Thank you for your reply.

I made the changes you suggested and ran ./start and received the following errors.
Quote:
user@comp:/home/eqemulator/server$ sudo ./start
./start: line 11: ../projecteqemu/EQEmuServer/EQEmuLoginServer: is a directory
+ LNAME=zone
+ '[' '' = test ']'
+ P=/home/eqemulator/server
+ export LD_LIBRARY_PATH=:/home/eqemulator/server
+ LD_LIBRARY_PATH=:/home/eqemulator/server
+ mkdir -p logs
+ '[' '!' -e .lock-zones -a '!' -e .lock-world ']'
+ '[' '!' -e .lock-world ']'
+ '[' '!' -e .lock-launcher ']'
+ '[' 1 ']'
+ ../projecteqemu/EQEmuServer/chatserver
./start: line 73: ../projecteqemu/EQEmuServer/chatserver: is a directory
+ '[' 1 ']'
+ ../projecteqemu/EQEmuServer/mailserver
./start: line 78: ../projecteqemu/EQEmuServer/mailserver: is a directory
What is the error "is a directory"? Isn't it supposed to point to the directory?

The original lines looked like "./EQEmuLoginServer" and "./chatserver" etc. But they gave the error "No such file or directory" so I modified my start script to point to the folder locations.

All of my server logs are empty.

Thanks.
Reply With Quote
  #25  
Old 06-21-2010, 10:41 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

do a "ls -la" in your server folder and post it.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #26  
Old 06-22-2010, 07:18 PM
Jster22
Fire Beetle
 
Join Date: Jun 2008
Location: Earth
Posts: 26
Default

user@comp:/home/eqemulator/server$ ls -la
total 9028
drwxr-xr-x 3 root root 4096 2010-06-21 19:02 .
drwxr-xr-x 7 root root 4096 2010-06-12 11:00 ..
lrwxrwxrwx 1 root root 28 2010-06-12 11:12 chatserver -> source/chatserver/chatserver
lrwxrwxrwx 1 root root 21 2010-06-12 11:12 cleanipc -> source/utils/cleanipc
lrwxrwxrwx 1 root root 42 2010-06-12 11:11 commands.pl -> ../projecteqemu/utils/defaults/commands.pl
-rw-r--r-- 1 root root 640140 2010-06-12 21:53 crashlog
-rw-r--r-- 1 root root 845 2010-06-12 11:13 eqemu.conf
-rw-r--r-- 1 root root 596 2010-06-21 18:47 eqemu_config.xml
lrwxrwxrwx 1 root root 43 2010-06-12 11:12 eqemu_config.xml.full -> source/utils/defaults/eqemu_config.xml.full
lrwxrwxrwx 1 root root 40 2010-06-12 11:12 EQEmuLoginServer -> source/EQEmuLoginServer/EQEmuLoginServer
lrwxrwxrwx 1 root root 24 2010-06-12 11:12 eqlaunch -> source/eqlaunch/eqlaunch
lrwxrwxrwx 1 root root 36 2010-06-12 11:12 libEMuShareMem.so -> source/EMuShareMem/libEMuShareMem.so
lrwxrwxrwx 1 root root 29 2010-06-12 11:12 log.ini -> source/utils/defaults/log.ini
lrwxrwxrwx 1 root root 65 2010-06-12 11:11 login.ini -> ../projecteqemu/EQEmuServer/EQEmuLoginServer/login_util/login.ini
lrwxrwxrwx 1 root root 53 2010-06-12 11:12 login_opcodes.conf -> source/EQEmuLoginServer/login_util/login_opcodes.conf
lrwxrwxrwx 1 root root 57 2010-06-12 11:12 login_opcodes_sod.conf -> source/EQEmuLoginServer/login_util/login_opcodes_sod.conf
drwxr-xr-x 2 root root 4096 2010-06-12 14:21 logs
lrwxrwxrwx 1 root root 30 2010-06-12 11:12 mail_opcodes.conf -> source/utils/mail_opcodes.conf
lrwxrwxrwx 1 root root 28 2010-06-12 11:12 mailserver -> source/mailserver/mailserver
lrwxrwxrwx 1 root root 17 2010-06-12 11:11 Maps -> ../eqemumaps/Maps
lrwxrwxrwx 1 root root 32 2010-06-12 11:12 mime.types -> source/utils/defaults/mime.types
lrwxrwxrwx 1 root root 25 2010-06-12 11:12 opcodes.conf -> source/utils/opcodes.conf
lrwxrwxrwx 1 root root 27 2010-06-12 11:12 patch_6.2.conf -> source/utils/patch_6.2.conf
lrwxrwxrwx 1 root root 35 2010-06-12 11:12 patch_Anniversary.conf -> source/utils/patch_Anniversary.conf
lrwxrwxrwx 1 root root 28 2010-06-12 11:12 patch_Live.conf -> source/utils/patch_Live.conf
lrwxrwxrwx 1 root root 27 2010-06-12 11:12 patch_SoD.conf -> source/utils/patch_SoD.conf
lrwxrwxrwx 1 root root 27 2010-06-12 11:12 patch_SoF.conf -> source/utils/patch_SoF.conf
lrwxrwxrwx 1 root root 32 2010-06-12 11:12 patch_Titanium.conf -> source/utils/patch_Titanium.conf
-rwxr-xr-x 1 root root 199 2010-06-12 11:16 persist_world
lrwxrwxrwx 1 root root 31 2010-06-12 11:12 plugin.pl -> source/utils/defaults/plugin.pl
lrwxrwxrwx 1 root root 26 2010-06-12 11:11 plugins -> ../projecteqquests/plugins
lrwxrwxrwx 1 root root 18 2010-06-12 11:11 quests -> ../projecteqquests
lrwxrwxrwx 1 root root 16 2010-06-12 11:12 source -> ../projecteqemu/
-rw-r--r-- 1 server server 8541820 2010-06-15 18:05 spells_us.txt
-rwxr-xr-x 1 root root 1716 2010-06-21 18:58 start
-rwxr-xr-x 1 root root 852 2010-06-12 11:16 stop
lrwxrwxrwx 1 root root 31 2010-06-12 11:12 templates -> source/utils/defaults/templates
lrwxrwxrwx 1 root root 35 2010-06-21 18:50 ucs -> ../projecteqemu/EQEmuServer/ucs/ucs
lrwxrwxrwx 1 root root 18 2010-06-12 11:12 world -> source/world/world
-rw-r--r-- 1 root root 0 2010-06-21 19:02 .world_shutdown
lrwxrwxrwx 1 root root 29 2010-06-12 11:12 worldui -> source/utils/defaults/worldui
lrwxrwxrwx 1 root root 32 2010-06-12 11:12 worldui.pl -> source/utils/defaults/worldui.pl
lrwxrwxrwx 1 root root 16 2010-06-12 11:12 zone -> source/zone/zone
-rw-r--r-- 1 root root 0 2010-06-21 19:02 .zone_shutdown
Reply With Quote
  #27  
Old 06-23-2010, 09:55 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Looks like part of your problem is that you named your server's source folder "projecteqemu" instead of "source" like the guide said, but you still created links to the non-existent source folder. You need to remove those links and remake new ones pointing to the correct path.

The ucs link below is pointing to the right place, but the world is not. I am not exactly sure how you even started the server at all unless you also made a folder named source and put the EQEmuServer code in there.

lrwxrwxrwx 1 root root 35 2010-06-21 18:50 ucs -> ../projecteqemu/EQEmuServer/ucs/ucs
lrwxrwxrwx 1 root root 18 2010-06-12 11:12 world -> source/world/world
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #28  
Old 06-23-2010, 08:34 PM
Jster22
Fire Beetle
 
Join Date: Jun 2008
Location: Earth
Posts: 26
Default

Hi trevius. Thanks for replying!

My source folder is called projecteqemu because that is how the script by orkim creates it. I removed the bad links and created the correct ones.

I ran ./start with the following output
Code:
user@comp:/home/eqemulator/server$ sudo ./start
+ LNAME=zone
+ '[' '' = test ']'
+ P=/home/eqemulator/server
+ export LD_LIBRARY_PATH=:/home/eqemulator/server
+ LD_LIBRARY_PATH=:/home/eqemulator/server
+ mkdir -p logs
+ '[' '!' -e .lock-zones -a '!' -e .lock-world ']'
+ '[' '!' -e .lock-world ']'
+ '[' '!' -e .lock-launcher ']'
+ touch .lock-launcher
+ ./eqlaunch zone
+ '[' 1 ']'
+ ./chatserver
+ '[' 1 ']'
+ ./mailserver
It generated log files this time. Here are the logs with errors:
Code:
login_1277338648.log
-------------------------------------------------------------------------
[Debug] [06.23.10 - 18:17:28] Logging System Init.
[Debug] [06.23.10 - 18:17:28] Config System Init.
[Error] [06.23.10 - 18:17:28] Config::Parse(), file was unable to be opened for parsing.
[Error] [06.23.10 - 18:17:28] Database Initialization Failure.
[Debug] [06.23.10 - 18:17:28] Config System Shutdown.
[Debug] [06.23.10 - 18:17:28] Log System Shutdown.

world
-------------------------------------------------------------------------
[Debug] Starting Log: logs/eqemu_debug_world.log
[Debug] [COMMON__THREADS] Starting TCPServerLoop with thread ID -1223545968
[Debug] [COMMON__THREADS] Starting TCPServerLoop with thread ID -1231938672
[Debug] [WORLD__INIT] Loading server configuration..
[Debug] [WORLD__INIT] Log settings loaded from log.ini
[Debug] [WORLD__INIT] CURRENT_WORLD_VERSION:EQEmulator 0.8.0
[Debug] [WORLD__INIT] Connecting to MySQL...
[Status] Starting Log: logs/eqemu_world.log
[Status] Using database 'eqdb' at localhost:3306
[Debug] [COMMON__THREADS] Starting DBAsyncLoop with thread ID -1240331376
[Debug] [WORLD__INIT] HTTP world service disabled.
[Debug] [WORLD__INIT] Loading variables..
[Debug] [WORLD__INIT] Loading zones..
[Debug] [WORLD__INIT] Clearing groups..
[Debug] [WORLD__INIT] Clearing raids..
[Debug] [WORLD__INIT] Loading items..
[Status] libEMuShareMem.so loaded
[Warning] requested shared memory of size:55174280 but that Key is already in use with size:1
[Warning] Resize not possible
[Warning] Could not attach to shared memory proceeding on isolated memory (share_id <= 0)
[Status] Loading items from database: count=83375
[Debug] [WORLD__INIT] Loading guilds..
[Debug] [WORLD__INIT] Loaded default rule set 'default'
[Debug] [WORLD__INIT] Clearing temporary merchant lists..
[Debug] [WORLD__INIT] Loading EQ time of day..
[Error] Starting Log: logs/eqemu_error_world.log
[Error] Could not load EQTime file eqtime.cfg
[Debug] [WORLD__INIT_ERR] Unable to load eqtime.cfg
[Debug] [WORLD__INIT] Loading launcher list..
[Debug] [WORLD__INIT] Reboot zone modes ON
[Debug] [WORLD__INIT] Deleted 0 stale player corpses from database
[Debug] [WORLD__INIT] Deleted 0 stale player backups from database
[Debug] [WORLD__INIT] Loading adventures...
[Debug] [WORLD__INIT] Purging expired instances
[Debug] [WORLD__INIT] Zone (TCP) listener started.
[Debug] [COMMON__THREADS] Starting EQStreamFactoryReaderLoop with thread ID -1303954544
[Debug] [COMMON__THREADS] Starting EQStreamFactoryWriterLoop with thread ID -1312347248
[Debug] [WORLD__INIT] Client (UDP) listener started.
[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 Live
[Debug] [WORLD__SHUTDOWN] Caught signal 2
[Debug] [WORLD__SHUTDOWN] World main loop completed.
[Debug] [WORLD__SHUTDOWN] Shutting down console connections (if any).
[Debug] [WORLD__SHUTDOWN] Shutting down zone connections (if any).
[Debug] [WORLD__SHUTDOWN] Zone (TCP) listener stopped.
[Debug] [COMMON__THREADS] Ending TCPServerLoop with thread ID -1223545968
[Debug] [WORLD__SHUTDOWN] Client (UDP) listener stopped.
[Debug] [WORLD__SHUTDOWN] Signaling HTTP service to stop...
[Debug] [COMMON__THREADS] Ending EQStreamFactoryWriterLoop with thread ID -1312347248
[Debug] [WORLD__HTTP] Requesting that HTTP Service stop.
[Debug] [COMMON__THREADS] Ending TCPServerLoop with thread ID -1231938672
[Debug] Starting Log: logs/eqemu_debug_world.log
[Debug] [COMMON__THREADS] Starting TCPServerLoop with thread ID -1223873648
[Debug] [COMMON__THREADS] Starting TCPServerLoop with thread ID -1232266352
[Debug] [WORLD__INIT] Loading server configuration..
[Debug] [WORLD__INIT] Log settings loaded from log.ini
[Debug] [WORLD__INIT] CURRENT_WORLD_VERSION:EQEmulator 0.8.0
[Debug] [WORLD__INIT] Connecting to MySQL...
[Status] Starting Log: logs/eqemu_world.log
[Status] Using database 'eqdb' at localhost:3306
[Debug] [COMMON__THREADS] Starting DBAsyncLoop with thread ID -1240659056
[Debug] [WORLD__INIT] HTTP world service disabled.
[Debug] [WORLD__INIT] Loading variables..
[Debug] [WORLD__INIT] Loading zones..
[Debug] [WORLD__INIT] Clearing groups..
[Debug] [WORLD__INIT] Clearing raids..
[Debug] [WORLD__INIT] Loading items..
[Status] libEMuShareMem.so loaded
[Warning] requested shared memory of size:55174280 but that Key is already in use with size:1
[Warning] Resize not possible
[Warning] Could not attach to shared memory proceeding on isolated memory (share_id <= 0)
[Status] Loading items from database: count=83375
[Debug] [WORLD__INIT] Loading guilds..
[Debug] [WORLD__INIT] Loaded default rule set 'default'
[Debug] [WORLD__INIT] Clearing temporary merchant lists..
[Debug] [WORLD__INIT] Loading EQ time of day..
[Debug] [WORLD__INIT] Loading launcher list..
[Debug] [WORLD__INIT] Reboot zone modes ON
[Debug] [WORLD__INIT] Deleted 0 stale player corpses from database
[Debug] [WORLD__INIT] Deleted 0 stale player backups from database
[Debug] [WORLD__INIT] Loading adventures...
[Debug] [WORLD__INIT] Purging expired instances
[Debug] [WORLD__INIT] Zone (TCP) listener started.
[Debug] [COMMON__THREADS] Starting EQStreamFactoryReaderLoop with thread ID -1304278128
[Debug] [WORLD__INIT] Client (UDP) listener started.
[Debug] [COMMON__THREADS] Starting EQStreamFactoryWriterLoop with thread ID -1312670832
[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 Live
[Debug] [WORLD__ZONE] New TCP connection from 127.0.0.1:60985
[Debug] [WORLD__CONSOLE] New launcher from 127.0.0.1:60985
[Debug] [WORLD__LAUNCH] Adding pending launcher 1
[Debug] [WORLD__LAUNCH] Launcher Identified itself as 'zone'. Loading zone list.
[Debug] [WORLD__LAUNCH] Removing pending launcher 1. Adding zone to active list.
[Debug] [WORLD__LAUNCH] zone: dynamic_01 reported state STARTED (1 starts)
[Debug] [WORLD__SHUTDOWN] Caught signal 15
[Debug] [WORLD__SHUTDOWN] World main loop completed.
[Debug] [WORLD__SHUTDOWN] Shutting down console connections (if any).
[Debug] [WORLD__SHUTDOWN] Shutting down zone connections (if any).
[Debug] [WORLD__SHUTDOWN] Zone (TCP) listener stopped.
[Debug] [COMMON__THREADS] Ending TCPServerLoop with thread ID -1223873648
[Debug] [WORLD__SHUTDOWN] Client (UDP) listener stopped.
[Debug] [WORLD__SHUTDOWN] Signaling HTTP service to stop...
[Debug] [WORLD__HTTP] Requesting that HTTP Service stop.
[Debug] [COMMON__THREADS] Ending EQStreamFactoryWriterLoop with thread ID -1312670832
[Debug] [COMMON__THREADS] Ending TCPServerLoop with thread ID -1232266352

eqemu_error_world.log
-------------------------------------------------------------------------
4589 [06.23. - 18:15:49] Starting Log: logs/eqemu_error_world.log
4589 [06.23. - 18:15:49] Could not load EQTime file eqtime.cfg

loginserver
-------------------------------------------------------------------------
[Debug] [06.23.10 - 18:17:28] Logging System Init.
[Debug] [06.23.10 - 18:17:28] Config System Init.
[Error] [06.23.10 - 18:17:28] Config::Parse(), file was unable to be opened for parsing.
[Error] [06.23.10 - 18:17:28] Database Initialization Failure.
[Debug] [06.23.10 - 18:17:28] Config System Shutdown.
[Debug] [06.23.10 - 18:17:28] Log System Shutdown.
Thanks again for helping me trevius!
Reply With Quote
  #29  
Old 06-23-2010, 11:30 PM
Jster22
Fire Beetle
 
Join Date: Jun 2008
Location: Earth
Posts: 26
Default

One more thing. My ./start output in the post above is from my second time running the command. I noticed that the output from the first time running it was different. So I ran ./stop and then tried ./start again. Here is the output from the first time running it.

I get the error "shmat failed! Invalid argument"
Code:
user@comp:/home/eqemulator/server$ sudo ./start
+ LNAME=zone
+ '[' '' = test ']'
+ P=/home/eqemulator/server
+ export LD_LIBRARY_PATH=:/home/eqemulator/server
+ LD_LIBRARY_PATH=:/home/eqemulator/server
+ mkdir -p logs
+ '[' '!' -e .lock-zones -a '!' -e .lock-world ']'
+ for f in 'logs/eqemu_*.log'
+ '[' logs/eqemu_chatchannels.log = logs/eqemu_commands_zone.log ']'
+ rm -f logs/eqemu_chatchannels.log
+ for f in 'logs/eqemu_*.log'
+ '[' logs/eqemu_debug_5702.log = logs/eqemu_commands_zone.log ']'
+ rm -f logs/eqemu_debug_5702.log
+ for f in 'logs/eqemu_*.log'
+ '[' logs/eqemu_debug_chatchannels.log = logs/eqemu_commands_zone.log ']'
+ rm -f logs/eqemu_debug_chatchannels.log
+ for f in 'logs/eqemu_*.log'
+ '[' logs/eqemu_debug_mail.log = logs/eqemu_commands_zone.log ']'
+ rm -f logs/eqemu_debug_mail.log
+ for f in 'logs/eqemu_*.log'
+ '[' logs/eqemu_debug_world.log = logs/eqemu_commands_zone.log ']'
+ rm -f logs/eqemu_debug_world.log
+ for f in 'logs/eqemu_*.log'
+ '[' logs/eqemu_debug_zone.log = logs/eqemu_commands_zone.log ']'
+ rm -f logs/eqemu_debug_zone.log
+ for f in 'logs/eqemu_*.log'
+ '[' logs/eqemu_mail.log = logs/eqemu_commands_zone.log ']'
+ rm -f logs/eqemu_mail.log
+ for f in 'logs/eqemu_*.log'
+ '[' logs/eqemu_world.log = logs/eqemu_commands_zone.log ']'
+ rm -f logs/eqemu_world.log
+ for f in 'logs/eqemu_*.log'
+ '[' logs/eqemu_zone.log = logs/eqemu_commands_zone.log ']'
+ rm -f logs/eqemu_zone.log
+ '[' '!' -e .lock-world ']'
+ touch .lock-world
+ '[' 1 ']'
+ ./persist_world
+ sleep 15
shmat failed! Invalid argument
+ '[' '!' -e .lock-launcher ']'
+ touch .lock-launcher
+ ./eqlaunch zone
+ '[' 1 ']'
+ ./chatserver
+ '[' 1 ']'
+ ./mailserver
Thanks.
Reply With Quote
  #30  
Old 06-24-2010, 11:42 PM
Jster22
Fire Beetle
 
Join Date: Jun 2008
Location: Earth
Posts: 26
Default

I figured out that I was getting the error ""shmat failed! Invalid argument" because I didn't increase shared memory limit. I increased it and tried to start the server. Here is the output from that. Are there any logs I should post?
Quote:
user@comp:/home/eqemulator/server$ sudo ./start
+ LNAME=zone
+ '[' '' = test ']'
+ P=/home/eqemulator/server
+ export LD_LIBRARY_PATH=:/home/eqemulator/server
+ LD_LIBRARY_PATH=:/home/eqemulator/server
+ mkdir -p logs
+ '[' '!' -e .lock-zones -a '!' -e .lock-world ']'
+ for f in 'logs/eqemu_*.log'
+ '[' logs/eqemu_chatchannels.log = logs/eqemu_commands_zone.log ']'
+ rm -f logs/eqemu_chatchannels.log
+ for f in 'logs/eqemu_*.log'
+ '[' logs/eqemu_debug_5777.log = logs/eqemu_commands_zone.log ']'
+ rm -f logs/eqemu_debug_5777.log
+ for f in 'logs/eqemu_*.log'
+ '[' logs/eqemu_debug_chatchannels.log = logs/eqemu_commands_zone.log ']'
+ rm -f logs/eqemu_debug_chatchannels.log
+ for f in 'logs/eqemu_*.log'
+ '[' logs/eqemu_debug_mail.log = logs/eqemu_commands_zone.log ']'
+ rm -f logs/eqemu_debug_mail.log
+ for f in 'logs/eqemu_*.log'
+ '[' logs/eqemu_debug_world.log = logs/eqemu_commands_zone.log ']'
+ rm -f logs/eqemu_debug_world.log
+ for f in 'logs/eqemu_*.log'
+ '[' logs/eqemu_debug_zone.log = logs/eqemu_commands_zone.log ']'
+ rm -f logs/eqemu_debug_zone.log
+ for f in 'logs/eqemu_*.log'
+ '[' logs/eqemu_mail.log = logs/eqemu_commands_zone.log ']'
+ rm -f logs/eqemu_mail.log
+ for f in 'logs/eqemu_*.log'
+ '[' logs/eqemu_quest_zone.log = logs/eqemu_commands_zone.log ']'
+ rm -f logs/eqemu_quest_zone.log
+ for f in 'logs/eqemu_*.log'
+ '[' logs/eqemu_world.log = logs/eqemu_commands_zone.log ']'
+ rm -f logs/eqemu_world.log
+ for f in 'logs/eqemu_*.log'
+ '[' logs/eqemu_zone.log = logs/eqemu_commands_zone.log ']'
+ rm -f logs/eqemu_zone.log
+ '[' '!' -e .lock-world ']'
+ touch .lock-world
+ '[' 1 ']'
+ ./persist_world
+ sleep 15
+ '[' '!' -e .lock-launcher ']'
+ touch .lock-launcher
+ '[' 1 ']'
+ ./eqlaunch zone
+ ./chatserver
+ '[' 1 ']'
+ ./mailserver
Thank you!
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 03:09 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3