config.cfg problems on linux (not showing up)

If you've had any problems with Nexuiz, or would like to report bugs, post here.

Moderators: Nexuiz Moderators, Moderators

config.cfg problems on linux (not showing up)

Postby Psychcf » Fri Dec 08, 2006 10:53 pm

I have a server and when I start it I have to run some commands on it myself for some settings, because it outputs:

could not exec config.cfg
could not exec autoexec.cfg

or something like that. Help please.

Oh, and yes, I have set the permissions. I'm not a newb.
Psychcf
Forum addon
 
Posts: 1554
Joined: Sun Dec 03, 2006 11:38 pm
Location: NY, USA

Postby tChr » Fri Dec 08, 2006 10:57 pm

these files should be present in the data directory.. are they?
the spice extend life!
the spice expand conciousness!
the spice is vital to space travel!
sooooo.. tell me what you want, waht you really-really want
I will proceed directly to the intravenous injection of hard drugs, please.
tChr
Forum addon
 
Posts: 1501
Joined: Tue Feb 28, 2006 9:11 pm
Location: Trondheim, Norway

Postby Psychcf » Fri Dec 08, 2006 11:19 pm

I must have like 5 or 6 different config files in each data dir and it launches just can't find the files... weird (for some reason on the deb package there's more then one place that has a data dir)
Psychcf
Forum addon
 
Posts: 1554
Joined: Sun Dec 03, 2006 11:38 pm
Location: NY, USA

Re: config.cfg problems on linux (not showing up)

Postby esteel » Sat Dec 09, 2006 12:09 am

psychiccyberfreak wrote:I have a server and when I start it I have to run some commands on it myself for some settings, because it outputs:
could not exec config.cfg
could not exec autoexec.cfg
or something like that. Help please.
Oh, and yes, I have set the permissions. I'm not a newb.

Those messages are not a problem! autoexec.cfg normaly does not exist but it is tried to load so that the user can make special permanant settings. Aliases are an example were its useful.
config.cfg gets writen by the client only so if you just setup a server that file will not exist but that file is also loaded as to have the settings you changed in your client.

I'm not sure what you mean with 'have to run some commands'.. what commands? Did you take a look at Nexuiz/Docs/server/readme.txt ?? What are you trying to do?
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby Psychcf » Sat Dec 09, 2006 12:20 am

oh, but still, it's not loading the config file I gave it something's not right. Anotherwords, to change the hostname and stuff like that I have to change it at the terminal...
Psychcf
Forum addon
 
Posts: 1554
Joined: Sun Dec 03, 2006 11:38 pm
Location: NY, USA

Postby esteel » Sat Dec 09, 2006 12:34 am

Well maybe you can explain to us what you did and if there is an error message. I did not expect its that hard to setup a serve.? There is the stuff in the directory Nexuiz/Docs/server after extracting Nexuiz and also my server guide in this forum: http://forums.alientrap.local/viewtopic.php?t=18
I fail to see how anything of that should fail..
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby Psychcf » Sat Dec 09, 2006 12:38 am

here's startup:

Console initialized.
Nexuiz Linux 22:53:04 Sep 5 2006
Trying to load library... "libz.so.1" - loaded.
Compressed files support enabled
Added packfile data/common-spog.pk3 (26 files)
Added packfile data/data20060905.pk3 (2867 files)
Trying to load library... "libcurl.so.3" - loaded.
cURL support enabled
couldn't exec config.cfg
couldn't exec autoexec.cfg
Server using port 26000
Server listening on address 0.0.0.0:26000
Loaded maps/aggressor.ent
saveconfif"fraglimit" changed to "20"
"timelimit" changed to "15"
gLoaded maps/aggressor.ent


then it runs. I'm pretty shure I have the config file in the right place...
Psychcf
Forum addon
 
Posts: 1554
Joined: Sun Dec 03, 2006 11:38 pm
Location: NY, USA

Postby esteel » Sat Dec 09, 2006 12:47 am

Well that output looks normal..
HOW do you make your server exec the file with your settings? And what settings do you want to change?

I'm sorry its late, have to get some sleep.. hope someone else can help you or it will take a while :)
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby Beowulf » Sat Dec 09, 2006 1:11 am

Did you:

Copy Nexuiz/Docs/server/server_linux.sh into Nexuiz and Nexuiz/Docs/server/server.cfg into Nexuiz/data (or into ~/.nexuiz/data).

the server.cfg is where the money is for servers

$$$
[Dave]Beowulf
Beowulf
Member
 
Posts: 23
Joined: Wed Nov 08, 2006 4:26 am
Location: Geatland

Postby Psychcf » Sat Dec 09, 2006 2:57 am

to answer the latest post: yes, I installed it from a deb and followed the instructions. That's all set.

To answer esteel's question, I use a custom tailored shell script:

Code: Select all
#!/bin/sh

cd /home/****/Desktop/Nexuiz/

exec /home/****/Desktop/Nexuiz/nexuiz-linux-686-dedicated +set hostname "[TSA] Pre-Tournament Practice" +set sv_motd "Visit us at: ^6http://clan.psychdesigns.net/"



and I have a config file in the data folder.
Psychcf
Forum addon
 
Posts: 1554
Joined: Sun Dec 03, 2006 11:38 pm
Location: NY, USA

Next

Return to Nexuiz - Support / Bugs

Who is online

Users browsing this forum: No registered users and 1 guest

cron