system.log error

jarednichols
Honored Contributor

Hi-

I'm getting this error over and over in my system.log file:

Aug 12 08:40:33 llosx1 com.apple.wikid[2526]: Traceback (most recent call last):
Aug 12 08:40:33 llosx1 com.apple.wikid[2526]: File "/usr/share/ caldavd/bin/twistd", line 21, in <module>
Aug 12 08:40:33 llosx1 com.apple.wikid[2526]: run()
Aug 12 08:40:33 llosx1 com.apple.wikid[2526]: File "/usr/share/ caldavd/lib/python/twisted/scripts/twistd.py", line 27, in run
Aug 12 08:40:33 llosx1 com.apple.wikid[2526]: app.run(runApp, ServerOptions)
Aug 12 08:40:33 llosx1 com.apple.wikid[2526]: File "/usr/share/ caldavd/lib/python/twisted/application/app.py", line 379, in run
Aug 12 08:40:33 llosx1 com.apple.wikid[2526]: runApp(config)
Aug 12 08:40:33 llosx1 com.apple.wikid[2526]: File "/usr/share/ caldavd/lib/python/twisted/scripts/twistd.py", line 23, in runApp
Aug 12 08:40:33 llosx1 com.apple.wikid[2526]: _SomeApplicationRunner(config).run()
Aug 12 08:40:33 llosx1 com.apple.wikid[2526]: File "/usr/share/ caldavd/lib/python/twisted/application/app.py", line 156, in run
Aug 12 08:40:33 llosx1 com.apple.wikid[2526]: self.preApplication()
Aug 12 08:40:33 llosx1 com.apple.wikid[2526]: File "/usr/share/ caldavd/lib/python/twisted/scripts/_twistd_unix.py", line 203, in preApplication
Aug 12 08:40:33 llosx1 com.apple.wikid[2526]: self.config ['prefix'], self.config['nodaemon'])
Aug 12 08:40:33 llosx1 com.apple.wikid[2526]: File "/usr/share/ caldavd/lib/python/twisted/scripts/_twistd_unix.py", line 113, in startLogging
Aug 12 08:40:33 llosx1 com.apple.wikid[2526]: logFile = app.getLogFile(logfilename or 'twistd.log')
Aug 12 08:40:33 llosx1 com.apple.wikid[2526]: File "/usr/share/ caldavd/lib/python/twisted/application/app.py", line 410, in getLogFile
Aug 12 08:40:33 llosx1 com.apple.wikid[2526]: os.path.dirname (logPath))
Aug 12 08:40:33 llosx1 com.apple.wikid[2526]: File "/usr/share/ caldavd/lib/python/twisted/python/logfile.py", line 113, in init
Aug 12 08:40:33 llosx1 com.apple.wikid[2526]: BaseLogFile.init (self, name, directory, defaultMode)
Aug 12 08:40:33 llosx1 com.apple.wikid[2526]: File "/usr/share/ caldavd/lib/python/twisted/python/logfile.py", line 26, in init
Aug 12 08:40:33 llosx1 com.apple.wikid[2526]: assert os.path.isdir (self.directory)
Aug 12 08:40:33 llosx1 com.apple.wikid[2526]: AssertionError
Aug 12 08:40:33 llosx1 com.apple.launchd[1] (com.apple.wikid[2526]): Exited with exit code: 1
Aug 12 08:40:33 llosx1 com.apple.launchd[1] (com.apple.wikid): Throttling respawn: Will start in 9 seconds

I've tracked things down a bit:
If I go into Server Admin and enable the Web Service, it comes up as on (which is fine.) If I shut it off and then disable the service, it goes away. However, then I lose the symlink in the httpd service that allows users to download packages. If I use JSS Admin to re-create the symlink, I get the errors again.

Now, this wouldn't really be so much of a problem, but my server is crashing regularly. There were two other errors I was getting, related to clamav and xgridagent that I resolved by simply unloading the Launch Daemons with launchctl. Time will tell if those were what was leading to the crashes, but I'd like to resolve this one if I can as it's the only thing in my system.log right now. A bit of backstory is that this server (before prod to only Casper) was hosting a small wiki service at the same time that Casper was being ramped up. That wiki service was moved elsewhere when Casper went to production and this seems to be some sort of residual.

Any ideas?
---
Jared F. Nichols
Desktop Engineer, Infrastructure & Operations
Information Services Department
MIT Lincoln Laboratory
244 Wood Street
Lexington, Massachusetts 02420
781.981.5436

2 REPLIES 2

tlarkin
Honored Contributor

Do you have iCal server running? I keep seeing the caldav daemon. The wiki daemon as well.

jarednichols
Honored Contributor

I did, but don't now, which is why I don't understand why they're in there. I suppose I could try doing a launchctl unload on the wikid and see if that makes a difference...

Thoughts on that?
---
Jared F. Nichols
Desktop Engineer, Infrastructure & Operations
Information Services Department
MIT Lincoln Laboratory
244 Wood Street
Lexington, Massachusetts 02420
781.981.5436