Jump to content

[dual server] Starting and stoping problem


shanchien29

Recommended Posts


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  5
  • Reputation:   0
  • Joined:  03/31/12
  • Last Seen:  

Help naman po mga kabayan. Ang problem ko po, meron akong 2 server sa 1 vps. Yung isa yung live server may mga players, then yung isa, ginawa ko para sa test server.

Ngayon po ang problem ko, everytime na kailangan ko i-stop yung test server via PuTTY or emulator kasi para makapag compile ako, naaapektuhan din sa pag stop yung main server ko. magkahiwalay po sila ng folder and napapagana ko yung test server as well sa main server ko. ang problem lang is how do i stop the test server or the main server only wihout affecting the other one?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  967
  • Reputation:   53
  • Joined:  11/13/11
  • Last Seen:  

Hi Shanchien29!

remember to start a server = ./athena-start start

so problem is your using 1 account for 2 servers

thats the problem

solutions are

1. edit athena-start file

2. create a new user and setup the emu there ( no need to install required packages again)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  5
  • Reputation:   0
  • Joined:  03/31/12
  • Last Seen:  

Thank you KeiKun!

I was able to temporarily fix the issue.

There's no any problem with starting the char/map/login. It's the ./athena-start stop. It search for the window name or running resource name andn close it, that's why it closes both servers.

WHat I did, I renamed/add "test-" in char-server_sql,login-server_sql and map-server_sql.

so it'll be:

test-char-server_sql

test-map-server_sql

test-login-server_sql

Inside "athena-start"

L_SRV=test-login-server_sql

C_SRV=test-char-server_sql

M_SRV=test-map-server_sql

now everytime i close the test server

./athena-start stop inside my ../test directory

it wont affect my other server's processes as they have now different in process names.

EDIT:

Everytime I compile my test server it creates a new

char-server_sql

map-server_sql

login-server_sql

And I just renamed them again manually.

Edited by shanchien29
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  967
  • Reputation:   53
  • Joined:  11/13/11
  • Last Seen:  

i suggest you seperate them in users

User 1 = using first server

user 2 = using second server

both of them will be using sql from root and other require packages

the renaming process is kinda the hardest

Link to comment
Share on other sites

  • 4 months later...

  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  108
  • Reputation:   6
  • Joined:  08/27/12
  • Last Seen:  

SIR paano yung gninawa mo dito? Pano ka nag ON ng dualserver

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...