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-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
  #2  
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
  #3  
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
  #4  
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
  #5  
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
  #6  
Old 07-08-2010, 05:19 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Maybe a Windows server would be better for you if you have too much trouble with Linux. You could even use the AX repack on Windows to make it pretty quick and simple:

http://www.eqemulator.org/forums/showthread.php?t=28190
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #7  
Old 07-08-2010, 07:17 PM
Jster22
Fire Beetle
 
Join Date: Jun 2008
Location: Earth
Posts: 26
Default

trevius. I unfortunately don't have access to a windows machine and can't afford to buy the OS at this time. I'm just curious what I am currently missing . I have followed the guides and the advice in this thread and can't get it running. The server logs provide clues but not enough to debug (ie Config::Parse(), file was unable to be opened for parsing.)

pfyon, from what I understand, running command with "sudo" executes it as root. Is this sufficient? But no I have not check permissions/ownership.
Reply With Quote
Reply

Thread Tools
Display Modes

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 08:15 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