I'm trying to set up Azeroth core server, but while ./authserver
works without any problem, ./worldserver
returns error:
Map file './maps/0004331.map': does not exist!
- DataDir is set up.
- I tried reinstalling data files.
- I tried updating AC core.
The expected result was that the worldserver
would boot without trouble, but it returned this error.
EDIT: I had to change "DataDir" also in "worldserver.conf.dist" and it "worked" - it pointed right directory, however it still couldn't detect map files. However after a while with changing DataDir variable inside "worldserver.conf.dist" it started displaying:
ERROR: Invalid or missing default configuration file : /home/user/azerothcore-server/etc/worldserver.conf.dist
So i'm stuck again, any idea what the heck is going on, or maybe i should just reinstall everything with docker?
EDIT 2: Solved problem from latest edit with updating AC, but error Map file './maps/0004331.map': does not exist!
persists. Running it with sudo returns Segmentation fault (core dumped)
. Also Using DataDir ./
, which is a default value, even when DataDir is changed.
EDIT 3: Okay, now it reads worldserver.conf, i just had to modify permissions of all files using
find $HOME/azerothcore-server -type d -exec chmod 755 {} \;
Also had to change permissions of data subfolders manually by doing chmod 755 (foldername)
. Now Segmentation fault (core dumped)
error appears, no idea what's wrong, but right now this question is solved, i'll open a new one for this.
In your
worldserver.conf
you should set theDataDir
parameter with the absolute path of your data directory.Example:
Also you are NOT supposed to edit or delete the
worldserver.conf.dist
Edit: also make sure that the permissions of the data directory are properly set