<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">Sorry for the very delayed response.</div><div class=""><br class=""></div><div class="">The error message is trying to warn you not to run the service as root - especially when you are using the 'development sandbox' mode (i.e. using bin/run to start the service, which uses some pre-baked config files) which is very much intended for development only, so should never be used as root. It is possible to launch as root, but not in sandbox mode. The alternative to sandbox mode is a dstroot install (perhaps produced by bin/package, perhaps obtained by your favorite local package manager - there are packages for Ubuntu and FreeBSD) and a customized config file that defines - among other things - how to drop privs if started as root. This is necessary if you want to bind low ports, for example. If you don't have a specific reason to be a root, you likely don't need to be root. Even still, you are encouraged not to rely on bin/run for normal server operation, because the run script includes some other behaviors that are probably not appropriate for a 'real' service (like automatically running 'setup' every time, etc). You might be tempted to just say "ah ha! I'll just use run -n instead!" ... which you can do, but... the recommendation stands :)</div><div class=""><br class=""></div><div class="">As far as configuring admin username / password, that is likely not needed. Although Calendar Server does have a concept of an admin user, all the admin tasks can be performed with command line tools by the server admin (see the various calendarserver_* tools in the 'bin' directory, all of which have command line help).</div><div class=""><br class=""></div><div class="">The 'admin' user is the one defined by the "AdminPrincipal" key in the server's config plist. When using bin/run, that is conf/caldavd-dev.plist, otherwise it's whatever plist path you specify when starting caldavd. The AdminPrincipal has full read / write access to everything via CalDAV (i.e. over http). I would use this very sparingly, because you have full access to everything already using the command line tools.</div><div class=""><br class=""></div><div class="">-dre</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On May 21, 2016, at 2:06 PM, Michael Parchet <<a href="mailto:mparchet@sunrise.ch" class="">mparchet@sunrise.ch</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">
<meta content="text/html; charset=windows-1252" http-equiv="Content-Type" class="">
<div bgcolor="#FFFFFF" text="#000000" class="">
<div class="moz-cite-prefix">Hello,<br class="">
<br class="">
Thank you very much for your message.<br class="">
<br class="">
I have installed memcache and postgresql with <span class="author" itemprop="author"><a href="https://github.com/Homebrew" class="url fn" rel="author">Homebrew</a></span>
<meta http-equiv="content-type" content="text/html;
charset=windows-1252" class="">
<br class="">
<br class="">
brew install memcache<br class="">
<br class="">
brew install postgresql<br class="">
<br class="">
<br class="">
I got two different situations.<br class="">
<br class="">
1. The server ran for a while but I couldn't found the config file
to configure the admin and user login and password<br class="">
<br class="">
2. Then the server stopped. <br class="">
I ran sudo bin/run -n<br class="">
Using
/Applications/MAMP/htdocs/CalendarServer-7.0/.develop/virtualenv/bin/python
as Python<br class="">
<br class="">
and I got the following message : <br class="">
<br class="">
Starting server...<br class="">
Reading configuration from file:
/Applications/MAMP/htdocs/CalendarServer-7.0/conf/caldavd-dev.plist<br class="">
Removing stale pidfile
/Applications/MAMP/htdocs/CalendarServer-7.0/data/Logs/state/caldavd.pid<br class="">
2016-05-21 22:35:27+0200 [-] Log opened.<br class="">
2016-05-21 22:35:27+0200 [-] [twisted.application.app#info] twistd
15.2.1
(/Applications/MAMP/htdocs/CalendarServer-7.0/.develop/virtualenv/bin/python
2.7.10) starting up.<br class="">
2016-05-21 22:35:27+0200 [-] [twisted.application.app#info]
reactor class: twisted.internet.selectreactor.SelectReactor.<br class="">
2016-05-21 22:35:27+0200 [-] [twisted.internet.tcp#info]
AMPPushNotifierFactory starting on 62311<br class="">
2016-05-21 22:35:27+0200 [-] ControlSocket starting on
'./data/Logs/state/caldavd.sock'<br class="">
2016-05-21 22:35:27+0200 [-]
[txdav.base.datastore.subpostgres#info] Cluster already exists at
/Applications/MAMP/htdocs/CalendarServer-7.0/data/Data/Database/cluster<br class="">
2016-05-21 22:35:27+0200 [-]
[txdav.base.datastore.subpostgres#info] Requesting postgres start
via: ['/usr/local/bin/pg_ctl', 'start',
'--log=/Applications/MAMP/htdocs/CalendarServer-7.0/data/Logs/postgres.log',
'--timeout=86400', '-w', '-o', "-c listen_addresses='' -c
unix_socket_directories=/tmp/ccs_postgres_b58a648cbe50bc0e4ac7cd29028ed59e
-c shared_buffers=139 -c max_connections=93 -c
standard_conforming_strings=on -c unix_socket_permissions=0770 -c
log_line_prefix=%t"]<br class="">
2016-05-21 22:35:27+0200 [-]
[txdav.base.datastore.subpostgres.PostgresMonitor#info] 2016-05-21
22:35:27+0200 [-]
/Library/Python/2.7/site-packages/twisted/python/util.py:753:
exceptions.UserWarning: tried to drop privileges and setuid 0 but
uid is already 0; should we be root? Continuing.<br class="">
2016-05-21 22:35:27+0200 [-] [memcached-Default] can't run as root
without the -u switch<br class="">
2016-05-21 22:35:27+0200 [-]
[txdav.base.datastore.subpostgres.PostgresMonitor#error] pg_ctl:
cannot be run as root<br class="">
2016-05-21 22:35:27+0200 [-]
[txdav.base.datastore.subpostgres.PostgresMonitor#error] Please
log in (using, e.g., "su") as the (unprivileged) user that will<br class="">
2016-05-21 22:35:27+0200 [-]
[txdav.base.datastore.subpostgres.PostgresMonitor#error] own the
server process.<br class="">
2016-05-21 22:35:27+0200 [-]
[txdav.base.datastore.subpostgres.PostgresMonitor#info] pg_ctl
process ended with status=256<br class="">
2016-05-21 22:35:27+0200 [-]
[txdav.base.datastore.subpostgres.PostgresMonitor#error] Could not
start postgres; see postgres.log<br class="">
2016-05-21 22:35:27+0200 [-]
[txdav.base.datastore.subpostgres#critical] Can't start or connect
to postgres: No such socket file:
/tmp/ccs_postgres_b58a648cbe50bc0e4ac7cd29028ed59e/.s.PGSQL.5432<br class="">
2016-05-21 22:35:27+0200 [-] (UNIX Port
'./data/Logs/state/caldavd.sock' Closed)<br class="">
2016-05-21 22:35:27+0200 [-] [twisted.internet.tcp#info] (TCP Port
62311 Closed)<br class="">
<br class="">
I tried to solve the issue using bin/develop but I could not fix
the issue.<br class="">
<br class="">
Could you help me please ?<br class="">
<br class="">
Thanks for your support<br class="">
<br class="">
Best regards<br class="">
<br class="">
mparchet<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
Le 13.05.16 02:10, Andre LaBranche a écrit :<br class="">
</div>
<blockquote cite="mid:E1021C4A-B290-4D25-9130-8BF425C07ED9@apple.com" type="cite" class="">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252" class="">
Hi,
<div class=""><br class="">
</div>
<div class="">There is more to installing Calendar Server than
just the pip dependencies. Specifically, there are various
C-based dependencies you need as well (such as , which appears
to be missing in your case).</div>
<div class=""><br class="">
</div>
<div class="">Unfortunately the task of installing Calendar Server
is kind of complicated, and varies by platform. You can try
using "bin/package <dest directory>" to attempt to install
Calendar Server and all its dependencies into the specified
directory. The specific way you start the service also matters,
in particular the invoking environment. The 'package' script
emits an <a moz-do-not-send="true" href="http://trac.calendarserver.org/browser/CalendarServer/trunk/bin/package#L154" class="">environment.sh</a> file that should be sourced by the
shell that starts CalendarServer.</div>
<div class=""><br class="">
</div>
<div class="">... and now that I think of it, everything I just
said applies to trunk (at least v8 and newer), but possibly not
v7... Give it a try and if you're still stuck tomorrow I'll dig
deeper :)</div>
<div class=""><br class="">
</div>
<div class="">(The easiest way to use the service is in '' mode
which takes care of all this stuff for you, where you use
bin/develop and then bin/run, but that is not really
'installation' per se)</div>
<div class=""><br class="">
</div>
<div class="">-dre</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
<div class="">
<blockquote type="cite" class="">
<div class="">On May 12, 2016, at 1:11 PM, Michael Parchet
<<a moz-do-not-send="true" href="mailto:mparchet@sunrise.ch" class="">mparchet@sunrise.ch</a>>
wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">Hello,<br class="">
<br class="">
I have install the calendarserver dependence throw pip
with this command,<br class="">
<br class="">
pip install -r requirements-stable.txt<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
but when I start the calendarserver, I have a log
similar to<br class="">
<br class="">
Starting server...<br class="">
Reading configuration from file:
/Applications/MAMP/htdocs/CalendarServer-7.0/conf/caldavd-dev.plist<br class="">
2016-05-12 21:40:08+0200 [-] Log opened.<br class="">
2016-05-12 21:40:08+0200 [-]
[twisted.application.app#info] twistd 15.2.1
(/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
2.7.10) starting up.<br class="">
2016-05-12 21:40:08+0200 [-]
[twisted.application.app#info] reactor class:
twisted.internet.selectreactor.SelectReactor.<br class="">
2016-05-12 21:40:08+0200 [-] [twisted.internet.tcp#info]
AMPPushNotifierFactory starting on 62311<br class="">
2016-05-12 21:40:08+0200 [-] ControlSocket starting on
'./data/Logs/state/caldavd.sock'<br class="">
2016-05-12 21:40:08+0200 [-]
[txdav.base.datastore.subpostgres#info] Creating
/tmp/ccs_postgres_b58a648cbe50bc0e4ac7cd29028ed59e<br class="">
2016-05-12 21:40:08+0200 [-]
[txdav.base.datastore.subpostgres#info] Cluster already
exists at
/Applications/MAMP/htdocs/CalendarServer-7.0/data/Data/Database/cluster<br class="">
2016-05-12 21:40:08+0200 [-]
[txdav.base.datastore.subpostgres#info] Requesting
postgres start via: ['/usr/local/bin/pg_ctl', 'start',
'--log=/Applications/MAMP/htdocs/CalendarServer-7.0/data/Logs/postgres.log',
'--timeout=86400', '-w', '-o', "-c listen_addresses=''
-c
unix_socket_directories=/tmp/ccs_postgres_b58a648cbe50bc0e4ac7cd29028ed59e
-c shared_buffers=139 -c max_connections=93 -c
standard_conforming_strings=on -c
unix_socket_permissions=0770 -c log_line_prefix=%t"]<br class="">
2016-05-12 21:40:08+0200 [-] [memcached-Default] Upon
execvpe memcached ['memcached', '-U', '0', '-s',
'./data/Logs/state/memcache.sock'] in environment id
4647634656<br class="">
2016-05-12 21:40:08+0200 [-] [memcached-Default]
:Traceback (most recent call last):<br class="">
2016-05-12 21:40:08+0200 [-] [memcached-Default] File
"/Library/Python/2.7/site-packages/twisted/internet/process.py",
line 424, in _fork<br class="">
2016-05-12 21:40:08+0200 [-] [memcached-Default]
environment)<br class="">
2016-05-12 21:40:08+0200 [-] [memcached-Default] File
"/Library/Python/2.7/site-packages/twisted/internet/process.py",
line 502, in _execChild<br class="">
2016-05-12 21:40:08+0200 [-] [memcached-Default]
os.execvpe(executable, args, environment)<br class="">
2016-05-12 21:40:08+0200 [-] [memcached-Default] File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py",
line 355, in execvpe<br class="">
2016-05-12 21:40:08+0200 [-] [memcached-Default]
_execvpe(file, args, env)<br class="">
2016-05-12 21:40:08+0200 [-] [memcached-Default] File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py",
line 382, in _execvpe<br class="">
2016-05-12 21:40:08+0200 [-] [memcached-Default]
func(fullname, *argrest)<br class="">
2016-05-12 21:40:08+0200 [-] [memcached-Default]
OSError: [Errno 2] No such file or directory<br class="">
2016-05-12 21:40:08+0200 [-]
[txdav.base.datastore.subpostgres.PostgresMonitor#info]
waiting for server to start....<br class="">
2016-05-12 21:40:09+0200 [-] [memcached-Default] Upon
execvpe memcached ['memcached', '-U', '0', '-s',
'./data/Logs/state/memcache.sock'] in environment id
4647571816<br class="">
2016-05-12 21:40:09+0200 [-] [memcached-Default]
:Traceback (most recent call last):<br class="">
2016-05-12 21:40:09+0200 [-] [memcached-Default] File
"/Library/Python/2.7/site-packages/twisted/internet/process.py",
line 424, in _fork<br class="">
2016-05-12 21:40:09+0200 [-] [memcached-Default]
environment)<br class="">
2016-05-12 21:40:09+0200 [-] [memcached-Default] File
"/Library/Python/2.7/site-packages/twisted/internet/process.py",
line 502, in _execChild<br class="">
2016-05-12 21:40:09+0200 [-] [memcached-Default]
os.execvpe(executable, args, environment)<br class="">
2016-05-12 21:40:09+0200 [-] [memcached-Default] File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py",
line 355, in execvpe<br class="">
2016-05-12 21:40:09+0200 [-] [memcached-Default]
_execvpe(file, args, env)<br class="">
2016-05-12 21:40:09+0200 [-] [memcached-Default] File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py",
line 382, in _execvpe<br class="">
2016-05-12 21:40:09+0200 [-] [memcached-Default]
func(fullname, *argrest)<br class="">
2016-05-12 21:40:09+0200 [-] [memcached-Default]
OSError: [Errno 2] No such file or directory<br class="">
2016-05-12 21:40:09+0200 [-]
[txdav.base.datastore.subpostgres.PostgresMonitor#info]
done<br class="">
2016-05-12 21:40:09+0200 [-]
[txdav.base.datastore.subpostgres.PostgresMonitor#info]
server started<br class="">
2016-05-12 21:40:09+0200 [-]
[txdav.base.datastore.subpostgres.PostgresMonitor#info]
pg_ctl process ended with status=0<br class="">
2016-05-12 21:40:09+0200 [-]
[txdav.base.datastore.subpostgres#info]
/usr/local/bin/pg_ctl exited<br class="">
2016-05-12 21:40:09+0200 [-] [txdav.who.util#info]
Configuring augment service of type: <class
'twistedcaldav.directory.augment.AugmentXMLDB'><br class="">
2016-05-12 21:40:09+0200 [-]
[txdav.common.datastore.upgrade.sql.upgrade.UpgradeDatabaseSchemaStep#warn]
Beginning database schema check.<br class="">
2016-05-12 21:40:09+0200 [-]
[txdav.common.datastore.upgrade.sql.upgrade.UpgradeDatabaseSchemaStep#warn]
Required database key VERSION: 58.<br class="">
2016-05-12 21:40:09+0200 [-]
[txdav.common.datastore.upgrade.sql.upgrade.UpgradeDatabaseSchemaStep#warn]
Actual database key VERSION: 58.<br class="">
2016-05-12 21:40:09+0200 [-]
[txdav.common.datastore.upgrade.sql.upgrade.UpgradeDatabaseSchemaStep#warn]
Schema version check complete: no upgrade needed.<br class="">
2016-05-12 21:40:09+0200 [-]
[txdav.common.datastore.upgrade.sql.upgrade.UpgradeDatabaseSchemaStep#warn]
Database schema check complete.<br class="">
2016-05-12 21:40:09+0200 [-]
[txdav.common.datastore.upgrade.sql.upgrade.UpgradeDatabaseAddressBookDataStep#warn]
Beginning database addressbook data check.<br class="">
2016-05-12 21:40:09+0200 [-]
[txdav.common.datastore.upgrade.sql.upgrade.UpgradeDatabaseAddressBookDataStep#warn]
Required database key ADDRESSBOOK-DATAVERSION: 2.<br class="">
2016-05-12 21:40:09+0200 [-]
[txdav.common.datastore.upgrade.sql.upgrade.UpgradeDatabaseAddressBookDataStep#warn]
Actual database key ADDRESSBOOK-DATAVERSION: 2.<br class="">
2016-05-12 21:40:09+0200 [-]
[txdav.common.datastore.upgrade.sql.upgrade.UpgradeDatabaseAddressBookDataStep#warn]
Addressbook data version check complete: no upgrade
needed.<br class="">
2016-05-12 21:40:09+0200 [-]
[txdav.common.datastore.upgrade.sql.upgrade.UpgradeDatabaseAddressBookDataStep#warn]
Database addressbook data check complete.<br class="">
2016-05-12 21:40:09+0200 [-]
[txdav.common.datastore.upgrade.sql.upgrade.UpgradeDatabaseCalendarDataStep#warn]
Beginning database calendar data check.<br class="">
2016-05-12 21:40:09+0200 [-]
[txdav.common.datastore.upgrade.sql.upgrade.UpgradeDatabaseCalendarDataStep#warn]
Required database key CALENDAR-DATAVERSION: 6.<br class="">
2016-05-12 21:40:09+0200 [-]
[txdav.common.datastore.upgrade.sql.upgrade.UpgradeDatabaseCalendarDataStep#warn]
Actual database key CALENDAR-DATAVERSION: 6.<br class="">
2016-05-12 21:40:09+0200 [-]
[txdav.common.datastore.upgrade.sql.upgrade.UpgradeDatabaseCalendarDataStep#warn]
Calendar data version check complete: no upgrade needed.<br class="">
2016-05-12 21:40:09+0200 [-]
[txdav.common.datastore.upgrade.sql.upgrade.UpgradeDatabaseCalendarDataStep#warn]
Database calendar data check complete.<br class="">
2016-05-12 21:40:09+0200 [-]
[txdav.common.datastore.upgrade.sql.upgrade.UpgradeDatabaseNotificationDataStep#warn]
Beginning database notification data check.<br class="">
2016-05-12 21:40:09+0200 [-]
[txdav.common.datastore.upgrade.sql.upgrade.UpgradeDatabaseNotificationDataStep#warn]
Required database key NOTIFICATION-DATAVERSION: 1.<br class="">
2016-05-12 21:40:09+0200 [-]
[txdav.common.datastore.upgrade.sql.upgrade.UpgradeDatabaseNotificationDataStep#warn]
Actual database key NOTIFICATION-DATAVERSION: 1.<br class="">
2016-05-12 21:40:09+0200 [-]
[txdav.common.datastore.upgrade.sql.upgrade.UpgradeDatabaseNotificationDataStep#warn]
Notification data version check complete: no upgrade
needed.<br class="">
2016-05-12 21:40:09+0200 [-]
[txdav.common.datastore.upgrade.sql.upgrade.UpgradeDatabaseNotificationDataStep#warn]
Database notification data check complete.<br class="">
2016-05-12 21:40:09+0200 [-]
[txdav.common.datastore.upgrade.sql.upgrade.UpgradeDatabaseOtherStep#warn]
Beginning database other upgrades check.<br class="">
2016-05-12 21:40:09+0200 [-]
[txdav.common.datastore.upgrade.sql.upgrade.UpgradeDatabaseOtherStep#warn]
Database other upgrades check complete.<br class="">
2016-05-12 21:40:09+0200 [-]
[twistedcaldav.upgrade#warn] Loading delegate
assignments from XML<br class="">
2016-05-12 21:40:09+0200 [-]
[twistedcaldav.memcachepool.MemCacheClientFactory#error]
MemCache connection failed: [Failure instance: Traceback
(failure with no frames): <class
'twisted.internet.error.ConnectError'>: An error
occurred while connecting: 2: No such file or directory.<br class="">
]<br class="">
2016-05-12 21:40:11+0200 [-] [memcached-Default] Upon
execvpe memcached ['memcached', '-U', '0', '-s',
'./data/Logs/state/memcache.sock'] in environment id
4651329528<br class="">
2016-05-12 21:40:11+0200 [-] [memcached-Default]
:Traceback (most recent call last):<br class="">
2016-05-12 21:40:11+0200 [-] [memcached-Default] File
"/Library/Python/2.7/site-packages/twisted/internet/process.py",
line 424, in _fork<br class="">
2016-05-12 21:40:11+0200 [-] [memcached-Default]
environment)<br class="">
2016-05-12 21:40:11+0200 [-] [memcached-Default] File
"/Library/Python/2.7/site-packages/twisted/internet/process.py",
line 502, in _execChild<br class="">
2016-05-12 21:40:11+0200 [-] [memcached-Default]
os.execvpe(executable, args, environment)<br class="">
2016-05-12 21:40:11+0200 [-] [memcached-Default] File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py",
line 355, in execvpe<br class="">
2016-05-12 21:40:11+0200 [-] [memcached-Default]
_execvpe(file, args, env)<br class="">
2016-05-12 21:40:11+0200 [-] [memcached-Default] File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py",
line 382, in _execvpe<br class="">
2016-05-12 21:40:11+0200 [-] [memcached-Default]
func(fullname, *argrest)<br class="">
2016-05-12 21:40:11+0200 [-] [memcached-Default]
OSError: [Errno 2] No such file or directory<br class="">
2016-05-12 21:40:12+0200 [-]
[twistedcaldav.memcachepool.MemCacheClientFactory#error]
MemCache connection failed: [Failure instance: Traceback
(failure with no frames): <class
'twisted.internet.error.ConnectError'>: An error
occurred while connecting: 2: No such file or directory.<br class="">
]<br class="">
2016-05-12 21:40:15+0200 [-] [memcached-Default] Upon
execvpe memcached ['memcached', '-U', '0', '-s',
'./data/Logs/state/memcache.sock'] in environment id
4651329528<br class="">
2016-05-12 21:40:15+0200 [-] [memcached-Default]
:Traceback (most recent call last):<br class="">
2016-05-12 21:40:15+0200 [-] [memcached-Default] File
"/Library/Python/2.7/site-packages/twisted/internet/process.py",
line 424, in _fork<br class="">
2016-05-12 21:40:15+0200 [-] [memcached-Default]
environment)<br class="">
2016-05-12 21:40:15+0200 [-] [memcached-Default] File
"/Library/Python/2.7/site-packages/twisted/internet/process.py",
line 502, in _execChild<br class="">
2016-05-12 21:40:15+0200 [-] [memcached-Default]
os.execvpe(executable, args, environment)<br class="">
2016-05-12 21:40:15+0200 [-] [memcached-Default] File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py",
line 355, in execvpe<br class="">
2016-05-12 21:40:15+0200 [-] [memcached-Default]
_execvpe(file, args, env)<br class="">
2016-05-12 21:40:15+0200 [-] [memcached-Default] File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py",
line 382, in _execvpe<br class="">
2016-05-12 21:40:15+0200 [-] [memcached-Default]
func(fullname, *argrest)<br class="">
2016-05-12 21:40:15+0200 [-] [memcached-Default]
OSError: [Errno 2] No such file or directory<br class="">
2016-05-12 21:40:21+0200 [-]
[twistedcaldav.memcachepool.MemCacheClientFactory#error]
MemCache connection failed: [Failure instance: Traceback
(failure with no frames): <class
'twisted.internet.error.ConnectError'>: An error
occurred while connecting: 2: No such file or directory.<br class="">
]<br class="">
2016-05-12 21:40:23+0200 [-] [memcached-Default] Upon
execvpe memcached ['memcached', '-U', '0', '-s',
'./data/Logs/state/memcache.sock'] in environment id
4651329528<br class="">
2016-05-12 21:40:23+0200 [-] [memcached-Default]
:Traceback (most recent call last):<br class="">
2016-05-12 21:40:23+0200 [-] [memcached-Default] File
"/Library/Python/2.7/site-packages/twisted/internet/process.py",
line 424, in _fork<br class="">
2016-05-12 21:40:23+0200 [-] [memcached-Default]
environment)<br class="">
2016-05-12 21:40:23+0200 [-] [memcached-Default] File
"/Library/Python/2.7/site-packages/twisted/internet/process.py",
line 502, in _execChild<br class="">
2016-05-12 21:40:23+0200 [-] [memcached-Default]
os.execvpe(executable, args, environment)<br class="">
2016-05-12 21:40:23+0200 [-] [memcached-Default] File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py",
line 355, in execvpe<br class="">
2016-05-12 21:40:23+0200 [-] [memcached-Default]
_execvpe(file, args, env)<br class="">
2016-05-12 21:40:23+0200 [-] [memcached-Default] File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py",
line 382, in _execvpe<br class="">
2016-05-12 21:40:23+0200 [-] [memcached-Default]
func(fullname, *argrest)<br class="">
2016-05-12 21:40:23+0200 [-] [memcached-Default]
OSError: [Errno 2] No such file or directory<br class="">
2016-05-12 21:40:39+0200 [-] [memcached-Default] Upon
execvpe memcached ['memcached', '-U', '0', '-s',
'./data/Logs/state/memcache.sock'] in environment id
4651330368<br class="">
2016-05-12 21:40:39+0200 [-] [memcached-Default]
:Traceback (most recent call last):<br class="">
2016-05-12 21:40:39+0200 [-] [memcached-Default] File
"/Library/Python/2.7/site-packages/twisted/internet/process.py",
line 424, in _fork<br class="">
2016-05-12 21:40:39+0200 [-] [memcached-Default]
environment)<br class="">
2016-05-12 21:40:39+0200 [-] [memcached-Default] File
"/Library/Python/2.7/site-packages/twisted/internet/process.py",
line 502, in _execChild<br class="">
2016-05-12 21:40:39+0200 [-] [memcached-Default]
os.execvpe(executable, args, environment)<br class="">
2016-05-12 21:40:39+0200 [-] [memcached-Default] File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py",
line 355, in execvpe<br class="">
2016-05-12 21:40:39+0200 [-] [memcached-Default]
_execvpe(file, args, env)<br class="">
2016-05-12 21:40:39+0200 [-] [memcached-Default] File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py",
line 382, in _execvpe<br class="">
2016-05-12 21:40:39+0200 [-] [memcached-Default]
func(fullname, *argrest)<br class="">
2016-05-12 21:40:39+0200 [-] [memcached-Default]
OSError: [Errno 2] No such file or directory<br class="">
2016-05-12 21:40:45+0200 [-]
[twistedcaldav.memcachepool.MemCacheClientFactory#error]
MemCache connection failed: [Failure instance: Traceback
(failure with no frames): <class
'twisted.internet.error.ConnectError'>: An error
occurred while connecting: 2: No such file or directory.<br class="">
]<br class="">
^C2016-05-12 21:40:51+0200 [-]
[twisted.internet.base#info] Received SIGINT, shutting
down.<br class="">
2016-05-12 21:40:51+0200 [-] (UNIX Port
'./data/Logs/state/caldavd.sock' Closed)<br class="">
2016-05-12 21:40:51+0200 [-] [twisted.internet.tcp#info]
(TCP Port 62311 Closed)<br class="">
2016-05-12 21:40:51+0200 [-]
[txdav.base.datastore.subpostgres#info] Requesting
postgres stop via: ['/usr/local/bin/pg_ctl', 'stop',
'--log=/Applications/MAMP/htdocs/CalendarServer-7.0/data/Logs/postgres.log']<br class="">
2016-05-12 21:40:51+0200 [-]
[txdav.base.datastore.subpostgres.PostgresMonitor#error]
pg_ctl: PID file
"/Applications/MAMP/htdocs/CalendarServer-7.0/data/Data/Database/cluster/postmaster.pid"
does not exist<br class="">
2016-05-12 21:40:51+0200 [-]
[txdav.base.datastore.subpostgres.PostgresMonitor#error]
Is server running?<br class="">
2016-05-12 21:40:51+0200 [-]
[txdav.base.datastore.subpostgres.PostgresMonitor#info]
pg_ctl process ended with status=256<br class="">
2016-05-12 21:40:51+0200 [-]
[txdav.base.datastore.subpostgres.PostgresMonitor#error]
Could not start postgres; see postgres.log<br class="">
2016-05-12 21:41:43+0200 [-]
[twistedcaldav.memcachepool.MemCacheClientFactory#error]
MemCache connection failed: [Failure instance: Traceback
(failure with no frames): <class
'twisted.internet.error.ConnectError'>: An error
occurred while connecting: 2: No such file or directory.<br class="">
]<br class="">
2016-05-12 21:44:44+0200 [-]
[twistedcaldav.memcachepool.MemCacheClientFactory#error]
MemCache connection failed: [Failure instance: Traceback
(failure with no frames): <class
'twisted.internet.error.ConnectError'>: An error
occurred while connecting: 2: No such file or directory.<br class="">
]<br class="">
2016-05-12 21:45:09+0200 [-]
[txdav.common.datastore.sql#error] Transaction abort too
long: PG-TXN<xmlDelegatesToStore>, Statements: 0,
IUDs: 0, Statement: None<br class="">
2016-05-12 21:45:09+0200 [-] Unhandled Error<br class="">
Traceback (most recent call last):<br class="">
File
"/Library/Python/2.7/site-packages/twisted/application/app.py",
line 405, in startReactor<br class="">
self.config, oldstdout, oldstderr, self.profiler,
reactor)<br class="">
File
"/Library/Python/2.7/site-packages/twisted/application/app.py",
line 326, in runReactorWithLogging<br class="">
reactor.run()<br class="">
File
"/Library/Python/2.7/site-packages/twisted/internet/base.py",
line 1194, in run<br class="">
self.mainLoop()<br class="">
File
"/Library/Python/2.7/site-packages/twisted/internet/base.py",
line 1203, in mainLoop<br class="">
self.runUntilCurrent()<br class="">
--- <exception caught here> ---<br class="">
File
"/Library/Python/2.7/site-packages/twisted/internet/base.py",
line 825, in runUntilCurrent<br class="">
call.func(*call.args, **call.kw)<br class="">
File
"/Applications/MAMP/htdocs/CalendarServer-7.0/txdav/common/datastore/sql.py",
line 546, in _forceAbort<br class="">
self.txn.timeout()<br class="">
File
"/Applications/MAMP/htdocs/CalendarServer-7.0/txdav/common/datastore/sql.py",
line 1019, in timeout<br class="">
return self.abort()<br class="">
File
"/Applications/MAMP/htdocs/CalendarServer-7.0/txdav/common/datastore/sql.py",
line 1011, in abort<br class="">
return self._sqlTxn.abort()<br class="">
File
"/Applications/MAMP/htdocs/CalendarServer-7.0/src/twextpy/twext/enterprise/adbapi2.py",
line 736, in abort<br class="">
result = super(_SingleTxn, self).abort()<br class="">
File
"/Applications/MAMP/htdocs/CalendarServer-7.0/src/twextpy/twext/enterprise/adbapi2.py",
line 376, in abort<br class="">
return
self._end(self._connection.rollback).addErrback(log.err)<br class="">
File
"/Applications/MAMP/htdocs/CalendarServer-7.0/src/twextpy/twext/enterprise/adbapi2.py",
line 368, in _end<br class="">
raise AlreadyFinishedError(self._completed)<br class="">
twext.enterprise.ienterprise.AlreadyFinishedError:
released<br class="">
<br class="">
2016-05-12 21:54:46+0200 [-]
[twistedcaldav.memcachepool.MemCacheClientFactory#error]
MemCache connection failed: [Failure instance: Traceback
(failure with no frames): <class
'twisted.internet.error.ConnectError'>: An error
occurred while connecting: 2: No such file or directory.<br class="">
]<br class="">
<br class="">
<br class="">
I have found this on the apple community forum<br class="">
<br class="">
<br class="">
<a moz-do-not-send="true" href="https://discussions.apple.com/thread/6494327?start=0&tstart=0" class="">https://discussions.apple.com/thread/6494327?start=0&tstart=0</a><br class="">
<br class="">
<br class="">
Could you help me please to fix this issue ?<br class="">
<br class="">
Thanks for your support<br class="">
<br class="">
Best regards<br class="">
<br class="">
mparchet<br class="">
_______________________________________________<br class="">
calendarserver-users mailing list<br class="">
<a class="moz-txt-link-abbreviated" href="mailto:calendarserver-users@lists.macosforge.org">calendarserver-users@lists.macosforge.org</a><br class="">
<a class="moz-txt-link-freetext" href="https://lists.macosforge.org/mailman/listinfo/calendarserver-users">https://lists.macosforge.org/mailman/listinfo/calendarserver-users</a><br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</blockquote>
<br class="">
</div>
</div></blockquote></div><br class=""></div></body></html>