2 Replies Latest reply: Oct 25, 2012 2:03 PM by Craig Jones3
owen1291 Level 1 Level 1 (0 points)

follow a disk failure, I restored the entire os (SnowLepoard Server) and applications from a timecapsule backup. All works except for the Wiki. The webserver is up and responds fine to other pages. However, clicking on the wiki hosted on the os server, I get the error

 

Service unavailable!

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

If you think this is a server error, please contact the webmaster.

Error 503

 

All the files for the wiki are restored and available (I can click on them through Finder and read them ok).

 

Any ideas why I have this problem ?

 

Thanks


Mac mini server, Mac OS X (10.6.8)
  • 1. Re: wiki error after time capsule restore
    owen1291 Level 1 Level 1 (0 points)

    See log file for above problem..

     

    Aug 19 12:43:42 digoserver com.apple.wikid[81948]:   import MimeWriter, tempfile, rfc822

    Aug 19 12:43:42 digoserver com.apple.wikid[81948]: /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.

    Aug 19 12:43:42 digoserver com.apple.wikid[81948]:   from twisted.scripts.mktap import getid

    Aug 19 12:43:42 digoserver com.apple.wikid[81948]: /usr/share/wikid/lib/python/twisted_overrides/microdom.py:176: SyntaxWarning: assertion is always true, perhaps remove parentheses?

    Aug 19 12:43:42 digoserver com.apple.wikid[81948]:   assert (oldChild.parentNode is self,

    Aug 19 12:43:43 digoserver com.apple.wikid[81948]: Traceback (most recent call last):

    Aug 19 12:43:43 digoserver com.apple.wikid[81948]:   File "/usr/share/caldavd/bin/twistd", line 19, in <module>

    Aug 19 12:43:43 digoserver com.apple.wikid[81948]:     run()

    Aug 19 12:43:43 digoserver com.apple.wikid[81948]:   File "/usr/share/caldavd/lib/python/twisted/scripts/twistd.py", line 27, in run

    Aug 19 12:43:43 digoserver com.apple.wikid[81948]:     app.run(runApp, ServerOptions)

    Aug 19 12:43:43 digoserver com.apple.wikid[81948]:   File "/usr/share/caldavd/lib/python/twisted/application/app.py", line 694, in run

    Aug 19 12:43:43 digoserver com.apple.wikid[81948]:     runApp(config)

    Aug 19 12:43:43 digoserver com.apple.wikid[81948]:   File "/usr/share/caldavd/lib/python/twisted/scripts/twistd.py", line 23, in runApp

    Aug 19 12:43:43 digoserver com.apple.wikid[81948]:     _SomeApplicationRunner(config).run()

    Aug 19 12:43:43 digoserver com.apple.wikid[81948]:   File "/usr/share/caldavd/lib/python/twisted/application/app.py", line 423, in run

    Aug 19 12:43:43 digoserver com.apple.wikid[81948]:     self.logger.start(None)

    Aug 19 12:43:43 digoserver com.apple.wikid[81948]:   File "/usr/share/caldavd/lib/python/twisted/application/app.py", line 251, in start

    Aug 19 12:43:43 digoserver com.apple.wikid[81948]:     observer = self._getLogObserver()

    Aug 19 12:43:43 digoserver com.apple.wikid[81948]:   File "/usr/share/caldavd/lib/python/twisted/scripts/_twistd_unix.py", line 140, in _getLogObserver

    Aug 19 12:43:43 digoserver com.apple.wikid[81948]:     logFile = logfile.LogFile.fromFullPath(self._logfilename)

    Aug 19 12:43:43 digoserver com.apple.wikid[81948]:   File "/usr/share/caldavd/lib/python/twisted/python/logfile.py", line 47, in fromFullPath

    Aug 19 12:43:43 digoserver com.apple.wikid[81948]:     os.path.dirname(logPath), *args, **kwargs)

    Aug 19 12:43:43 digoserver com.apple.wikid[81948]:   File "/usr/share/caldavd/lib/python/twisted/python/logfile.py", line 147, in __init__

    Aug 19 12:43:43 digoserver com.apple.wikid[81948]:     BaseLogFile.__init__(self, name, directory, defaultMode)

    Aug 19 12:43:43 digoserver com.apple.wikid[81948]:   File "/usr/share/caldavd/lib/python/twisted/python/logfile.py", line 39, in __init__

    Aug 19 12:43:43 digoserver com.apple.wikid[81948]:     self._openFile()

    Aug 19 12:43:43 digoserver com.apple.wikid[81948]:   File "/usr/share/caldavd/lib/python/twisted/python/logfile.py", line 152, in _openFile

    Aug 19 12:43:43 digoserver com.apple.wikid[81948]:     BaseLogFile._openFile(self)

    Aug 19 12:43:43 digoserver com.apple.wikid[81948]:   File "/usr/share/caldavd/lib/python/twisted/python/logfile.py", line 74, in _openFile

    Aug 19 12:43:43 digoserver com.apple.wikid[81948]:     self._file = file(self.path, "w+", 1)

    Aug 19 12:43:43 digoserver com.apple.wikid[81948]: IOError: [Errno 13] Permission denied: '/Library/Logs/wikid/error.log'

    Aug 19 12:43:43 digoserver com.apple.launchd[1] (com.apple.wikid[81948]): Exited with exit code: 1

    Aug 19 12:43:43 digoserver com.apple.launchd[1] (com.apple.wikid): Throttling respawn: Will start in 9 seconds

    Aug 19 12:43:46 digoserver org.clamav.freshclam[81949]: LibClamAV Warning: Cannot dlopen libclamunrar_iface: file not found - unrar support unavailable

    Aug 19 12:43:46 digoserver org.clamav.freshclam[81949]: ERROR: Problem with internal logger (UpdateLogFile = /var/log/freshclam.log).

    Aug 19 12:43:46 digoserver org.clamav.freshclam[81949]: ERROR: Can't open /var/log/freshclam.log in append mode (check permissions!).

    Aug 19 12:43:46 digoserver com.apple.launchd[1] (org.clamav.freshclam[81949]): Exited with exit code: 62

    Aug 19 12:43:46 digoserver com.apple.launchd[1] (org.clamav.freshclam): Throttling respawn: Will start in 10 seconds

  • 2. Re: wiki error after time capsule restore
    Craig Jones3 Level 1 Level 1 (5 points)

    Solution probably this:

     

    sudo mkdir /Library/Logs/wikid

    sudo chown teamsserver:teamsserver /Library/Logs/wikid

     

    http://support.apple.com/kb/TS2915