1. GSManager
    1. Funktionen
    2. Unterstützte Spiele
    3. Neuigkeiten
    4. Statistiken
    5. Serverliste
  2. Lexikon
  3. Filebase
  4. Entwicklung
  5. Forum
    1. Dashboard
    2. Unerledigte Themen
  6. Web-Interface
  7. Artikel
  8. Mitglieder
    1. Letzte Aktivitäten
    2. Benutzer online
    3. Team
    4. Mitgliedersuche
  • Anmelden
  • Registrieren
  • Suche
Dieses Thema
  • Alles
  • Dieses Thema
  • Dieses Forum
  • Artikel
  • Seiten
  • Dateien
  • Forum
  • Lexikon
  • Erweiterte Suche
  1. GSManager
  2. Forum
  3. Unterstützung
  4. Installation

install mam in linux

  • crazy28
  • 6. Juli 2013 um 18:00
Das Projekt GSManager (vormals ManuAdminMod) wurde am 01.01.2020 eingestellt - diese Internetpräsenz bleibt verfügbar, die Software wird aber nicht länger gepflegt. Vielen Dank für eure Unterstützung in den mehr als zehn vergangenen Jahren!
1. offizieller Beitrag
  • crazy28
    Anfänger
    Punkte
    70
    Beiträge
    9
    • 6. Juli 2013 um 18:00
    • #1

    hi guys i cant get adminmod to run on my linux server this is my startscript


    #!/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_promod
    #Default: NAME=ManuAdminMod_1
    #
    # Basedir to adminmod installation:
    #==================================
    DIR=/home/adminmod
    #Example: DIR=/var/games/cod4/adminmod
    #
    # Path to config directory
    #=========================
    CFGDIR=config
    #Default: CFGDIR=config
    #
    # Path to log directory
    #======================
    LOGDIR=/home/cod4/mods/promod_snd
    #Default: LOGDIR=/home/cod4/mods/promod_snd
    #
    # Additional parameters for the mod (e.g. -force)
    #================================================
    PARAMS=""
    #Default: PARAMS=""
    #
    # Path to php-binary
    # Normally only 'php'
    #===================
    PHP=php
    #Example: PHP=/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


    so after i do this i check its status with ./startscript status and it says its not runing
    can and 1 help me

  • Voices
    Fortgeschrittener
    Reaktionen
    17
    Punkte
    1.742
    Trophäen
    2
    Beiträge
    331
    • 6. Juli 2013 um 19:21
    • #2

    Do you have tried ./startscript debug in 90% it will write a error message there.

  • crazy28
    Anfänger
    Punkte
    70
    Beiträge
    9
    • 6. Juli 2013 um 20:07
    • #3

    yea mate this this the error ./startscript: line 91: php: command not found

  • Dieses Thema enthält 8 weitere Beiträge, die nur für registrierte Benutzer sichtbar sind.

Benutzer online in diesem Thema

  • 1 Besucher
  1. Mitarbeiter
  2. Datenschutzerklärung
  3. Nutzungsbedingungen
  4. Impressum
  5. Kontakt
Community-Software: WoltLab Suite™