akaa Posted July 15, 2010 Posted July 15, 2010 nice: cannot set niceness: Permission denied Thats what i get in the logs.
0 akaa Posted July 15, 2010 Author Posted July 15, 2010 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 Intrepid Posted July 15, 2010 Posted July 15, 2010 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 akaa Posted July 15, 2010 Author Posted July 15, 2010 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 ?
Question
akaa
nice: cannot set niceness: Permission denied
Thats what i get in the logs.
6 answers to this question
Recommended Posts