Hi Douglas,
--On October 29, 2007 3:04:07 AM -0400 Douglas O'Connor
<[EMAIL PROTECTED]> wrote:
1.) Double-checked all the file names and port numbers: as far as I can
still, it's all good.
2.) I'm using OSX 10.4.10 Tiger, Python 2.4, Subversion 1.4.5, Apache
2.2.6, APR 1.2.11, and APR-UTIL 1.2.10. The firewall is down for the
ports that I've configured DCS to listen on (8008 and 8443).
3.) No error logs come through, the only logfiles I can actually open
don't contain much (access.log).
4.) DCS works on the localhost, but not on the port that I assign it in
the caldavd-dev.plist. In fact, it always assigns to one or two ports
higher than what I tell it, and it ignores my serverhostname and IP
address that I give to it. (See the verbose run script below to
understand more clearly). I don't know why it changes the port, but
whichever one it chooses I can access on localhost just fine.
5.) The collection listing is solid, no problems there, it reflects my
plist and xml arrangements.
Here below is the run script readout:
Some things to note: the server architecture we have allows for the
"server" to actual spawn multiple server processes for handling requests.
By default we spawn one server instance per cpu/core. When we do that, each
server instance listens only on 127.0.0.1 and on a port that is different
from the main one configured in the .plist (we increase the port numbers by
one for each instance). We then also start a load balancer process
(pydirector) that should be listening on all the interfaces/ports specified
in the .plist, and that will redirect incoming requests to each server
instance in an appropriate fashion. The error.log file (or stdout) will
show the localhost and instance port numbers, not the interface/port of the
load balancer. So you need to ignore those and just attempt to connect on
the interfaces/ports in the caldavd.plist.
Can you start the server again and look for the 'Adding pydirector service
with configuration: XXX' line in the log output, and then in another
terminal window cat the XXX file listed there. You should see four services
setup in that config file - two of which listen on localhost and two of
which listen on the external address on the ports you have specified. Can
you double-check that?
--
Cyrus Daboo
_______________________________________________
calendarserver-users mailing list
calendarserver-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/calendarserver-users