Hallo,
ich habe mich an die Anleitung der MAM Wiki Seite gehalten (um für einen CoD4 Server den Mod zu installieren). 
Mod in Gameordner kopiert, mit dem cfg- und admin-cfg-Generator die Konfigs angelegt und auf den Server kopiert.
Anschließend den passenden Config-Ordner unbenannt. Danach habe ich im "screen" per "sh startscript start" den Mod 
starten wollen. Leider ohne Erfolg. Was sagt mir die Fehlermeldung bzw. welchen Lösungsweg kann ich einschlagen ?
Startscript Fehler:
Code
		
			sh startscript start
: command not found: 
: command not found5: 
'tartscript: line 57: syntax error near unexpected token `in
'tartscript: line 57: `case "$1" in
	
	Startscript Dateiinhalt:
Bash
		
					
				#!/bin/sh
# STARTSCRIPT by Hool and manu
# Much thanks to him :)
#
# If you have any problems, visit manuadminmod.de
# or contact manuel.strider@web.de
#
#============================
#
#=========
# CONFIG
#=========
#
# Name of process
# Unique for each mod installation
#=================================
NAME=ManuAdminMod_1
#Default: NAME=ManuAdminMod_1
#
# Basedir to adminmod installation:
#==================================
DIR=/home/GameServerDaemon/gameserver/722/cod4_722/adminmod
#Example: DIR=/var/games/cod4/adminmod
#
# Path to config directory
#=========================
CFGDIR=config
#Default: CFGDIR=config
#
# Path to log directory
#======================
LOGDIR=log
#Default: LOGDIR=log
#
# Additional parameters for the mod (e.g. -force)
#================================================
PARAMS=""
#Default: PARAMS=""
#
# Path to php-binary
# Normally only 'php'
#===================
PHP=/usr/bin/php
#Example: PHP=/usr/local/bin/php
#
# Parameters for PHP (only for versed user)
#==========================================
PHPPARAMS="-f"
#Default: PARAMS="-f"
#
#==================================
#  DO NOT EDIT STH BELOW THIS LINE
#==================================
# #----------------------------------------------------------------#---
case "$1" in
start)
    if [[ `screen -ls |grep $NAME` ]]
    then
        echo "Error: $NAME is already running, use '$0 stop' to stop it"
    else
        cd $DIR
        screen -dmS $NAME $PHP $PHPPARAMS daemon.php -- -configdir "$CFGDIR" -logdir "$LOGDIR" $PARAMS
        echo "$NAME was started. If you have problems try '$0 debug'"
    fi
;;
stop)
    if [[ `screen -ls |grep $NAME` ]]
    then
        kill `screen -ls |grep $NAME |awk -F . '{print $1}'|awk '{print $1}'`
        echo "$NAME was stopped"
    else
        echo "Error: $NAME isn't currently running"
    fi
;;
status)
    if [[ `screen -ls |grep $NAME` ]]
    then
        echo "$NAME is currently running"
    else
        echo "$NAME is NOT running"
    fi
;;
debug)
    if [[ `screen -ls |grep $NAME` ]]
    then
        echo "Error: $NAME is running, use '$0 stop' to stop it"
    else
        cd $DIR
        $PHP $PHPPARAMS daemon.php -- -configdir "$CFGDIR" -logdir "$LOGDIR" $PARAMS
    fi
;;
show)
    tail -f "$LOGDIR/mod.log"
;;
*)
    echo "Usage: $0 {start|stop|status|debug|show}"
    exit 1
;;
esac
exit 0
	
			Alles anzeigen
	Server:
- Server 4 You vServer
- Linux ( openSUSE 10.3 )
- php 5.2.6-0.1 
- which php: /usr/bin/php
- Rechte für startscript auf 755 gesetzt