Wolfenstein Enemy Territory


Antwort
 
Tcat_Mid LinkBack Themen-Optionen Ansicht
Alt 11.03.2010, 07:26   #1 (permalink)
Community Mitglied

IRC-Idler
 
Registriert seit: 21.03.2009
Beiträge: 13
Ausrufezeichen Et admin mod geht nicht

hi ich hab ein problem wen ich versuche etadmin mod zu starten wirft er mir die fehlermeldung aus

Starting etadmin_mod: FAILED! [] (See logfile log/etadmin.log for details!)

in der log steht

./etadmin_mod.sh: 118: -p:: not found

der sh file siet so aus

#! /bin/sh

################################################## #####################
# CONFIG:

# General note: If you specify more then one parameter or config files:
# use brackets. e.g. "-r -e" or "1.cfg 2.cfg"

# Choose your config file(s) (space seperated):
# Remember: The last can overwrite parameters of the prior configs.
# Useful for hoster to deactivate or fix parameters
# Also see ADMIN_CONFIG for overwriting.
CONFIGS="/home/etserver/et/etadmin_mod/etc/etadmin.cfg"

# This config is ALWAYS loaded after the CONFIGS have been loaded
# (even after a !loadconfig or map configs).
ADMIN_CONFIG=""
#ADMIN_CONFIG="/home/etserver/et/etadmin_mod/etc/shrubbot.cfg"


# Further Options (space seperated):
# -e to deactivate the including of a "external" section in map specific configs
# -r to reset the external section on every new section block.
# -d to completly deactivate the use of external programs (
# -> ignores the [external] section in the config.
#
# Note: for game hosters:
# - To completly disable external commands, use -d and fix the tail binary in a second config.
# - To define a preset of external commands to use for the user, use 2 configs
# (one for the user and one for you) and define the [external] section in your config,
# as well as the tail binary. Then use -r -e, so the user can't reset, add or modify the commands.
OPTIONS=""

# CHANGE THIS to the location of the extracted mod:
BASEDIR=/home/etserver/et/etadmin_mod

# Set this to a unique string for every instanz of etadmin_mod
# running on your server.
INSTANZ_NAME=base

################################################## #####################
# You don't need to change anything below this line #
################################################## #####################

cd $BASEDIR
PERL=`type -p perl`
PID=`ps axw|grep etadmin_mod.pl |grep "instanz_$INSTANZ_NAME" |grep -v grep | awk '{print $1}'`

case "$1" in
start)
echo -n "Starting etadmin_mod: "

# Adding admin config to the options
if (test -n "$ADMIN_CONFIG") then
OPTIONS="$OPTIONS --admin-config=$ADMIN_CONFIG"
fi

if (test -z "$PID") then
$PERL bin/etadmin_mod.pl $OPTIONS instanz_$INSTANZ_NAME $CONFIGS >>log/etadmin.log 2>&1 &
sleep 1

STATUS=`ps axw|grep "etadmin_mod.pl" | grep "instanz_$INSTANZ_NAME" |grep -v grep `

if (test -n "$STATUS") then
echo "OK! [$STATUS]"
else
echo "FAILED! [$STATUS] (See logfile log/etadmin.log for details!)"
fi
else
echo "FAILED! (etadmin_mod is already running)"
fi
;;
stop)
echo -n "Stopping etadmin_mod: "
if (test -n "$PID") then

# First determine tail pid
PID_TAIL=`ps axw|grep tail |grep etconsole.log |grep " $PID " |awk '{print $2}'`

# killing etadmin_mod
kill $PID

# Killing tail:
if (test -n "$PID_TAIL") then
kill $PID_TAIL
fi
echo "OK!"
else
echo "FAILED! (etadmin_mod isn't running)"
fi
;;
reload)
echo -n "Reloading etadmin_mod: "
if (test -n "$PID") then
kill -HUP $PID
echo "OK! ($PID)"
else
echo "FAILED! (etadmin_mod isn't running)"

fi
;;
status)
if (test -n "$PID") then
echo "Status: running"
else
echo "Status: not running"
fi
;;
restart)
$0 stop
# Need to sleep here, because etadmin_mod needs some seconds to shutdown
sleep 2
$0 start
;;
*)
echo "Usage: $0 {start|stop|restart|reload|status}"
exit 1
esac

# Inform the caller not only verbosely and set an exit status.
exit 0

kan mir wer sagen an was es liegt , an den rechten liegts net die stimmen
Xemon ist offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Mit Zitat antworten
Alt 11.03.2010, 11:45   #2 (permalink)
Community Mitglied

Flamer!
 
Registriert seit: 12.07.2004
Beiträge: 342
Perlo_0ung?! eine Nachricht über ICQ schicken Perlo_0ung?! eine Nachricht über MSN schicken
was benutzt denn du fürn linux? ich schätze mal ubuntu

versuch das:
ersetze das iin zeile 1
Code:
 #!/bin/sh
durch
Code:
 #!/bin/bash
oder starte ihn folgendermassen:
Code:
/bin/bash ./etadmin_mod.sh start
__________________
Perlo_0ung?! ist offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Mit Zitat antworten
Alt 11.03.2010, 17:18   #3 (permalink)
Community Mitglied

IRC-Idler
 
Registriert seit: 21.03.2009
Beiträge: 13
danke es geht
was muss ich einstellen wen ich tj mod benutze
und muss ich irgendwie die shrubbot angeben in der server cfg oder so ?
Xemon ist offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Mit Zitat antworten
Alt 16.03.2010, 18:34   #4 (permalink)
Moderator

Mod
 
Benutzerbild von knarf
 
Registriert seit: 24.05.2005
Beiträge: 891
knarf eine Nachricht über ICQ schicken knarf eine Nachricht über MSN schicken
die config vom etadminmod ist eigentlich recht gut beschrieben. die eifnach mal durcharbeiten
__________________
Voodoohawks suchen noch Member
knarf ist offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Mit Zitat antworten
Antwort

Lesezeichen


Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)
 
Themen-Optionen
Ansicht

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist An.
Smileys sind An.
[IMG] Code ist An.
HTML-Code ist Aus.
Trackbacks are An
Pingbacks are An
Refbacks are Aus

Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
geht nicht corona-stylez Haupt-Forum 4 10.10.2007 12:19
Et geht nicht crank_ BUGs, Problems, Hilfe 12 27.03.2007 23:01
ET Admin Mod geht nur auf einem Server des Roots rolfrofl Serverforum 2 08.02.2007 13:07
Server Admin. Wie geht das? Dir-k Serverforum 24 04.12.2006 15:13
ET geht nicht corsendonck BUGs, Problems, Hilfe 3 14.09.2006 16:05


Alle Zeitangaben in WEZ +2. Es ist jetzt 01:10 Uhr.
Powered by vBulletin® Version 3.7.4 (Deutsch)
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.1 Alle Inhalte ©2003-2008 by ET-Scene.de sowie der jeweiligen Poster.
Kopieren und Veröffentlichung auf anderen Medien, auch auszugsweise, bedarf der vorherigen Zustimmung durch den Foren-Admin. Zuwiderhandlung wird strafrechtlich verfolgt.

Forum Infos & Regeln!
vBulletin skin by CompletevB.com