Am un server pe care nu l-am mai rulat de mai bine de 4 ani. Zilele astea am vrut sa il pornesc configurez si sa il pornesc. Am configurat serverul cu comanda netif restart, mi-am introdus ip-ul de hamachi acolo, am setat la virtual box reteaua programului hamachi. Am modificat ip-ul in client, am verificat porturile sa coencida cu cele de pe server (ip-ul a fost introdus cu 100 la final) dupa care l-am rulat. Spre surprinderea mea atunci cand incerc sa ma conectez imi da erroare conectare la server.Tin sa mentionez ca acum 4 ani mergea
game99: nu am syslog si nici syserr
db: syslog:
Jul 30 22:00:01 :: [ 5750] return 0/0/0 async 0/0/0
Jul 30 22:00:06 :: [ 5800] return 0/0/0 async 0/0/0
....
Jul 30 22:10:21 :: [ 11950] return 0/0/0 async 0/0/0
Jul 30 22:10:26 :: [ 12000] return 0/0/0 async 0/0/0
syserr:
SYSERR: Jul 30 21:50:26 :: pid_init:
Start of pid: 857
SYSERR: Jul 30 21:50:26 :: Start: TABLE_POSTFIX not configured use default
auth: nu am syslog si nici syserr
ch1_1:nu am syslog si nici syserr
Ch1_2: nu am syslog si nici syserr
Ch1_3: nu am syslog si nici syserr
Iar acesta e continutul fisierului start.sh
#!/bin/sh
echo -e "\033[31m Pornire server Metin2Vision.\033[0m"
echo -e "\033[31m
Cate canale doresti sa porrnesti? \n
1 - 1 Canal\n
2 - 2 Canale\n
3 - 3 Canale\n
4 - 4 Canale\033[0m"
read chs
case $chs in
1*)
echo -e "\033[31m Pornire Database...\033[0m"
cd /usr/game/channels/g1/db/
rm -rf syserr syslog
./db &
sleep 2
clear
echo -e "\033[31m \n Pornire Inputs...\033[0m"
cd /usr/game/channels/g1/auth/
rm -rf syserr syslog
./auth &
sleep 2
clear
echo -e "\033[31m \n Pornire Canal 1...\033[0m"
cd /usr/game/channels/channel1/ch1_1/
#./game &
./game -I 25.100.168.100 -P 30010 &
sleep 2
cd /usr/game/channels/channel1/ch1_2/
#./game &
./game -I 25.100.168.100 -P 30010 &
sleep 2
cd /usr/game/channels/channel1/ch1_3/
#./game &
./game -I 25.100.168.100 -P 30010 &
sleep 2
cd /usr/game/channels/game99/game99_1/
#./game &
./game -I 25.100.168.100 -P 30010 &
sleep 2
echo -e "\033[31m \n Curatare loguri Canal 1...\033[0m"
cd /usr/game/channels/channel1/ch1_1/
rm -rf game.core syserr syslog udp_packet_info.txt stdout sh.core pid packet_info.txt p2p_packet_info.txt
sleep 2
cd /usr/game/channels/channel1/ch1_2/
rm -rf game.core syserr syslog udp_packet_info.txt stdout sh.core pid packet_info.txt p2p_packet_info.txt
sleep 2
cd /usr/game/channels/channel1/ch1_3/
rm -rf game.core syserr syslog udp_packet_info.txt stdout sh.core pid packet_info.txt p2p_packet_info.txt
sleep 2
echo -e "\033[31m \n Curatare loguri Game_99...\033[0m"
cd /usr/game/channels/game99/game99_1/
rm -rf game.core syserr syslog udp_packet_info.txt stdout sh.core pid packet_info.txt p2p_packet_info.txt
sleep 2
#cd /usr/game/channels/g1/auth && sh auth.sh &
clear
echo -e "\033[31m Procesul a fost finalizat.\033[0m"
;;
Cand introduc comanda sh start.sh la un moment dat imi apare in consola urmatorul mesaj:

Multumesc anticipat,



