Newsroom Update

Beginning in May, a special Today at Apple series titled “Made for Business” will offer small business owners and entrepreneurs free opportunities to learn how Apple products and services can support their growth and success. Learn more >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

com.apple.wikid does not start. Generates 4000 error lines per 10 minutes

As of recently, without an up to now identifiable reason, wikid is failing to start. In system.log I see thousands of loglines per every few minutes, but I can't find what the real cause of the issue is or how to solve it. Does anybody have any idea?


The loglines I get every 8 seconds are:


1/27/12 9:04:21 PM com.apple.wikid[35954] /System/Library/Frameworks/Python.framework/V ersions/2.6/Extras/lib/python/zope/__init__.py:1: UserWarning: Module twisted was already imported from /usr/share/caldavd/lib/python/twisted/__init__.py, but /System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python is being added to sys.path

1/27/12 9:04:21 PM com.apple.wikid[35954] __import__('pkg_resources').declare_namespace(__name__)

1/27/12 9:04:21 PM com.apple.wikid[35954] Traceback (most recent call last):

1/27/12 9:04:21 PM com.apple.wikid[35954] File "/usr/share/caldavd/lib/python/twisted/application/app.py", line 669, in parseOptions

1/27/12 9:04:21 PM com.apple.wikid[35954] usage.Options.parseOptions(self, options)

1/27/12 9:04:21 PM com.apple.wikid[35954] File "/usr/share/caldavd/lib/python/twisted/python/usage.py", line 226, in parseOptions

1/27/12 9:04:21 PM com.apple.wikid[35954] for (cmd, short, parser, doc) in self.subCommands:

1/27/12 9:04:21 PM com.apple.wikid[35954] File "/usr/share/caldavd/lib/python/twisted/application/app.py", line 679, in subCommands

1/27/12 9:04:21 PM com.apple.wikid[35954] for plug in plugins:

1/27/12 9:04:21 PM com.apple.wikid[35954] File "/usr/share/caldavd/lib/python/twisted/plugin.py", line 200, in getPlugins

1/27/12 9:04:21 PM com.apple.wikid[35954] allDropins = getCache(package)

1/27/12 9:04:21 PM com.apple.wikid[35954] --- <exception caught here> ---

1/27/12 9:04:21 PM com.apple.wikid[35954] File "/usr/share/caldavd/lib/python/twisted/plugin.py", line 179, in getCache

1/27/12 9:04:21 PM com.apple.wikid[35954] dropinPath.setContent(pickle.dumps(dropinDotCache))

1/27/12 9:04:21 PM com.apple.wikid[35954] File "/usr/share/caldavd/lib/python/twisted/python/filepath.py", line 640, in setContent

1/27/12 9:04:21 PM com.apple.wikid[35954] f = sib.open('w')

1/27/12 9:04:21 PM com.apple.wikid[35954] File "/usr/share/caldavd/lib/python/twisted/python/filepath.py", line 450, in open

1/27/12 9:04:21 PM com.apple.wikid[35954] return open(self.path, mode+'b')

1/27/12 9:04:21 PM com.apple.wikid[35954] exceptions.IOError: [Errno 13] Permission denied: '/usr/share/caldavd/lib/python/twisted/plugins/dropin.cache.new'

1/27/12 9:04:22 PM com.apple.wikid[35954] /usr/share/caldavd/lib/python/twisted/mail/sm tp.py:10: DeprecationWarning: the MimeWriter module is deprecated; use the email package instead

1/27/12 9:04:22 PM com.apple.wikid[35954] import MimeWriter, tempfile, rfc822

1/27/12 9:04:22 PM com.apple.wikid[35954] /usr/share/caldavd/lib/python/calendarserver/ tap/caldav.py:49: DeprecationWarning: mktap and related support modules are deprecated as of Twisted 8.0. Use Twisted Application Plugins with the 'twistd' command directly, as described in 'Writing a Twisted Application Plugin for twistd' chapter of the Developer Guide.

1/27/12 9:04:22 PM com.apple.wikid[35954] from twisted.scripts.mktap import getid

1/27/12 9:04:22 PM com.apple.wikid[35954] /usr/share/wikid/lib/python/twisted_overrides /microdom.py:176: SyntaxWarning: assertion is always true, perhaps remove parentheses?

1/27/12 9:04:22 PM com.apple.wikid[35954] assert (oldChild.parentNode is self,

1/27/12 9:04:23 PM com.apple.wikid[35954] Traceback (most recent call last):

1/27/12 9:04:23 PM com.apple.wikid[35954] File "/usr/share/caldavd/bin/twistd", line 19, in <module>

1/27/12 9:04:23 PM com.apple.wikid[35954] run()

1/27/12 9:04:23 PM com.apple.wikid[35954] File "/usr/share/caldavd/lib/python/twisted/scripts/twistd.py", line 27, in run

1/27/12 9:04:23 PM com.apple.wikid[35954] app.run(runApp, ServerOptions)

1/27/12 9:04:23 PM com.apple.wikid[35954] File "/usr/share/caldavd/lib/python/twisted/application/app.py", line 694, in run

1/27/12 9:04:23 PM com.apple.wikid[35954] runApp(config)

1/27/12 9:04:23 PM com.apple.wikid[35954] File "/usr/share/caldavd/lib/python/twisted/scripts/twistd.py", line 23, in runApp

1/27/12 9:04:23 PM com.apple.wikid[35954] _SomeApplicationRunner(config).run()

1/27/12 9:04:23 PM com.apple.wikid[35954] File "/usr/share/caldavd/lib/python/twisted/application/app.py", line 423, in run

1/27/12 9:04:23 PM com.apple.wikid[35954] self.logger.start(None)

1/27/12 9:04:23 PM com.apple.wikid[35954] File "/usr/share/caldavd/lib/python/twisted/application/app.py", line 251, in start

1/27/12 9:04:23 PM com.apple.wikid[35954] observer = self._getLogObserver()

1/27/12 9:04:23 PM com.apple.wikid[35954] File "/usr/share/caldavd/lib/python/twisted/scripts/_twistd_unix.py", line 140, in _getLogObserver

1/27/12 9:04:23 PM com.apple.wikid[35954] logFile = logfile.LogFile.fromFullPath(self._logfilename)

1/27/12 9:04:23 PM com.apple.wikid[35954] File "/usr/share/caldavd/lib/python/twisted/python/logfile.py", line 47, in fromFullPath

1/27/12 9:04:23 PM com.apple.wikid[35954] os.path.dirname(logPath), *args, **kwargs)

1/27/12 9:04:23 PM com.apple.wikid[35954] File "/usr/share/caldavd/lib/python/twisted/python/logfile.py", line 147, in __init__

1/27/12 9:04:23 PM com.apple.wikid[35954] BaseLogFile.__init__(self, name, directory, defaultMode)

1/27/12 9:04:23 PM com.apple.wikid[35954] File "/usr/share/caldavd/lib/python/twisted/python/logfile.py", line 32, in __init__

1/27/12 9:04:23 PM com.apple.wikid[35954] assert os.path.isdir(self.directory)

1/27/12 9:04:23 PM com.apple.wikid[35954] AssertionError

1/27/12 9:04:23 PM com.apple.launchd[1] (com.apple.wikid[35954]) Exited with exit code: 1

1/27/12 9:04:23 PM com.apple.launchd[1] (com.apple.wikid) Throttling respawn: Will start in 8 seconds



Curious thing is that in /System/Library/LaunchDaemons/com.apple.wikid.plist I see:

<plist version="1.0">

<dict>

<key>Disabled</key>

<true/>

...

</dict>

</plist>


Which I interpret as 'wikid is disabled', but then how come it's trying to start....

Xserve, Mac OS X (10.6.8)

Posted on Jan 27, 2012 12:29 PM

Reply

There are no replies.

com.apple.wikid does not start. Generates 4000 error lines per 10 minutes

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.