MySQL Problème Can't connect ...

Started by JonathanR, May 16, 2017, 10:11:01 AM

Previous topic - Next topic

JonathanR

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.

Quotemysqld[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
Quotemai 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 ?