Stefan1200's Forum

JTS3ServerMod Hosting Edition => JTS3ServerMod MySQL & WebInterface => Topic started by: Phil on April 29, 2015, 01:55:26 PM

Title: Bot service not available! / JTS3ServerMod Telnet
Post by: Phil on April 29, 2015, 01:55:26 PM
Hi,
here it asks me to enter data telnet, but I can not enter data SSH?
Title: Re: Bot service not available!
Post by: Stefan1200 on April 29, 2015, 02:09:42 PM
Quote from: Phil on April 29, 2015, 01:55:26 PM
here it asks me to enter data telnet, but I can not enter data SSH?

No, don't enter telnet or ssh details of your server. Just enter the details you have chosen in the JTS3ServerMod_InstanceManager.cfg.
Title: Re: Bot service not available!
Post by: Phil on April 29, 2015, 02:11:18 PM
Excuse me but I do not have telnet access .. What I put here:
# Enable the telnet interface of the bot. 1 = Enable, 0 = Disable
# You are incendio start, stop or reload a bot instance using this telnet interface.
telnet_enable = 0
I leave or put 0 1?
Title: Re: Bot service not available!
Post by: Phil on April 29, 2015, 02:30:37 PM
Hi,
when I go to startare I give me this error:
Bot service not available!
I remember that on access telnet I entered my SSH access because not possengo access telnet on my vps where you installed the web interface
How do you solve?
Title: Re: Bot service not available!
Post by: Stefan1200 on April 29, 2015, 02:36:56 PM
Quote from: Phil on April 29, 2015, 02:11:18 PM
Excuse me but I do not have telnet access ..

The JTS3ServerMod have a build in telnet server. Just follow the readme file of the web interface.
Title: Re: Bot service not available!
Post by: Flofus on April 29, 2015, 02:38:00 PM
Have you a vps with the core files (JTS3ServerMod.jar) if yes tell me the ./config/JTS3ServerMod_InstanceManager.cfg please
Title: Re: Bot service not available! / JTS3ServerMod Telnet
Post by: Phil on April 29, 2015, 02:39:54 PM
I have the .jar file to attach a photo:
http://gyazo.com/6af4cbc08ab22cc561a9cdfc8049c3c7
I have to write all the configuration files JTS3ServerMod_InstanceManager.cfg?
Title: Re: Bot service not available! / JTS3ServerMod Telnet
Post by: Stefan1200 on April 29, 2015, 02:40:58 PM
Quote from: Phil on April 29, 2015, 02:39:54 PM
I have to write all the configuration files JTS3ServerMod_InstanceManager.cfg?

Again: Just follow the readme_webinterface.txt file!
Title: Re: Bot service not available! / JTS3ServerMod Telnet
Post by: Phil on April 29, 2015, 02:43:44 PM
But the file says readme_webinterface.txt configure data telnet !!
IO TELNET ACCESS THERE AND THE HO !!!
Instead of putting the telnet access I can enter the SSH access?
Title: Re: Bot service not available! / JTS3ServerMod Telnet
Post by: Stefan1200 on April 29, 2015, 02:46:38 PM
Quote from: Phil on April 29, 2015, 02:43:44 PM
But the file says readme_webinterface.txt configure data telnet !!

Forget telnet or ssh on your server, that telnet thing is included in the JTS3ServerMod. Just enable it and set a new password in the JTS3ServerMod_InstanceManager.cfg.
Title: Re: Bot service not available! / JTS3ServerMod Telnet
Post by: Flofus on April 29, 2015, 02:49:15 PM
IF you start you bot with the command "screen -d -m -S JTS3H java -mx30M -jar JTS3ServerMod.jar" you can see if your bot allow to connect with the webinterface. When your bot are correct configured you can do all thinks with the bot.
In your log you can see "TELNET_START   Telnet interface started on port xxxx!"
Title: Re: Bot service not available! / JTS3ServerMod Telnet
Post by: Phil on April 29, 2015, 02:52:27 PM
Very well now me from this string on the status of the bot:
Bot Status:
Bot unknown!
Title: Re: Bot service not available! / JTS3ServerMod Telnet
Post by: Flofus on April 29, 2015, 02:53:07 PM
you must connect your bot with the mysql
and please push your bot log here JTS3ServerMod_InstanceManager.log
Title: Re: Bot service not available! / JTS3ServerMod Telnet
Post by: Phil on April 29, 2015, 02:54:19 PM
When I configured the file install.php I put the database msql
Title: Re: Bot service not available! / JTS3ServerMod Telnet
Post by: Flofus on April 29, 2015, 02:55:28 PM
THE THE BOT NEED A MYSQL CONNECTION TO THE WEBINTERFACE
Title: Re: Bot service not available! / JTS3ServerMod Telnet
Post by: Phil on April 29, 2015, 02:57:28 PM
Can i fix this error?

2015-04-29 14:56:28   START_MANAGER   JTS3ServerMod 5.4.5 Hosting Edition (08.03.2015) Instance Manager started...
2015-04-29 14:56:28   CONFIG   Bot chat command !exec is disabled!
2015-04-29 14:56:28   CONFIG   Multi IP Mode disabled!
2015-04-29 14:56:28   LOGGER_SQL_ERROR   Critical: Cannot connect to MySQL server for logging!
2015-04-29 14:56:28   JTS3ServerMod 5.4.5 Hosting Edition (08.03.2015): EXCEPTION
java.sql.SQLException: Access denied for user 'popocom_philips'@'ts.teamspeakfree.it' (using password: YES)
   at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:996)
   at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3887)
   at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3823)
   at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:870)
   at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:4332)
   at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1258)
   at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2234)
   at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2265)
   at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2064)
   at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:790)
   at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:44)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:534)
   at com.mysql.jdbc.Util.handleNewInstance(Util.java:377)
   at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:395)
   at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:325)
   at java.sql.DriverManager.getConnection(DriverManager.java:615)
   at java.sql.DriverManager.getConnection(DriverManager.java:195)
   at de.stefan1200.util.MySQLConnect.connect(MySQLConnect.java:55)
   at de.stefan1200.jts3servermod.MyLogger.initDB(MyLogger.java:49)
   at de.stefan1200.jts3servermod.MyLogger.<init>(MyLogger.java:33)
   at de.stefan1200.jts3servermod.InstanceManager.loadConfig(InstanceManager.java:1068)
   at de.stefan1200.jts3servermod.InstanceManager.<init>(InstanceManager.java:154)
   at de.stefan1200.jts3servermod.JTS3ServerMod.main(JTS3ServerMod.java:249)
Title: Re: Bot service not available! / JTS3ServerMod Telnet
Post by: Phil on April 29, 2015, 02:58:54 PM
Ehm now i have this error..
2015-04-29 14:56:28   START_MANAGER   JTS3ServerMod 5.4.5 Hosting Edition (08.03.2015) Instance Manager started...
2015-04-29 14:56:28   CONFIG   Bot chat command !exec is disabled!
2015-04-29 14:56:28   CONFIG   Multi IP Mode disabled!
2015-04-29 14:56:28   LOGGER_SQL_ERROR   Critical: Cannot connect to MySQL server for logging!
2015-04-29 14:56:28   JTS3ServerMod 5.4.5 Hosting Edition (08.03.2015): EXCEPTION
java.sql.SQLException: Access denied for user 'popocom_philips'@'ts.teamspeakfree.it' (using password: YES)
   at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:996)
   at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3887)
   at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3823)
   at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:870)
   at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:4332)
   at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1258)
   at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2234)
   at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2265)
   at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2064)
   at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:790)
   at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:44)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:534)
   at com.mysql.jdbc.Util.handleNewInstance(Util.java:377)
   at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:395)
   at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:325)
   at java.sql.DriverManager.getConnection(DriverManager.java:615)
   at java.sql.DriverManager.getConnection(DriverManager.java:195)
   at de.stefan1200.util.MySQLConnect.connect(MySQLConnect.java:55)
   at de.stefan1200.jts3servermod.MyLogger.initDB(MyLogger.java:49)
   at de.stefan1200.jts3servermod.MyLogger.<init>(MyLogger.java:33)
   at de.stefan1200.jts3servermod.InstanceManager.loadConfig(InstanceManager.java:1068)
   at de.stefan1200.jts3servermod.InstanceManager.<init>(InstanceManager.java:154)
   at de.stefan1200.jts3servermod.JTS3ServerMod.main(JTS3ServerMod.java:249)
Title: Re: Bot service not available! / JTS3ServerMod Telnet
Post by: Stefan1200 on April 29, 2015, 02:59:14 PM
Just follow the readme_webinterface.txt file! At which position you have problems currently?

This is the error message of the bot:
MySQL: Access denied for user 'popocom_philips'@'ts.teamspeakfree.it' (using password: YES)
Title: Re: Bot service not available! / JTS3ServerMod Telnet
Post by: Phil on April 29, 2015, 03:00:29 PM
Now i have this error:
2015-04-29 14:56:28   START_MANAGER   JTS3ServerMod 5.4.5 Hosting Edition (08.03.2015) Instance Manager started...
2015-04-29 14:56:28   CONFIG   Bot chat command !exec is disabled!
2015-04-29 14:56:28   CONFIG   Multi IP Mode disabled!
2015-04-29 14:56:28   LOGGER_SQL_ERROR   Critical: Cannot connect to MySQL server for logging!
2015-04-29 14:56:28   JTS3ServerMod 5.4.5 Hosting Edition (08.03.2015): EXCEPTION
java.sql.SQLException: Access denied for user 'popocom_philips'@'ts.teamspeakfree.it' (using password: YES)
Title: Re: Bot service not available! / JTS3ServerMod Telnet
Post by: Flofus on April 29, 2015, 03:01:15 PM
its the same error