KpC Posted April 5, 2011 Report Share Posted April 5, 2011 Kas notiek? Manos visos 4 serveros hltv ik pa laikam pazūd tā, itkā nebūtu nemaz ieslēgti.. :@ Link to comment Share on other sites More sharing options...
BOT^a Posted April 5, 2011 Report Share Posted April 5, 2011 ja izmanto mapchooser/rtv pluginu tad tas ir deelj vinja Link to comment Share on other sites More sharing options...
KpC Posted April 5, 2011 Author Report Share Posted April 5, 2011 dd2 serverī nav rtv, bet tas pats notiek.. un iepriekš nekas tāds ar visu rtv nebija.. Link to comment Share on other sites More sharing options...
ANALGINS Posted April 5, 2011 Report Share Posted April 5, 2011 nu bez log failiem jau tev neizzīdīsim kas notiek uz tavas kastes.. Link to comment Share on other sites More sharing options...
KpC Posted April 5, 2011 Author Report Share Posted April 5, 2011 (edited) Log faili tukši.. :/ EDIT: Es atstāju vaļā hltv konsoli puttyā (screen -r mans_hltv) un man vienkārši izmet [screen is terminating], kaut gan es neko nedarīju.. :@ EDIT: Atrisinājums uz linux #! /bin/sh srv1_name="mans_hltv" srv1_fname="mans_hltv" srv1_dirpath="/cs/serveris" srv1_chk=`screen -ls | grep $srv1_name` function srv1_started() { if [[ -z $srv1_chk ]]; then return 1 else return 0 fi } function srv1_stop() { srv1_started if [ $? -eq 1 ]; then return 1 fi /usr/bin/screen -S $srv1_name -X quit >/dev/null 2>&1 return 0 } function srv1_start() { srv1_started if [ $? -eq 0 ]; then return 1 fi cd $srv1_dirpath && screen -AmdS $srv1_name ./hltv_run return 0 } function srv1_echo() { echo -n $2 $1 if [ $? -eq 0 ]; then echo -e "\t\t[ OK ]" else echo -e "\t\t[FAIL]" fi return 0 } case $1 in start) srv1_echo srv1_start "STARTING $srv1_fname: `basename $0` start" ;; stop) srv1_echo srv1_stop "STOPING $srv1_fname: `basename $0` stop" ;; restart) srv1_echo srv1_stop "STOPING $srv1_fname: `basename $0` stop" srv1_echo srv1_start "STARTING $srv1_fname: `basename $0` start" ;; *) echo "Use Commands: `basename $0` start|stop|restart" ;; esac Un tad /path/uz/sito/failu.sh start Edited April 5, 2011 by KpC Link to comment Share on other sites More sharing options...
-Ex- Posted April 5, 2011 Report Share Posted April 5, 2011 Drīkst jautāt kur tieši atradi atrisinājumu, t.i., saiti uz weblapu ? Link to comment Share on other sites More sharing options...
KpC Posted April 5, 2011 Author Report Share Posted April 5, 2011 (edited) Paņēmu savu servera palaišanas skriptu, kas čeko vai ir ieslēgts process, vai nav, tad to pārtaisīju. EDIT: Tomēr notiek tas pats, nezinu kas par vainu.. Edited April 5, 2011 by KpC Link to comment Share on other sites More sharing options...
-Ex- Posted April 5, 2011 Report Share Posted April 5, 2011 Cik bieži tev "crasho"? Man iespējams kas līdzīgs ar HLTV ir, agrāk likās, ka ik pēc 7h... Link to comment Share on other sites More sharing options...
KpC Posted April 6, 2011 Author Report Share Posted April 6, 2011 (edited) Kā kuru reizi, bet bieži.. Apmēram 1h.. Kā salaboji? EDIT: Fixed. Pluginā, kuru biju uzrakstījis biju aizmirsis par is_user_hltv funkciju.. Edited April 6, 2011 by KpC Link to comment Share on other sites More sharing options...
Recommended Posts