.startService.sh for EP1
#1

Hey Guys i search a working .startService.sh for EP1 Linux Files ...

 

i tried

#!/bin/sh

cd Connector;
./start;
sleep 5;

cd ../../;
cd Helper;
./start;
sleep 5;

cd ../../;
cd Messenger;
./start;
sleep 5;

cd ../../;
cd GameServer;
./start;
sleep 5;

cd ../../;
cd LoginServer;
./start;
sleep 5;

but it gives me this

[root@kd27358 ~]# cd /home/LastChaos                                           
[root@kd27358 LastChaos]# ./startService.sh                                    
cp: cannot stat `../../new/Connector: No such file or directory
Loading Setting File...
LastChaos Connector Running... (Language:Korean)
./startService.sh: line 9: cd: Helper: No such file or directory
./startService.sh: line 10: ./start: No such file or directory
./startService.sh: line 14: cd: Messenger: No such file or directory
./startService.sh: line 15: ./start: No such file or directory
./startService.sh: line 19: cd: GameServer: No such file or directory
./startService.sh: line 20: ./start: No such file or directory
./startService.sh: line 24: cd: LoginServer: No such file or directory
./startService.sh: line 25: ./start: No such file or directory

can any1 help me ?

 

 

#2

 

 
#!/bin/sh

cd Connector;
./start;

cd ../;
cd Helper;
./start;

cd ../;
cd Messenger;
./start;

cd ../;
cd GameServer;
./start;

cd ../;
cd LoginServer;
./start;
 

#3

thx but now ...
 

[root@kd27358 ~]# cd /home/LastChaos
[root@kd27358 LastChaos]# ./startService.sh
[root@kd27358 LastChaos]# cp: cannot stat `../../new/Helper: No such file or directory
cp: cannot stat `../../new/Messenger: No such file or directory
cp: cannot stat `../../new/Connector: No such file or directory
Load setting file....
Helper Server Running...
cp: cannot stat `../../new/*tar.gz: No such file or directory
Load setting file....
Messenger Server Running...
Loading Setting File...
LastChaos Connector Running... (Language:Korean)
cp: cannot stat `../../new/LoginServer: No such file or directory
Load setting file....
tar: *tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
Login Server Running...
rm: cannot remove `*tar.gz: No such file or directory
cp: cannot stat `../../new/GameServer: No such file or directory
Load setting file....
SETTINGS
: Old Network Format
: Little Endian
Force start zone 0
LastChaos Running...

i dont know what is worng there -.-

 

i got same error like my first when i make a /new/ folder ...

#4
./Helper start &

#5

I dont understand, you need to start EP1 on Linux?

If yes, you need to install mono or wine. Then something like this:

 

 

cd Connector;
mono Connector.exe

cd ../;
cd Helper;
mono Helper.exe

cd ../;
cd Messenger;
mono Messenger.exe

cd ../;
cd GameServer;
mono GameServer.exe

cd ../;
cd LoginServer;
mono LoginServer.exe
 
#6


 

I dont understand, you need to start EP1 on Linux?

If yes, you need to install mono or wine. Then something like this:

cd Connector;
mono Connector.exe

cd ../;
cd Helper;
mono Helper.exe

cd ../;
cd Messenger;
mono Messenger.exe

cd ../;
cd GameServer;
mono GameServer.exe

cd ../;
cd LoginServer;
mono LoginServer.exe
 

 

i dont have Windows Files on Linux ...

my Server Files are 100% Linux

Undecided

#7


i dont have Windows Files on Linux ...

my Server Files are 100% Linux

Undecided

This means you are using EP2? I have never seen EP1 in linux lol, only 2005

#8

This means you are using EP2? I have never seen EP1 in linux lol, only 2005

Same :o

#9
thats what i wnat to start ... i have 2005 Files that i want to start

#10

thats my run file ... that cant work -.-

#!/bin/bash

while ( : ) do
DATE=`date`
if [ -r .shutdown ]; then
rm -f .shutdown
fi

#cp ../../new/Connector .
./Connector test

DATE2=`date`
if [ -r .shutdown ]; then
echo "***** Shutdown $DATE ~ $DATE2" >> rebootlog
exit
fi

echo "!!!!! Reboot $DATE ~ $DATE2" >> rebootlog
sleep 2
done



Forum Jump:


Users browsing this thread: 1 Guest(s)