2 instances running?

Started by xep22, February 25, 2019, 08:08:21 PM

Previous topic - Next topic

xep22

hi, I recognized that  users get 2 welcome-messages, from the name of my Bot and JTS3ServerMod. I stopped my Bot, but they still get it from "JTS3ServerMod", but I dont have other instances running?! how is that possible ?

ts@root:~/JTS3ServerMod$ ./jts3servermod_startscript.sh stop
No JTS3ServerMod running (jts3servermod.pid is missing)!

Stefan1200

How many bots answer, if you write !botinfo in the server chat?
Do you have multiple welcome messages configured at one bot?

xep22


Stefan1200


xep22

#4
just 1  bot: "teamspeakGuide", so my bot name, not "JTS3ServerMod".

I have two welcome messages, for guests and members. Both get the messages both, but each of them the correct message.

edit: lol, I see that I the bot name changes every reconnect, now I got the welcome message from "JTS3ServerMod" and !botinfo says JTS3ServerMod, new reconnect to my Server and again "teamspeakGuide", new connect JTS3ServerMod...

Stefan1200

Maybe the old bot is still connected and the alternative query name is set to JTS3ServerMod?
Whats in the JTS3ServerMod_InstanceManager.log and JTS3ServerMod_server.log? Are you sure, that only one java process is running?

xep22

here logs :

Quote2019-02-25 20:10:06   START_MANAGER   JTS3ServerMod 6.5.4 (05.01.2019) Instance Manager started...
2019-02-25 20:10:06   SYSTEM_INFO   Operating System : Linux (version: 3.16.0-7-amd64 / arch: amd64)
2019-02-25 20:10:06   SYSTEM_INFO   Used Java Version: 1.8.0_201 (path: /usr/lib/jvm/java-8-oracle/jre)
2019-02-25 20:10:06   SYSTEM_INFO   Current directory: /home/bot/JTS3ServerMod
2019-02-25 20:10:06   LOCK_FILE   
2019-02-25 20:10:06   LOCK_FILE   ************************************************************************************************
2019-02-25 20:10:06   LOCK_FILE   Lock file still exists, it seems this JTS3ServerMod process is running twice! Please check this!
2019-02-25 20:10:06   LOCK_FILE   If you are sure, that the JTS3ServerMod process is not running twice, delete the file:
2019-02-25 20:10:06   LOCK_FILE   /home/bot/JTS3ServerMod/config/JTS3ServerMod_InstanceManager.cfg.lock
2019-02-25 20:10:06   LOCK_FILE   ************************************************************************************************
2019-02-25 20:10:06   LOCK_FILE   
2019-02-25 20:10:06   CONFIG   Loading InstanceManager config file from: /home/bot/JTS3ServerMod/config/JTS3ServerMod_InstanceManager.cfg
2019-02-25 20:10:06   CONFIG   Bot chat command !exec is disabled!
2019-02-25 20:10:06   START_INSTANCE   Start virtual bot instance bot1...

Quote2019-02-25 20:10:06   JTS3ServerMod   STATUS   Virtual bot instance "bot1" starts now (build 6505)
2019-02-25 20:10:06   JTS3ServerMod   STATUS   Activate log level: WARNING
2019-02-25 20:10:08   JTS3ServerMod   ERROR   Throwable in teamspeakActionPerformed(): java.lang.NullPointerException

"Lock file still exists, it seems this JTS3ServerMod process is running twice" ah. and what to do now ?

Stefan1200

Maybe the Java VM was not able to delete that file. Please check with "ps -ef | grep java" if the JTS3ServerMod is running twice.

xep22

oh yes its running twice, how can I close the root session ?

bot        8169     1  0 Feb25 ?        00:15:12 java -jar JTS3ServerMod.jar
root     23294     1  0 Jan26 ?        04:28:12 java -jar JTS3ServerMod.jar

Stefan1200