[Xitami] Multi server issue
General
ronackgen01 at bellsouth.net
Sat Mar 22 13:57:56 CET 2008
I just tried it with 192.168.1.2 port 80 and 192.168.1.18 port 80. I can
start one but not the other. Xitami loads both instances but one doesn't
start even though it says that it's started. I'm not sure what's stopping it
from running tho?
I have 28 IP addresses loaded on this NIC. Virtual sites on one Xitami work
fine.
I don't know maybe I missed something?
Ron
From: xitami-bounces at lists.xitami.org
[mailto:xitami-bounces at lists.xitami.org] On Behalf Of R O
Sent: Thursday, March 20, 2008 3:22 PM
To: Xitami Users General Discussion
Subject: Re: [Xitami] Multi server issue
Paul,
Thanks. This is the kind of info I was looking for. Port 80 is dependent
per IP as its a tcp issue. I checked 'netstat -na' and see only see Port 80
bound to the first server. There is no other port 80 on any of the other
IPs on the NIC. Currently the second IP has port 5080 bound to it which is
what I had to set that second server to just to come up. But changing that
second server back to port 80 prevents the service from starting.
The NIC currently has 3 IPs, each IP serves different sevcies (dns, smtp,
pop, http, etc). I am using Windows Advanced Server 2003 and was pretty
certain that I previously did this type of configuration but couldn't recall
if I ran both IPs with port 80 or one on port 80 and the other on another
port.
Can anyone else test this for me to see what results you get? Simply add
another IP to your nic, stop your xitami service and copy the xitami folder
to a new folder (otherwise the defaults.cfg file will get corrupted in the
copy), change the defaults.cfg server IP to the new IP of the nic and change
the Xitami Service Name, and then start the both sevices from both xitami
folders.
Can you connect port 80 on both IPs? Will the second sevice even start up?
In the meantime I am checking to see if there are conflicting config files
in either of the folders that I am currently using.
Thanks all.
Russel P. Olinger
rolinger1 at hotmail.com
> Date: Thu, 20 Mar 2008 12:42:49 -0400
> From: preid at rci.rutgers.edu
> To: xitami at lists.xitami.org
> Subject: Re: [Xitami] Multi server issue
>
> > You have one NIC. It has one Port 80.
>
> No. The NIC doesn't even know what an IP is, much less a port. If it
> gets a packet it passes it to the TCP/IP service. This examines the IP
> and port, checks a list of what programs have requested to bind to what
> IP:port combinations, and passes the packet to the program indicated.
>
> It isn't a hardware thing. We know that multiple webservers will work
> over one NIC. A second NIC is not the answer and sure will confuse you.
>
> It is possible you found an oversight (bug) in Xitami or your TCP/IP
demon.
>
> IMHO it is far more likely a configuration error. Xitami has many ways
> to find configuration data. The default bind is to "All IPs". My 2 cents
> says there is another .CFG file which is binding all IPs to the first
> copy which starts, leaving the second copy stranded.
>
> Use 'netstat -an' to see what IP:ports are "Listening". Since the basic
> netstat may not indicate -which- program is listening, see what it says
> when each server is started alone.
>
>
> --
> Paul Reid
> System Administrator
>
>
> --
> Xitami Users Mailing List -- For Xitami support
> To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xitami.org/pipermail/xitami/attachments/20080322/95e61399/attachment.htm
More information about the Xitami
mailing list