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

Archive::Linux Servers Archive area for Linux Servers's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 06-05-2002, 03:57 PM
bot403
Sarnak
 
Join Date: May 2002
Posts: 52
Default Daemonize!!

this would probably require too much work but i think a neat feature would be letting the world server daemonize on Linux. This would let me not need to have an openshell since my computer is downstairs and i either have to SSH in, or run it down there without being able to see the output. and where is the option to output to a logfile for the worldserver :p

Either of those features would be nice.
Reply With Quote
  #2  
Old 06-05-2002, 08:32 PM
zorprime
Fire Beetle
 
Join Date: Jun 2002
Posts: 21
Default Of course you can...

Set up a crontab to call zone for you and check it every couple of minutes to keep it running. Set the uid for nobody so in case there's some unforseen bug you don't get rooted (that is of course if zone can run on any other userid besides root. I don't know, haven't delved too far into it.
Reply With Quote
  #3  
Old 06-06-2002, 12:32 AM
bot403
Sarnak
 
Join Date: May 2002
Posts: 52
Default

that still doesnt mean i can run the worldserver without a shell. If the calling shell exits, the worldserver also exits. THe zoneservers daemonize fine....i think....
Reply With Quote
  #4  
Old 06-08-2002, 05:31 AM
theCoder
Sarnak
 
Join Date: Jan 2002
Posts: 90
Default

It's not a true daemon, but you can download the script I posted in the NAT thread (it's near the end, eqemud.zip) to simulate it. It'll probably work for what you need to do, but you'll probably have to modify it just a little bit to meet your needs.
Reply With Quote
  #5  
Old 06-08-2002, 07:46 AM
zorprime
Fire Beetle
 
Join Date: Jun 2002
Posts: 21
Default It's been a while so I may be wrong...

Why does world need a shell? If you just called it in a script wouldn't it send its output to stdout which in this case would be syslogd?
Reply With Quote
  #6  
Old 06-08-2002, 10:14 AM
bot403
Sarnak
 
Join Date: May 2002
Posts: 52
Default

no because the script is launched in the same shell you use to call it. The script I created to launch and check on the servers still considers the parent shell stdout, it still outputs to the screen. I could redirect all the output, but that doesnt change the fact it launched from a shell.
Reply With Quote
  #7  
Old 06-08-2002, 01:14 PM
PrivateIdaho
Fire Beetle
 
Join Date: Jun 2002
Posts: 23
Default one thing to consider

I run into zone servers being "hung" requiring a CTRL-C often.. daemon-izing would require some sort of "heartbeat" that a world server would need to answer..

If the world server didn't answer, kill it and move on.
Reply With Quote
  #8  
Old 06-09-2002, 02:23 AM
bot403
Sarnak
 
Join Date: May 2002
Posts: 52
Default

I notice if zoneservers are killed then they are removed from the worldservers list of good servers. I just created a script to keep all the servers running if they segfault, that might help alot of ppl
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:35 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