Help setting up dedicted Linux server remote "HELP&quot


(metalheadFX) #1

Has anyone had this problem

couldn’t exec language.cfg
couldn’t exec autoexec.cfg
Hunk_Clear: reset the hunk ok
Bypassing CD checks
Found high quality video and fast CPU
— Common Initialization Complete —
and a few more lines stating my IP and port and stuff then watch dog kicks in and shuts down tty
:disgust: :???: :bash: :banghead:


(Chairman Kaga) #2

It’s shutting down because you haven’t loaded a map, so there’s nothing for the server to do.

Change com_watchdog_cmd so it execs your gametype config (campaigncycle.cfg, objectivecycle.cfg, etc.). Then it will load up the first map instead of shutting down.


(Lekdevil.NL) #3

Whilst this will work, even better would be to add:

+exec server.cfg

to your server startup command line (if not already there) and add the line

exec campaigncycle.cfg

at the end of your server.cfg file (use the cycle file that matches your preferred game type). This way, your server will start up correctly, without the need for resorting to the watchdog mechanism.

BTW: Those “couldn’t execute” lines you get in your startup output are completely normal.

HTH.


(metalheadFX) #4

Thx for the help. I am going to give it a try at lunch today. I will let ya know if that worked. Thx again

:smiley:

:smiley: WHOOT HOOT :smiley: it worked… thx again for all the help guys, :beer:

I just +exec server.cfg and it worked. already had it looking for campaigngcycle.cfg in server.cfg.

I wonder why it did not find server.cfg before. :drink:


(Kicked Axis) #5

Whilst this will work, even better would be to add:

+exec server.cfg

to your server startup command line (if not already there) and add the line

exec campaigncycle.cfg

at the end of your server.cfg file (use the cycle file that matches your preferred game type). This way, your server will start up correctly, without the need for resorting to the watchdog mechanism.

BTW: Those “couldn’t execute” lines you get in your startup output are completely normal.

HTH.[/quote]

Do you mean that you add that to et.ded? I been having the same problem on my local linux machine. Trying to get ready to load a dedicated server that my clan has rented and need to make sure that I can get it to run dedicated. A linux noob yes but a quick learner.


(petameta) #6

I usually create some script that executes et, like this:

cd /usr/local/games/enemy-territory
./et +set dedicated 1 +exec server.cfg

As mentioned above, load a map (or a map cycle) at the end of the server.cfg.

If you only run a dedicated server, it’s possible to lower the com_hunkmegs, as the server doesn’t require as much RAM as a client.

Also very usefull is “screen”. Have a look at “man screen”.


(Spookstah) #7

I`ve renamed the original server.cfg to autoexec.cfg and did change/add some settings, im also useing the campaign.cfg and added some settings too (startup of punkbuster), probably everything can be put into 1 config but i didnt have that knowlegde at that time (and dont bother about it anymore eather).

I do start up our server now with: screen ./etded
When it is running i just CTRL-A-D out of it.

This is how our config looks like (autoexec.cfg):

// GENERAL
set dedicated “2”
set net_ip “131.211.222.138”
set net_port “27960”

// PASSWORDS & CLIENTS
set sv_maxclients “20”
set g_password “”
set sv_privateclients “2”
set sv_privatepassword “"
set rconpassword "
"
set refereePassword "
**********”

// DOWNLOAD RATE & URL
set sv_maxRate “10000”
set sv_dl_maxRate “50000”
set sv_allowDownload “1”
set sv_wwwDownload “1”
set sv_wwwBaseURL “http://www.thelostparadise.com
set sv_wwwDlDisconnected “1”
set sv_wwwFallbackURL “http://www.thelostparadise.com

// MOTD ETC
set sv_hostname “The Lost Paradise I”
set server_motd0 “www.thelostparadise.com
set server_motd1 “FF=on / PB=on”
set server_motd2 “Running Shrub MOD”
set server_motd3 “-----------------------”
set server_motd4 “”
sets “.Administrator” “Spookstah”
sets “.Email” "admin@thelostparadise.com"
sets “.Homepage” “http://www.thelostparadise.com
sets “.IRC” “#thelostparadise on irc.gamesnet.net
sets “.Link” “100Mbit, Full Duplex”
sets “.Location” “Utrecht, The Netherlands”

// MISC SETTINGS
set g_heavyWeaponRestriction “10”
set g_antilag “1”
set g_altStopwatchMode “0”
set g_autofireteams “1”
set g_complaintlimit “5”
set g_ipcomplaintlimit “3”
set g_fastres “1”
set g_friendlyFire “1”
//set g_gametype “4”
set g_minGameClients “2”
set g_maxGameClients “0”
set g_maxlives “0”
set g_alliedmaxlives “0”
set g_axismaxlives “0”
set g_teamforcebalance “1”
set g_noTeamSwitching “0”
set g_voiceChatsAllowed “4”
set g_doWarmup “0”
set g_warmup “5”
set g_spectatorInactivity “120”
set g_inactivity “120”
set g_gravity “1000”
set sv_floodProtect “1”
set sv_allowDownload “1”
set sv_pure “1”
set sv_minping “0”
set sv_maxping “225”
set match_latejoin “1”
set match_minplayers “2”
set match_mutespecs “0”
set match_readypercent “100”
set match_timeoutcount “0”
set match_warmupDamage “0”
set team_maxplayers “0”
set team_nocontrols “1”
set pmove_fixed “0”
set pmove_msec “8”
set team_nocontrols “1”

// Shrub settings
set g_xpsave “1”
set g_goomba “1”
set g_slashkill “2”
set g_packdistance “3”
set g_classchange “1”
set g_dragcorpse “1”
set g_shove “80”
set g_intermissiontime “20”
set g_privatemessages “1”
set g_shrubbot “shrubbot.cfg”
set g_logadmin “shrubbot.log”

// LMS ONLY SETTINGS
set g_lms_teamForceBalance “1”
set g_lms_roundlimit “3”
set g_lms_matchlimit “2”
set g_lms_currentMatch “0”
set g_lms_lockTeams “0”
set g_lms_followTeamOnly “1”

// VOTING
set g_allowVote “1”
set vote_limit “5”
set vote_percent “50”
set vote_allow_comp “0”
set vote_allow_gametype “0”
set vote_allow_kick “1”
set vote_allow_map “1”
set vote_allow_matchreset “1”
set vote_allow_mutespecs “0”
set vote_allow_nextmap “1”
set vote_allow_pub “0”
set vote_allow_referee “0”
set vote_allow_shuffleteams “0”
set vote_allow_shuffleteamsxp “0”
set vote_allow_swapteams “0”
set vote_allow_friendlyfire “0”
set vote_allow_timelimit “0”
set vote_allow_warmupdamage “0”
set vote_allow_antilag “0”
set vote_allow_balancedteams “0”
set vote_allow_muting “1”

// LOGGING
set g_log “etserver.log”
set g_logsync 1
set logfile 2

// MAP ROTATION
exec campaigncycle.cfg

// WATCHDOG
set com_watchdog 60
set com_watchdog_cmd “exec campaigncycle.cfg”

And i`ve put this into the campaign.cfg:

set d1 “campaign cmpgn_northafrica ; set nextcampaign vstr d2”
set d2 “campaign cmpgn_centraleurope ; set nextcampaign vstr d1”
set d_initial “set g_gametype 4 ; map oasis ; set nextcampaign vstr d2”
vstr d_initial

// PUNKBUSTER STARTUP
set sv_punkbuster “1”
exec punkbuster.cfg


(=TAC=Chron) #8

to recover the console type: screen -r