JTS3ServerMod Iptables / Open Ports

X-Ecutioner

Contributor
Sep 16, 2015
183
121
175
Hello,
After several days of testing, I can not find a solution and I would like to know someone would have it any chance?

I explain, I have a firewall script (iptables) that blocks everything, ping, traceroute etc ...
It white list my IP and that of my VPN. So wholesale maximum security.
However, since then, the JTS3Servermod no longer wants to connect.

I added in the iptables port 3306 but nothing nor done.

Can someone help me and give me commands to get into the iptables to run the JTS3SERVERMOD? thank you



JTS3SERVERMOD LOGS

Jan Mon 23 09:00:04: JTS3ServerMod is not running!!
Jan Mon 23 09:00:06: Starting JTS3ServerMod
JTS3ServerMod 6.2.2 Hosting Edition (06.09.2016) Instance Manager started...
Writing InstanceManager log file to: /home/JTS3ServerMod_HostingEdition_6.2.2/JTS3ServerMod_InstanceManager.log

************************************************************************************************
Lock file still exists, it seems this JTS3ServerMod process is running twice! Please check this!
If you are sure, that the JTS3ServerMod process is not running twice, delete the file:
/home/JTS3ServerMod_HostingEdition_6.2.2/config/JTS3ServerMod_InstanceManager.cfg.lock
************************************************************************************************

Loading InstanceManager config file from: /home/JTS3ServerMod_HostingEdition_6.2.2/config/JTS3ServerMod_InstanceManager.cfg
Critical: Cannot connect to MySQL server for logging!
MySQL mode enabled!
Error while connecting to database: java.sql.SQLException: null, message from server: "Host 'xxxx.blazingfast.io' is not allowed to connect to this MySQL server"
InstanceManager config file at "/home/JTS3ServerMod_HostingEdition_6.2.2/config/JTS3ServerMod_InstanceManager.cfg" does not exists, is not valid or an error while connecting to the database occurred, quitting now...
Jan Mon 23 09:00:07: JTS3ServerMod started
Jan Mon 23 09:00:09: Server ist nicht gestartet Pid datei ist Nicht vorhanden
Jan Mon 23 09:00:09: Removing pid-file
Jan Mon 23 09:00:09: Old pid file removed
Jan Mon 23 09:00:09: Starting JTS3ServerMod
JTS3ServerMod 6.2.2 Hosting Edition (06.09.2016) Instance Manager started...
Writing InstanceManager log file to: /home/JTS3ServerMod_HostingEdition_6.2.2/JTS3ServerMod_InstanceManager.log

************************************************************************************************
Lock file still exists, it seems this JTS3ServerMod process is running twice! Please check this!
If you are sure, that the JTS3ServerMod process is not running twice, delete the file:
/home/JTS3ServerMod_HostingEdition_6.2.2/config/JTS3ServerMod_InstanceManager.cfg.lock
************************************************************************************************

Loading InstanceManager config file from: /home/JTS3ServerMod_HostingEdition_6.2.2/config/JTS3ServerMod_InstanceManager.cfg
Critical: Cannot connect to MySQL server for logging!
MySQL mode enabled!
Error while connecting to database: java.sql.SQLException: null, message from server: "Host 'xxxx.blazingfast.io' is not allowed to connect to this MySQL server"
InstanceManager config file at "/home/JTS3ServerMod_HostingEdition_6.2.2/config/JTS3ServerMod_InstanceManager.cfg" does not exists, is not valid or an error while connecting to the database occurred, quitting now...
Jan Mon 23 09:00:10: JTS3ServerMod started
 

Bluscream

Retired Staff
Contributor
May 8, 2015
967
934
211
That log sounds like a sql server misconfiguration. Please check in phpmyadmin if xxx.blazingfast.io is allowed to access your db or LocalHost only.
 

X-Ecutioner

Contributor
Sep 16, 2015
183
121
175
That log sounds like a sql server misconfiguration. Please check in phpmyadmin if xxx.blazingfast.io is allowed to access your db or LocalHost only.
I don't understand, can you tell me more informations plz
 

X-Ecutioner

Contributor
Sep 16, 2015
183
121
175
Hello,
I've already had problem in the past that knows solved all by itself.
Today, I still have the same problem that does not want to resolve itself.
When I do a mysql status service I get it when I jts3servermod is launched.

mysqld[9130]: warning: cannot open /etc/hosts.allow: Permission denied
mysqld[9130]: warning: cannot open /etc/hosts.deny: Permission denied
mysqld[9130]: refused connect from 127.0.0.1
mysqld[9130]: warning: cannot open /etc/hosts.allow: Permission denied
mysqld[9130]: warning: cannot open /etc/hosts.deny: Permission denied
mysqld[9130]: refused connect from 127.0.0.1


And I have no problem if jts3servermod is not running.

------ LOGS
mai mar. 16 09:54:41: Server is not running but pid-file is present
mai mar. 16 09:54:41: Removing pid-file
mai mar. 16 09:54:41: Pid file removed
mai mar. 16 09:54:46: Starting JTS3ServerMod
JTS3ServerMod 6.4.0 Hosting Edition (24.03.2017) Instance Manager started...
Writing InstanceManager log file to: /home/JTS3ServerMod_HostingEdition_6.4.0/JTS3ServerMod_InstanceManager.log

************************************************************************************************
Lock file still exists, it seems this JTS3ServerMod process is running twice! Please check this!
If you are sure, that the JTS3ServerMod process is not running twice, delete the file:
/home/JTS3ServerMod_HostingEdition_6.4.0/config/JTS3ServerMod_InstanceManager.cfg.lock
************************************************************************************************

Loading InstanceManager config file from: /home/JTS3ServerMod_HostingEdition_6.4.0/config/JTS3ServerMod_InstanceManager.cfg
Critical: Cannot connect to MySQL server for logging!
MySQL mode enabled!
Error while connecting to database: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
Error while loading the JTS3ServerMod InstanceManager config file, read error messages above to know more. Quitting now...
mai mar. 16 09:54:47: JTS3ServerMod started
mai mar. 16 09:58:03: Server is not running but pid-file is present
mai mar. 16 09:58:03: Removing pid-file
mai mar. 16 09:58:03: Pid file removed
mai mar. 16 09:58:08: Starting JTS3ServerMod
JTS3ServerMod 6.4.0 Hosting Edition (24.03.2017) Instance Manager started...
Writing InstanceManager log file to: /home/JTS3ServerMod_HostingEdition_6.4.0/JTS3ServerMod_InstanceManager.log

************************************************************************************************
Lock file still exists, it seems this JTS3ServerMod process is running twice! Please check this!
If you are sure, that the JTS3ServerMod process is not running twice, delete the file:
/home/JTS3ServerMod_HostingEdition_6.4.0/config/JTS3ServerMod_InstanceManager.cfg.lock
************************************************************************************************

Loading InstanceManager config file from: /home/JTS3ServerMod_HostingEdition_6.4.0/config/JTS3ServerMod_InstanceManager.cfg
Critical: Cannot connect to MySQL server for logging!
MySQL mode enabled!
Error while connecting to database: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
Error while loading the JTS3ServerMod InstanceManager config file, read error messages above to know more. Quitting now...
mai mar. 16 09:58:09: JTS3ServerMod started
mai mar. 16 09:58:41: Server is not running but pid-file is present
mai mar. 16 09:58:41: Removing pid-file
mai mar. 16 09:58:41: Pid file removed
mai mar. 16 09:58:46: Starting JTS3ServerMod
JTS3ServerMod 6.4.0 Hosting Edition (24.03.2017) Instance Manager started...
Writing InstanceManager log file to: /home/JTS3ServerMod_HostingEdition_6.4.0/JTS3ServerMod_InstanceManager.log

************************************************************************************************
Lock file still exists, it seems this JTS3ServerMod process is running twice! Please check this!
If you are sure, that the JTS3ServerMod process is not running twice, delete the file:
/home/JTS3ServerMod_HostingEdition_6.4.0/config/JTS3ServerMod_InstanceManager.cfg.lock
************************************************************************************************

Loading InstanceManager config file from: /home/JTS3ServerMod_HostingEdition_6.4.0/config/JTS3ServerMod_InstanceManager.cfg
Critical: Cannot connect to MySQL server for logging!
MySQL mode enabled!
Error while connecting to database: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
Error while loading the JTS3ServerMod InstanceManager config file, read error messages above to know more. Quitting now...
mai mar. 16 09:58:47: JTS3ServerMod started
mai mar. 16 09:59:38: Server is not running but pid-file is present
mai mar. 16 09:59:38: Removing pid-file
mai mar. 16 09:59:38: Pid file removed
mai mar. 16 09:59:50: Starting JTS3ServerMod
JTS3ServerMod 6.4.0 Hosting Edition (24.03.2017) Instance Manager started...
Writing InstanceManager log file to: /home/JTS3ServerMod_HostingEdition_6.4.0/JTS3ServerMod_InstanceManager.log

************************************************************************************************
Lock file still exists, it seems this JTS3ServerMod process is running twice! Please check this!
If you are sure, that the JTS3ServerMod process is not running twice, delete the file:
/home/JTS3ServerMod_HostingEdition_6.4.0/config/JTS3ServerMod_InstanceManager.cfg.lock
************************************************************************************************

Loading InstanceManager config file from: /home/JTS3ServerMod_HostingEdition_6.4.0/config/JTS3ServerMod_InstanceManager.cfg
Critical: Cannot connect to MySQL server for logging!
MySQL mode enabled!
Error while connecting to database: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
Error while loading the JTS3ServerMod InstanceManager config file, read error messages above to know more. Quitting now...
mai mar. 16 09:59:51: JTS3ServerMod started
mai mar. 16 10:00:01: Server is not running but pid-file is present
mai mar. 16 10:00:01: Removing pid-file
mai mar. 16 10:00:01: Pid file removed
mai mar. 16 10:00:06: Starting JTS3ServerMod
JTS3ServerMod 6.4.0 Hosting Edition (24.03.2017) Instance Manager started...
Writing InstanceManager log file to: /home/JTS3ServerMod_HostingEdition_6.4.0/JTS3ServerMod_InstanceManager.log

************************************************************************************************
Lock file still exists, it seems this JTS3ServerMod process is running twice! Please check this!
If you are sure, that the JTS3ServerMod process is not running twice, delete the file:
/home/JTS3ServerMod_HostingEdition_6.4.0/config/JTS3ServerMod_InstanceManager.cfg.lock
************************************************************************************************

Loading InstanceManager config file from: /home/JTS3ServerMod_HostingEdition_6.4.0/config/JTS3ServerMod_InstanceManager.cfg
Critical: Cannot connect to MySQL server for logging!
MySQL mode enabled!
Error while connecting to database: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
Error while loading the JTS3ServerMod InstanceManager config file, read error messages above to know more. Quitting now...
mai mar. 16 10:00:08: JTS3ServerMod started
mai mar. 16 10:00:54: Server is not running but pid-file is present
mai mar. 16 10:00:54: Removing pid-file
mai mar. 16 10:00:54: Pid file removed
mai mar. 16 10:00:59: Starting JTS3ServerMod
JTS3ServerMod 6.4.0 Hosting Edition (24.03.2017) Instance Manager started...
Writing InstanceManager log file to: /home/JTS3ServerMod_HostingEdition_6.4.0/JTS3ServerMod_InstanceManager.log

************************************************************************************************
Lock file still exists, it seems this JTS3ServerMod process is running twice! Please check this!
If you are sure, that the JTS3ServerMod process is not running twice, delete the file:
/home/JTS3ServerMod_HostingEdition_6.4.0/config/JTS3ServerMod_InstanceManager.cfg.lock
************************************************************************************************

Loading InstanceManager config file from: /home/JTS3ServerMod_HostingEdition_6.4.0/config/JTS3ServerMod_InstanceManager.cfg
Critical: Cannot connect to MySQL server for logging!
MySQL mode enabled!
Error while connecting to database: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
Error while loading the JTS3ServerMod InstanceManager config file, read error messages above to know more. Quitting now...
mai mar. 16 10:01:00: JTS3ServerMod started
mai mar. 16 10:02:15: Server is not running but pid-file is present
mai mar. 16 10:02:15: Removing pid-file
mai mar. 16 10:02:15: Pid file removed
mai mar. 16 10:02:20: Starting JTS3ServerMod
JTS3ServerMod 6.4.0 Hosting Edition (24.03.2017) Instance Manager started...
Writing InstanceManager log file to: /home/JTS3ServerMod_HostingEdition_6.4.0/JTS3ServerMod_InstanceManager.log

************************************************************************************************
Lock file still exists, it seems this JTS3ServerMod process is running twice! Please check this!
If you are sure, that the JTS3ServerMod process is not running twice, delete the file:
/home/JTS3ServerMod_HostingEdition_6.4.0/config/JTS3ServerMod_InstanceManager.cfg.lock
************************************************************************************************

Loading InstanceManager config file from: /home/JTS3ServerMod_HostingEdition_6.4.0/config/JTS3ServerMod_InstanceManager.cfg
Critical: Cannot connect to MySQL server for logging!
MySQL mode enabled!
Error while connecting to database: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
Error while loading the JTS3ServerMod InstanceManager config file, read error messages above to know more. Quitting now...
mai mar. 16 10:02:21: JTS3ServerMod started
mai mar. 16 10:03:45: Server is not running but pid-file is present
mai mar. 16 10:03:45: Removing pid-file
mai mar. 16 10:03:45: Pid file removed
mai mar. 16 10:03:50: Starting JTS3ServerMod
JTS3ServerMod 6.4.0 Hosting Edition (24.03.2017) Instance Manager started...
Writing InstanceManager log file to: /home/JTS3ServerMod_HostingEdition_6.4.0/JTS3ServerMod_InstanceManager.log

************************************************************************************************
Lock file still exists, it seems this JTS3ServerMod process is running twice! Please check this!
If you are sure, that the JTS3ServerMod process is not running twice, delete the file:
/home/JTS3ServerMod_HostingEdition_6.4.0/config/JTS3ServerMod_InstanceManager.cfg.lock
************************************************************************************************

Loading InstanceManager config file from: /home/JTS3ServerMod_HostingEdition_6.4.0/config/JTS3ServerMod_InstanceManager.cfg
Critical: Cannot connect to MySQL server for logging!
MySQL mode enabled!
Error while connecting to database: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
Error while loading the JTS3ServerMod InstanceManager config file, read error messages above to know more. Quitting now...
mai mar. 16 10:03:51: JTS3ServerMod started
mai mar. 16 10:07:14: Server is not running but pid-file is present
mai mar. 16 10:07:14: Removing pid-file
mai mar. 16 10:07:14: Pid file removed
mai mar. 16 10:07:19: Starting JTS3ServerMod
JTS3ServerMod 6.4.0 Hosting Edition (24.03.2017) Instance Manager started...
Writing InstanceManager log file to: /home/JTS3ServerMod_HostingEdition_6.4.0/JTS3ServerMod_InstanceManager.log

************************************************************************************************
Lock file still exists, it seems this JTS3ServerMod process is running twice! Please check this!
If you are sure, that the JTS3ServerMod process is not running twice, delete the file:
/home/JTS3ServerMod_HostingEdition_6.4.0/config/JTS3ServerMod_InstanceManager.cfg.lock
************************************************************************************************

Loading InstanceManager config file from: /home/JTS3ServerMod_HostingEdition_6.4.0/config/JTS3ServerMod_InstanceManager.cfg
Critical: Cannot connect to MySQL server for logging!
MySQL mode enabled!
Error while connecting to database: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
Error while loading the JTS3ServerMod InstanceManager config file, read error messages above to know more. Quitting now...
mai mar. 16 10:07:20: JTS3ServerMod started

Any idea ?
 
Top