spex00 Posted April 23, 2002 Share Posted April 23, 2002 I was wondering if anyone can help me with this problem. When i attempt to startup the linux dedicated server i get the following error. sys_error: could not open string package 'STR_SERVER' does anyone know what might be causing this error? I get the error when using the default config file, or one that i copied from the forums here. Any ideas? Jason. Link to comment Share on other sites More sharing options...
MatrixCPA Posted April 23, 2002 Share Posted April 23, 2002 Make sure you have all the files located properly. The dedicated server binary needs to be outside the base folder which must contain at a minimum, assets0.pk3 and assets1.pk3. Generally, it also contains server.cfg, but that is ultimately optional. If that's not the problem, could you paste the whole startup spam from the console right up to the error? There's info in there I could use if the file positions don't solve the problem. Link to comment Share on other sites More sharing options...
spex00 Posted April 23, 2002 Author Share Posted April 23, 2002 here is what i get. I cleaned up the dirs and now the error I get is that it can't find the mpdefault.cfg file. How do i get myself one of those files? Any thoughts? Also, any other mode but demo mode to serve? Jason. JK2MP: v1.02c linux-i386 Apr 15 2002 Initialising zone memory ..... ----- FS_Startup ----- Current search path: /root/.jkii/base /usr/local/games/jk2/base/assets1.pk3 (8011 files) /usr/local/games/jk2/base/assets0.pk3 (6674 files) /usr/local/games/jk2/base ./jk2ded/base ---------------------- 14685 files in pk3 files Running in restricted demo mode. ----- FS_Startup ----- Current search path: /root/.jkii/demo /usr/local/games/jk2/demo ./jk2ded/demo ---------------------- 14685 files in pk3 files Sys_Error: Couldn't load mpdefault.cfg Link to comment Share on other sites More sharing options...
MatrixCPA Posted April 23, 2002 Share Posted April 23, 2002 I noticed a couple of things. First off, you're running the server as root which is insane. Generally, you should NEVER run anything as root. Create a user with only the permissions needed to run the jk2 server and nothing else. Second, it appears that your pk3 files are corrupted or incomplete. What are their file sizes? They should contain 29370 files. The file sizes are: assets0.pk3 - 534984353 assets1.pk3 - 86950705 What's your command line look like? You may want to try adding +set vm_game 2 just to be sure the vm loading is correct. Check the file sizes first and make sure you have complete copies. Link to comment Share on other sites More sharing options...
Novus Posted April 23, 2002 Share Posted April 23, 2002 HAHA, that was the first thing I noticed too MatrixCPA. Running stuff as root = bad. Corrupted pk3s? Here are md5sums of valid pk3s bbd8243669d551c910cfe60ccb4e5edd assets0.pk3 e91efd51a8883b1c2590e8be7705877f assets1.pk3 although a missing/corrupt mpdefault.cfg shouldn't keep the server from running, but that doesn't mean it doesn't. What's w/ the : Running in restricted demo mode. ???? Link to comment Share on other sites More sharing options...
MatrixCPA Posted April 23, 2002 Share Posted April 23, 2002 When it can't load the full assetsx.pk3 files, it automatically assumes you're running the demo. Link to comment Share on other sites More sharing options...
spex00 Posted April 24, 2002 Author Share Posted April 24, 2002 hey guys, thanks for the help. It appears that my file sizes are the same as the sizes you describe in your reply. i will try recopying the files from the CD again just to be sure, but in the mean time.... any other ideas? Link to comment Share on other sites More sharing options...
MatrixCPA Posted April 24, 2002 Share Posted April 24, 2002 You haven't provided a copy of your command line yet. Although the odds of something in there causing the problem is slim, it's nice to have all the info. Link to comment Share on other sites More sharing options...
spex00 Posted April 24, 2002 Author Share Posted April 24, 2002 so..... recopying the pk3 files fixed the problem. Something must have gotten munged during the copy. Server starts up just fine now. hehehee. Are there any references for all the options available to put in the server.cfg file? Jason. Thanks for your help everyone! Link to comment Share on other sites More sharing options...
MatrixCPA Posted April 24, 2002 Share Posted April 24, 2002 Novus posted a fairly comprehensive list here. Most of those variables need never been messed with. If you have a specific question about how to do a particular thing, ask away. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.