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 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
  #2  
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
  #3  
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
  #4  
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
  #5  
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
  #6  
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
  #7  
Old 06-25-2010, 07:52 PM
Jster22
Fire Beetle
 
Join Date: Jun 2008
Location: Earth
Posts: 26
Default

How can I tell if the world started properly? Will it show up on the Server List?

I checked through all the logs and only found one error that appeared in two files. The two files it appeared in are login_1277437359.log and loginserver.
Quote:
[Debug] [06.24.10 - 21:42:39] Logging System Init.
[Debug] [06.24.10 - 21:42:39] Config System Init.
[Error] [06.24.10 - 21:42:39] Config::Parse(), file was unable to be opened for parsing.
[Error] [06.24.10 - 21:42:40] Database Initialization Failure.
[Debug] [06.24.10 - 21:42:40] Config System Shutdown.
[Debug] [06.24.10 - 21:42:40] Log System Shutdown.
The error states that it is unable to open a file to parse. What file is it trying to open? I don't know how to fix this.

Thank you for your help!
Reply With Quote
  #8  
Old 06-27-2010, 05:33 PM
Jster22
Fire Beetle
 
Join Date: Jun 2008
Location: Earth
Posts: 26
Default

I have created a World Server Account in the User CP section. I added that to my eqemu_config.xml file. I ran ./start and received the same output with the same parse error posted above. My server did not appear on the server list page.

I don't understand what I am missing and why I can't get this running. I have followed the guides and the advice posted here. What else am I missing? I am looking forward to getting this server going. I would appreciate any continued help as I have been completely stuck! Or should I just give up?

Thanks for your help!
Reply With Quote
  #9  
Old 07-08-2010, 02:22 PM
Jster22
Fire Beetle
 
Join Date: Jun 2008
Location: Earth
Posts: 26
Default

I thought I would give this one last bump before I accept defeat.
Reply With Quote
  #10  
Old 07-08-2010, 07:13 PM
pfyon's Avatar
pfyon
Discordant
 
Join Date: Mar 2009
Location: Ottawa
Posts: 495
Default

Did you check file permissions and ownership?
Reply With Quote
  #11  
Old 07-08-2010, 11:42 PM
pfyon's Avatar
pfyon
Discordant
 
Join Date: Mar 2009
Location: Ottawa
Posts: 495
Default

I'm too tired/busy to figure it out tonight, but perhaps tomorrow after work I'll see if I can figure out what you did and what's wrong.
Reply With Quote
  #12  
Old 07-11-2010, 06:32 PM
Jster22
Fire Beetle
 
Join Date: Jun 2008
Location: Earth
Posts: 26
Default

Hi pfyon, I look forward to seeing if you figure out what I am doing wrong! I feel like I am very close. I am excited to get this setup once and for all.

I suck at setting up servers obviously but I would like to return the favor to you somehow. This goes for trevius and the others who have helped me. I clearly can't do it without you guys! If you guys have servers, maybe I could somehow help with the game play?
Reply With Quote
  #13  
Old 07-12-2010, 07:50 AM
pfyon's Avatar
pfyon
Discordant
 
Join Date: Mar 2009
Location: Ottawa
Posts: 495
Default

I think that most recent error is occurring because it's having issues with login.ini. Make sure it exists and the login server has read permissions set to it. I personally run EQEmuLoginServer from its own directory (not from the server root - when I set up my server, it wasn't functional yet).

What's ls -l look like for projecteqemu/EQEmuServer/EQEmuLoginServer/login_util/ ?
Reply With Quote
  #14  
Old 07-12-2010, 02:21 PM
Jster22
Fire Beetle
 
Join Date: Jun 2008
Location: Earth
Posts: 26
Default

Hi pfyon, login.ini exists in /projecteqemu/EQEmuServer/EQEmuLoginServer/login_util/login.ini.

user@comp:/home/eqemulator/projecteqemu/EQEmuServer/EQEmuLoginServer/login_util$ ls -l
total 44
-rw-r--r-- 1 root root 2796 2010-06-12 11:03 EQEmuLoginServerDBInstall.sql
-rw-r--r-- 1 root root 2524 2010-06-12 11:03 EQEmuLoginServerPostgreDBInstall.sql
drwxr-xr-x 6 root root 4096 2010-06-12 12:19 linux
-rw-r--r-- 1 root root 693 2010-06-12 14:13 login.ini
-rw-r--r-- 1 root root 298 2010-06-12 11:03 login_opcodes.conf
-rw-r--r-- 1 root root 298 2010-06-12 11:03 login_opcodes_sod.conf
drwxr-xr-x 5 root root 4096 2010-06-12 10:59 ms
-rw-r--r-- 1 root root 479 2010-06-12 11:03 tblLoginServerAccounts.sql
-rw-r--r-- 1 root root 469 2010-06-12 11:03 tblServerAdminRegistration.sql
-rw-r--r-- 1 root root 539 2010-06-12 11:03 tblServerListType.sql
-rw-r--r-- 1 root root 536 2010-06-12 11:03 tblWorldServerRegistration.sql
Reply With Quote
  #15  
Old 07-13-2010, 08:13 PM
pfyon's Avatar
pfyon
Discordant
 
Join Date: Mar 2009
Location: Ottawa
Posts: 495
Default

Hmm, well I'm not quite sure what's wrong with that.

Could you post the contents of login.ini (with sensitive info removed)? I'm not sure where else to go from here.
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 06:25 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