[CalendarServer-users] Problem Installation MacOS X Leopard Client
Cyrill Rüttimann
ruettimac at mac.com
Mon Nov 12 09:24:23 PST 2007
Hi,
I tried to install calendar server on MacOS X Leopard Client, but
failed:
1) run -i /
This installs calendar server in /usr/local/bin. When I try to run
caldavd, the following output appears:
bash-3.2# caldavd -X -f /etc/caldavd/caldavd.plist
Usage: twistd [options]
Options:
...
/usr/local/bin/twistd: Wrong number of arguments.
But if I provide the twistd binary from the installation source, the
server starts but is missing some files/directory. Please not, that
passing the twistd binary installed with run.-i / in /usr/local does
not work. It seams, that run -i / installs the binaries in another
location than the daemon is looking for them.
bash-3.2# caldavd -X -f /etc/caldavd/caldavd.plist -T /Users/admin/
Documents/Twisted/bin/twistd
2007-11-12 13:04:29+0100 [-] Log opened.
2007-11-12 13:04:29+0100 [-] twistd 2.5.0+rUnknown (/System/Library/
Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/
MacOS/Python 2.5.1) starting up
2007-11-12 13:04:29+0100 [-] reactor class: <class
'twisted.internet.selectreactor.SelectReactor'>
2007-11-12 13:04:29+0100 [-] 2 processors found, configuring 2
processes.
2007-11-12 13:04:29+0100 [-] Adding pydirector service with
configuration: /tmp/pydirb929CF
2007-11-12 13:04:29+0100 [-] twistedcaldav.logging.AMPLoggingFactory
starting on "'/var/run/caldavd.sock'"
2007-11-12 13:04:29+0100 [-] [caldav-8010] /System/Library/Frameworks/
Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/
Python: can't open file '/usr/share/caldavd/bin/twistd': [Errno 2] No
such file or directory
2007-11-12 13:04:29+0100 [-] [caldav-8009] /System/Library/Frameworks/
Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/
Python: can't open file '/usr/share/caldavd/bin/twistd': [Errno 2] No
such file or directory
2007-11-12 13:04:29+0100 [-] [pydir] /System/Library/Frameworks/
Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/
Python: can't open file '/usr/share/caldavd/bin/pydir.py': [Errno 2]
No such file or directory
2007-11-12 13:04:30+0100 [-] [caldav-8009] /System/Library/Frameworks/
Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/
Python: can't open file '/usr/share/caldavd/bin/twistd': [Errno 2] No
such file or directory
2007-11-12 13:04:30+0100 [-] [caldav-8010] /System/Library/Frameworks/
Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/
Python: can't open file '/usr/share/caldavd/bin/twistd': [Errno 2] No
such file or directory
2007-11-12 13:04:30+0100 [-] [pydir] /System/Library/Frameworks/
Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/
Python: can't open file '/usr/share/caldavd/bin/pydir.py': [Errno 2]
No such file or directory
2007-11-12 13:04:33+0100 [-] [caldav-8009] /System/Library/Frameworks/
Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/
Python: can't open file '/usr/share/caldavd/bin/twistd': [Errno 2] No
such file or directory
2007-11-12 13:04:33+0100 [-] [caldav-8010] /System/Library/Frameworks/
Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/
Python: can't open file '/usr/share/caldavd/bin/twistd': [Errno 2] No
such file or directory
2007-11-12 13:04:33+0100 [-] [pydir] /System/Library/Frameworks/
Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/
Python: can't open file '/usr/share/caldavd/bin/pydir.py': [Errno 2]
No such file or directory
2007-11-12 13:04:40+0100 [-] [caldav-8009] /System/Library/Frameworks/
Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/
Python: can't open file '/usr/share/caldavd/bin/twistd': [Errno 2] No
such file or directory
2007-11-12 13:04:40+0100 [-] [caldav-8010] /System/Library/Frameworks/
Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/
Python: can't open file '/usr/share/caldavd/bin/twistd': [Errno 2] No
such file or directory
2007-11-12 13:04:40+0100 [-] [pydir] /System/Library/Frameworks/
Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/
Python: can't open file '/usr/share/caldavd/bin/pydir.py': [Errno 2]
No such file or directory
2007-11-12 13:04:55+0100 [-] [caldav-8009] /System/Library/Frameworks/
Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/
Python: can't open file '/usr/share/caldavd/bin/twistd': [Errno 2] No
such file or directory
2007-11-12 13:04:55+0100 [-] [caldav-8010] /System/Library/Frameworks/
Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/
Python: can't open file '/usr/share/caldavd/bin/twistd': [Errno 2] No
such file or directory
2007-11-12 13:04:55+0100 [-] [pydir] /System/Library/Frameworks/
Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/
Python: can't open file '/usr/share/caldavd/bin/pydir.py': [Errno 2]
No such file or directory
^C2007-11-12 13:04:58+0100 [-] Received SIGINT, shutting down.
2007-11-12 13:04:58+0100 [-] (Port None Closed)
2007-11-12 13:04:58+0100 [-] Main loop terminated.
2007-11-12 13:04:58+0100 [-] Server Shut Down.
2) run -I /Applications/CalendarServer
...
running install_egg_info
Writing /Users/admin/Documents/CalendarServer/1.0.0/build/dst/Library/
Python/2.5/site-packages/twistedcaldav-1.0._unknown_-py2.5.egg-info
rewriting /Users/admin/Documents/CalendarServer/1.0.0/build/dst/usr/
local/bin/caldavd
rewriting /Users/admin/Documents/CalendarServer/1.0.0/build/dst/usr/
local/bin/caladmin
building file list ... rsync: link_stat "/Users/admin/Documents/
CalendarServer/1.0.0/build/dst/System/Library/Frameworks/
Python.framework/Versions/2.5/bin/." failed: No such file or directory
(2)
done
sent 25 bytes received 20 bytes 90.00 bytes/sec
total size is 0 speedup is 0.00
rsync error: some files could not be transferred (code 23) at /
SourceCache/rsync/rsync-30/rsync/main.c(717)
So it seams, that the installation script fails on both options a) -i
and b) -I. Running the server from the source directory works (like
described in the README, but I like to install the server "properly".
Anyone?
Regards,
Cyrill
More information about the calendarserver-users
mailing list