[CalendarServer-users] Error: 'Server' object has no attribute 'protocol'
Cyrus Daboo
cdaboo at apple.com
Thu Sep 11 07:39:49 PDT 2014
Hi Ulrich,
--On September 11, 2014 at 4:29:56 PM +0200 Ulrich Fourier
<ulrich.fourier at rockyourlife.de> wrote:
> thank you, in that case I will setup a database.
> I attached both log files, I hope that they are helpful.
OK, so a couple of things to look at from the error log:
1) 2014-09-11 16:13:33+0200 [-] [memcached-Default] can't run as root
without the -u switch
Looks like you are trying to run the server as root. That will prevent
memcache from running. I would advise you to run as a normal user - or
better create a user dedicated to running this server (that is what we do
on OS X where we have a system "calendar" user for that purpose).
2) These LDAP errors:
2014-09-11 16:13:56+0200 [-] [caldav-0] [PooledMemCacheProtocol,client]
[twistedcaldav.directory.ldapdirectory.LdapDirectoryService#debug] Faulting
record for attribute 'shortname' with value 'UlrichFourier'
2014-09-11 16:13:56+0200 [-] [caldav-0] [PooledMemCacheProtocol,client]
[twistedcaldav.directory.ldapdirectory.LdapDirectoryService#debug] LDAP
query for types ['users'], indexType shortname and indexKey UlrichFourier
2014-09-11 16:13:56+0200 [-] [caldav-0] [PooledMemCacheProtocol,client]
[twistedcaldav.directory.ldapdirectory.LdapDirectoryService#debug]
Retrieving ldap record with base ou=people,dc=rockyourlife,dc=de and filter
(&(&(!(objectClass=organizationalUnit))(objectClass=inetOrgPerson))(dn=UlrichFourier)).
Those suggest that there is a problem looking up the LDAP record for
"dn=UlrichFourier". Can you check your LDAP service to see what record you
are supposed to be using?
--
Cyrus Daboo
More information about the calendarserver-users
mailing list