Bu konuyla ilgili daha önce bir başlık oluşturmuştum script dosyalarını değiştirince düzelmişti fakat şimdi tekrar başım belada kalıcı olarak kurtulmak için AltyapıSf yi (coreslerin ve scriptlerin bulunduğu yer ) silip tekrar kurdum ama durumdan kurtulamadım
Elimdeki Bütün Döküman Bu Başkada Birşey Çıkartmamış Ne Olduğu Konusunda Hiçbir fikrim yok
Sürekli Burda Takılıyor
start.sh:
#!/bin/sh
#### @Whistle | www.mmotutkunlari.com | oyunu baslatma scripti ####
flags=""
while getopts l:I: flag
do
case ${flag} in
l) level=$OPTARG
flags=" $flags -l $level "
echo "LOG LEVEL: $level"
;;
I) IP=$OPTARG
flags=" $flags -I $IP "
echo "PUBLIC IP: $IP"
;;
?) echo ""
echo "Kullanım: $0 -l log_level -I public_ip"
echo -e "\t-l : Serverin log seviyesini belirlemek için 0'dan 3'e kadar değer alabilir."
echo -e "\t-I : Serverin PUBLIC_IP değerini belirlemek içindir."
exit 1
;;
esac
done
main_dir=$(pwd)
cores="db auth $(cat cores.list)"
for i in $cores
do
PIDNUM=$(ps afx | fgrep "./$i" | fgrep -v grep | awk '{print $1}')
if [ -z $PIDNUM ]; then
echo "$i aciliyor..."
cd $main_dir/cores/$i
./$i $flags & pwd & sleep 5
else
echo "$i zaten acik. pid: $PIDNUM"
fi
while true; do
CHECK_PID=$(ps afx | fgrep "./$i" | fgrep -v grep | awk '{print $1}')
if [ -z $CHECK_PID ]; then
echo "$i hala acilmadi. Bekleniyor..."
else
#echo "$i acildi."
break
fi
sleep 3
done
done
db syserr:
SYSERR: Sep 20 05:00:59 :: pid_init:
Start of pid: 4548
SYSERR: Sep 20 05:00:59 :: Start: TABLE_POSTFIX not configured use default
SYSERR: Sep 20 05:01:04 :: Load: DirectQuery failed(SELECT IP_FROM, IP_TO, COUNTRY_NAME FROM iptocountry)
SYSERR: Sep 20 05:33:30 :: hupsig: SIGHUP, SIGINT, SIGTERM signal has been received. shutting down.
SYSERR: Sep 20 05:33:30 :: hupsig: SIGHUP, SIGINT, SIGTERM signal has been received. shutting down.
SYSERR: Sep 20 05:33:30 :: hupsig: SIGHUP, SIGINT, SIGTERM signal has been received. shutting down.
SYSERR: Sep 20 05:33:30 :: hupsig: SIGHUP, SIGINT, SIGTERM signal has been received. shutting down.
SYSERR: Sep 20 05:33:30 :: pid_deinit:
End of pid
SYSERR: Sep 20 05:35:59 :: pid_init:
Start of pid: 6448
SYSERR: Sep 20 05:35:59 :: Start: TABLE_POSTFIX not configured use default
SYSERR: Sep 20 05:36:04 :: Load: DirectQuery failed(SELECT IP_FROM, IP_TO, COUNTRY_NAME FROM iptocountry)
SYSERR: Sep 20 05:38:05 :: hupsig: SIGHUP, SIGINT, SIGTERM signal has been received. shutting down.
SYSERR: Sep 20 05:38:05 :: pid_deinit:
End of pid
db syslog:
Sep 20 05:38:04 :: [ 1250] return 0/0/0 async 0/0/0
SYSERR: Sep 20 05:38:05 :: hupsig: SIGHUP, SIGINT, SIGTERM signal has been received. shutting down.
Sep 20 05:38:05 :: MainLoop exited, Starting cache flushing
Sep 20 05:38:05 :: AsyncSQL: closing mysql connection.
Sep 20 05:38:05 :: AsyncSQL: closing mysql connection.
Sep 20 05:38:05 :: AsyncSQL: closing mysql connection.
Sep 20 05:38:05 :: AsyncSQL: closing mysql connection.
Sep 20 05:38:05 :: AsyncSQL: closing mysql connection.
Sep 20 05:38:05 :: AsyncSQL: closing mysql connection.
Sep 20 05:38:05 :: AsyncSQL: closing mysql connection.
Sep 20 05:38:05 :: AsyncSQL: closing mysql connection.
Sep 20 05:38:05 :: AsyncSQL: closing mysql connection.
Sep 20 05:38:05 :: AsyncSQL: closing mysql connection.
Sep 20 05:38:05 :: AsyncSQL: closing mysql connection.
Sep 20 05:38:05 :: AsyncSQL: closing mysql connection.
SYSERR: Sep 20 05:38:05 :: pid_deinit:
End of pid
Elimdeki Bütün Döküman Bu Başkada Birşey Çıkartmamış Ne Olduğu Konusunda Hiçbir fikrim yok
Sürekli Burda Takılıyor