Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[Guide] Perfect World Server 1.3.6 on Colinux Tutorial (with pictures)

Initiate Mage
Joined
Jun 10, 2008
Messages
50
Reaction score
0
Yeah, I just tried it on an older pc of mine and it came up with the same error. It's got a decent CPU (better then my running pw server pc's I think), so it's definitely not that. And it's more then likely not a configuration problem, since I've set up PW servers before. Unless I have a horrible mental illness that makes me forget gaps of memory and not even remember that I forgot. :C

Anyways, going to test the fresh server files and upload.

Szaer - [Guide] Perfect World Server 1.3.6 on Colinux Tutorial (with pictures) - RaGEZONE Forums

Szaer - [Guide] Perfect World Server 1.3.6 on Colinux Tutorial (with pictures) - RaGEZONE Forums

all right il try it on my other comp to see what happens
 
is making carefully.
Joined
Nov 21, 2006
Messages
368
Reaction score
18
So it has something to do with startup.sh. Either a corrupted file so the script/system don't understand it, or the startup script is messed up. I could either post a different startup.sh, or do you want to try a fresh server image?


EDIT:

do nano /home/startup.sh and change it to this

Code:
#!/bin/sh
echo ""
echo ""
echo "###########################################################################################"
echo "Starting PW Servers... Please Wait..."
echo "###########################################################################################"
echo ""
echo ""

###################################################################
cd /home/logservice
echo -n "starting logservice... "
/usr/bin/screen -dmS logservice ./logservice logservice.conf
sleep 2
echo "done!"
###################################################################

###################################################################
cd /home/uniquenamed
echo -n "starting uniquenamed... "
/usr/bin/screen -dmS uniquenamed ./uniquenamed ./gamesys.conf
sleep 2
echo "done!"
###################################################################

###################################################################
cd /home/authd
echo -n "starting authd... "
/usr/bin/screen -dmS authd ./authd
#./authd 1>/var/log/authd.pw 2>/var/log/authd.pw &
sleep 2
echo "done!"
###################################################################

###################################################################
cd /home/gamedbd
echo -n "starting gamedbd... "
/usr/bin/screen -dmS gamedbd ./gamedbd ./gamesys.conf
sleep 2
echo "done!"
###################################################################

###################################################################
cd /home/gdeliveryd
echo -n "starting gdeliveryd... "
/usr/bin/screen -dmS gdeliveryd ./gdeliveryd ./gamesys.conf
sleep 2
echo "done!"
###################################################################

###################################################################
cd /home/gfactiond
echo -n "starting gfactiond... "
/usr/bin/screen -dmS gfactiond ./gfactiond ./gamesys.conf
sleep 2
echo "done!"
###################################################################

###################################################################
cd /home/gacd
echo -n "starting gacd... "
/usr/bin/screen -dmS gacd ./gacd ./gamesys.conf
sleep 2
echo "done!"
###################################################################

###################################################################
cd /home/glinkd
echo -n "starting glinkd... "
/usr/bin/screen -dmS glinkd1 ./glinkd ./gamesys.conf 1
#/usr/bin/screen -dmS glinkd2 ./glinkd ./gamesys.conf 2
#/usr/bin/screen -dmS glinkd3 ./glinkd ./gamesys.conf 3
#/usr/bin/screen -dmS glinkd4 ./glinkd ./gamesys.conf 4
sleep 2
echo "done!"
###################################################################

###################################################################
# Start full server
###################################################################
cd /home/gamed
echo -n "starting gamed... "
/usr/bin/screen -dmS gamed ./gs gs01
sleep 15
echo "done!"

echo -n "starting Arena's... "
for ((  i = 1 ;  i <= 5;  i++  )); do
    /usr/bin/screen -dmS arena0$i ./gs arena0$i
done
sleep 2
echo "done! "

echo -n "starting Is's... "
for ((  e = 1 ;  e <= 31;  e++  )); do
    if test $e -le 9; then
	/usr/bin/screen -dmS is0$e ./gs is0$e
    else
	/usr/bin/screen -dmS is$e ./gs is$e
    fi
done
sleep 2
echo "done! "

echo -n "starting Bg's... "
for ((  o = 1 ;  o <= 6;  o++  )); do
    /usr/bin/screen -dmS bg0$o ./gs bg0$o
done
echo "done! ";

echo "Servers started!"

If you don't want to delete all the code by hand just do rm /home/startup.sh and then nano /home/startup.sh .
 
Initiate Mage
Joined
Jun 10, 2008
Messages
50
Reaction score
0
srry toke long trying to edit that line but came as a epic fail
 
Last edited:
is making carefully.
Joined
Nov 21, 2006
Messages
368
Reaction score
18
lul, well, I found out that the pc I was using (a friend gave it to me a while back) had a horribly crappy processor that I never heard of until now. So now I'm setting up my old but better pc with a pentium 4. It worked fine before I put it into storage. Now it stops while booting and says "previous fan faliure". :B


I'll get it fixed and update when I find out if it's the server files or the cpu. ;D
 
Initiate Mage
Joined
Jul 25, 2007
Messages
13
Reaction score
0
I"m kinda lost... lol after i put the sql queries in SQL server 2005.. the table sql worked fine but the second sql database didn't work. any help?
 
Initiate Mage
Joined
Jun 10, 2008
Messages
50
Reaction score
0
Quote: Originally Posted by totoman127
lul, well, I found out that the pc I was using (a friend gave it to me a while back) had a horribly crappy processor that I never heard of until now. So now I'm setting up my old but better pc with a pentium 4. It worked fine before I put it into storage. Now it stops while booting and says "previous fan faliure". :B


I'll get it fixed and update when I find out if it's the server files or the cpu. ;D






that happens when u dont use it for a while just turn it on and leave for bout 5 min then reboot happens to me all the time
 
Initiate Mage
Joined
Jun 10, 2008
Messages
50
Reaction score
0
I"m kinda lost... lol after i put the sql queries in SQL server 2005.. the table sql worked fine but the second sql database didn't work. any help?

theres a ; <---- missing near hardlock or someword like that

EDIT:srry for the duble post
 
is making carefully.
Joined
Nov 21, 2006
Messages
368
Reaction score
18
@ playg

It's also what happens when you get a dell :C

It's supposed to come up with "hit f1 to continue", but thats gone. And their bios are so poop that it doesn't have an error bypass like the crappier computer did D;

@xichen2000

What does the error say?
 
Initiate Mage
Joined
Jun 10, 2008
Messages
50
Reaction score
0
heh never used brand named comps all custom here :p also the start.sh u gave me says permisson denied x_x
 
Initiate Mage
Joined
Jul 19, 2007
Messages
7
Reaction score
0
heh never used brand named comps all custom here :p also the start.sh u gave me says permisson denied x_x

If you deleted the original file first you have to set the permissions to the new one.

If you want to give read permissions, use the command:
chmod 744 /home/startup.sh

to give execute permissions*, use the command:
chmod 755 /home/startup.sh

to give read/write permissions, use the command:
chmod 766 /home/startup.sh

to give all permissions, use the command:
chmod 777 /home/startup.sh


I got an error executing the file: mssql_storeprocedure.sql

Msg 1018, Level 15, State 1, Procedure adduser, Line 33
Incorrect syntax near 'holdlock'. If this is intended as a part of a table hint, A WITH keyword and parenthesis are now required. See SQL Server Books Online for proper syntax.
 
Initiate Mage
Joined
Jun 10, 2008
Messages
50
Reaction score
0
If you deleted the original file first you have to set the permissions to the new one.

If you want to give read permissions, use the command:
chmod 744 /home/startup.sh

to give execute permissions*, use the command:
chmod 755 /home/startup.sh

to give read/write permissions, use the command:
chmod 766 /home/startup.sh

to give all permissions, use the command:
chmod 777 /home/startup.sh

ai thank but still didnt work lol same error it gave before no such file or dictory.
one new thing iv learned about colinux :p
 
is making carefully.
Joined
Nov 21, 2006
Messages
368
Reaction score
18
Well, the motherboard, box and ram are Dell (it has SPECIAL dell ram that I can't switch out and costs $500 for 512). But the rest is crap I took from other PCs and bought.


And I accidentally booted from my reallly old hardrive that I spent a WEEK trying to fix because it was supposedly corrupt (I could never get it to boot so I just put it with my spare hardrives) and it actually booted.

So the good news is now I have my old ran online server, but now I have to install colinux and transfer all the files, since the hardrive I had been using was only 40 gigs.

Also, I have NO idea what the problem was. But it works. NOW just to get the server to work for you.

EDIT

Also, along with what krazy kris said, if you start getting more permission errors when you execute the start.sh, just do chmod 755 /home/ .

@ krazykris

Find "HOLDLOCK" and change it to "(HOLDLOCK)". Lemme know if that works.

The sql errors make the solution so obvious that no one wants to trust it.
 
Initiate Mage
Joined
Jun 10, 2008
Messages
50
Reaction score
0
Well, the motherboard, box and ram are Dell (it has SPECIAL dell ram that I can't switch out and costs $500 for 512). But the rest is crap I took from other PCs and bought.


And I accidentally booted from my reallly old hardrive that I spent a WEEK trying to fix because it was supposedly corrupt (I could never get it to boot so I just put it with my spare hardrives) and it actually booted.

So the good news is now I have my old ran online server, but now I have to install colinux and transfer all the files, since the hardrive I had been using was only 40 gigs.

Also, I have NO idea what the problem was. But it works. NOW just to get the server to work for you.

EDIT

Also, along with what krazy kris said, if you start getting more permission errors when you execute the start.sh, just do chmod 755 /home/ .

@ krazykris

Find "HOLDLOCK" and change it to "(HOLDLOCK)". Lemme know if that works.

The sql errors make the solution so obvious that no one wants to trust it.

lol yea and thanx for helpin out a colinux nooby :p
 
Initiate Mage
Joined
Jul 19, 2007
Messages
7
Reaction score
0
SORRY for the long post =[

Okay placed () around HOLDLOCK then clicked the check mark(using Microsoft SQL Server Management Studio Express then clicked Execute and it came up with these errors:
Code:
Msg 2714, Level 16, State 3, Procedure addGM, Line 36
There is already an object named 'addGM' in the database.
Msg 2714, Level 16, State 3, Procedure addForbid, Line 20
There is already an object named 'addForbid' in the database.
Msg 2714, Level 16, State 3, Procedure addUserPriv, Line 17
There is already an object named 'addUserPriv' in the database.
Msg 2714, Level 16, State 3, Procedure acquireuserpasswd, Line 18
There is already an object named 'acquireuserpasswd' in the database.
Msg 2714, Level 16, State 3, Procedure adduser, Line 35
There is already an object named 'adduser' in the database.
Msg 2714, Level 16, State 3, Procedure adduserpoint, Line 17
There is already an object named 'adduserpoint' in the database.
Msg 2714, Level 16, State 3, Procedure changePasswd, Line 16
There is already an object named 'changePasswd' in the database.
Msg 2714, Level 16, State 3, Procedure changePasswd2, Line 16
There is already an object named 'changePasswd2' in the database.
Msg 2714, Level 16, State 3, Procedure clearonlinerecords, Line 14
There is already an object named 'clearonlinerecords' in the database.
Msg 2714, Level 16, State 3, Procedure delUserPriv, Line 20
There is already an object named 'delUserPriv' in the database.
Msg 2714, Level 16, State 3, Procedure deleteTimeoutForbid, Line 15
There is already an object named 'deleteTimeoutForbid' in the database.
Msg 2714, Level 16, State 3, Procedure enableiplimit, Line 17
There is already an object named 'enableiplimit' in the database.
Msg 2714, Level 16, State 3, Procedure lockuser, Line 17
There is already an object named 'lockuser' in the database.
Msg 2714, Level 16, State 3, Procedure recordoffline, Line 21
There is already an object named 'recordoffline' in the database.
Msg 2714, Level 16, State 3, Procedure recordonline, Line 29
There is already an object named 'recordonline' in the database.
Msg 2714, Level 16, State 3, Procedure remaintime, Line 36
There is already an object named 'remaintime' in the database.
Msg 2714, Level 16, State 3, Procedure setiplimit, Line 23
There is already an object named 'setiplimit' in the database.
Msg 2714, Level 16, State 3, Procedure updateUserInfo, Line 29
There is already an object named 'updateUserInfo' in the database.
Msg 2714, Level 16, State 3, Procedure usecash, Line 112
There is already an object named 'usecash' in the database.
Which most of them if not all of them say it's already in there, so not sure if that's a bad error or not. But this is the first time i got it to run successfully(if that helps).

Also I used your startup.sh file instead of the old one, but when I typed in ./start.sh and chose server only it gave me a bunch of errors and this is the first part of it:
Code:
Server Mode: Server Only



/home/startup.sh: line 5: ######################################################
#####################################: command not found
Starting PW Servers... Please Wait...

/home/startup.sh: line 8: ######################################################
#####################################: command not found


starting logservice... /home/startup.sh: line 15: /usr/bin/screen: No such file
or directory
done!
starting uniquenamed... /home/startup.sh: line 23: /usr/bin/screen: No such file
 or directory
done!
/home/startup.sh: line 29: cd: /home/authd: No such file or directory
starting authd... /home/startup.sh: line 31: /usr/bin/screen: No such file or di
rectory
done!
starting gamedbd... /home/startup.sh: line 40: /usr/bin/screen: No such file or
directory
 
Initiate Mage
Joined
Jun 10, 2008
Messages
50
Reaction score
0
SORRY for the long post =[

Okay placed () around HOLDLOCK then clicked the check mark(using Microsoft SQL Server Management Studio Express then clicked Execute and it came up with these errors:
Code:
Msg 2714, Level 16, State 3, Procedure addGM, Line 36
There is already an object named 'addGM' in the database.
Msg 2714, Level 16, State 3, Procedure addForbid, Line 20
There is already an object named 'addForbid' in the database.
Msg 2714, Level 16, State 3, Procedure addUserPriv, Line 17
There is already an object named 'addUserPriv' in the database.
Msg 2714, Level 16, State 3, Procedure acquireuserpasswd, Line 18
There is already an object named 'acquireuserpasswd' in the database.
Msg 2714, Level 16, State 3, Procedure adduser, Line 35
There is already an object named 'adduser' in the database.
Msg 2714, Level 16, State 3, Procedure adduserpoint, Line 17
There is already an object named 'adduserpoint' in the database.
Msg 2714, Level 16, State 3, Procedure changePasswd, Line 16
There is already an object named 'changePasswd' in the database.
Msg 2714, Level 16, State 3, Procedure changePasswd2, Line 16
There is already an object named 'changePasswd2' in the database.
Msg 2714, Level 16, State 3, Procedure clearonlinerecords, Line 14
There is already an object named 'clearonlinerecords' in the database.
Msg 2714, Level 16, State 3, Procedure delUserPriv, Line 20
There is already an object named 'delUserPriv' in the database.
Msg 2714, Level 16, State 3, Procedure deleteTimeoutForbid, Line 15
There is already an object named 'deleteTimeoutForbid' in the database.
Msg 2714, Level 16, State 3, Procedure enableiplimit, Line 17
There is already an object named 'enableiplimit' in the database.
Msg 2714, Level 16, State 3, Procedure lockuser, Line 17
There is already an object named 'lockuser' in the database.
Msg 2714, Level 16, State 3, Procedure recordoffline, Line 21
There is already an object named 'recordoffline' in the database.
Msg 2714, Level 16, State 3, Procedure recordonline, Line 29
There is already an object named 'recordonline' in the database.
Msg 2714, Level 16, State 3, Procedure remaintime, Line 36
There is already an object named 'remaintime' in the database.
Msg 2714, Level 16, State 3, Procedure setiplimit, Line 23
There is already an object named 'setiplimit' in the database.
Msg 2714, Level 16, State 3, Procedure updateUserInfo, Line 29
There is already an object named 'updateUserInfo' in the database.
Msg 2714, Level 16, State 3, Procedure usecash, Line 112
There is already an object named 'usecash' in the database.
Which most of them if not all of them say it's already in there, so not sure if that's a bad error or not. But this is the first time i got it to run successfully(if that helps).

Also I used your startup.sh file instead of the old one, but when I typed in ./start.sh and chose server only it gave me a bunch of errors and this is the first part of it:
Code:
Server Mode: Server Only



/home/startup.sh: line 5: ######################################################
#####################################: command not found
Starting PW Servers... Please Wait...

/home/startup.sh: line 8: ######################################################
#####################################: command not found


starting logservice... /home/startup.sh: line 15: /usr/bin/screen: No such file
or directory
done!
starting uniquenamed... /home/startup.sh: line 23: /usr/bin/screen: No such file
 or directory
done!
/home/startup.sh: line 29: cd: /home/authd: No such file or directory
starting authd... /home/startup.sh: line 31: /usr/bin/screen: No such file or di
rectory
done!
starting gamedbd... /home/startup.sh: line 40: /usr/bin/screen: No such file or
directory

the alrdy there isnt an error just means that the line is alrdy there and wont be added agen. the start.sh samething i got
 
Initiate Mage
Joined
Jul 19, 2007
Messages
7
Reaction score
0
@krazykris47421

Did you write that to start.sh or /home/startup.sh?

/home/startup.sh

I took a screenshot of the contents of the usr/bin/ folder and there isn't a screen file in there...not sure why though =[
Szaer - [Guide] Perfect World Server 1.3.6 on Colinux Tutorial (with pictures) - RaGEZONE Forums


Also not sure if this helps, but I'm using your repack.

For some reason when I installed coLinux it installed it to C:\Program Files\coLinux\ so I had to change the pwserver\PWServer.conf file...So you might add an optional step in case that happens to other people :x

I really need to get some sleep since I have school in the morning. I'll check back tomorrow morning and see if you've suggested anything. Thanks for taking the time to help :) Goodnight!
 
Initiate Mage
Joined
Jun 10, 2008
Messages
50
Reaction score
0
any clues toto iv tried just about all i can think of
 
Back
Top