[PLEASE HELP!!!!] Permision denied

08/28/2010 12:51 sakura2010#1
hello , my login crash all time so I must make this script for fix it :

PHP Code:
#!/bin/sh
./auth
sleep 60
*5
./auth.sh 
But when I try to run it :
[Only registered and activated users can see links. Click Here To Register...]



I dont know what happened , I have make the file Chmod (07777) and continue the same , only if I run it in /usr/game/auth works but later when login crash its doesnt put it on automatic :mad:

Please help!!
08/28/2010 12:53 Crank#2
Have you waited a little bit ? That don't start the Login if it crashs. That starts every 5 minutes...

Edit: You have to type:

cd /usr/game/auth
chmod 777 auth.sh
sh auth.sh

GreeTz

.CranK.
08/28/2010 12:54 The Bull#3
why 07777 ?

chmod 777

best regards Bull
08/28/2010 13:02 sakura2010#4
I have triend and cant I said 07777 because I was running Winscp but its the same in filezila its 7777
08/28/2010 13:05 .SeVeN.#5
Try to use the script like this:
Code:
#!/bin/sh
./auth
sleep 60*5
[B]sh[/B] auth.sh
08/28/2010 13:08 Crank#6
You don't understand me..

You have to type this in your Vpc:
Quote:
cd /usr/game/auth
chmod 777 auth.sh
sh auth.sh
GreeTz

.CranK.
08/28/2010 13:18 sakura2010#7
Quote:
Originally Posted by .CranK. View Post
You don't understand me..

You have to type this in your Vpc:


GreeTz

.CranK.
I going to test but what its the difference btw make it in filezilla or in putty? :D:D
08/28/2010 13:22 .Kay331#8
Quote:
Originally Posted by sakura2010 View Post
I going to test but what its the difference btw make it in filezilla or in putty? :D:D

this:
PHP Code:
cd /usr/game/auth
chmod 777 auth
.sh
sh auth
.sh 
write you in vpc
08/28/2010 13:41 The Bull#9
للل take this >>>>

I have write the script for my Server, all Maps,DB and Login Server started new after panic shutdown.

Take into your Channel directory, and rewrite the File.
This Script is for Rain Files
But you can rewrite the directorys ind the File.

best regards Bull
08/28/2010 13:45 sakura2010#10
what I am doing wrong ? [Only registered and activated users can see links. Click Here To Register...]
08/28/2010 13:51 The Bull#11
you login as root ?

or as other User ?
08/28/2010 13:55 sakura2010#12
its root I am testing the start script you put...
08/28/2010 15:32 .Hazel#13
You must give the file auth.sh chmod 777 rights.

So you must write the following things into Putty.

Code:
cd /usr/game/auth
chmod 777 auth.sh
sh auth.sh
08/28/2010 16:44 sakura2010#14
Thanks all for respond , I have fixed it , can close the topic =)