Jump to content

Home

bsd dedicated problems


wokka[eu]

Recommended Posts

I've got a freebsd 4.5 release box with the linux 6.1 compatibility installed that is having some weird problems with the 1.03a jk2 dedicated binary.

 

This same box runs q3a, sof2, and rtcw just fine.

 

Here is the error:

29948 files in pk3 files

Loading dll file jk2mpgame.

Sys_LoadDll(/data2/jk2/base/jk2mpgamei386.so)...

Sys_LoadDll(/data2/jk2/base/jk2mpgamei386.so) failed: "/data2/jk2/base/jk2mpgamei386.so: cannot open shared object file: No such file or directory"

Sys_LoadDll(./jk2ded/base/jk2mpgamei386.so) failed: "./jk2ded/base/jk2mpgamei386.so: cannot open shared object file: Not a directory"

----- Server Shutdown -----

Resolving masterjk2.ravensoft.com

Couldn't resolve address: masterjk2.ravensoft.com

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

Sys_Error: Sys_LoadDll(jk2mpgame) failed dlopen() completely!

 

jk2ded is branded for the elf, i'm executing this with just a ./jk2ded in its installed directory, which loads fine, then when i type map ffa_bespin is when i get these errors

 

i've tried deleting the ~/.jkii directory to no avail, gave the game install directory (/data2/jk2) global rwx permissions... the jk2mpgamei386.so file is not on my box, and is not part of the jk2linuxded103a.zip

 

any ideas? you an email me at wokka@eulogyclan.org as well

TIA!

wokka

Link to comment
Share on other sites

Originally posted by NerfYoda

Just to make sure you have the entire contents of the /base directory on the cd copied to your drive? I suppose in your case it'd be to data2/jk2/base.

 

yes, which is only the first 2 pk3 files, and the 1.03a patch gave me the 3rd one... another thread had the md5 checks of the pk3 files and mine matched those...

 

the .so files are library files... i don't know where those files are supposed to be...

 

would be helpful if these forums enabled the search :)

 

thanks for the help

wokka

Link to comment
Share on other sites

ok, weird, it seemed to have fixed itself... i tried running it as root and it worked... and now, after that, it runs fine as my user now

 

go figure...

 

if anyone has any insight on it, I would appreciate it

 

thanks

wokka

Link to comment
Share on other sites

Hi.

 

Sounds a bit wierd...maybe a permission-problem, when creating the hidden directory .jkii/base/

 

--

 

I had 1 out of 3 boxes, where I had to give up....jk2 server stalls during startup, no matter what I did....I tryed everything for about 3 weeks....driving me nuts.

 

Only difference was hardware....OS and all other files matched.

Then I installed RedHat7.3 instead of FreeBSD4.5, and it runs ok!!

 

So...conclusion: must be a FreeBSD+specific hardware+JK2ded problem...everything else runs ok.

 

/flame war on

But I don't like RedHat/Linux-distro's...FreeBSD is soooo much nicer...

/flame war off

 

So away with RH and on with FreeBSD again.

 

Now it runs UT-only :-) [+RWBS and TS]

Link to comment
Share on other sites

no, not a permissions issue, I made no changes, and even when running as root, it doesn't create a ~/.jkii/ directory for logs

 

either way, its working fine now... server is staying full...

 

but I do have another problem, will put that in a different topic...

 

thanks

wokka

Link to comment
Share on other sites

Please tell me you used su to logon as root...... if not please logon with an unprivileged account, and su to root.

 

 

Not that I had to tell anyone here. :) But have to check.

 

 

When I talk to my BSD Roomie, Ill have him check this thread out...Maybe he has

 

******rivmin*******

Slap! Slap! Slap!

F0r the love of Pete use a Distribution that is worth a damn.. Use Debian

Link to comment
Share on other sites

are you sure you know what you are talking about?

 

su from any account equals root, you have all the same priveledges... su and then type whoami

 

and another thing, no, i normally don't run the servers as root, but i did this to test a few things... proving that there was something up with bsd/linux emulation and jk2ded

 

debian is a nice platform, for linux, but bsd is not linux and this isn't the place for a "my *nix is better than yours!" debate

 

i like the security that bsd offers me

Link to comment
Share on other sites

Just as an FYI, when you get the .so error, chance are you can fix that by adding the following switch to your startup script:

 

+set vm_game 0

 

Basically, this just let's the os know what to expect in term of vm's. RtCW servers use vm_game 2. Because of that, when I installed the JK2 server it still assumed 2 until I specifically set it to 0. Then all was right with the world. ;) It could have remembered that setting from another type of server and when you ran it as root, it reset back to 0. Who knows why--as long as it works.

Link to comment
Share on other sites

vm_game 0 hoses my install and i get the .so library error... vm_game 1 and 2 both allow it to start...

 

and your right, it does "remember" it... took me a bit to figure out that even after i removed the vm_game 0 from the command line option, why it wouldn't boot up... had to set it to +set vm_game 2 to get it to boot up initially... and 2 is default according to the in console help on the variable

 

Matrix, you wouldn't happen to know what the vm_game option does specifically and what each of the numbers represent?

 

thanks for the help!

wokka

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...