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 05-11-2010, 07:46 PM
orkim
Sarnak
 
Join Date: Sep 2008
Location: -
Posts: 31
Default

kai,

That might be nice. It would be awesome and I'd just start a thread for it, but the editing of posts over X hours/days whatever old doesn't seem to work well.

What would be really nice is if that box is a linux box too so I could d/l and check the script a few times a week or something.

Let me know.

-ork
Reply With Quote
  #17  
Old 05-19-2010, 09:43 AM
Mirakus
Fire Beetle
 
Join Date: May 2010
Posts: 12
Smile

Thanks so much for your contributions/additions to this! Using this script (and some of the advice contained therein), is what was able to finally get me up and running.

My problems I was detailing in this thread: http://www.eqemulator.org/forums/showthread.php?t=31235 I believe were mostly caused by me having missing links/files in my server directory.

It is also worth noting to beginners that if they plan on running their own login server, they will have to link/copy login.ini (believe it's in source/EQEmuLoginServer/login_util/) to their server directory (at least that's what I had to do). It might sound obvious, but none of the Linux tutorials I was working through ever mentioned that. Also missing from the Linux tutorials were how to set up the database for the login server.

I think it would be a good idea to add to this script and possibly add even more automation for things such as sourcing databases, but I suppose that is highly dependent on one user's needs, and maybe unnecessary. If I make any such additions, I will be sure to repost it here.

Thanks again!
__________________
Mirakus of Tyr
Reply With Quote
  #18  
Old 01-03-2011, 01:33 AM
Xecuter
Fire Beetle
 
Join Date: Apr 2009
Location: washington
Posts: 13
Default

Wonderful script.

Still took a little effort but what an improvement on trying to find everything myself!
__________________
Reply With Quote
  #19  
Old 05-12-2011, 06:10 AM
cerbere
Fire Beetle
 
Join Date: May 2011
Posts: 9
Default

this script helped me a lot to get things done.
now using the start script generated here I got a little issue, but I'm not sure it's effectivly an issue.
when i type ./start in my terminal i got this (I didn't paste the beginning) :
Code:
+ touch .lock-world
+ '[' 1 ']'
+ sleep 15
+ ./persist_world
+ '[' '!' -e .lock-launcher ']'
+ touch .lock-launcher
+ '[' 1 ']'
+ ./eqlaunch zone
+ '[' 1 ']'
+ ./chatserver
lotso@benlaptop:~/eqemulator/server$ + ./mailserver
so it's weird in the sense it doesn't go back to my prompt and it's stuck after ./mailserver and at the same time it goes to my prompt after ./chatserver is issued.
is there a typo somewhere or I'm doing something wrong ?
here is the part of my start script that corresponds to the output above, I dont see anything that would cause it to go back to my prompt after ./chatserver :

Code:
  # wait for shared memory to load
  sleep 15
fi

# Start up the official launcher.
if [ ! -e .lock-launcher ]; then
  # Create our lock file.
  touch .lock-launcher

  # Launch!
  ./eqlaunch $LNAME 2>&1 > logs/launcher &
fi

# Determine if we should start the chat server.
if [ $USE_CHAT_SERVER ]; then
  ./chatserver 2>&1 > logs/chatserver &
fi

# Determine if we should start the mail server.
if [ $USE_MAIL_SERVER ]; then
  ./mailserver 2>&1 > logs/mailserver &
fi
Reply With Quote
  #20  
Old 05-12-2011, 01:12 PM
rencro
Hill Giant
 
Join Date: Sep 2008
Location: So. California
Posts: 219
Default

On windows chatserver and mailserver are on the same port, but in linux they need their own ports.. Check you xml config file to see if you have chatserver and mailserver on same port
Reply With Quote
  #21  
Old 05-18-2011, 02:59 PM
orkim
Sarnak
 
Join Date: Sep 2008
Location: -
Posts: 31
Default

Quote:
Originally Posted by cerbere View Post
this script helped me a lot to get things done.
now using the start script generated here I got a little issue, but I'm not sure it's effectivly an issue.
when i type ./start in my terminal i got this (I didn't paste the beginning) :
Code:
+ touch .lock-world
+ '[' 1 ']'
+ sleep 15
+ ./persist_world
+ '[' '!' -e .lock-launcher ']'
+ touch .lock-launcher
+ '[' 1 ']'
+ ./eqlaunch zone
+ '[' 1 ']'
+ ./chatserver
lotso@benlaptop:~/eqemulator/server$ + ./mailserver
so it's weird in the sense it doesn't go back to my prompt and it's stuck after ./mailserver and at the same time it goes to my prompt after ./chatserver is issued.
is there a typo somewhere or I'm doing something wrong ?
here is the part of my start script that corresponds to the output above, I dont see anything that would cause it to go back to my prompt after ./chatserver :
cerbere, glad to see someone is getting use out of the script.

looking at that output your prompt is appearing again. you just need to hit enter a time or two. on the last line, the prompt is printed before it outputs th + ./mailserver line. (lotso@benlaptop)

when i wrote this script, i didn't really try to make sure all the output was flushed and such before returning so its just an artifact that can be safely ignored. it may not appear depending on your terminal type, if i recall correctly.

regarding the ports, you can run either the mailserver + chatserver (the older clients work with these) or if you're using one of the newer supported clients you would be better to run ucs. it consists of both the mail and chat functionality within a single server. it will be one set (mail+chat) or the other (usc) and you WILL NOT want to run all of them together.

i hope that helps!

-ork
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 09:23 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