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 12-05-2012, 07:08 PM
revloc02c's Avatar
revloc02c
Hill Giant
 
Join Date: Aug 2010
Location: UT
Posts: 215
Default Executing commands on a running server from the command line

When the server is running are there commands that you can execute to do stuff. Like see how many active players there currently are. Or broadcasting a server wide message.
Reply With Quote
  #2  
Old 12-05-2012, 08:27 PM
c0ncrete's Avatar
c0ncrete
Dragon
 
Join Date: Dec 2009
Posts: 719
Default

you need telnet enabled in your config at the very least. i -think- there is something you have to set on individual accounts to allow for telnet access as well, but i can't remember and am not finding it easily.

you can probably do what you want to do via http as well, and that is disabled by default too.
Reply With Quote
  #3  
Old 12-05-2012, 08:43 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

In the 'account' table, you need to enter an unhashed password for each account that you wish to have access.

Then just access it in a web browser using <ip_address>:9000
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
  #4  
Old 12-05-2012, 08:51 PM
c0ncrete's Avatar
c0ncrete
Dragon
 
Join Date: Dec 2009
Posts: 719
Lightbulb

that was the other thing i couldn't remember.
Reply With Quote
  #5  
Old 12-05-2012, 10:21 PM
sorvani
Dragon
 
Join Date: May 2010
Posts: 965
Default

you can enter a hashed password there FYI
oh and it is port 9080 for the web interface.
Reply With Quote
  #6  
Old 12-05-2012, 10:38 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

sorry about that! yeah, I was off a bit..and I don't just mean the port
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
  #7  
Old 12-07-2012, 12:49 AM
revloc02c's Avatar
revloc02c
Hill Giant
 
Join Date: Aug 2010
Location: UT
Posts: 215
Default

So say my server reboots every night. Is there a way to automate a system wide message that the server is coming down and people need to log off. I know I've seen this on other servers. I thought there might be commands one could execute from the command line console where the server is running, but maybe not.

Anyone know how to automate a system message before a automatic server reboot takes place?
Reply With Quote
  #8  
Old 12-07-2012, 12:59 AM
c0ncrete's Avatar
c0ncrete
Dragon
 
Join Date: Dec 2009
Posts: 719
Default

you can automate telnet and http connections via almost any programming language. you could use perl's Net::Telnet or Expect modules to write a small script that is scheduled to fire off prior to your reboot.
Reply With Quote
  #9  
Old 12-07-2012, 07:42 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

Check out this thread:

http://www.eqemulator.org/forums/sho...hutdown+script
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
  #10  
Old 12-08-2012, 01:58 PM
revloc02c's Avatar
revloc02c
Hill Giant
 
Join Date: Aug 2010
Location: UT
Posts: 215
Default

Perfect. Thanks for the link Uleat.
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 11:49 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3