May 24, 2012, 03:36:44 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
   Home   Help Search Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Big problem starting NAW on linux, AIX working fine  (Read 1475 times)
Da_V2
Member
*

Karma: +0/-0
Offline Offline

Posts: 4


« on: July 26, 2008, 10:06:59 PM »

Hi everyone,

i'm having problems installing this mod, aix and bf2 servers on my debian are working just great, but there no way to start a naw server.  Cry
Is there a special thing i need to do to make it work ??
Please i know some of you have already done it, i read all topics in this section and still i can't start a LAN server.

Thanks for your help !


(english is not my mother's language Tongue)
Logged
PuckerFactor
NAW DEVELOPER
Administrator
Psycho Anarchist
*****

Karma: +1050/-17
Offline Offline

Posts: 1899



WWW
« Reply #1 on: July 27, 2008, 05:06:06 AM »

did you use the new NAW Linux Server files?
Logged


"No poor bastard ever won a war by dying for his country. He won it by making other bastards die for their country." George S. Patton
Da_V2
Member
*

Karma: +0/-0
Offline Offline

Posts: 4


« Reply #2 on: July 27, 2008, 10:18:01 AM »

Thanks for replying, yes of course ! I'm not a total noob... aix and bf2 linux servers are working fine.  Roll Eyes
I tried starting naw with the same command line as the others :
./start.sh +modPath mods/naw   

I used the files from "naw_5.2_linux_server.zip"
I also tried the python script and the naw.sh that Master}{ gave in another post... Cry


Here is the problem reported by error output : (./start.sh +modPath mods/naw 2>errors.txt)

FATAL ERROR: Debug assertion failed!

Version: 1.1.2965-797.0 Build date:implement unix date here
Module: Python
File: Game/Python/PythonHost.cpp
Line: 281

Text: bf2 init_module failed: stderr: Traceback (most recent call last):
stderr:   File "python/bf2/__init__.py", line 75, in init_module
stderr:     import game.scoringCommon
stderr: ImportError: No module named scoringCommon


Current confile:


Any ideas ?

« Last Edit: July 27, 2008, 10:31:43 AM by Da_V2 » Logged
PuckerFactor
NAW DEVELOPER
Administrator
Psycho Anarchist
*****

Karma: +1050/-17
Offline Offline

Posts: 1899



WWW
« Reply #3 on: July 27, 2008, 10:59:43 AM »

I have never setup or run a linux server. However, I do know that linux files should all be lower case.

scoringCommon has an uppercase C. The file that "python/bf2/__init__.py" it refers to "....Battlefield 2 Server\mods\naw\python\game is in lowercase (as it should be)

so either edit __init__.py in line 75 to scoringcommon ...or rename the file in \naw\python\game to scoringCommon.

let me know how you get on  Smiley
Logged


"No poor bastard ever won a war by dying for his country. He won it by making other bastards die for their country." George S. Patton
Da_V2
Member
*

Karma: +0/-0
Offline Offline

Posts: 4


« Reply #4 on: July 27, 2008, 11:10:42 AM »

 Shocked In fact you're a linux God, lol

I renamed the file scoringcommon.py to scoringCommon.py and for the first time the server is up and running.

Thank you very much
Logged
CiWoot
You You You...
Global Moderator
Bad-Ass
*****

Karma: +27/-0
Offline Offline

Posts: 73


HELP me, I can't think outside the BOX


« Reply #5 on: July 27, 2008, 11:24:07 AM »

Hmmm, Puckerfactor a god? Linux God??? wow... usually he's just an asshole on the posts hence the name... lol (just messing with ya Puckerfactor delete this if you want)
Logged

SIMPLE BOT KILLER!!!
PuckerFactor
NAW DEVELOPER
Administrator
Psycho Anarchist
*****

Karma: +1050/-17
Offline Offline

Posts: 1899



WWW
« Reply #6 on: July 27, 2008, 03:04:22 PM »

Da_V2, really glad it's working for you now  Wink

CiWoot, you are right sir....most of the time I'm an asshole...but I'm really trying harder to be nicer  Embarrassed
Logged


"No poor bastard ever won a war by dying for his country. He won it by making other bastards die for their country." George S. Patton
CiWoot
You You You...
Global Moderator
Bad-Ass
*****

Karma: +27/-0
Offline Offline

Posts: 73


HELP me, I can't think outside the BOX


« Reply #7 on: July 27, 2008, 03:05:59 PM »

Puckerfactor... that's good... I should probably follow suit and be nice..

but damnit.. it's just not me.
Logged

SIMPLE BOT KILLER!!!
bNasty
Member
*

Karma: +0/-0
Offline Offline

Posts: 2


« Reply #8 on: July 28, 2008, 07:15:53 AM »

I installed a new BF2 server over at Gamerservers and am on a Linux OS. Originaly I had the exact same error as DA_V2

Quote
stderr:   File "python/bf2/__init__.py", line 75, in init_module
stderr:     import game.scoringCommon
stderr: ImportError: No module named scoringCommon

After fixing the __init__.py file I still cannot get the server running. All that I get in the log is a Debug Assertion failed.

Any other suggetions on where to look?
Logged
PuckerFactor
NAW DEVELOPER
Administrator
Psycho Anarchist
*****

Karma: +1050/-17
Offline Offline

Posts: 1899



WWW
« Reply #9 on: July 28, 2008, 09:08:02 AM »

when you say you fixed the __init__.py file...what did you do? ...because all that DA_V2 did was rename "scoringcommon" to "scoringCommon"

there maybe other calls for the uppercase "scoringCommon" from other python files...better to rename it rather than change all the references in other python scripts.

have you tried restoring the original __init__.py  and then just renaming "Battlefield 2 Server\mods\naw\python\game\scoringcommon" to "scoringCommon" ?

by the way...I'm gonna re-upload the linux files with a replaced "scoringCommon" file....this seems to be a Common problem.
« Last Edit: July 28, 2008, 09:30:47 AM by PuckerFactor » Logged


"No poor bastard ever won a war by dying for his country. He won it by making other bastards die for their country." George S. Patton
bNasty
Member
*

Karma: +0/-0
Offline Offline

Posts: 2


« Reply #10 on: July 28, 2008, 05:06:35 PM »

OMG, I AM SOOOO STUPID.  Roll Eyes
Someone please come and take my linux server admin card away, and beat me over the head with it.

I guess I just haven't enough sleep lately. I know better than to do what I did. I shoulda known to look at the file and not the code that references the file. What a dip I am. ooops.

Thanks a bunch PuckerFactor for setting this boy straight.

Logged
PuckerFactor
NAW DEVELOPER
Administrator
Psycho Anarchist
*****

Karma: +1050/-17
Offline Offline

Posts: 1899



WWW
« Reply #11 on: July 28, 2008, 06:33:17 PM »

Glad it's working for you now  Wink


...what's Linux?
Logged


"No poor bastard ever won a war by dying for his country. He won it by making other bastards die for their country." George S. Patton
Da_V2
Member
*

Karma: +0/-0
Offline Offline

Posts: 4


« Reply #12 on: July 28, 2008, 08:53:38 PM »

Lol i'm not the only one Wink
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!