![]() |
Linux server fails to start - help please Our clan was planning to move our server to a new provider. Our existing provider runs the SOF2 Server on Windows and my test server is also a Windows Server. However, the new provider is running Linux. When the server company attempts to start the server, the error "invalid ELF header" (complete log pasted below) is generated toward the end of the load process. A normal windows startup loads the sof2mp_game.qvm file at this point. While not very familiar with Linux, the information I have gathered thus far points to a problem with the shared library libcxa.so.1. According to the readme.txt, this file should be copied to the /usr/lib directory. While I assume the lib directory is configurable, our NOOB server company has copied the file to /home/servers/sof2-173, basically the same location as the sof2ded file. Since it looks as if I need to figure this out on my own, I was hoping for some insight into my issue. Thanks, glory ---------------------- 66118 files in pk3 files Loading shader text ..... ..... 5586 shader definitions loaded ----------- Loading MATERIALS ------------ 32 material definitions loaded. ------------------------------------------ Loading dll file sof2mp_game. Sys_LoadDll(/home/servers/sof2-173/osp/sof2mp_gamei386.so)... Sys_LoadDll(/home/servers/sof2-173/osp/sof2mp_gamei386.so) failed: "/home/servers/sof2-173/osp/sof2mp_gamei386.so: invalid ELF header" Sys_LoadDll(./sof2ded/osp/sof2mp_gamei386.so) failed: "./sof2ded/osp/sof2mp_gamei386.so: cannot open shared object file: Not a directory" ----- Server Shutdown ----- Resolving master.sof2.ravensoft.com master.sof2.ravensoft.com resolved to 63.146.124.45:20110 Sending heartbeat to master.sof2.ravensoft.com Sending heartbeat to master.sof2.ravensoft.com --------------------------- Shutting down cmShaderTable ..... Sys_Error: Sys_LoadDll(sof2mp_game) failed dlopen() completely! |
Re: Linux server fails to start - help please The libcxa.so.1 file has to go in /usr/lib and you need root access on the server to put it there.hope this helps |
Re: Linux server fails to start - help please Thanks for the help, i've forwarded the information to my server company. I have one other linux noob question. If a linux server is running multiple instances of SOF, is there a /usr/lib directory for each. Or do multiple servers essentially leverage the same libcxa.so.1 file. |
Re: Linux server fails to start - help please Quote:
|
Re: Linux server fails to start - help please you can use the same libcxa.so.1 file for multiple servers. |
Re: Linux server fails to start - help please Here is some additional information I was able to find regarding my issue. Here is a post from ravengames. Now if I can just get in touch with my server company, I might be able to test these solutions. :) glory A nasty problem this is. Untill you know the answer. And i know the answer after hours and hours of trying to get it to run.... DONT RUN IT AS ROOT. If you run it as root you get this error, try another user and its gone :S they could of mentioned something in the readme for people, like me, who test it under root Regards Alex This answer is brought to you by GameServerHost.nl ;) |
Re: Linux server fails to start - help please ya you never want to run it as root for security reasons too. use a normal user account . |
| All times are GMT -7. |
Powered by vBulletin®
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.