Solution to "Connection Refused" Error on Metin2 Servers
One of the most common mistakes in Metin2 PVP server management is "Connection Refused" is coming. This error indicates that your game server cannot communicate with the database (MySQL/MariaDB) or the game files (auth, ch1, ch2, etc.) cannot be initialized properly. You can apply the following methods one by one to solve the problem step by step.
Method 1: Repair Navicat Database Tables
MySQL tables may be damaged in situations such as sudden server shutdown, power outages or insufficient RAM. This directly leads to the Connection Refused error. For the solution:
- Navicat Open the program and connect to your server.
- "player" Double click on the database to enter it.
- Completely select all opened tables (account, item, mob_proto, player, etc.) with your mouse.
- Right click on the selected tables, first "maintain" , then "Repair Tables" -> "extended" Follow your path.
- Same process "common" And "log" Repeat for tables within databases.
- After the process is completed, send it to your server via Putty.
rebootthrow it away.
Method 2: Checking the Fullness of the Server Disk
When your server disk reaches 100% capacity, MySQL services automatically stop and the server goes into refuse mode. To check your disk:
- Connect to Putty terminal and type this command:
df -h - In the results /giant/ or opposite your home directory (Mounted on /) Use% Examine its value.
- If the occupancy rate is 100% or very close to it, you need to clean old log files (syserr, syslog or game logs) on your server. MySQL service after cleaning
service mysql restartRestart with the command.
Method 3: Reviewing Recent Changes and Syserr Files
If the error occurs after adding a new item to Navicat, loading a quest oritem_proto/mob_protoIf you received it after editing, an incorrect line you entered caused it to refuse.
- Connect to your server with Filezilla or WinSCP.
- Go to the directory of the game channels according to the files structure you use (Ex:
/usr/game/cores/channel1or/usr/game/share/locale/turkey). - in the folder syserr Download and open the file to your computer.
- The error message at the bottom of the file will directly tell you in which table you made the wrong operation or the missing column. You can solve the problem by undoing the erroneous action.
Method 4: MySQL Service Status and Permission Checks
In most cases, the error is not caused directly by the game files, but by the MySQL service stopping. Check the status with the following command via Putty:
service mysql status
If the service is not running (stopped or inactive),service mysql startTry starting it with the command. If it does not start, your database user permissions (root privileges) may be damaged.
This article is specially prepared for PvPServer.