Jump to content

[HELP] After starting more than 1 ch, other ch crash after 10-15sec - only ch1 running


Recommended Posts

  • Premium

Guys, Hellooo.


When i start more than 1 ch, the first ch can start, the second is starting, but after 10-15 sec, another ch crash. i tested all ch, so i started every single ch, (started only ch1-2-3-4, everything is working fine(with editing start.sh file)) But more than 1 ch is not working.
Can someone help or give me a tip or something?
Tried with:  i just copy the ch1 folder and changed the porst, created the links inside the folder. Starting only ch2 is fine, but starting both ch, still only ch1 working.

Server is 40k. Using FoxFS. In the client source, checked IPs and ports, everything is good.

Sorry for my horrible english.

EDIT: Started 2 ch. First (ch1) is working, but CH2 is not.

Edited by Ulthar
title edit
  • Metin2 Dev 1

Ulthar

Link to comment
Share on other sites

  • Premium
13 minutes ago, TMP4 said:

If you start them one by one they work?

Yea, they work.

My ch1 core1 config:
 

HOSTNAME: core1
CHANNEL: 1
PORT: 13010
P2P_PORT: 13110
DB_PORT: 11000
DB_ADDR: localhost
MAP_ALLOW: 1 3 4 6 21 23 24 26 41 43 44 46 51 13
TABLE_POSTFIX:
PASSES_PER_SEC: 25
SAVE_EVENT_SECOND_CYCLE: 180
PING_EVENT_SECOND_CYCLE: 180
PLAYER_SQL: localhost gamedb 6ExshcCdUMW65dq8KjSPtqkb player
COMMON_SQL: localhost gamedb 6ExshcCdUMW65dq8KjSPtqkb common
LOG_SQL: localhost gamedb 6ExshcCdUMW65dq8KjSPtqkb log
VIEW_RANGE: 8000
LOCALE_SERVICE: turkey
TEST_SERVER: 0
ADMINPAGE_IP: 185.128.112.9
ADMINPAGE_PASSWORD: 548SN3TBFcbqKL84sTExQ5Ja
SHOP_URL: testshop.com
CHECK_MULTIHACK: 0
MAX_LEVEL: 120


my ch2 core1 config:

HOSTNAME: core1
CHANNEL: 2
PORT: 14010
P2P_PORT: 14110
DB_PORT: 11000
DB_ADDR: localhost
MAP_ALLOW: 1 3 4 6 21 23 24 26 41 43 44 46 51
TABLE_POSTFIX:
PASSES_PER_SEC: 25
SAVE_EVENT_SECOND_CYCLE: 180
PING_EVENT_SECOND_CYCLE: 180
PLAYER_SQL: sqlserver gamedb 6ExshcCdUMW65dq8KjSPtqkb player
COMMON_SQL: sqlserver gamedb 6ExshcCdUMW65dq8KjSPtqkb common
LOG_SQL: sqlserver gamedb 6ExshcCdUMW65dq8KjSPtqkb log
VIEW_RANGE: 8000
LOCALE_SERVICE: turkey
TEST_SERVER: 0
ADMINPAGE_IP: 185.128.112.9
ADMINPAGE_PASSWORD: 548SN3TBFcbqKL84sTExQ5Ja
SHOP_URL: testshop.com
CHECK_MULTIHACK: 0
MAX_LEVEL: 120


 

Ulthar

Link to comment
Share on other sites

  • Premium
27 minutes ago, TMP4 said:

They seems fine, maybe you want to censor your ip tho.

I can't tell what's the problem, try to do a gdb, maybe it will show some useful info.

thats not my ip btw, but gdb litteraly do nothing for me. Cant debug...

Ulthar

Link to comment
Share on other sites

  • Contributor
15 minutes ago, Ulthar said:

 

 

So the problem is that, without any clue nobody can help.
You say gdb doesn't do anything. So you write gdb like this:

root@metin2:~ # gdb

and what's the outout?

  1. command gdb not found? (pkg install gdb)
  2. you get an empty new line? like root@metin2:~ #
  3. other?

I suggest you to try removing gdb then if you installed it from ports then do pkg, if you did pkg then install from ports.

Link to comment
Share on other sites

  • Premium
24 minutes ago, TMP4 said:

So the problem is that, without any clue nobody can help.
You say gdb doesn't do anything. So you write gdb like this:

root@metin2:~ # gdb

and what's the outout?

  1. command gdb not found? (pkg install gdb)
  2. you get an empty new line? like root@metin2:~ #
  3. other?

I suggest you to try removing gdb then if you installed it from ports then do pkg, if you did pkg then install from ports.

Thanks for answer again.
Im not getting game.core after the ch start, zero syserr, sero syslog.
If i want to debug, gdb telling me: (i dont remember perfectly) gdb-> file game-> core game.core-> "cant debug stripped version" Well, i uploaded my not stripped version, and i got the game.core again. Tried the same way, and got the same thing... xD

EDIT::

root@:/usr/home/game/share/bin # file game
game: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), dynamically linked, interpreter /libexec/ld-elf.so.1, for FreeBSD 9.2, stripped

After i used this command, got this message. But after this, nothing happened. I dont have game.core, so i cant do: core game.core. 😕

I cant run the game in gdb too.

 

Edited by Ulthar

Ulthar

Link to comment
Share on other sites

  • Active Member

@ Ulthar You can't gdb stripped game file. The game file you are trying to debug, someone or you stripped before, so if you can't compile it again without command use: strip -s game then there is no way how someone can help you.

Edited by ReFresh

I'll be always helpful! 👊 

Link to comment
Share on other sites

  • Premium
2 minutes ago, ReFresh said:

You can't gdb stripped game file. The game file you trying to debug someone or you stripped before, so if you can't compile it again without command use: -strip -s game. There is no way how someone can help you with that.

I tried it with non stripped game, and still not working 😄

Ulthar

Link to comment
Share on other sites

  • Premium
4 minutes ago, ReFresh said:

Show us syssers of channels, syslogs etc. Looks like you don't have any knowledge with serverfiles.

SYSERR: Dec  7 17:24:07 :: socket_connect: HOST localhost:11000, could not connect.
SYSERR: Dec  7 17:24:07 :: ReadQuestCategoryToDict: QUEST couldnt find QuestIndex for name Quest: time_weapon(0)
SYSERR: Dec  7 17:24:18 :: hupsig: SIGHUP, SIGINT, SIGTERM signal has been received. shutting down.
SYSERR: Dec  7 17:24:18 :: hupsig: SIGHUP, SIGINT, SIGTERM signal has been received. shutting down.
SYSERR: Dec  7 17:25:08 :: socket_connect: HOST hereismyip:13199, could not connect.
SYSERR: Dec  7 17:25:10 :: pid_deinit: 
End of pid

This is ch2 syserr, cuz i started only the ch2. Same syserr in ch1 while im only starting ch2.

If i start only ch1,  this error is dissapear.

Edited by Ulthar

Ulthar

Link to comment
Share on other sites

12 hours ago, Ulthar said:

Thanks for answer again.
Im not getting game.core after the ch start, zero syserr, sero syslog.
If i want to debug, gdb telling me: (i dont remember perfectly) gdb-> file game-> core game.core-> "cant debug stripped version" Well, i uploaded my not stripped version, and i got the game.core again. Tried the same way, and got the same thing... xD

EDIT::

root@:/usr/home/game/share/bin # file game
game: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), dynamically linked, interpreter /libexec/ld-elf.so.1, for FreeBSD 9.2, stripped

After i used this command, got this message. But after this, nothing happened. I dont have game.core, so i cant do: core game.core. 😕

I cant run the game in gdb too.

 

 

I didn't tell you to debug the core file, i told you to debug the game file.

 

i change my words;

try debugging --> learn debugging..

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

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.