Jump to content

Fully untouched 34083 server files & DB


Rumor

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..

Link to comment
Share on other sites

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).

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Announcements



×
×
  • 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.