zone not loading - host name error / file not found
I'm running Redhat Linux 7.1. Installed all the mysql stuff fine, checked that login worked on the proper user and ensured that all tables and permissions were OK.
I compiled world and zone, and then followed all the instructions.
World ran fine. Put out what it should, no errors.
However, when I ran zone, I got:
Using database 'eq' at localhost
Loading items & NPCs....done.
Loading guild ranks...done.
Loading faction data...done.
Unable to get host name. Error: No such file or directoryInitWorldServer failed
Entering sleep mode.
(No typos above, including newlines)
I've been playing around with my configs, and now the world server seems to be giving incorrect output:
LoginServer.ini read.
Using database 'eq' at localhost
Loading items...done.
Loading guild ranks...done.
World server listening on: port 9000
Connected to LoginServer: eqlogin.eqemu.org:5999
Notice the missing IP before "port 9000". World used to return this output but with the IP. Now it won't. I don't know if that is because I changed my configs or what. I can't figure any of this out.
My configs:
[Database]
host=localhost
user=eq
password=mypass
database=eq
[LoginServer]
loginserver=eqlogin.eqemu.org
worldname=Tower of Dalbane
locked=false
account=
password=
worldaddress=my external ip
loginport=5999
Regarding what follows: I have a dir named world, so my freshly built world server uses .exe. zone is the same way. Again, these ARE linux binaries.
I start the server by:
./world.exe
./bootzones.sh
bootzones.sh file:
./zone.exe . 24.28.75.192 7995 24.28.75.192
./zone.exe . 24.28.75.192 7996 24.28.75.192
./zone.exe . 24.28.75.192 7997 24.28.75.192
./zone.exe . 24.28.75.192 7998 24.28.75.192
./zone.exe . 24.28.75.192 7999 24.28.75.192
24.28.75.192 is my external ip.
Network setup:
EQEmu is hosted on a linux box with a static ip on my home network. A linksys router serves as a gateway to the outside world. I have port 9000 forwarded to my linux box from my router. I also have a dyndns.org address linked to my ip.
I've tried using all three (my internal ip, my current external ip, and my dyndns address) for worldaddress to no avail.
I've used multiple combinations of things in my bootzones file.
I have, however, never used any localhost or 127.etc. addresses except in the db.ini config since I'm not using a minilogin server (I'm on linux... not win32).
I'm pretty clueless on this one, I've searched the website, been over the readme a few times, and went over quite a bit of the forums.
Another thing - how are all you linux folks doing this? I'd like a way to launch this with one command, preferably a command launched from the /etc/rc.d/init.d/ dir at bootup. Any help here?
Thanks folks! =D
|