hi guys i have adminmod on all my servers and i use the startscript to start it but every time i get up the next day i have to start mam but then i still have to restart the server
but whan i try to start mam again it dose not work it says this but it dose not work i dont understand this
[30.10.13 12:41:27] Notice: ==========================================
[30.10.13 12:41:28] Notice: Manu-Admin-Mod v0.11.5 Beta is starting...
[30.10.13 12:41:28] Notice: ==========================================
[30.10.13 12:41:28] Notice: !! Please wait until the mod is completely initialised
[30.10.13 12:41:28] Notice: Config loaded: config.cfg
[30.10.13 12:41:28] Notice: Config loaded: maps.cfg
[30.10.13 12:41:28] Notice: Config loaded: admins.cfg
[30.10.13 12:41:28] Notice: Config loaded: groups.cfg
[30.10.13 12:41:28] Notice: Config loaded: reasons.cfg
[30.10.13 12:41:28] Notice: Language files loaded: en
[30.10.13 12:41:28] Notice: All config files were parsed
[30.10.13 12:41:28] Notice: RCON connection established (127.0.0.1:28951)
[30.10.13 12:41:29] Notice: Game detected: Call of Duty 4
[30.10.13 12:41:30] Notice: Dvar check successful
[30.10.13 12:41:31] Notice: Synced playerlist with 'status'
[30.10.13 12:41:31] Notice: Updated Dvar g_gametype
[30.10.13 12:41:32] Notice: Updated teamnames (usmc vs. arab)
[30.10.13 12:41:33] Notice: Sets Dvar _manuadminmod to '0.11.5 Beta'
[30.10.13 12:41:33] Notice: == Loading plugins and commands ==
[30.10.13 12:41:33] Notice: - Loading modstuff.php
[30.10.13 12:41:33] Notice: Heartbeat has been sent to serverlist at manuadminmod.de: ERROR: Gameserver unreadable (Debug: 0at70)
[30.10.13 12:41:33] Notice: - Loading customcommands.php
[30.10.13 12:41:33] Notice: - Loading banner.php
[30.10.13 12:41:33] Notice: - Loading randommapcycle.php
[30.10.13 12:41:33] Notice: - Loading mapvote.php
[30.10.13 12:41:33] Notice: - Loading geoip.php
[30.10.13 12:41:33] Notice: - Loading punkbuster.php
[30.10.13 12:41:34] Notice: - Loading nameprotection.php
[30.10.13 12:41:34] Notice: - Loading banip.php
[30.10.13 12:41:34] Notice: - Loading basiccommands.php
[30.10.13 12:41:34] Notice: - Loading badwords.php
[30.10.13 12:41:34] Notice: - Loading tcp_query.php
[30.10.13 12:41:34] Notice: - Loading rules.php
[30.10.13 12:41:34] Notice: - Loading voting.php
[30.10.13 12:41:34] Notice: - Loading warns.php
[30.10.13 12:41:34] Notice: - Loading weaponrestrictions.php
[30.10.13 12:41:34] Notice: - Loading pingkicker.php
[30.10.13 12:41:34] Notice: - Loading scream.php
[30.10.13 12:41:34] Notice: - Loading statistics.php
[30.10.13 12:41:34] Notice: - Loading funmessages.php
[30.10.13 12:41:34] Notice: - Loading spreemessages.php
[30.10.13 12:41:34] Notice: - Loading antiteamkiller.php
[30.10.13 12:41:34] Notice: == Finished loading plugins ==
[30.10.13 12:41:34] Notice: !! Finished initialisation
[30.10.13 12:41:34] Notice: === Start processing loglines... ===
[30.10.13 12:41:35] Notice: Banner message was sent: ^3Visit: ^2www.Clan-rs.co.uk
and it just sticking on this bit and dose not move any help
and here is my startscript i changed #!/bin/sh to #!/bin/bash and still no luck
#!/bin/bash
# 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/adminmod
#Example: DIR=/var/games/cod4/adminmod
#
# Path to config directory
#=========================
CFGDIR=config
#Default: CFGDIR=config
#
# Path to log directory
#======================
LOGDIR=/home/promod/mods/rs_promod217
#Default: LOGDIR=log
#
# Additional parameters for the mod (e.g. -force)
#================================================
PARAMS=""
#Default: PARAMS=""
#
# Path to php-binary
# Normally only 'php'
#===================
PHP=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