Jump to content

Fully untouched 34083 server files & DB


Recommended Posts

SYSERR: Feb 17 20:04:01 :: socket_bind: bind: Address already in use

You have the server already running. Try turning off the server with kill.

 

type "ps"

Find the process IDs of the metin2 server then do this

 

kill -s 9 31454 31456 31458 31449

where those numbers = the process IDs

 

SYSERR: Feb 17 20:04:20 :: __GetAdminInfo: __GetAdminInfo() ==> DirectQuery failed(SELECT mID,mAccount,mName,mContactIP,mServerIP,mAuthority FROM gmlist WHERE mServerIP='ALL' or mServerIP='IP.IP.IP.IP')

Use this SQL query to fix that error:

 

/*
Navicat MySQL Data Transfer

Source Server         : Metin2Nirvana@CloudCom
Source Server Version : 50616
Source Host           : 
Source Database       : common

Target Server Type    : MYSQL
Target Server Version : 50616
File Encoding         : 65001

Date: 2014-02-17 13:13:50
*/

SET FOREIGN_KEY_CHECKS=0;

-- ----------------------------
-- Table structure for `gmlist`
-- ----------------------------
DROP TABLE IF EXISTS `gmlist`;
CREATE TABLE `gmlist` (
  `mID` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `mAccount` varchar(32) CHARACTER SET big5 NOT NULL DEFAULT '',
  `mName` varchar(32) CHARACTER SET big5 NOT NULL DEFAULT '',
  `mContactIP` varchar(16) CHARACTER SET big5 NOT NULL DEFAULT '',
  `mServerIP` varchar(16) CHARACTER SET big5 NOT NULL DEFAULT 'ALL',
  `mAuthority` enum('IMPLEMENTOR','HIGH_WIZARD','GOD','LOW_WIZARD','PLAYER') CHARACTER SET big5 DEFAULT 'PLAYER',
  PRIMARY KEY (`mID`)
) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=latin1;

-- ----------------------------
-- Records of gmlist
-- ----------------------------

though that could be an error caused by the database port being in use already..

the reason why you can't connect and it says socket in use is the port is already in use. Your database port is 15000 and something is using it. You most likely have the metin2 files running but don't know it.

  • Developer

I don't know if you know that the CONFIG files are the files where is saved all starting data of the channel. And yes I'm talkin' about ports too.

Also the command ps tells you what is running.

when you return 0 and server doesn't boot:

unknown.png

usually by default all ports are unblocked.

 

You can check by looking at your CONFIG files in the server files for the PORTs then setting those ports up in your serverinfo.py of your client.

 

auth is used to login and it's usually in the 11000+ range.

 

channels typically are set to 13000+ range.

 

For your client, each channel should be connected to the port listed in the "first" folder of each channel (if you're using the files from this thread).

It could be depending on how many channels you have setup to start I guess. Or it could be some leftover pieces from a previous attempt to start the server. I suggest doing this:
 

ps
kill -s 9 pid pid pid pid

where pid = the process id of each vrunner

then use ps to confirm the processes are ended and start the server again using the start script. For a public server with active players, I don't recommend killing the cores this way. Normally once you've got the server stopping and starting correctly you should /shutdown ingame then use the shutdown script to end the core processes.

Remove the preloads from the run.sh scripts like this..

 

 

find this:

./vrunner --daemon --pid-path=pid.game --file=game --env="LD_32_LIBRARY_PATH=/usr/local/lib/metin2" --env="LD_32_PRELOAD=./libgame.so" >> autorun.log 2>&1 &

remove this:

--env="LD_32_LIBRARY_PATH=/usr/local/lib/metin2" --env="LD_32_PRELOAD=./libgame.so"

End result should be like this:

./vrunner --daemon --pid-path=pid.game --file=game >> autorun.log 2>&1 &

This was a mistake in the script and I'll update the package with the right scripts.

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.