[CalendarServer-users] Issue compiling

Jason Pruim japruim at raoset.com
Wed Sep 26 06:51:49 PDT 2007


Hi cyrus,

Thanks for the reply.

I tried to change the port that is used both by normal connection and  
SSL, I changed it to 8111 & 8112 and even registered it in /etc/ 
services which said it was unassigned. and now I get this:

2007-09-26 09:50:05-0400 [-] Log opened.
2007-09-26 09:50:05-0400 [-] twistd 2.5.0+r19773 (/Library/Frameworks/ 
Python.framework/Versions/2.4/Resources/Python.app/Contents/MacOS/ 
Python 2.4.4) starting up
2007-09-26 09:50:05-0400 [-] reactor class: <class  
'twisted.internet.selectreactor.SelectReactor'>
2007-09-26 09:50:05-0400 [-] 1 processors found, configuring 1  
processes.
2007-09-26 09:50:05-0400 [-] twistedcaldav.logging.AMPLoggingFactory  
starting on "'logs/caldavd.sock'"
2007-09-26 09:50:05-0400 [-] Traceback (most recent call last):
2007-09-26 09:50:05-0400 [-]   File "/volumes/boot/Twisted/bin/ 
twistd", line 21, in ?
2007-09-26 09:50:05-0400 [-]     run()
2007-09-26 09:50:05-0400 [-]   File "//Twisted/twisted/scripts/ 
twistd.py", line 27, in run
2007-09-26 09:50:05-0400 [-]     app.run(runApp, ServerOptions)
2007-09-26 09:50:05-0400 [-]   File "//Twisted/twisted/application/ 
app.py", line 379, in run
2007-09-26 09:50:05-0400 [-]     runApp(config)
2007-09-26 09:50:05-0400 [-]   File "//Twisted/twisted/scripts/ 
twistd.py", line 23, in runApp
2007-09-26 09:50:05-0400 [-]     _SomeApplicationRunner(config).run()
2007-09-26 09:50:05-0400 [-]   File "//Twisted/twisted/application/ 
app.py", line 158, in run
2007-09-26 09:50:05-0400 [-]     self.postApplication()
2007-09-26 09:50:05-0400 [-]   File "//Twisted/twisted/scripts/ 
_twistd_unix.py", line 213, in postApplication
2007-09-26 09:50:05-0400 [-]     startApplication(self.config,  
self.application)
2007-09-26 09:50:05-0400 [-]   File "//Twisted/twisted/scripts/ 
_twistd_unix.py", line 174, in startApplication
2007-09-26 09:50:05-0400 [-]     service.IService 
(application).privilegedStartService()
2007-09-26 09:50:05-0400 [-]   File "//Twisted/twisted/application/ 
service.py", line 228, in privilegedStartService
2007-09-26 09:50:05-0400 [-]     service.privilegedStartService()
2007-09-26 09:50:05-0400 [-]   File "//Twisted/twisted/application/ 
service.py", line 228, in privilegedStartService
2007-09-26 09:50:05-0400 [-]     service.privilegedStartService()
2007-09-26 09:50:05-0400 [-]   File "//Twisted/twisted/application/ 
internet.py", line 68, in privilegedStartService
2007-09-26 09:50:05-0400 [-]     self._port = self._getPort()
2007-09-26 09:50:05-0400 [-]   File "//Twisted/twisted/application/ 
internet.py", line 86, in _getPort
2007-09-26 09:50:05-0400 [-]     return getattr(reactor,  
'listen'+self.method)(*self.args, **self.kwargs)
2007-09-26 09:50:05-0400 [-]   File "//Twisted/twisted/internet/ 
posixbase.py", line 432, in listenUNIX
2007-09-26 09:50:05-0400 [-]     p.startListening()
2007-09-26 09:50:05-0400 [-]   File "//Twisted/twisted/internet/ 
unix.py", line 89, in startListening
2007-09-26 09:50:05-0400 [-]     raise CannotListenError, (None,  
self.port, le)
2007-09-26 09:50:05-0400 [-]  
twisted.internet.error.CannotListenError: Couldn't listen on any:logs/ 
caldavd.sock: (22, 'Invalid argument').

I'm at a loss for figuring this all out...

Thanks for your help!


On Sep 26, 2007, at 9:23 AM, Cyrus Daboo wrote:

> Hi Jason,
>
> --On September 26, 2007 8:51:58 AM -0400 Jason Pruim  
> <japruim at raoset.com> wrote:
>
>> 2007-09-26 08:52:47-0400 [-]  
>> twisted.internet.error.CannotListenError:
>> Couldn't listen on any:logs/caldavd.sock: (48, 'Address already in  
>> use').
>>
>>
>> Any ideas?
>
> You have another server running on the port that the calendar  
> server is trying to startup on. By default the server uses 8008  
> (http) and 8443 (https), but you can also change the values via the  
> caldavd.plist file. Check what else is running on your machine at  
> the ports the calendar server is trying to use and either stop the  
> existing server (whatever it is) or change the calendar server  
> ports to some other value to avoid the conflict.
>
> -- 
> Cyrus Daboo
>
>

--

Jason Pruim
Raoset Inc.
Technology Manager
MQC Specialist
3251 132nd ave
Holland, MI, 49424
www.raoset.com
japruim at raoset.com




More information about the calendarserver-users mailing list