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 07-26-2008, 06:15 PM
thepoetwarrior
Discordant
 
Join Date: Aug 2007
Posts: 307
Default

Does the spells_us.txt and spells_en.txt need to be a certain file format for Linux? Spells not loading, and I have them in the correct directory.
Reply With Quote
  #2  
Old 07-26-2008, 07:01 PM
thepoetwarrior
Discordant
 
Join Date: Aug 2007
Posts: 307
Default

was max number of spells. Looks like windows server can handle over 10k spells, but Linux server under 10k spells... found out thru experimenting. Good to note differnces between windows/linux. Thanks for reading my self responding thread/topic
Reply With Quote
  #3  
Old 07-26-2008, 09:05 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Oh crap! You are doing it lol! You should have let me know!

Ok, here are a few tips:

Casting issue should be only for detrimental spells and that is because you didn't install the .map files in your home/eqemu/server/maps directory.

And, you won't see the spam in the window the same as you do in windows. Instead, everything gets logged into separate log files in your /home/eqemu/server/logs directory. So, if you want to watch the spam go by to see if there are any errors, you can do this:

Code:
cd /home/eqemu/server/logs
tail -f *.*
And, if you just want to look for errors, you could run this tail command instead:

Code:
tail -f *.* | grep ERR
When you start the server, you use the ./start command as you already know. And, when you do a reset, you can shut down the server in game using the #worldshutdown command and then go to your command prompt and run the ./stop command. And you will probably have to use the chmod on the stop command like you did for the start command. Basically, the stop command ends all of the processes and I think clears out RAM and stuff.

One thing to note is that once you have your server running smoothly, you will never need to do another actual reboot of the PC again lol. Only the server needs to be reset every now and then, not the PC itself.

Max number of spells on the server isn't an issue for Windows or Linux. Both server types can use unlimited numbers of spell IDs. It is the client that is limited to 9999 as the max spell ID number. And that doesn't change from a Linux to Windows server.

Lemme know if you have any other issues. Following the wiki isn't too bad really. The only complex part IMO is getting your tools working from another Windows PC on your LAN. But, once you get mysql setup correctly and make an account for the windows PC on your LAN, it isn't bad. I think the worst part for me is always getting Windows and Linux to share files so I can map to the quests directory.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #4  
Old 07-26-2008, 10:10 PM
thepoetwarrior
Discordant
 
Join Date: Aug 2007
Posts: 307
Default

Bear with me, Im awake maybe 30+ hours now pulling my hair out. Making some progress.

Actually, I had map files in the correct place.

I didnt know about tail, but good to know!

I used chmod on start, persit_world, and stop. That fixed it.

I use ./start, then while logged in EQ Client as admin I do #worldshutdown, then after it shut down I do ./stop. So that part is working.

Now for the problems driving me crazy:

With EQServer working on Debian Linux, and imported the entire windows db from a sql file thru mysql, seems most of the db gets loaded when I do ./start such as peoples chars and inventory, except its not reading the rule_values table! Regen caps are not correct, corpses are poofing, and people can scribe spells up to 70 but lose their 66-70 spells when zoning which might be because of the default level 65 cap.

I went into mysql on LinuxPC and created an account for my windows pc, using the windows local ip 192.x.x.x, with made up user/pw. I've done this before between 2 window PC's so I know how to do that, to use editors like Georges tools or Navicat from a differnt PC. So I go on the WinPC to use GUI Editors to log into the LinuxPC, but connection failed! Weird.

So I do reverse. I make ip-user-pw account in mysql on window machine for the linux machine to use. I then edit the eqemu_config.xml on LinuxPC to reflect the database info (ip, user, pw, db name) for mysql to connect to the db on WindowsPC. Hope makes sense,

So what I get is EQ Server running on Debian Linux, and using the database from the WindowsPC, not from its own LinuxPC! At least i can now edit the database on windows with localhost for ip thru Navicat or Georges tools, etc.

So I double check database on LinuxPC to see that rule_values imported, and they did. So why is Linux not using the rule_values from the database off its own machine?

Also, why can LinuxPC log into the Windows DB but the WindowsPC cannot log into the LInuxPC DB? Seems like a 1-way street there almost. When in mysql Im creating accounts with the correct IP's (192.168.1.x) etc so I know how to do that, but seems to work in only 1 direction, Linux->Win.

1) My WinPC cant remote into LinuxPC but the Linux can remote into the WinPC.

2) rule_values I verified to be on LinuxPC by using mysqldump then viewing, but the Server is not reading those values. Its like Linux can only access most of its own database, just not rule_values.

Any ideas?

Did a lot for one day here.
Reply With Quote
  #5  
Old 07-27-2008, 07:21 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Well, from the wiki that AndMetal made and that I added some steps to, you can find how to set mysql on linux to allow remote connections from your windows PC in this section:

http://www.eqemulator.net/wiki/wikka...er#MySQLRemote

Make sure you follow the section directly below that as well:

http://www.eqemulator.net/wiki/wikka...LRemoteAccount

You have to configure access to the mysql database running on the linux PC by adding an account for the windows PC:

Code:
GRANT ALL PRIVILEGES ON *.* TO 'eqemu'@'192.168.1.%' IDENTIFIED BY 'my-new-password';
And then the windows PC will have to have Navicat or whatever you use set to use that account that you just created. It should be set to eqemu and whatever password you set. If your LAN uses different IPs than the 192.168.1 network, then you will need to adjust that. You can leave it with the % sign in there and that will just allow all PCs on your LAN to access your database, but still block anything from outside.

You also have to change the text file I mention in the first line (my.cnf) otherwise, Linux won't allow any access at all from outside sources. And, make sure you set the Bind Address to the IP of your Linux PC.

That should get you access to your database on the Linux PC from your Windows PC like you will need.

As for your rules, I am not exactly sure why they wouldn't load, because they should all carry over when you did the database move and it sounds like they did. The only thing I can think of off-hand is that you might want to check your Rule_Sets table and make sure that the number of your default rule set (or whichever set you normally use if you made a custom one) is the same as what is being set in your Rules_Values table to enable the rules.

In my case, my default rule set is 1, and so to enable rules, I have to set them to 1, as by default they are set to 0, which basically means the rule is ignored. Really, this should carry over and work just like it does on your windows database, but that is the only reason I can think of that would cause that. Otherwise, I think there is a command to set your rules in game, which I don't know the command name offhand, but maybe it is worth a shot if you want to try that.

Sounds like overall, your install didn't go too bad =) It took me about a week of tweaking to get my linux server working perfectly before I moved my database over and started running the server from it. But, now I have rebuilt Linux 3 or so times, so I got the hang of it hehe. And, I didn't rebuild because there were issues, I rebuilt because I was moving it back and forth between PCs. Since I went to Linux, there have been very few issues. Though, you might want to consider getting a UPS power backup at some point to protect your OS install. If your power hits and brings your Linux PC down, it can sometimes be nasty to get Mysql running properly again, but normally there aren't many issues with that even.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #6  
Old 07-27-2008, 11:25 AM
thepoetwarrior
Discordant
 
Join Date: Aug 2007
Posts: 307
Default

I'll try to get a battery backup for the PC's incase power hits.

I already did the edit before on my.cnf and added the sql line to add a user with all privilelges, double and triple checked the ip's etc, but still not working. Maybe Im not getting the correct ip? Its on 192.168.1.x

EQ Server is on Linux PC but the DB is being pulled from the windows PC.

Oh, when I started up EQ Server yesterday, it was using around 400 meg ram, but now its almost 600 meg ram used. Does this continue to go up forever eventually requiring to restart the server, just like the Windows Pagefile problem?

Well, going to sleep, back to work tonight. Will have to try again next Saturday.

Thanks for the reply Trevius.
Reply With Quote
  #7  
Old 07-27-2008, 02:57 PM
Jack Daniel
Fire Beetle
 
Join Date: Apr 2008
Location: USA
Posts: 18
Default Stuck on Debian Install Guide ./start

on this step what directory do you put the unzipped and extracted files


Map Files

Download Map Files
Map files∞

Maps.tar.gz∞
new_maps.zip∞

Install Map Files
tar xzf Maps.tar.gz
unzip new_maps.zip

do they go in sourse or server

Last edited by Jack Daniel; 07-27-2008 at 11:00 PM.. Reason: update
Reply With Quote
Reply

Thread Tools
Display Modes

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 02:25 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