RegisterRegister    Log inLog in    SearchSearch   

Post new topic   Reply to topic
 
View previous topic :: View next topic  
Author Message
dende



PostPosted: Wed Jan 12, 2011 11:22 pm    Post subject: Server Crash Reply with quote

Hi i have 2 servers whit Counter-Strike 1.6
I use startup line:
Code:
-game cstrike -norestart -sport <gc:eval>%server:port% + 5</gc:eval> -console +ip %server:ip% +port %server:port% +maxplayers %numplayers% +servercfgfile port%server:port%.cfg +exec port%server:port%.cfg +exec banned_user.cfg +map "%mapname%" +logsdir gclogs/%server:id% +localinfo mm_pluginsfile "addons/metamodx/plugins%server:port%.ini" +localinfo amx_plugins "addons/amx/plugins/plugins%server:port%.ini" +localinfo amx_modules "addons/amx/modules%server:port%.ini"


This line is default of gamecreate.

The server start run ok 7 minutes, than crash- restart. How can i fix this?

PS: If i turn off the metamod plugins the servers works fine whit no problem / crash! When i put the metamod plugins the servers are crashed in 6-7 min when they started. Help please.
Back to top
View user's profile Send private message Yahoo Messenger
adbot



PostPosted: Thu Mar 31, 2011 3:57 am 

dende



PostPosted: Thu Jan 13, 2011 2:48 am    Post subject: Reply with quote

Nobody? Confused
Back to top
View user's profile Send private message Yahoo Messenger
Kybber



PostPosted: Thu Jan 13, 2011 7:35 pm    Post subject: Reply with quote

Do the servers actually crash, or does GC restart them due to query failure?
Back to top
View user's profile Send private message
dende



PostPosted: Thu Jan 13, 2011 7:42 pm    Post subject: Reply with quote

This: GC restart them due to query failure Sad How to fix?
Back to top
View user's profile Send private message Yahoo Messenger
Kybber



PostPosted: Thu Jan 13, 2011 7:51 pm    Post subject: Reply with quote

Is your server in your home behind a router/firewall? Make sure that the server's query port is accessible from the outside. Open firewall and NAT the port to the correct host.
Back to top
View user's profile Send private message
dende



PostPosted: Thu Jan 13, 2011 8:03 pm    Post subject: Reply with quote

I have the machine on the hosting company, run on linux centos 5.5 x64.

Another metod to open port on linux?
Back to top
View user's profile Send private message Yahoo Messenger
Kybber



PostPosted: Thu Jan 13, 2011 8:14 pm    Post subject: Reply with quote

If there is a firewall somewhere, either deployed by your hosting company or embedded in Centos, then you need to open the relevant ports. You probably already did this to get your game server to work in the first place. If not, then there probably aren't any ports to open.

If I were you, I'd try to start the server from the command line instead of from GC, since that provides you with lots more info of what's going on. If the server runs nicely from the command line, you can try to query it on its query port using hlsw or a similar tool. If you get a response, then that is not the problem.

If you do not get a query response, but the query port is open, it is rather likely that the server is unable to start properly when metamod is enabled. Perhaps the server fires up, then stops with an error message or freezes? In that case, the GC will not restart it since the process is running, but the GC server will restart it after a few minutes since it is unable to communicate with it. You will see this easily if you start from the command line. Try to compare with/without metamod running.
Back to top
View user's profile Send private message
dende



PostPosted: Thu Jan 13, 2011 9:11 pm    Post subject: Reply with quote

If i start the server on command line , the server running whit no problem.
Back to top
View user's profile Send private message Yahoo Messenger
Kybber



PostPosted: Thu Jan 13, 2011 9:28 pm    Post subject: Reply with quote

I assume you use the exact same command-line as GC uses, so that all settings and config files are the same?

After startting manually, are you able to the server on the query-port from a computer on a different network? If not, then you need to figure out why that fails, as that is the reason why GC assumes the server doesn't run (query failure) and orders a restart.
Back to top
View user's profile Send private message
dende



PostPosted: Thu Jan 13, 2011 9:54 pm    Post subject: Reply with quote

But this query can not be removed somehow? The SA-MP servers do not experience such problems.
Back to top
View user's profile Send private message Yahoo Messenger
Kybber



PostPosted: Thu Jan 13, 2011 10:02 pm    Post subject: Reply with quote

If you want, then you can disable the query by going to the host->configuration from your root domain.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum powered by phpBB © 2001, 2005 phpBB Group