Page 1 of 1
Error setting up server for Linux
Posted: Sun Jan 20, 2013 11:24 pm
by tibbles
I tried to follow the guide listed here
http://kile.dyndns.info:8765/index.php? ... inux_Setup both from a clean install of Fedora and from the downloaded VM image provided at the end but I get the same 2 errors, and I'm not sure if they are related.
First error I get is when I try to compile using the make command...
Code: Select all
src/map/zoneutils.cpp:92:22: error: unable to find the string literal operator 'operator"" CL_RESET
make:*** [dsgame-zoneutils.o] Error 1
Now I don't seem to have any errors after this point, and I saw on the forums from back in July someone else had that problem as well but never replied for further help,
reference.
I continued on with the guide and followed the rest of the steps and everything appears to be working until I actually try to start the dssearch server. When I do that I get this error
Code: Select all
pthread_attr_init: No such file or directory
====================================================
DSSearch-server
====================================================
Any idea what I might have missed?
Re: Error setting up server for Linux
Posted: Mon Jan 21, 2013 7:44 am
by bluekirby0
The search server error should be harmless.
As for the build error, it should be fixed now:
http://code.google.com/p/onetimexi/source/detail?r=2302
Re: Error setting up server for Linux
Posted: Tue Jan 22, 2013 12:12 am
by tibbles
Perfect! Thanks for the quick reply.
I did have another question relating to the updating for the build error. I don't exactly see any guide for how to go about updating to the newest revision. I see there was kind of a guide on the old forums, for Windows, but since I was not a member of those boards and we have stopped using them, it appears I cannot register to see any of the boards and am stuck just looking at the Google cached versions of few I can see.
Seems like it would basically just be to use svn to download the files again, and then execute all the files in the /sql/ folder, and then rebuild and update the zoneIP tables, but I'm not entirely sure that is correct.
Is there anyway to quickly walk me through how I would update an existing server in linux and/or get access to at least view the old forums which seem to have a lot of the basic information on them that I seem to be unable to find here?
Sorry for the rather noobish questions but just trying to understand exactly what needs to be done and can't seem to find the answers to know I won't be messing stuff up.
Re: Error setting up server for Linux
Posted: Tue Jan 22, 2013 12:33 am
by kjLotus
tibbles wrote:Perfect! Thanks for the quick reply.
I did have another question relating to the updating for the build error. I don't exactly see any guide for how to go about updating to the newest revision. I see there was kind of a guide on the old forums, for Windows, but since I was not a member of those boards and we have stopped using them, it appears I cannot register to see any of the boards and am stuck just looking at the Google cached versions of few I can see.
Seems like it would basically just be to use svn to download the files again, and then execute all the files in the /sql/ folder, and then rebuild and update the zoneIP tables, but I'm not entirely sure that is correct.
Is there anyway to quickly walk me through how I would update an existing server in linux and/or get access to at least view the old forums which seem to have a lot of the basic information on them that I seem to be unable to find here?
Sorry for the rather noobish questions but just trying to understand exactly what needs to be done and can't seem to find the answers to know I won't be messing stuff up.
more or less correct. you don't have to rerun every sql query though, only the ones that have changed (and by extension, you only have to update the zone IPs again if the zone_settings table changed).
the order isn't important though (as long as you do the svn update first, of course)
edit: oh, and be careful with char_ tables. they store all your character data and rerunning the .sql query drops the table before recreating the default table
Re: Error setting up server for Linux
Posted: Tue Jan 22, 2013 10:29 am
by anglos
Just out of curiosity, why does the search server require a diff patch on it while the game and login servers do not?
Re: Error setting up server for Linux
Posted: Tue Jan 22, 2013 11:11 am
by bluekirby0
It was written in a way that is not portable at all and the means I chose to fix the issues with was kind of messy (but effective). I do intend to actually fix it properly someday but for now it works.
Re: Error setting up server for Linux
Posted: Tue Jan 22, 2013 11:34 am
by anglos
bluekirby0 wrote:It was written in a way that is not portable at all and the means I chose to fix the issues with was kind of messy (but effective). I do intend to actually fix it properly someday but for now it works.
Makes sense. Thank you very much!