[cod] Problem with multiple servers on one IP
Donald Stephens
donald.stephens at activant.com
Fri Feb 1 14:12:22 EST 2008
Yes. Make sure you have separate accounts setup for each. I setup
individual accounts for each of my servers but make them all part of the
same group. e.g cod4-1 servers and cod4-2 servers... Also make sure you
are setting the home and base paths to each accounts installation and
make sure the owners are correct.
You might also delete the dotted directory .cod4 from the user account
directory if you've been playing around with it for awhile. Something
might be cached in it.
These are my user directories for the two accounts.
-rwxr-xr-x 1 cod4 servers 2273596 Dec 18 06:13
cod4_lnxded-bin-1.3
-rwxr-xr-x 1 cod4 servers 2272028 Dec 18 06:13
cod4_lnxded-bin-1.0
-rwxr-xr-x 1 cod4 servers 1273 Dec 18 06:13 cod4_lnxded
-rw-r--r-- 1 cod4 servers 167936 Dec 18 06:13 binkw32.dll
-rw-r--r-- 1 cod4 servers 2482 Dec 18 06:13 localization.txt
-rw-r--r-- 1 cod4 servers 939472 Dec 18 06:13 libstdc++.so.6
-rw-r--r-- 1 cod4 servers 41384 Dec 18 06:13 libgcc_s.so.1
-rw-r--r-- 1 cod4 servers 4498779 Dec 18 06:13 iw3sp.exe
-rw-r--r-- 1 cod4 servers 434688 Dec 18 06:19 mss32.dll
drwxr-xr-x 3 cod4 servers 4096 Dec 18 06:19 Mods
drwxr-xr-x 2 cod4 servers 4096 Dec 18 06:19 miles
drwxr-xr-x 3 cod4 servers 4096 Dec 18 06:19 zone
-rw-r--r-- 1 cod4 servers 5822 Dec 18 06:19 README.linux
-rwxr-xr-x 1 cod4 servers 2539230 Dec 18 06:19 pbsetup.run
-rw-r--r-- 1 cod4 servers 67 Dec 18 18:34 pbuser.htm
-rwxrwxrwx 1 cod4 servers 2277468 Dec 21 08:38 cod4_lnxded-bin
-rw-r--r-- 1 cod4 servers 247 Jan 14 15:27 cron.out
-rwxr-xr-x 1 cod4 servers 240 Jan 29 17:08 startcod4
drwxrwxr-x 8 cod4 servers 4096 Jan 29 21:44 pb
-rw-rw---- 1 cod4 servers 8372 Jan 31 07:34 pbgame.htm
-rw-r--r-- 1 cod4 servers 0 Jan 31 07:34 pbsecsv.htm
-rw-r--r-- 1 cod4 servers 0 Jan 31 07:34 pbsec.htm
drwxr-xr-x 3 cod4 servers 4096 Jan 31 09:18 main
and
drwxr-xr-x 3 callofduty4 servers 4096 Dec 6 15:40 Mods
drwxr-xr-x 2 callofduty4 servers 4096 Dec 7 07:05 miles
drwxr-xr-x 3 callofduty4 servers 4096 Dec 7 07:05 zone
-rwxrwxrwx 1 callofduty4 servers 1273 Dec 7 12:52 cod4_lnxded
-rwxrwxrwx 1 callofduty4 servers 2277468 Dec 21 08:35
cod4_lnxded-bin
-rw-r--r-- 1 callofduty4 servers 939472 Jan 19 09:27
libstdc++.so.6
-rw-r--r-- 1 callofduty4 servers 41384 Jan 19 09:27 libgcc_s.so.1
-rw-r--r-- 1 callofduty4 servers 2482 Jan 19 09:31
localization.txt
-rwxr-xr-x 1 callofduty4 servers 2539230 Jan 23 19:25 pbsetup.run
-rw-r--r-- 1 callofduty4 servers 8372 Jan 23 19:27 pbgame.htm
-rw-r--r-- 1 callofduty4 servers 5527 Jan 23 19:27 eula.txt
drwxrwxr-x 8 callofduty4 servers 4096 Jan 31 06:20 pb
-rwxrwxrwx 1 callofduty4 servers 234 Jan 31 15:37 startcod4
drwxr-xr-x 3 callofduty4 servers 4096 Feb 1 09:26 main
and these are the command lines.
/home/callofduty4/cod4_lnxded +set fs_basepath /home/callofduty4 +set
fs_homepath /home/callofduty4 +set fs_savepath /home/callofduty4 +exec
serversetting.cfg +set dedicated 2 +set net_ip 192.168.1.103 +set
net_port 2304 +map_rotate
And
/home2/callofduty4/cod4_lnxded +exec serversettings.cfg +set dedicated 2
+set fs_basepath /home2/callofduty4 +set fs_homepath /home2/callofduty4
+set fs_savepath /home2/callofduty4 +set net_ip 192.168.1.103 +set
net_port 28940 +map_rotate
Hope this helps
-Don
________________________________
From: Georgecooldude [mailto:georgecooldude at gmail.com]
Sent: Friday, February 01, 2008 10:58 AM
To: cod at icculus.org
Subject: Re: [cod] Problem with multiple servers on one IP
Have you created seperate user accounts for both of the scripts?
Eg. Cod4-001 (for port 28960) and Cod4-002 (28970)
On Feb 1, 2008 10:11 AM, Marcel de Haas <marcel at dehaas.dds.nl> wrote:
Hi Guys,
I'm trying to run multiple servers on a box with one IP address using
the script from --- which was posted here January 21 by Georgecooldude.
I'm trying to run two different games on two different ports. When one
server running on port 28960 is running the one configured at 28970
won't start. When I stop 28960 then I'm able to start 28970, so configs
are OK. I checked and it is really running on 28970.
Even when I try to start the cod4_lnxded-bin without parameters as a
user the executable just returns "Killed". When I start as root it will
automatically use a free port (28961) and the server will start.
So where am I going wrong?
Cheers Marcel
---
To unsubscribe, send a blank email to cod-unsubscribe at icculus.org
Mailing list archives: http://icculus.org/cgi-bin/ezmlm/ezmlm-cgi?38
Notice: This transmission is for the sole use of the intended recipient(s) and may contain information that is confidential and/or privileged. If you are not the intended recipient, please delete this transmission and any attachments and notify the sender by return email immediately. Any unauthorized review, use, disclosure or distribution is prohibited.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/cod/attachments/20080201/e281f069/attachment.htm>
More information about the Cod
mailing list