Skip to content

Instantly share code, notes, and snippets.

@johndalton
Created September 28, 2012 06:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johndalton/3798178 to your computer and use it in GitHub Desktop.
Save johndalton/3798178 to your computer and use it in GitHub Desktop.
caldav_kqueue respawning on OSX Mountain Lion
2012-09-28 15:59:57+1000 [-] [notifications] 2012-09-28 15:59:57+1000 [-] Log opened.
2012-09-28 15:59:57+1000 [-] [notifications] 2012-09-28 15:59:57+1000 [-] twistd 12.0.0 (/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python 2.7.2) starting up.
2012-09-28 15:59:57+1000 [-] [notifications] 2012-09-28 15:59:57+1000 [-] reactor class: twext.internet.kqreactor.KQueueReactor.
2012-09-28 15:59:57+1000 [-] [notifications] 2012-09-28 15:59:57+1000 [-] AMPPushNotifierFactory starting on 62311
2012-09-28 15:59:57+1000 [-] [notifications] 2012-09-28 15:59:57+1000 [-] InternalNotificationFactory starting on 62309
2012-09-28 15:59:57+1000 [-] [notifications] 2012-09-28 15:59:57+1000 [-] set uid/gid 93/93
2012-09-28 15:59:57+1000 [-] [notifications] 2012-09-28 15:59:57+1000 [-] Traceback (most recent call last):
2012-09-28 15:59:57+1000 [-] [notifications] 2012-09-28 15:59:57+1000 [-] File "/usr/bin/twistd", line 14, in <module>
2012-09-28 15:59:57+1000 [-] [notifications] 2012-09-28 15:59:57+1000 [-] run()
2012-09-28 15:59:57+1000 [-] [notifications] 2012-09-28 15:59:57+1000 [-] File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twisted/scripts/twistd.py", line 27, in run
2012-09-28 15:59:57+1000 [-] [notifications] 2012-09-28 15:59:57+1000 [-] app.run(runApp, ServerOptions)
2012-09-28 15:59:57+1000 [-] [notifications] 2012-09-28 15:59:57+1000 [-] File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twisted/application/app.py", line 652, in run
2012-09-28 15:59:57+1000 [-] [notifications] 2012-09-28 15:59:57+1000 [-] runApp(config)
2012-09-28 15:59:57+1000 [-] [notifications] 2012-09-28 15:59:57+1000 [-] File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twisted/scripts/twistd.py", line 23, in runApp
2012-09-28 15:59:57+1000 [-] [notifications] 2012-09-28 15:59:57+1000 [-] _SomeApplicationRunner(config).run()
2012-09-28 15:59:57+1000 [-] [notifications] 2012-09-28 15:59:57+1000 [-] File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twisted/application/app.py", line 390, in run
2012-09-28 15:59:57+1000 [-] [notifications] 2012-09-28 15:59:57+1000 [-] self.postApplication()
2012-09-28 15:59:57+1000 [-] [notifications] 2012-09-28 15:59:57+1000 [-] File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twisted/scripts/_twistd_unix.py", line 208, in postApplication
2012-09-28 15:59:57+1000 [-] [notifications] 2012-09-28 15:59:57+1000 [-] self.startApplication(self.application)
2012-09-28 15:59:57+1000 [-] [notifications] 2012-09-28 15:59:57+1000 [-] File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twisted/scripts/_twistd_unix.py", line 326, in startApplication
2012-09-28 15:59:57+1000 [-] [notifications] 2012-09-28 15:59:57+1000 [-] app.startApplication(application, not self.config['no_save'])
2012-09-28 15:59:57+1000 [-] [notifications] 2012-09-28 15:59:57+1000 [-] File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twisted/application/app.py", line 674, in startApplication
2012-09-28 15:59:57+1000 [-] [notifications] 2012-09-28 15:59:57+1000 [-] service.IService(application).startService()
2012-09-28 15:59:57+1000 [-] [notifications] 2012-09-28 15:59:57+1000 [-] File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twisted/application/service.py", line 282, in startService
2012-09-28 15:59:57+1000 [-] [notifications] 2012-09-28 15:59:57+1000 [-] service.startService()
2012-09-28 15:59:57+1000 [-] [notifications] 2012-09-28 15:59:57+1000 [-] File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twisted/application/service.py", line 282, in startService
2012-09-28 15:59:57+1000 [-] [notifications] 2012-09-28 15:59:57+1000 [-] service.startService()
2012-09-28 15:59:57+1000 [-] [notifications] 2012-09-28 15:59:57+1000 [-] File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twisted/application/service.py", line 282, in startService
2012-09-28 15:59:57+1000 [-] [notifications] 2012-09-28 15:59:57+1000 [-] service.startService()
2012-09-28 15:59:57+1000 [-] [notifications] 2012-09-28 15:59:57+1000 [-] File "/Applications/Server.app/Contents/ServerRoot/usr/share/caldavd/lib/python/calendarserver/push/applepush.py", line 428, in startService
2012-09-28 15:59:57+1000 [-] [notifications] 2012-09-28 15:59:57+1000 [-] self.connect(self.factory)
2012-09-28 15:59:57+1000 [-] [notifications] 2012-09-28 15:59:57+1000 [-] File "/Applications/Server.app/Contents/ServerRoot/usr/share/caldavd/lib/python/calendarserver/push/applepush.py", line 398, in connect
2012-09-28 15:59:57+1000 [-] [notifications] 2012-09-28 15:59:57+1000 [-] sslmethod=getattr(OpenSSL.SSL, self.sslMethod)
2012-09-28 15:59:57+1000 [-] [notifications] 2012-09-28 15:59:57+1000 [-] File "/Applications/Server.app/Contents/ServerRoot/usr/share/caldavd/lib/python/twext/internet/ssl.py", line 44, in __init__
2012-09-28 15:59:57+1000 [-] [notifications] 2012-09-28 15:59:57+1000 [-] sslmethod=sslmethod
2012-09-28 15:59:57+1000 [-] [notifications] 2012-09-28 15:59:57+1000 [-] File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twisted/internet/ssl.py", line 68, in __init__
2012-09-28 15:59:57+1000 [-] [notifications] 2012-09-28 15:59:57+1000 [-] self.cacheContext()
2012-09-28 15:59:57+1000 [-] [notifications] 2012-09-28 15:59:57+1000 [-] File "/Applications/Server.app/Contents/ServerRoot/usr/share/caldavd/lib/python/twext/internet/ssl.py", line 57, in cacheContext
2012-09-28 15:59:57+1000 [-] [notifications] 2012-09-28 15:59:57+1000 [-] ctx.use_certificate_file(self.certificateFileName)
2012-09-28 15:59:57+1000 [-] [notifications] 2012-09-28 15:59:57+1000 [-] OpenSSL.SSL.Error: [('system library', 'fopen', 'No such file or directory'), ('BIO routines', 'FILE_CTRL', 'system lib'), ('SSL routines', 'SSL_CTX_use_certificate_file', 'system lib')]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment