[CalendarServer] #356: Unable to start CalendarServer on Suse
#356: Unable to start CalendarServer on Suse -----------------------------+---------------------------------------------- Reporter: tillz@… | Owner: wsanchez@… Type: Defect | Status: new Priority: 5: Not set | Milestone: Linux Port Component: Calendar Server | Severity: Other Keywords: | -----------------------------+---------------------------------------------- Hello, I'm unable to start the Calendarserver. krb5-config can't be installed. {{{ support/build.sh: line 438: type: krb5-config: not found Building xattr... Building Twisted... [overrides system, building egg-info metadata only] Using python as Python Starting server... exec python /home/ical/Twisted/bin/twistd -n caldav -f /home/ical/CalendarServer/conf/caldavd-dev.plist -o ProcessType=Combined Traceback (most recent call last): File "/home/ical/Twisted/bin/twistd", line 19, in <module> run() File "/home/ical/Twisted/twisted/scripts/twistd.py", line 27, in run app.run(runApp, ServerOptions) File "/home/ical/Twisted/twisted/application/app.py", line 689, in run config.parseOptions() File "/home/ical/Twisted/twisted/application/app.py", line 669, in parseOptions usage.Options.parseOptions(self, options) File "/home/ical/Twisted/twisted/python/usage.py", line 226, in parseOptions for (cmd, short, parser, doc) in self.subCommands: File "/home/ical/Twisted/twisted/application/app.py", line 680, in subCommands self.loadedPlugins[plug.tapname] = plug File "/home/ical/CalendarServer/twisted/plugins/caldav.py", line 13, in getProperty return getattr(reflect.namedClass(self.serviceMakerClass), propname) File "/home/ical/Twisted/twisted/python/reflect.py", line 349, in namedObject module = namedModule('.'.join(classSplit[:-1])) File "/home/ical/Twisted/twisted/python/reflect.py", line 337, in namedModule topLevel = __import__(name) File "/home/ical/CalendarServer/calendarserver/sidecar/task.py", line 24, in <module> from calendarserver.provision.root import RootResource File "/home/ical/CalendarServer/calendarserver/provision/root.py", line 39, in <module> from twistedcaldav.static import CalendarHomeFile File "/home/ical/CalendarServer/twistedcaldav/static.py", line 1200, in <module> bindMethods(twistedcaldav.method, CalDAVFile) File "/home/ical/Twisted/twisted/web2/dav/util.py", line 195, in bindMethods Failure().raiseException() File "/home/ical/Twisted/twisted/web2/dav/util.py", line 192, in bindMethods __import__(module.__name__ + "." + submodule_name) File "/home/ical/CalendarServer/twistedcaldav/method/copymove.py", line 34, in <module> from twistedcaldav.method.put_common import StoreCalendarObjectResource File "/home/ical/CalendarServer/twistedcaldav/method/put_common.py", line 66, in <module> from twistedcaldav.method.delete_common import DeleteResource File "/home/ical/CalendarServer/twistedcaldav/method/delete_common.py", line 40, in <module> from twistedcaldav.scheduling.implicit import ImplicitScheduler File "/home/ical/CalendarServer/twistedcaldav/scheduling/implicit.py", line 39, in <module> from twistedcaldav.directory.principal import DirectoryCalendarPrincipalResource File "/home/ical/CalendarServer/twistedcaldav/directory/principal.py", line 51, in <module> from twistedcaldav.authkerb import NegotiateCredentials File "/home/ical/CalendarServer/twistedcaldav/authkerb.py", line 41, in <module> import kerberos ImportError: No module named kerberos }}} -- Ticket URL: <http://trac.calendarserver.org/ticket/356> CalendarServer </> HTTP/WebDAV/CalDAV Server
#356: Unable to start CalendarServer on Suse -----------------------------+---------------------------------------------- Reporter: tillz@… | Owner: wsanchez@… Type: Defect | Status: new Priority: 5: Not set | Milestone: Linux Port Component: Calendar Server | Severity: Other Keywords: | -----------------------------+---------------------------------------------- Comment(by armin.kraetschmer@…): Replying to [ticket:356 tillz@…]:
Hello, I'm unable to start the Calendarserver. krb5-config can't be installed. [...]
Hi, I can confirm this behaviour. Installed DCS on Gentoo (x86_64, 2.6.31-gentoo-r6), when I tried to start it I got the same error message. Fact is: the cause for this is a missing kerberos/PyKerberos install (kerberos/PyKerberos is not needed for DCS to work and I don't want/need kerberos on my home server). The ''krb5-config: not found'' thing can be ignored, as it's just a check, if kerberos is available (in this case it is not). If this check (located in the support/build.sh script, line 438) fails, the setup for the PyKerberos package won't be downloaded and run (as it is not needed for a system without kerberos). My workaround for getting the server to work anyway: just comment the ''import kerberos'' directive in twistedcaldav/authkerb.py, line 41. After commenting the line, the server runs without any problems. Maybe you also have to ensure that the kerberos authentication in conf/caldavd-dev.xml is deactivated (per default it is; haven't tested, if it causes any problems when active). Hope this helps a little. Greetings, Armin -- Ticket URL: <http://trac.calendarserver.org/ticket/356#comment:1> CalendarServer </> HTTP/WebDAV/CalDAV Server
#356: Unable to start CalendarServer on Suse -----------------------------+---------------------------------------------- Reporter: tillz@… | Owner: wsanchez@… Type: Defect | Status: new Priority: 1: Blocker | Milestone: Linux Port Component: Calendar Server | Severity: Other Keywords: | -----------------------------+---------------------------------------------- Changes (by wsanchez@…): * priority: 5: Not set => 1: Blocker Comment: We really need to be more tolerant here and just disable kerberos functionality rather than bombing out. -- Ticket URL: <http://trac.calendarserver.org/ticket/356#comment:2> CalendarServer </> HTTP/WebDAV/CalDAV Server
#356: Unable to start CalendarServer on Suse -----------------------------+---------------------------------------------- Reporter: tillz@… | Owner: cdaboo@… Type: Defect | Status: new Priority: 1: Blocker | Milestone: Linux Port Component: Calendar Server | Severity: Other Keywords: | -----------------------------+---------------------------------------------- Changes (by wsanchez@…): * owner: wsanchez@… => cdaboo@… -- Ticket URL: <http://trac.calendarserver.org/ticket/356#comment:3> CalendarServer </> HTTP/WebDAV/CalDAV Server
#356: Unable to start CalendarServer on Suse -----------------------------+---------------------------------------------- Reporter: tillz@… | Owner: cdaboo@… Type: Defect | Status: new Priority: 1: Blocker | Milestone: CalendarServer-3.1 Component: Calendar Server | Severity: Other Keywords: | Radar: -----------------------------+---------------------------------------------- Changes (by wsanchez@…): * milestone: Linux Port => CalendarServer-3.1 Comment: Fixed in r7840 -- Ticket URL: <http://trac.calendarserver.org/ticket/356#comment:6> Calendar and Contacts Server </> HTTP/WebDAV/CalDAV Server
#356: Unable to start CalendarServer on Suse -------------------------------+-------------------------------------------- Reporter: tillz@… | Owner: cdaboo@… Type: Defect | Status: closed Priority: 1: Blocker | Milestone: CalendarServer-3.1 Component: Calendar Server | Severity: Other Resolution: Software changed | Keywords: Radar: | -------------------------------+-------------------------------------------- Changes (by wsanchez@…): * status: new => closed * resolution: => Software changed -- Ticket URL: <http://trac.calendarserver.org/ticket/356#comment:7> Calendar and Contacts Server </> HTTP/WebDAV/CalDAV Server
participants (2)
-
Calendar and Contacts Server
-
CalendarServer