r3358 fixes this so that it uses the UserName setting in the config file (same as the calendar server), which should work and be somewhat safer than running as root.

        -wsv


On Nov 7, 2008, at 2:42 AM, Chris Brown wrote:

Hi Lenny,

It's been driving me crazy but I finally fixed it! The only error I could see in the logs was an error with memcached not being able to log on as root. It looks like the memcache service gets called in twistedcaldav/cluster.py so I just added a line in on line 393 to force the service to start as root:

if config.Memcached["ServerEnabled"]:
    log.msg("Adding memcached service")

    memcachedArgv = [
        config.Memcached["memcached"],
        "-p", str(config.Memcached["Port"]),
        "-l", config.Memcached["BindAddress"],
        "-u", "root",
        ]

And bam, calendars galore for all.

Chris

_______________________________________________
calendarserver-users mailing list
calendarserver-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users

Reply via email to