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-27-2008, 04:33 PM
edolfo
Fire Beetle
 
Join Date: Jun 2008
Location: Santa Cruz, CA
Posts: 2
Default Can't get beyond the login screen

Hey guys,

I set up eqemu version 0.7.0-1118 on an Ubuntu 7.10 box. I already have a webserver running on it (Apache + PHP + MySQL), so I skipped all instructions in regards to getting these things set up (Apache + PHP for a custom database editor from peq). Ideally I'd like to log in and play when I'm not at home (http://www.eqemulator.net/wiki/wikka...kka=MiniLogin), i.e. not within my internal network. I've cut back on that ambition to try to get it to work internally.

I can't get beyond the login screen.

My server is behind a router, but I've already set all relevant requests to forward on to my server. That is, I have the following ports set to forward on to my server (not all of which are relevant to eqemu):

80 (HTTP)
22 (SSH)
8080 (Custom music server)
8000 (Torrent interface)
17415 (slsk)
5999 (eqemu)
9080 (eqemu HTTP)

I have wine installed through the repositories, and it's running MiniLogin. Compilation of eqemu went through O.K. after following the guide here (http://www.eqemulator.net/wiki/wikka...anLinuxServer).

The server's internal IP address is 192.168.1.2
The server's external IP address is 63.249.90.243

I have configured everything clientside correctly (I think). I modified eqhost.txt and altered a shortcut to the Everquest executable. Yes, I am running the titanium edition, and no, I have not patched to the live version. Following are my configuration files:

eqhost.txt:
Code:
[LoginServer]
Host=192.168.1.2:5999
eqemu_config.xml:

Code:
<?xml version="1.0">
<server>
	<world>
	    <shortname>Dragonslayer</shortname>
	    <longname>Is Wayne Brady gonna have to choke a bitch?</longname>
	           
	<!-- Only specify these two if you really think you need to. -->
	    <!--<address>192.168.1.2</address>-->
	    <!--<localaddress>192.268.1.2</localaddress>-->
	   
	<!-- Loginserver information.  -->
	    <loginserver>
	        <host>192.168.1.2</host>
	        <port>5999</port>
	        <account></account>
	        <password></password>
	    </loginserver>

	    <!-- Sets the shared key used by zone/launcher to connect to world -->
	    <key>some long random key</key>

	    <!-- Enable and set the port for the HTTP service. -->
	    <http port="9080" enabled="true" mimefile="mime.types" />
	</world>

	<!-- Database configuration, replaces db.ini. -->
	<database>
	    <host>192.168.1.2</host>
	    <port>3306</port>
	    <username>root</username>
	    <password>*************</password>
	    <db>dragonslayer</db>
	</database>
</server>
LoginServer.ini:
Code:
### --- This file tells world.exe what loginserver to connect to.
### --- Leave the account and password field BLANK.

### --- Public Login is un-supported as is LAN playing. We reccomend using the EQEmu.net Loginserver ALWAYS.

### --- NOTE: Starting 6-1-2002, you can no longer use the word "Server" in worldname.
### --- NOTE2: the word "Server" is added to each server automaticly.

# READ README.TXT

[LoginServer]
loginserver=192.168.1.2
loginserver2=newlogin1.eqemulator.net
loginport=5999
loginport2=5999
worldname=Is Wayne Brady Gonna Have to Choke a Bitch?
worldaddress=192.168.1.2
locked=false
account=
password=

[WorldServer]
Defaultstatus=
Unavailzone=

[ChatChannelServer]
worldshortname=
chataddress=
chatport=

[LoginConfig]
ServerMode=StandAlone
ServerPort=5999
And here is something fairly disturbing: the contents of MiniLogin.log:

MiniLogin.log
Code:
LoginServer.ini read.
[Status] Loading opcodes..
Server mode: MiniLogin
Login server listening on port:5999
Failed to open port 5999.
Why would it fail to open that port?

If anyone has any ideas or needs more information, please let me know.

Thanks,

Edolfo
Reply With Quote
  #2  
Old 06-27-2008, 04:45 PM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default

Quote:
Originally Posted by edolfo View Post
Code:
Failed to open port 5999.
Why would it fail to open that port?
Maybe something else is already using that port. If you enter the command:

netstat -ap | grep 5999

Do you get any output ?
Reply With Quote
  #3  
Old 06-27-2008, 04:49 PM
edolfo
Fire Beetle
 
Join Date: Jun 2008
Location: Santa Cruz, CA
Posts: 2
Default

Ahh, this is interesting. It looks like something IS using that port:

Code:
edolfo@edolfo-server:~$ sudo netstat -ap | grep 5999
tcp        0      0 *:5999                  *:*                     LISTEN     13808/MiniLogin.exe
udp        0      0 *:5999                  *:*                                13808/MiniLogin.exe
Doh. Good idea though, not sure why I didn't think of that. Guess it's one of those days...
Reply With Quote
  #4  
Old 06-27-2008, 05:26 PM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

Your problem is common on Linux boxes. When you kill Wine, Minilogin remains in memory using port 5999. On my Gentoo test server, I ended up adding

killall -9 MiniLogin.exe

to my stop script and it took care of the problem. Your mileage may vary on Ubuntu, but I don't see any reason why that won't get it. If you need a full stop script, let me know.
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:04 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