![]() |
|
kill Server and starts new - Printable Version +- LCKB (https://lckb.dev/forum) +-- Forum: ** OLD LCKB DATABASE ** (https://lckb.dev/forum/forumdisplay.php?fid=109) +--- Forum: Guides & Help Section (https://lckb.dev/forum/forumdisplay.php?fid=193) +---- Forum: Help & Support (https://lckb.dev/forum/forumdisplay.php?fid=157) +----- Forum: General Support (https://lckb.dev/forum/forumdisplay.php?fid=203) +------ Forum: Solved topics (https://lckb.dev/forum/forumdisplay.php?fid=159) +------ Thread: kill Server and starts new (/showthread.php?tid=4523) |
- fantasymerlin - 01-12-2016 Hello, I have start the Connector with Putty. When I try to stop Connector with kill the Connector don´t stop. It seems that it starts again. I tried with pid and with signalkill too. how can I stop it? It starts ever new (automatically) Thank you very much - SibaN - 01-13-2016 Create killall.sh and past thes on it #!/bin/sh killall start; killall start1; killall start2; killall start3; killall start4; killall run; killall run1; killall run2; killall run3; killall run4; killall Connector; killall Messenger; killall Helper; killall SubHelper; killall LoginServer; killall GameServer_d1; killall GameServer_d2; killall GameServer_d3; killall CashServer; and than you need only to start on terminal ./killall.sh - fantasymerlin - 01-13-2016 ok. This I had so so. But yesterday This doesn't worked and some seconds after This I get disconnect to Server. The Server was for a hour not online. I think they had made a technical service at This. maybe This was the reason. I will try today again ... doesn´t worked. I tried it. He ever says No Process to kill. I have a run and start in Messenger Folder. a StartFile in MainFolder and the killall.sh in main folder too The Process don´t let it kill EDIT... Now I had found the error... I had the start-script put in the main folder. This script start the run script in the folder of the part of the serverfile. the kill script i have put into the main folder. at the killscript I have to kill the start script and the run script. the run script I kill about the script as is this in the main folder (its at a subfolder). But when i start ./killall.sh it kill now the process and I get the message that its exit. with ps -e I can see now that the process don´t run. Now I have learned that I can for example create a kill script which only kill for example the Messenger named killMess.sh and write in it killall startMess; and killall runMess; Then I can only exit the Messenger If I want this. Thank you very much for help. The Post is solved. - Sutz - 01-14-2016 Hi there. As your topic has been answered, and from this topic you can solve your problem or already have I am going to move this topic into our Solved section database. Thankyou, -LCKB Staff |