Jump to content

Problems with shell start script


Recommended Posts

Hello dudes, I've writen a shell script to start my server but it doesnt realy work.

The script:

Spoiler

#!/bin/sh

SERVER_DIR=/usr/nayung

# DBCACHE
cd $SERVER_DIR/database && ./database
#sleep 2

# AUTH
cd $SERVER_DIR/auth && ./auth

# CHANNEL1
cd $SERVER_DIR/channel1/core1 && ./channel1_core1
cd $SERVER_DIR/channel1/core2 && ./channel1_core2
cd $SERVER_DIR/channel1/core3 && ./channel1_core3
cd $SERVER_DIR/channel1/core4 && ./channel1_core4
cd $SERVER_DIR/channel1/core5 && ./channel1_core5

# CHANNEL2
cd $SERVER_DIR/channel2/core1 && ./channel2_core1
cd $SERVER_DIR/channel2/core2 && ./channel2_core2
cd $SERVER_DIR/channel2/core3 && ./channel2_core3
cd $SERVER_DIR/channel2/core4 && ./channel2_core4
cd $SERVER_DIR/channel2/core5 && ./channel2_core5

# CHANNEL2
cd $SERVER_DIR/channel99/core1 && ./channel99_core1
cd $SERVER_DIR/channel99/core2 && ./channel99_core2
cd $SERVER_DIR/channel99/core3 && ./channel99_core3
cd $SERVER_DIR/channel99/core4 && ./channel99_core4
cd $SERVER_DIR/channel99/core5 && ./channel99_core5

sleep 2
echo "Server wurde gestartet!"

 

The problem is when is start this script, it stay like this, till I abort it:

Spoiler

root@:/usr/xxxx# ./start.sh
Real Server
Log OffAsyncSQL: connected to localhost (reconnect 1)
Success PLAYER
AsyncSQL: connected to localhost (reconnect 1)
AsyncSQL: connected to localhost (reconnect 1)
AsyncSQL: connected to localhost (reconnect 1)
Success ACCOUNT
AsyncSQL: connected to localhost (reconnect 1)
AsyncSQL: connected to localhost (reconnect 1)
Success COMMON
AsyncSQL: connected to localhost (reconnect 1)
AsyncSQL: connected to localhost (reconnect 1)
AsyncSQL: connected to localhost (reconnect 1)
AsyncSQL: connected to localhost (reconnect 1)
Success HOTBACKUP
AsyncSQL: connected to localhost (reconnect 1)
AsyncSQL: connected to localhost (reconnect 1)

It would be nice, if someone could help me. And excuse my horrible english.

So far,

- alg0r!thm

Link to comment
Share on other sites

Thank you very much. Now I've another question, what are the solution for this errors?

Spoiler

SYSERR: Aug 30 15:33:35 :: pid_init:
Start of pid: 2672

SYSERR: Aug 30 15:33:37 :: BuildStateIndexToName: QUEST wrong quest state file for quest ride
SYSERR: Aug 30 15:33:38 :: GetQuestStateIndex: QUEST wrong quest state file ride.start
SYSERR: Aug 30 15:33:38 :: GetQuestStateIndex: QUEST wrong quest state file ride.start
SYSERR: Aug 30 15:33:45 :: GetQuestStateIndex: QUEST wrong quest state file ride.start
SYSERR: Aug 30 15:33:45 :: GetQuestStateIndex: QUEST wrong quest state file ride.start
SYSERR: Aug 30 15:33:45 :: GetQuestStateIndex: QUEST wrong quest state file ride.start
SYSERR: Aug 30 15:33:45 :: GetQuestStateIndex: QUEST wrong quest state file ride.start
SYSERR: Aug 30 15:33:45 :: GetQuestStateIndex: QUEST wrong quest state file ride.start
SYSERR: Aug 30 15:33:45 :: GetQuestStateIndex: QUEST wrong quest state file ride.start
SYSERR: Aug 30 15:33:45 :: GetQuestStateIndex: QUEST wrong quest state file ride.start
SYSERR: Aug 30 15:33:45 :: GetQuestStateIndex: QUEST wrong quest state file ride.start
SYSERR: Aug 30 15:33:45 :: GetQuestStateIndex: QUEST wrong quest state file ride.start
SYSERR: Aug 30 15:33:45 :: GetQuestStateIndex: QUEST wrong quest state file ride.start
SYSERR: Aug 30 15:33:45 :: GetQuestStateIndex: QUEST wrong quest state file ride.start
SYSERR: Aug 30 15:33:45 :: GetQuestStateIndex: QUEST wrong quest state file ride.start
SYSERR: Aug 30 15:33:45 :: GetQuestStateIndex: QUEST wrong quest state file ride.start
SYSERR: Aug 30 15:33:45 :: GetQuestStateIndex: QUEST wrong quest state file ride.start
SYSERR: Aug 30 15:33:45 :: GetQuestStateIndex: QUEST wrong quest state file ride.start
SYSERR: Aug 30 15:33:45 :: GetQuestStateIndex: QUEST wrong quest state file ride.start
SYSERR: Aug 30 15:33:45 :: GetQuestStateIndex: QUEST wrong quest state file ride.start
SYSERR: Aug 30 15:33:45 :: GetQuestStateIndex: QUEST wrong quest state file ride.start
SYSERR: Aug 30 15:33:45 :: GetQuestStateIndex: QUEST wrong quest state file ride.start
SYSERR: Aug 30 15:33:45 :: GetQuestStateIndex: QUEST wrong quest state file ride.start
SYSERR: Aug 30 15:35:45 :: LoadSkillMotion: Motion: Skill exist but no motion data for index 0 mob 3596 skill 257
SYSERR: Aug 30 15:35:45 :: LoadSkillMotion: Motion: Skill exist but no motion data for index 1 mob 3596 skill 258
SYSERR: Aug 30 15:35:47 :: heart_idle: losing 127 seconds. (lag occured)
SYSERR: Aug 30 15:36:41 :: ModifyPoints: cannot find table by vnum 1473074360
SYSERR: Aug 30 15:37:49 :: ModifyPoints: cannot find table by vnum 1473074360
SYSERR: Aug 30 15:38:00 :: ModifyPoints: cannot find table by vnum 1473074360
SYSERR: Aug 30 15:38:00 :: ModifyPoints: cannot find table by vnum 1473074360
SYSERR: Aug 30 15:38:00 :: ModifyPoints: cannot find table by vnum 1473074360
SYSERR: Aug 30 15:38:07 :: ModifyPoints: cannot find table by vnum 1473074360
SYSERR: Aug 30 15:39:28 :: ModifyPoints: cannot find table by vnum 1473074360
SYSERR: Aug 30 15:40:56 :: ModifyPoints: cannot find table by vnum 1473074360
SYSERR: Aug 30 15:40:56 :: ModifyPoints: cannot find table by vnum 1473074360
SYSERR: Aug 30 15:40:56 :: ModifyPoints: cannot find table by vnum 1473074360
SYSERR: Aug 30 15:42:36 :: ModifyPoints: cannot find table by vnum 1473074360
SYSERR: Aug 30 15:42:39 :: ModifyPoints: cannot find table by vnum 1473074360
SYSERR: Aug 30 15:45:44 :: Process: SEQUENCE 2a1cd600 mismatch 0xaf != 0x64 header 254
SYSERR: Aug 30 15:45:44 :: Process: SEQUENCE_LOG [UNKNOWN]-------------
    [254 : 0xaf]

SYSERR: Aug 30 15:49:42 :: ModifyPoints: cannot find table by vnum 1473074360
SYSERR: Aug 30 15:49:45 :: ModifyPoints: cannot find table by vnum 1473074360
SYSERR: Aug 30 15:49:45 :: ModifyPoints: cannot find table by vnum 1473074360
SYSERR: Aug 30 15:49:45 :: ModifyPoints: cannot find table by vnum 1473074360
SYSERR: Aug 30 15:49:52 :: ModifyPoints: cannot find table by vnum 1473074360
SYSERR: Aug 30 15:50:42 :: ModifyPoints: cannot find table by vnum 1473074360
SYSERR: Aug 30 15:50:50 :: ModifyPoints: cannot find table by vnum 1473074360
SYSERR: Aug 30 15:50:53 :: ModifyPoints: cannot find table by vnum 1473074360
SYSERR: Aug 30 15:50:56 :: ModifyPoints: cannot find table by vnum 1473074360
SYSERR: Aug 30 15:50:58 :: ModifyPoints: cannot find table by vnum 1473074360
SYSERR: Aug 30 15:51:10 :: ModifyPoints: cannot find table by vnum 1473074360
SYSERR: Aug 30 15:51:10 :: ModifyPoints: cannot find table by vnum 1473074360
SYSERR: Aug 30 15:51:10 :: ModifyPoints: cannot find table by vnum 1473074360
SYSERR: Aug 30 15:51:25 :: ModifyPoints: cannot find table by vnum 1473074360
SYSERR: Aug 30 15:52:07 :: BuildStateIndexToName: QUEST wrong quest state file for quest ride
SYSERR: Aug 30 15:52:09 :: GetQuestStateIndex: QUEST wrong quest state file ride.start
SYSERR: Aug 30 15:52:09 :: GetQuestStateIndex: QUEST wrong quest state file ride.start
SYSERR: Aug 30 15:52:28 :: GetQuestStateIndex: QUEST wrong quest state file ride.start
SYSERR: Aug 30 15:52:28 :: GetQuestStateIndex: QUEST wrong quest state file ride.start
SYSERR: Aug 30 15:52:28 :: GetQuestStateIndex: QUEST wrong quest state file ride.start
SYSERR: Aug 30 15:52:28 :: GetQuestStateIndex: QUEST wrong quest state file ride.start
SYSERR: Aug 30 15:52:28 :: GetQuestStateIndex: QUEST wrong quest state file ride.start
SYSERR: Aug 30 15:52:28 :: GetQuestStateIndex: QUEST wrong quest state file ride.start
SYSERR: Aug 30 15:52:28 :: GetQuestStateIndex: QUEST wrong quest state file ride.start
SYSERR: Aug 30 15:52:28 :: GetQuestStateIndex: QUEST wrong quest state file ride.start
SYSERR: Aug 30 15:52:28 :: GetQuestStateIndex: QUEST wrong quest state file ride.start
SYSERR: Aug 30 15:52:28 :: GetQuestStateIndex: QUEST wrong quest state file ride.start
SYSERR: Aug 30 15:52:28 :: GetQuestStateIndex: QUEST wrong quest state file ride.start
SYSERR: Aug 30 15:52:28 :: GetQuestStateIndex: QUEST wrong quest state file ride.start
SYSERR: Aug 30 15:52:28 :: GetQuestStateIndex: QUEST wrong quest state file ride.start
SYSERR: Aug 30 15:52:28 :: GetQuestStateIndex: QUEST wrong quest state file ride.start
SYSERR: Aug 30 15:52:28 :: GetQuestStateIndex: QUEST wrong quest state file ride.start
SYSERR: Aug 30 15:52:28 :: GetQuestStateIndex: QUEST wrong quest state file ride.start
SYSERR: Aug 30 15:52:28 :: GetQuestStateIndex: QUEST wrong quest state file ride.start
SYSERR: Aug 30 15:52:28 :: GetQuestStateIndex: QUEST wrong quest state file ride.start
SYSERR: Aug 30 15:52:28 :: GetQuestStateIndex: QUEST wrong quest state file ride.start
SYSERR: Aug 30 15:52:28 :: GetQuestStateIndex: QUEST wrong quest state file ride.start
SYSERR: Aug 30 15:52:44 :: ModifyPoints: cannot find table by vnum 1473074360

 


And this:

 

Spoiler

mysql: [Warning] Using a password on the command line interface can be insecure.

ERROR 1305 (42000) at line 1: PROCEDURE player.pet_AllPets does not exist
ERROR 1305 (42000)ERROR 1305 (42000) at line 1: PROCEDURE player.pet_AllPets does not exist

locale/germany/quest/object/state/ride:2: `}' expected near `apply'

 

 

So far,

- alg0r!thm

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.