View Full Version : Change default ports before install?
chingaman
23-01-2004, 05:09
Is it possible to change the default udp port and the default web interface port before installing the linux server. Is there a file i can do this in after the .tar is extracted and before i start the server?
SatanClaus
23-01-2004, 06:15
the server will automatically create the server.ini, server.dbs and server.log files on first startup. This means that you won't be able to edit them before starting it the first time ;)
if the default ports are blocked the server should try to use other ports... "should".
Just shut it down after the first run, edit the server.ini (in there you only can edit "global" vars like TCPQuery port and WebInterface port. Everything which depends on a specific virtual server has to be edited via the WebInterface afterwards (or you can go modify your server.dbs)
cu
SatanClaus
may I ask why you "need" to change the port BEFORE the first startup ?
I can't see a reason why you desire this ?
chingaman
24-01-2004, 03:33
I thought my webhost was blocking the ports but it turns out i was trying to run multiple instances of the server.
Next question....The server is running...no errors in log file...but i cant connect to the admin page or connect to server from ts client. The funny thing is that the server shows up in the client web list. Any ideas? This is driving me nuts....the server shows up in list as 63.247.87.178:8767 but no go.
---------------------------------------------------------------
-------------- log started at 23-01-04 21:09 -------------
---------------------------------------------------------------
23-01-04 21:09:58,ALL,Info,server, Server init initialized
23-01-04 21:09:58,ALL,Info,server, Server version: 2.0.19.40 Linux
23-01-04 21:09:58,WARNING,Info,SQL, created table ts2_servers
23-01-04 21:09:58,WARNING,Info,SQL, created table ts2_channels
23-01-04 21:09:58,WARNING,Info,SQL, created table ts2_clients
23-01-04 21:09:58,WARNING,Info,SQL, created table ts2_channel_privileges
23-01-04 21:09:58,WARNING,Info,SQL, created table ts2_server_privileges
23-01-04 21:09:58,WARNING,Info,SQL, created table ts2_bans
23-01-04 21:09:58,ALL,Info,server, Starting server with port: 8767
23-01-04 21:09:58,WARNING,Info,SERVER, Default Server created
23-01-04 21:09:58,WARNING,Info,SERVER, admin account info: username: admin password: *****
23-01-04 21:09:58,WARNING,Info,SERVER, superadmin account info: username: superadmin password: *****
23-01-04 21:09:59,ALL,Info,server, Server init finished
23-01-04 21:09:59,WARNING,Info,server, TeamSpeak Server daemon activated
Dummer Sack
24-01-2004, 14:20
Do you have a firewall or router?
Router: Forward 8767 UDP.
Firewall: Open port 8767 UDP.
chingaman
24-01-2004, 17:40
The server is running on my webhost...is it possible they are blocking that port? I did a netstat -a and port 8767 is bound to 63.247.87.178 and the state is LISTEN. I did have the server working perfectly a few days ago but now nothing.
Dummer Sack
24-01-2004, 19:14
Is that a normal webhost or did you rent a root server?
A normal webhost may block that ports.
Also if you rented a root server, there still may be a default firewall in place.
Randall_James
25-01-2004, 00:46
Shared server enviroment will not run without root access 99.99% of the time
chingaman
25-01-2004, 00:48
I have shell access...i guess that's not the same as root huh?
Randall_James
25-01-2004, 01:38
nope root=root , if all shell users could run programs you could imagine what your sever would be like.
chingaman
25-01-2004, 02:46
i've been tryin to get the hosting company to allow me to run the ts server...telling them that it's not cpu intensive or bandwidth...but i think i'm failing badly...lol
Randall_James
25-01-2004, 05:51
Originally posted by chingaman
i've been tryin to get the hosting company to allow me to run the ts server...telling them that it's not cpu intensive or bandwidth...but i think i'm failing badly...lol Well I have a few servers running and no it does not put much load on server, I run 100Mbs connections and so bandwidth is never an issue. However it has caused a couple problems with crashes and that can be a big issue. The other part is that mysql appears to have a persistant connection and that is a problem.
It is less of a problem than Zope and Metadot (I have servers on both of those)
So far avg user load is running about 40 to 50 users at any given time and we have had about 1200 registrations in the last 30 days. I will update you on server status if things change.
Dummer Sack
25-01-2004, 12:32
Uh, a TS server that causes crashes that affect more than the TS server itself?
First time I hear of this.
Randall_James
25-01-2004, 15:21
It did bring the one server down (server load went sky hi) This was a single incident and still not sure what happened and the logs were not much help. So far (3 weeks) it has not occured again.
SatanClaus
25-01-2004, 16:15
sorry, but which ts-server-version did you use?
vBulletin® v3.7.3, Copyright ©2000-2009, Jelsoft Enterprises Ltd.