Jump to content

mangosd.exe,realmd.exe close immediately, no error log (lots of info from me inside!)


untitledone

Recommended Posts

Posted

Hello, I am trying to set up a MaNGOS Zero server.

I am attempting to install MaNGOS Zero on a dedicated server box in my house (only used for hosting game servers).

The machine is running Windows 7 Professional Service Pack 1 and is a fresh install as of June 2015.

It is running dual Intel Xeon X5570 (4 cores 8 threads x 2 (8C 16T)) and 6GB of Kingston Hyper-X DDR3 1600 CAS 9.

I remote into the server using windows Remote Desktop Protocol (RDP) from another machine using the same operating system.

-----------------

Installed items:

MySQL: mysql-5.5.46-winx64.msi

SQLyog: SQLyog-12.0.9-0.x64Community.exe

Git Bash: Git-2.6.3-64-bit.exe

Cmake: cmake-3.3.0-win32-x86.exe

OpenSSL: Win64OpenSSL-1_0_2d.exe

Visual Studio 2013 redist x64: vcredist_x64.exe (installed first, didn't work with ExtractResources.sh)

Visual Studio 2013 redist x86: vcredist_x86.exe (worked)

Microsoft Visual Studio 2012 Express

-----------------

I had a few problems I fixed during setup that I will detail below just in case someone else has the same problems:

My MySQL install kept breaking and causing me to reinstall the application every restart. This was a simple problem caused by my desire to clean up the database. I was deleting the default data entries "performance_schema", "mysql" and "test". Deleting these files broke my install :D I stopped doing that after breaking it 2-3 times. "test" can be deleted without issue as far as I can tell. Those did not exist in a database from an older server I have running on my laptop so I thought I could delete them. Lesson learned.

I could not get the ExtractResources.sh to work saying something about the other files erroring. I tried to run each sub file that it called. It would error out with somethingsomething 120.dll. After searching this DLL I discovered it was part of Visual Studio 2013 redist. However, I had already installed that and wondered why it wasn't working. I installed the 64bit version at first and then tried the 32bit version. The 32bit version worked.

For whatever reason, after getting the ExtractResources.sh to run, it would blast through everything instantly stating it was finished. It created the correct folders, but they were empty. I don't remember how I fixed this, but I got it to run reliably and it spent many minutes extracting the files. It created about 2GB of output data.

After all that, I was ready to run the server after compiling the server (more on this later). I ran realmd.exe and it gave me an error "libmysql.dll" missing or something. I was sure that mysql is installed and I can see the database in SQLyog. Googling came up with the answer of just copying that dll from my MySQL install folder to my windows folder would fix it. I copied it and it seemed to have worked.

-----------------

Now, on to my current problem. Whenever I try to run mangosd.exe or realmd.exe, it will close instantly and I don't see an error log anywhere. Without an error log, I cant even begin to figure out the problem.

I tried the files server files from MangosZero_PlayerBot_Develop21_Release_x32_August2015 and my own compiled server files from the repository (I even compiled twice into two different folders). All three attempts give the same issue of insta-crash with no logs.I would rather not have to re-install everything and start from scratch on x86.

I used MaNGOS_EasyBuild.exe v1.5

I build it using "Rebuild Solution" in Visual Studio Express 2012.

Here are images of what I see and what I selected before building: [ATTACH=CONFIG]268[/ATTACH] [ATTACH=CONFIG]269[/ATTACH]

I copy the files from the bin/debug folder to my server install folder. I find it weird that it is in the "debug" mode when I selected "release" in EasyBuild with no "release" folder (not even an empty one).

That is where I am at so far. If you have any more questions or answers for me, please let me know!

Posted

Wow, that was quick. Found this: https://www.getmangos.eu/archived-help/10158-solved-mangosthree-realmd-exe-mangosd-exe-fail-start.html

I forgot my file extensions were hidden, so it had mangos.conf.dist I didn't see the .dist because for some reason file extensions were hidden again and I only saw mangos.conf which opened fine in notepad.

realmd.exe runs now and stays open. mangosd.exe crashes instantly still, but now I have logs to dig through.

I will update as I go.

Posted

After taking a little break, I came back at it. It was some sort of database error. It couldn't find the database. I was running it off of a newer compile I did in a separate folder.

For shits and giggles I decided to run it out of the folder I originally made (copying in the config files from the second install). What do you know, it worked!

Now I need to make an account and see if I can log in with a client from my desktop. I am not sure how to make an account anymore, so I will look that up. The aibot script seems to be doing well and has populated the the account table with about 50 accounts and 450 individual characters.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use