error starting up calendarserver
I've successfully made my way through ./run -s but I'm now receiving the following error for ./run Thanks for any help/direction. 2007-03-15 14:02:33-0500 [-] Log opened. 2007-03-15 14:02:33-0500 [-] twistd 2.5.0+r19773 (/Library/Frameworks/ Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/ Python 2.5.0) starting up 2007-03-15 14:02:33-0500 [-] reactor class: <class 'twisted.internet.selectreactor.SelectReactor'> 2007-03-15 14:02:33-0500 [-] Configuring directory service of type: twistedcaldav.directory.appleopendirectory.OpenDirectoryService 2007-03-15 14:02:33-0500 [-] Reloading users record cache 2007-03-15 14:02:34-0500 [-] Reloading groups record cache 2007-03-15 14:02:34-0500 [-] Reloading locations record cache 2007-03-15 14:02:34-0500 [-] Reloading resources record cache 2007-03-15 14:02:34-0500 [-] Configuring SudoDirectoryService with file: conf/sudoers.plist 2007-03-15 14:02:35-0500 [-] Setting up document root at: twistedcaldav/test/data/ 2007-03-15 14:02:35-0500 [-] Setting up principal collection: <class 'twistedcaldav.directory.principal.DirectoryPrincipalProvisioningResourc e'> 2007-03-15 14:02:35-0500 [-] Setting up calendar collection: <class 'twistedcaldav.static.CalendarHomeProvisioningFile'> 2007-03-15 14:02:35-0500 [-] Setting up root resource: <class 'twistedcaldav.root.RootResource'> 2007-03-15 14:02:35-0500 [-] Setting up default ACEs on root resource 2007-03-15 14:02:35-0500 [-] Setting up AdminPrincipals 2007-03-15 14:02:35-0500 [-] Added /principals/users/admin/ as admin principal 2007-03-15 14:02:35-0500 [-] Setting root ACL 2007-03-15 14:02:35-0500 [-] Configuring authentication for realm: / Search 2007-03-15 14:02:35-0500 [-] Setting up scheme: basic 2007-03-15 14:02:35-0500 [-] Configuring authentication wrapper 2007-03-15 14:02:35-0500 [-] Setting up service 2007-03-15 14:02:35-0500 [-] Configuring rotating log observer for file: logs/access.log 2007-03-15 14:02:35-0500 [-] Traceback (most recent call last): 2007-03-15 14:02:35-0500 [-] File "/Users/myuser/dev/CalSvr/Twisted/ bin/twistd", line 21, in <module> 2007-03-15 14:02:35-0500 [-] run() 2007-03-15 14:02:35-0500 [-] File "/Users/myuser/dev/CalSvr/Twisted/ twisted/scripts/twistd.py", line 27, in run 2007-03-15 14:02:35-0500 [-] app.run(runApp, ServerOptions) 2007-03-15 14:02:35-0500 [-] File "/Users/myuser/dev/CalSvr/Twisted/ twisted/application/app.py", line 379, in run 2007-03-15 14:02:35-0500 [-] runApp(config) 2007-03-15 14:02:35-0500 [-] File "/Users/myuser/dev/CalSvr/Twisted/ twisted/scripts/twistd.py", line 23, in runApp 2007-03-15 14:02:35-0500 [-] _SomeApplicationRunner(config).run() 2007-03-15 14:02:35-0500 [-] File "/Users/myuser/dev/CalSvr/Twisted/ twisted/application/app.py", line 157, in run 2007-03-15 14:02:35-0500 [-] self.application = self.createOrGetApplication() 2007-03-15 14:02:35-0500 [-] File "/Users/myuser/dev/CalSvr/Twisted/ twisted/application/app.py", line 202, in createOrGetApplication 2007-03-15 14:02:35-0500 [-] ser = plg.makeService (self.config.subOptions) 2007-03-15 14:02:35-0500 [-] File "/Users/myuser/dev/CalSvr/ CalendarServer/twistedcaldav/tap.py", line 485, in makeService 2007-03-15 14:02:35-0500 [-] service = serviceMethod(options) 2007-03-15 14:02:35-0500 [-] File "/Users/myuser/dev/CalSvr/ CalendarServer/twistedcaldav/tap.py", line 453, in makeService_Slave 2007-03-15 14:02:35-0500 [-] from twisted.internet.ssl import DefaultOpenSSLContextFactory 2007-03-15 14:02:35-0500 [-] File "/Users/myuser/dev/CalSvr/Twisted/ twisted/internet/ssl.py", line 47, in <module> 2007-03-15 14:02:35-0500 [-] from OpenSSL import SSL 2007-03-15 14:02:35-0500 [-] File "/Users/myuser/dev/CalSvr/ pyOpenSSL-0.6/build/lib.macosx-10.3-fat-2.5/OpenSSL/__init__.py", line 11, in <module> 2007-03-15 14:02:35-0500 [-] import rand, crypto, SSL, tsafe 2007-03-15 14:02:35-0500 [-] ImportError: No module named rand Brent Mitchell : System Analyst at Texas School for the Deaf contact | brent.mitchell@tsd.state.tx.us - 512.462.5642
On Mar 15, 2007, at 12:15 PM, Brent Mitchell wrote:
2007-03-15 14:02:35-0500 [-] File "/Users/myuser/dev/CalSvr/ pyOpenSSL-0.6/build/lib.macosx-10.3-fat-2.5/OpenSSL/__init__.py", line 11, in <module> 2007-03-15 14:02:35-0500 [-] import rand, crypto, SSL, tsafe 2007-03-15 14:02:35-0500 [-] ImportError: No module named rand
Looks like pyOpenSSL didn't actually build, otherwise you would have a rand.so file in that directory, and it would've been picked up by the calendar server. What did ./run say while building pyOpenSSL?
Rebuilding pyOpenSSL fixed it, thx.. Brent Mitchell : System Analyst at Texas School for the Deaf contact | brent.mitchell@tsd.state.tx.us - 512.462.5642 On Mar 15, 2007, at 2:50 PM, Timothy Fitz wrote:
On Mar 15, 2007, at 12:15 PM, Brent Mitchell wrote:
2007-03-15 14:02:35-0500 [-] File "/Users/myuser/dev/CalSvr/ pyOpenSSL-0.6/build/lib.macosx-10.3-fat-2.5/OpenSSL/__init__.py", line 11, in <module> 2007-03-15 14:02:35-0500 [-] import rand, crypto, SSL, tsafe 2007-03-15 14:02:35-0500 [-] ImportError: No module named rand
Looks like pyOpenSSL didn't actually build, otherwise you would have a rand.so file in that directory, and it would've been picked up by the calendar server.
What did ./run say while building pyOpenSSL?
participants (2)
-
Brent Mitchell
-
Timothy Fitz