[cod] codwar error while starting
Roberto Omezzolli
goas at g-portal.de
Tue Aug 14 03:41:33 EDT 2012
did not help at all, the error msg is still the same.
Von: escapedturkey [mailto:escapedturkey at escapedturkey.com]
Gesendet: Montag, 13. August 2012 17:48
An: goas at g-portal.de; Call of Duty server admin list.
Betreff: Re: [cod] codwar error while starting
This is what I use; it may or may not help:
"codwaw_lnxded-bin")
whoiam=(`whoami`)
home_location=(`cd && pwd`)
cd $home_location/$game_directory/main
cp *console*.log `date +%m%d%Y`_console.log
cd $home_location/$game_directory/$server_mod_directory
cp *console*.log `date +%m%d%Y`_console.log
cd $home_location/$game_directory
crontab /usr/bin/serverchk
rm -f nohup.out
chmod 755 $server_exec
chmod 755 $home_location/$game_directory/pb
export LD_LIBRARY_PATH=".:bin:$LD_LIBRARY_PATH"
killall vsftpd
nohup ./$server_exec +set dedicated $server_dedicated +set ttycon 0 +set net_ip $server_ip +set net_port $server_port +set com_hunkmegs 256 +set sv_maxclients $server_sv_maxclients +set ui_maxclients $server_sv_maxclients +set logfile $server_logfile +set fs_basepath $home_location/$game_directory +set fs_homepath $home_location/$game_directory +set fs_localappdata $home_location/$game_directory +set sv_pure $server_sv_pure +set sv_punkbuster $server_sv_punkbuster +set fs_game $server_mod_directory +set $server_vm $misc +exec $server_config1 +map $start_map +alias $whoiam & > /dev/null 2>&1
cd $home_location/murmur
chmod 755 murmur.x86
mv murmur.log murmur.log_backup
./murmur.x86 -supw $superuser_password
nohup ./murmur.x86 -ini $murmur_configuration_file -v & > /dev/null 2>&1
nohup /usr/bin/b3_run -c $home_location/$b3_xml_file_location > /dev/null 2>&1
;;
On Mon, Aug 13, 2012 at 11:41 AM, Roberto Omezzolli <goas at g-portal.de> wrote:
hello,
we are having a strange error for the last few days, does anybody else noticed this while starting codwaw?
*** glibc detected *** ./codwaw_lnxded-bin: malloc(): memory corruption: 0x1a194 c70 ***
======= Backtrace: =========
/lib/i686/cmov/libc.so.6(+0x6b381)[0xb75b8381]
/lib/i686/cmov/libc.so.6(+0x6e185)[0xb75bb185]
/lib/i686/cmov/libc.so.6(__libc_malloc+0x5c)[0xb75bcd8c]
./codwaw_lnxded-bin[0x834ca48]
./codwaw_lnxded-bin[0x834cf40]
./codwaw_lnxded-bin[0x834d2ca]
./codwaw_lnxded-bin[0x83a11aa]
./codwaw_lnxded-bin[0x83a1ba7]
./codwaw_lnxded-bin[0x839fe7f]
./codwaw_lnxded-bin[0x83a0533]
./codwaw_lnxded-bin[0x83a08d8]
./codwaw_lnxded-bin[0x839ceca]
./codwaw_lnxded-bin[0x822c527]
./codwaw_lnxded-bin[0x829acdc]
./codwaw_lnxded-bin[0x829b036]
./codwaw_lnxded-bin[0x829241d]
./codwaw_lnxded-bin[0x82503a2]
./codwaw_lnxded-bin[0x82933b6]
./codwaw_lnxded-bin[0x82503a2]
./codwaw_lnxded-bin[0x82505ae]
./codwaw_lnxded-bin[0x825c27e]
./codwaw_lnxded-bin[0x82e0dee]
/lib/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0xb7563ca6]
./codwaw_lnxded-bin[0x804b551]
======= Memory map: ========
Von: Morpheus [mailto:morpheus at clantoc.org]
Gesendet: Montag, 13. August 2012 11:30
An: Call of Duty server admin list.
Betreff: Re: [cod] WaW Punkbuster Homepath
Hi,
for my cod5 server, pb folder is located at the same level where the binary is. Here is my startscript :
#!/bin/bash
SCREENNAME="codwaw_public"
APP_PATH=/home/games/codwaw/
IP=xx.xx.xx.xx
PORT=xxxx
CFG=server.cfg
FSGAME=""
FSHOMEPATH=$APP_PATH
cd $APP_PATH
usage() {
echo "---------------------------------------------------------------------"
echo "Usage: `basename $0` (start|stop|restart)"
echo "---------------------------------------------------------------------"
exit 2
}
if [ -z $1 ]; then
usage
fi
test -x $APP_PATH/codwaw_lnxded || exit 0
start() {
test_session=`screen -list|grep $SCREENNAME|wc -l`
if [ $test_session -eq 1 ]; then
echo "---------------------------------------------------------------------"
echo "Lancement du serveur : Une session est déjà lancée"
echo "---------------------------------------------------------------------"
else
echo "---------------------------------------------------------------------"
echo "Lancement du serveur : Debut de la sequence"
echo "---------------------------------------------------------------------"
screen -dmS $SCREENNAME ./codwaw_lnxded +set fs_basepath $APP_PATH +set fs_homepath $FSHOMEPATH +set dedicated 2 +set fs_game $FSGAME +exec $CFG +set sv_punkbuster 1 +set g_antilag 1 +set net_ip $IP +set net_port $PORT +map_rotate
echo "---------------------------------------------------------------------"
echo "Lancement du serveur : Fin de la sequence"
echo "---------------------------------------------------------------------"
fi
}
stop() {
echo "---------------------------------------------------------------------"
echo "Arret du serveur : Debut de la sequence"
echo "---------------------------------------------------------------------"
screen -dr $SCREENNAME -X quit
echo "---------------------------------------------------------------------"
echo "Arret du serveur : Fin de la sequence"
echo "---------------------------------------------------------------------"
}
case "$1" in
start)
start
;;
stop)
stop
;;
restart)
stop
sleep 1
start
;;
*)
usage
;;
esac
exit 0
You may need to give absolute paths for your fs_homepath and fs_basepath vars.
Morpheus
Le 13/08/2012 11:21, Mathis Klooß a écrit :
Hey There,
i need some help for my Startscript -> COD:WW (cod5)
how can i change the Punkbuster Homepath?
so actualy the homepath ist : $HOME/.codwaw/pb/
how can i set the correct punkbuster path? -> $HOME/server/cod5-bolt/pb
Thanks
Gunah
Startscript:
cd $HOME/server/cod5-bolt
./codwaw_lnxded \
+set net_ip [ServerIP] \
+set net_port 28960 \
+set dedicated 2 \
+set fs_basepath ./ \
+set fs_homepath ./ \
+set sv_punkbuster 1 \
+set ui_maxclients 24 \
+set sv_maxclients 24 \
+set sv_pure 1 \
+exec start.cfg
_______________________________________________
cod mailing list
cod at icculus.org
http://icculus.org/mailman/listinfo/cod
_______________________________________________
cod mailing list
cod at icculus.org
http://icculus.org/mailman/listinfo/cod
--
EscapedTurkey.com Billing and Support
https://www.escapedturkey.com/helpdesk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/cod/attachments/20120814/a256faf2/attachment.htm>
More information about the cod
mailing list