<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hello,<br>
<br>
Thank you very much for your message.<br>
<br>
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">
<br>
<br>
brew install memcache<br>
<br>
brew install postgresql<br>
<br>
<br>
I got two different situations.<br>
<br>
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>
<br>
2. Then the server stopped. <br>
I ran sudo bin/run -n<br>
Using
/Applications/MAMP/htdocs/CalendarServer-7.0/.develop/virtualenv/bin/python
as Python<br>
<br>
and I got the following message : <br>
<br>
Starting server...<br>
Reading configuration from file:
/Applications/MAMP/htdocs/CalendarServer-7.0/conf/caldavd-dev.plist<br>
Removing stale pidfile
/Applications/MAMP/htdocs/CalendarServer-7.0/data/Logs/state/caldavd.pid<br>
2016-05-21 22:35:27+0200 [-] Log opened.<br>
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>
2016-05-21 22:35:27+0200 [-] [twisted.application.app#info]
reactor class: twisted.internet.selectreactor.SelectReactor.<br>
2016-05-21 22:35:27+0200 [-] [twisted.internet.tcp#info]
AMPPushNotifierFactory starting on 62311<br>
2016-05-21 22:35:27+0200 [-] ControlSocket starting on
'./data/Logs/state/caldavd.sock'<br>
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>
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>
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>
2016-05-21 22:35:27+0200 [-] [memcached-Default] can't run as root
without the -u switch<br>
2016-05-21 22:35:27+0200 [-]
[txdav.base.datastore.subpostgres.PostgresMonitor#error] pg_ctl:
cannot be run as root<br>
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>
2016-05-21 22:35:27+0200 [-]
[txdav.base.datastore.subpostgres.PostgresMonitor#error] own the
server process.<br>
2016-05-21 22:35:27+0200 [-]
[txdav.base.datastore.subpostgres.PostgresMonitor#info] pg_ctl
process ended with status=256<br>
2016-05-21 22:35:27+0200 [-]
[txdav.base.datastore.subpostgres.PostgresMonitor#error] Could not
start postgres; see postgres.log<br>
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>
2016-05-21 22:35:27+0200 [-] (UNIX Port
'./data/Logs/state/caldavd.sock' Closed)<br>
2016-05-21 22:35:27+0200 [-] [twisted.internet.tcp#info] (TCP Port
62311 Closed)<br>
<br>
I tried to solve the issue using bin/develop but I could not fix
the issue.<br>
<br>
Could you help me please ?<br>
<br>
Thanks for your support<br>
<br>
Best regards<br>
<br>
mparchet<br>
<br>
<br>
<br>
<br>
<br>
Le 13.05.16 02:10, Andre LaBranche a écrit :<br>
</div>
<blockquote
cite="mid:E1021C4A-B290-4D25-9130-8BF425C07ED9@apple.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
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>
<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>
</body>
</html>