PDA

View Full Version : Cần Anh Gunbound giúp !



killwilliam
22-07-08, 02:48 PM
Em làm đúng như hướng dẩn rồi mà sao ko khởi động server được. Mong các anh chị giúp giùm em.
<b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b>
=== KHOI DONG WEBSIDE ===
Using CATALINA_BASE: /usr/local/jakarta-tomcat-5.5.9
Using CATALINA_HOME: /usr/local/jakarta-tomcat-5.5.9
Using CATALINA_TMPDIR: /usr/local/jakarta-tomcat-5.5.9/temp
Using JRE_HOME: /usr/java/jdk1.5.0_05
=== HOAN TAT ===

=== KHOI DONG LOGSERVICE ===
info : program started with 6 threads.
=== HOAN TAT ===

=== KHOI DONG UNIQUENAMED ===
cd: 22: can't cd to /server/uniquenamed
/server/start.sh: 22: ./uniquenamed: not found
=== HOAN TAT ===

=== KHOI DONG AUTH ===
./authd: 4: java: Permission denied
./authd: 7: Syntax error: "done" unexpected
=== TOAN TAT ===

=== KHOI DONG GAMEDBD ===
cd: 34: can't cd to /server/gamedbd
/server/start.sh: 34: ./gamedbd: not found
=== HOAN TAT ===

=== KHOI DONG GACD ===
info : program started with 1 threads.
=== HOAN TAT ===

=== KHOI DONG GFACTIOND ===
info : TcpManager OnAddSession
info : program started with 1 threads.
info : logclient: OnAddSession
info : logclienttcp: OnAddSession
=== HOAN TAT ===

=== KHOI DONG GDELIVERYD ===
info : TcpManager OnAddSession
TRACE : gdeliveryd::Max player allowed is 6000
TRACE : Timer update: (0) Tue Jul 22 21:45:17 2008

info : program started with 1 threads.
TRACE : ganticheatclient:: connect gacd successfully!
info : logclienttcp: OnAddSession
err : gdelivery:: connect GameDB failed
err : gdelivery::connect to GAuth server failed. Reconnecting....
TRACE : gdelivery::connect gfactionserver successfully.
info : logclient: OnAddSession
TRACE : gfactionserver:: add link(or Delivery) 0 to map.
TRACE : Receive zoneid=1 from delivery
info : OnAddSession
=== HOAN TAT ===

=== KHOI DONG GLINKD ===
info : TcpManager OnAddSession
info : program started with 1 threads.
info : logclient: OnAddSession
info : logclienttcp: OnAddSession
TRACE : gfactionserver:: add link(or Delivery) 1 to map.
err : gdelivery::connect to GAuth server failed. Reconnecting....
err : gdelivery:: connect GameDB failed
=== HOAN TAT ===

=== KHOI DONG MAIN WORLD ===
err : gdelivery:: connect GameDB failed
err : gdelivery::connect to GAuth server failed. Reconnecting....
err : gdelivery::connect to GAuth server failed. Reconnecting....
err : gdelivery:: connect GameDB failed
err : gdelivery::connect to GAuth server failed. Reconnecting....
err : gdelivery:: connect GameDB failed
=== HOAN TAT ===

================================================= ==============
= SERVER VA WEBSIDE DA DUOC KHOI DONG HOAN TAT =
================================================= ==============
<b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b>
err : gdelivery:: connect GameDB failed
err : gdelivery::connect to GAuth server failed. Reconnecting....
err : gdelivery:: connect GameDB failed
TRACE : gdeliveryserver::statusannounce,online=0,fakemax=6 000,load=0,attr=-268435456
err : gdelivery:: connect GameDB failed
err : gdelivery::connect to GAuth server failed. Reconnecting....
info : OnAddSession
err : gdelivery::connect to GAuth server failed. Reconnecting....
err : gdelivery:: connect GameDB failed
err : gdelivery:: connect GameDB failed
err : gdelivery::connect to GAuth server failed. Reconnecting....
err : gdelivery:: connect GameDB failed
err : gdelivery::connect to GAuth server failed. Reconnecting....
"

killwilliam
22-07-08, 02:50 PM
File Start.sh của em đây.
#!/bin/sh

PW_PATH=/server

if [ ! -d $PW_PATH/logs ]; then
mkdir $PW_PATH/logs
fi

echo "=== KHOI DONG WEBSIDE ==="
/usr/local/jakarta-tomcat-5.5.9/bin/startup.sh
sleep 5
echo "=== HOAN TAT ==="
echo ""

echo "=== KHOI DONG LOGSERVICE ==="
cd $PW_PATH/logservice; ./logservice logservice.conf >$PW_PATH/logs/logservice.log &
sleep 2
echo "=== HOAN TAT ==="
echo ""

echo "=== KHOI DONG UNIQUENAMED ==="
cd $PW_PATH/uniquenamed; ./uniquenamed gamesys.conf >$PW_PATH/logs/uniquenamed.log &
sleep 2
echo "=== HOAN TAT ==="
echo ""

echo "=== KHOI DONG AUTH ==="
cd $PW_PATH/authd/build/; ./authd &
sleep 5
echo "=== TOAN TAT ==="
echo ""

echo "=== KHOI DONG GAMEDBD ==="
cd $PW_PATH/gamedbd; ./gamedbd gamesys.conf >$PW_PATH/logs/gamedbd.log &
sleep 2
echo "=== HOAN TAT ==="
echo ""

echo "=== KHOI DONG GACD ==="
cd $PW_PATH/gacd; ./gacd gamesys.conf >$PW_PATH/logs/gacd.log &
sleep 2
echo "=== HOAN TAT ==="
echo ""

echo "=== KHOI DONG GFACTIOND ==="
cd $PW_PATH/gfactiond; ./gfactiond gamesys.conf >$PW_PATH/logs/gfactiond.log &
sleep 2
echo "=== HOAN TAT ==="
echo ""

echo "=== KHOI DONG GDELIVERYD ==="
cd $PW_PATH/gdeliveryd; ./gdeliveryd gamesys.conf >$PW_PATH/logs/gdeliveryd.log &
sleep 2
echo "=== HOAN TAT ==="
echo ""

echo "=== KHOI DONG GLINKD ==="
cd $PW_PATH/glinkd; ./glinkd gamesys.conf 1 >$PW_PATH/logs/glink.log &
# cd $PW_PATH/glinkd; ./glinkd gamesys.conf 2 >$PW_PATH/logs/glink2.log &
# cd $PW_PATH/glinkd; ./glinkd gamesys.conf 3 >$PW_PATH/logs/glink3.log &
# cd $PW_PATH/glinkd; ./glinkd gamesys.conf 4 >$PW_PATH/logs/glink4.log &
sleep 2
echo "=== HOAN TAT ==="
echo ""

echo "=== KHOI DONG MAIN WORLD ==="
cd $PW_PATH/gamed; ./gs gs01 >$PW_PATH/logs/game1.log &
sleep 10
echo "=== HOAN TAT ==="
echo ""

echo "================================================= =============="
echo "= SERVER VA WEBSIDE DA DUOC KHOI DONG HOAN TAT ="
echo "================================================= =============="

gunbound1012
22-07-08, 07:50 PM
coi cái file này nè
.bash_profile

# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/bin:/usr/java/jdk1.5.0_05/bin
BASH_ENV=$HOME/.bashrc
USERNAME="root"

PATH=$PATH:$HOME/bin:/usr/lib/mysql/bin
BASH_ENV=$HOME/.bashrc
USERNAME="ROOT"

export USERNAME BASH_ENV PATH
export CLASSPATH=.:/usr/java/jdk1.5.0_05/lib/dt.jar:/usr/java/jdk1.5.0_05/lib/tools.jar:/usr/java/jdk1.5.0_05/lib/mysql-connector-java-3.0.16-ga-bin.jar:/usr/java/msSQLjdbc/lib/msbase.jar:/usr/java/msSQLjdbc/lib/mssqlserver.jar:/usr/java/msSQLjdbc/lib/msutil.jar
export PATH=$JAVA_HOME/bin:$PATH
export JAVA_HOME=/usr/java/jdk1.5.0_05
export LC_ALL=zh_CN
export LANG=zh_CN

chọn 777

đường dẫn coi lại có đúng không

PW_PATH=/server
1 số do server đặt trong home , root , thì cứ sửa lại đúng đường dẫn là dc

killwilliam
23-07-08, 12:31 AM
<b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b>

gunbound1012
23-07-08, 07:15 PM
dơnload cai ubuntu server tôi share đó
config ip là 192.168.1.200 rùi bên mục server for linux đó