Notices

Go Back   FileFront Forums > The Games! > Soldier of Fortune Series > SoF Problems, Errors and Help

Remember Me?

SoF Problems, Errors and Help
Soldier of Fortune 1 or 2 not working? Need Help? Post all your problems here!

Reply
 
LinkBack Thread Tools Display Modes
Old June 17th, 2004   #1
I'm too cool to Post
 
Join Date: January 7th, 2004
9 posts, 0 likes.
Rep Power: 0
gloryhole is a n00b
Angry 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!
gloryhole is offline   Reply With Quote
Old June 17th, 2004   #2
I'm too cool to Post
 
Join Date: June 17th, 2004
Status: Available
3 posts, 0 likes.
Rep Power: 0
Sacry is a n00b
Default 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
Sacry is offline   Reply With Quote
Old June 17th, 2004   #3
I'm too cool to Post
 
Join Date: January 7th, 2004
9 posts, 0 likes.
Rep Power: 0
gloryhole is a n00b
Default 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.
gloryhole is offline   Reply With Quote
Old June 17th, 2004   #4
AcE
.............
 
AcE's Avatar
 
Join Date: November 8th, 2003
Location: England, South East.
Status: Wanting more beer
3,723 posts, 0 likes.
Rep Power: 29
AcE has nothing to be ashamed ofAcE has nothing to be ashamed of
Default Re: Linux server fails to start - help please

Quote:
Originally Posted by gloryhole
i've forwarded the information to my server company. .
Your server company should know these things to begin with

Retired Staff
www.pbbans.com

AcE is offline   Reply With Quote
Old June 17th, 2004   #5
I'm too cool to Post
 
Join Date: June 17th, 2004
Status: Available
3 posts, 0 likes.
Rep Power: 0
Sacry is a n00b
Default Re: Linux server fails to start - help please

you can use the same libcxa.so.1 file for multiple servers.
Sacry is offline   Reply With Quote
Old June 17th, 2004   #6
I'm too cool to Post
 
Join Date: January 7th, 2004
9 posts, 0 likes.
Rep Power: 0
gloryhole is a n00b
Default 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
gloryhole is offline   Reply With Quote
Old June 17th, 2004   #7
I'm too cool to Post
 
Join Date: June 17th, 2004
Status: Available
3 posts, 0 likes.
Rep Power: 0
Sacry is a n00b
Default 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 .
Sacry is offline   Reply With Quote
Reply

Bookmarks

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux Server wont start sof2ded.. GlobalFusion SoF Problems, Errors and Help 10 February 27th, 2010 08:42 AM
Help start linux dedicated server banditoooo SoF Problems, Errors and Help 4 October 19th, 2004 05:16 AM
I need Help to start a Linux Server! |l|lll l|l|llll| Soldier of Fortune 2 General Yib-Yab (Off Topic) 0 September 1st, 2002 04:48 PM
Demo fails to start install FF|Pro-Filer General Gaming 1 December 1st, 2000 02:55 PM


All times are GMT -7.







   
 





This site is part of the Defy Media Gaming network

The best serving of video game culture, since 2001. Whether you're looking for news, reviews, walkthroughs, or the biggest collection of PC gaming files on the planet, Game Front has you covered. We also make no illusions about gaming: it's supposed to be fun. Browse gaming galleries, humor lists, and honest, short-form reporting. Game on!

FileFront Forums - Terms of Service - Top
Theme Selection
Copyright © 2002-2016 Game Front. All rights reserved. Powered by vBulletin®
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
Forum Theme by Danny King (FileTrekker), Sheepeep & Graeme(rs)
RSS Feed Widget by FeedWind