This discussion is archived
2339 Views 5 Replies Latest reply: Jan 30, 2008 6:34 AM by jake1981
Currently Being ModeratedDec 13, 2007 7:02 PM (in response to Stan Sobczynski)The wiki server relies heavily on Python, and it's that which is throwing the error.
That doesn't help explain the problem, other than multiple references to 'caldavd', which sounds like the calendar application.
The 'assert' statements on some of the lines in question are debugging commands, but it's not (yet) clear what's triggering them.
The short-term solution, in order to stop the logs, is to disable the Wiki server.Mac OS X (10.5)
Currently Being ModeratedJan 29, 2008 12:40 PM (in response to Stan Sobczynski)Okay - I also noticed this same issue as propably many others - did little study and found out the reason.
First of all - these should be standard locations, but let's make sure. I found out that wikid keeps it settings in /etc/wikid/wikid.conf - From error messages I checked source of last mention before process ended. Not pasting anything to here, I usually use PHP or C and try to stay away from python but I was able to make something out. Assert is a function that makes a test agains something, if this test's result is true (if I remember my studies right, I rarely use assert) it exits process. Why? Sometimes when programs start they need to make certain checks to avoid crashing - crashing isn't nice..
Anyway, test was for existency of directory where logfile(s) are kept. From same or another source file I also found out about location /etc/wikid, I ofcourse could had checked it from there in the first place, but I liked to follow the code a bit.. There I found file wikid.plist, opened it - a long conf file and finally there it was - logfile(s) are kept in location:
I created this directory and restarted, everything wasn't okay yet, as rights for that directory were incorrect. So I checked com.apple.wikid in LaunchDaemons and found out it runs as user _teamsserver and gid _teamsserver. So I changed rights for that uid and gid and everything was working after that.
Here's what you need to do in terminal to get it working:
#sudo mkdir /Library/Logs/wikid
#sudo chown -R teamsserver:teamsserver /Library/Logs/wikid
Then just restart wikid, there you go. This was my first post and I just created account for this.
Can be marked as SOLVED but 10.5.2 should make sure this directory gets created - either when ever it's missing and wikid is started, or just a empty dir created while upgrading to 10.5.2MacBook c2d, powermac 3.1, more.., Mac OS X (10.5.1)
Currently Being ModeratedJan 30, 2008 6:34 AM (in response to Stan Sobczynski)Actually - It seems NOT to be solved after all
Atleast completely. It seems that after reboot this directory we created is missing again (maybe I should not had removed logs with iceclean before boot) - so whenever logs are cleaned this folder will be removed and that's what originally caused the problem - cleaning of logs :/
Fix idea to 10.5.2: just remove contents of that folder - do not remove folder completely.MacBook c2d, powermac 3.1, more.., Mac OS X (10.5.1)