Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
CalendarServer doesn't delete stray sockets on startup #135
4/13/07 1:52 PM Nick:
(NOTE: This is the CalendarServer r1484.)
When CalendarServer starts up, it attempts to make some Unix socket files. But if the sockets already exist (in my case it was due to a kernel panic that occurred while CalendarServer was running), CalendarServer won't start up.
Steps to Reproduce:
Notes: If all of the stray socket files in the logs directory are deleted, then and only then does CalendarServer start up correctly.
aaron.grattafiori@… originally submitted this as comment:5:ticket:161
"If all of the stray socket files in the logs directory are deleted, then and only then does CalendarServer start up correctly."
Why are the sockets in the logs directory?
Why hasn't this been fixed a long time ago?
aaron.grattafiori@… originally submitted this as comment:7:ticket:161
Replying to firstname.lastname@example.org:
Changing the default path in the config file fixed the pid and sockets being in the wrong place. (They are now in
Is this a problem with Twisted or CalendarServer? Seems like they are cleaning up sockets here: http://twistedmatrix.com/trac/browser/trunk/twisted/internet/unix.py?rev=24089#L75
As I said, no good reason for the logs dir; we should fix that.
You don't need an apple.com email address to submit patches.
We all have our priorities; if this is important to you, the best thing you can do to make progress on it is to submit a patch.
Default location for