PDA

View Full Version : Is it possible to run two servs off one pc?


Mr Teh Brutalz
31-05-2008, 11:10
Hey, i had a question, and thought of nowhere better to ask, so here i am. I was wondering if it was possible to set up a second server, pretty much like i did the first one, so i basically have 2 servs, both running off my one pc....so...can anyone help me with it?

ANR Daemon
04-06-2008, 01:00
Only one thing is better than asking a question:
Shut up and think at least a little about answering it.

It has been answered already: you can run as many server applications as you want.
HTTP and TCP server ports configured in the server.ini.
Voice Server ports assigned through HTTP administration page.

As long as you are not crossing HTTP/TCP ports, you can start as many application instances as you want, and resolve voice server port conflicts on the fly.

Katana*GFR*
04-06-2008, 19:38
Yes.

1. 1 updated and one very old TS
2. Find info on Virtual Servers, opening up the admin page does miracles..

ANR Daemon
04-06-2008, 22:09
Katana :)
1. Both 2.0.41.1, no problem.
See:
First one:
TCP 0.0.0.0:14534 0.0.0.0:0 LISTENING
TCP 0.0.0.0:51234 0.0.0.0:0 LISTENING
---------------------------------------------------------------
-------------- log started at 05-06-08 00:05 -------------
---------------------------------------------------------------
05-06-08 00:05:30,ALL,Info,server, Server init initialized
05-06-08 00:05:30,ALL,Info,server, Server version: 2.0.24.1 Win32
05-06-08 00:05:30,WARNING,Info,SQL, created table ts2_servers
05-06-08 00:05:30,WARNING,Info,SQL, created table ts2_server_privileges
05-06-08 00:05:30,WARNING,Info,SQL, created table ts2_channels
05-06-08 00:05:30,WARNING,Info,SQL, created table ts2_channel_privileges
05-06-08 00:05:30,WARNING,Info,SQL, created table ts2_clients
05-06-08 00:05:30,WARNING,Info,SQL, created table ts2_bans
05-06-08 00:05:30,ALL,Info,server, Starting VirtualServer id:1 with port:8767
05-06-08 00:05:30,ALL,Info,server, Started VirtualServer id:1 with port:8767
05-06-08 00:05:31,ALL,Info,server, Server init finished
05-06-08 00:07:07,ALL,Info,server, Server shutdown initialized
05-06-08 00:07:07,ALL,Info,server, Stopping VirtualServer id:1 with port:8767
05-06-08 00:07:08,ALL,Info,server, Stopped VirtualServer id:1 with port:8767
05-06-08 00:07:10,ALL,Info,server, Server shutdown finished
---------------------------------------------------------------
--------------- log ended at 05-06-08 00:07 --------------
---------------------------------------------------------------

Second one:
TCP 0.0.0.0:14535 0.0.0.0:0 LISTENING
TCP 0.0.0.0:51235 0.0.0.0:0 LISTENING

Dirty copy-hack without adjusting VirtualServers, so it was unable to start voice second time.
---------------------------------------------------------------
-------------- log started at 05-06-08 00:05 -------------
---------------------------------------------------------------
05-06-08 00:05:54,ALL,Info,server, Server init initialized
05-06-08 00:05:54,ALL,Info,server, Server version: 2.0.24.1 Win32
05-06-08 00:05:54,WARNING,Info,SQL, created table ts2_servers
05-06-08 00:05:54,WARNING,Info,SQL, created table ts2_server_privileges
05-06-08 00:05:54,WARNING,Info,SQL, created table ts2_channels
05-06-08 00:05:54,WARNING,Info,SQL, created table ts2_channel_privileges
05-06-08 00:05:54,WARNING,Info,SQL, created table ts2_clients
05-06-08 00:05:54,WARNING,Info,SQL, created table ts2_bans
05-06-08 00:05:54,ALL,Info,server, Starting VirtualServer id:1 with port:8767
05-06-08 00:05:54,ERROR,All,SERVER, VirtualServer startup failed with port 8767, Exception: EIdCouldNotBindSocket.Could not bind socket. Address and port are already in use.
05-06-08 00:05:57,ALL,Info,server, Server init finished
05-06-08 00:07:06,ALL,Info,server, Server shutdown initialized
05-06-08 00:07:09,ALL,Info,server, Server shutdown finished
---------------------------------------------------------------
--------------- log ended at 05-06-08 00:07 --------------
---------------------------------------------------------------

BHKai
05-06-2008, 01:48
Yeah katana was thinking about clients and not servers.

Katana*GFR*
05-06-2008, 10:46
Yeah, dunno what got into me that time... :D