Jump to content
  • 0

[help]Loginserver problem On linux


Question

6 answers to this question

Recommended Posts

  • 0
Posted
  On 7/15/2010 at 2:16 PM, ˚کe®κ said:

try :

chmod 777 filename

thank you ill try it.

but what must i write in the terminal ?:P

  • 0
Posted

open loginserver_loop.sh delete the nice -2 (thats a command which dont exist by default on debain so you need to add it by yourself or just delete the call from the loop)

  • 0
Posted
  On 7/15/2010 at 2:18 PM, Intrepid said:

open loginserver_loop.sh delete the nice -2 (thats a command which dont exist by default on debain so you need to add it by yourself or just delete the call from the loop)

  Quote
#!/bin/bash

 

err=1

until [ $err == 0 ];

do

[ -f log/java0.log.0 ] && mv log/java0.log.0 "log/`date +%Y-%m-%d_%H-%M-%S`_java.log"

[ -f log/stdout.log ] && mv log/stdout.log "log/`date +%Y-%m-%d_%H-%M-%S`_stdout.log"

nice -n -2 java -Xms512m -Xmx512m -cp javolution.jar:mmocore.jar:c3p0-0.9.1.2.jar:mysql-connector-java-5.0.7-bin.jar:l2jserver.jar net.sf.l2j.loginserver.L2LoginServer > log/stdout.log 2>&1

err=$?

# /etc/init.d/mysql restart

sleep 10;

done

?

Guest
This topic is now closed to further replies.


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock