DATABASE ERROR: CONNECTION FAILED!
Oh Dear, for some reason we get this error:
DATABASE ERROR: CONNECTION FAILED!
Unable to connect to the database!
Please contact your server-administrator.
On our Mac OS X Server 10.7.3 hosted at: https://mail.pantheonmacro.com/webmail/
Maill will not send or receive, no error on clients, just no traffic.
I think this was after a privilege error (see below from the system log) on the VAR folder changed by a third party:-)
Any help very welcome, thank you,
Feb 24 22:47:37 pantheonmacro org.jabber.proxy65[73467]: File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twi sted/application/app.py", line 378, in run
Feb 24 22:47:37 pantheonmacro org.jabber.proxy65[73467]: self.logger.start(self.application)
Feb 24 22:47:37 pantheonmacro org.jabber.proxy65[73467]: File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twi sted/application/app.py", line 216, in start
Feb 24 22:47:37 pantheonmacro org.jabber.proxy65[73467]: observer = self._getLogObserver()
Feb 24 22:47:37 pantheonmacro org.jabber.proxy65[73467]: File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twi sted/scripts/_twistd_unix.py", line 139, in _getLogObserver
Feb 24 22:47:37 pantheonmacro org.jabber.proxy65[73467]: logFile = logfile.LogFile.fromFullPath(self._logfilename)
Feb 24 22:47:37 pantheonmacro org.jabber.proxy65[73467]: File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twi sted/python/logfile.py", line 48, in fromFullPath
Feb 24 22:47:37 pantheonmacro org.jabber.proxy65[73467]: os.path.dirname(logPath), *args, **kwargs)
Feb 24 22:47:37 pantheonmacro org.jabber.proxy65[73467]: File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twi sted/python/logfile.py", line 161, in __init__
Feb 24 22:47:37 pantheonmacro org.jabber.proxy65[73467]: BaseLogFile.__init__(self, name, directory, defaultMode)
Feb 24 22:47:37 pantheonmacro org.jabber.proxy65[73467]: File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twi sted/python/logfile.py", line 40, in __init__
Feb 24 22:47:37 pantheonmacro org.jabber.proxy65[73467]: self._openFile()
Feb 24 22:47:37 pantheonmacro org.jabber.proxy65[73467]: File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twi sted/python/logfile.py", line 166, in _openFile
Feb 24 22:47:37 pantheonmacro org.jabber.proxy65[73467]: BaseLogFile._openFile(self)
Feb 24 22:47:37 pantheonmacro org.jabber.proxy65[73467]: File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twi sted/python/logfile.py", line 64, in _openFile
Feb 24 22:47:37 pantheonmacro org.jabber.proxy65[73467]: self._file = file(self.path, "r+", 1)
Feb 24 22:47:37 pantheonmacro org.jabber.proxy65[73467]: IOError:
Feb 24 22:47:37 pantheonmacro org.jabber.proxy65[73467]: [Errno 13] Permission denied: '/private/var/jabberd/log/proxy65.log'
Feb 24 22:47:37 pantheonmacro com.apple.launchd[1] (org.jabber.proxy65[73467]): Exited with code: 1
Feb 24 22:47:37 pantheonmacro com.apple.launchd[1] (org.jabber.proxy65): Throttling respawn: Will start in 10 seconds
Feb 24 22:47:37 pantheonmacro org.postgresql.postgres[73529]: 2013-02-24 22:47:37 GMT FATAL: data directory "/var/pgsql" has wrong ownership
Feb 24 22:47:37 pantheonmacro org.postgresql.postgres[73529]: 2013-02-24 22:47:37 GMT HINT: The server must be started by the user that owns the data directory.
Feb 24 22:47:37 pantheonmacro com.apple.launchd[1] (org.postgresql.postgres[73529]): Exited with code: 1
Feb 24 22:47:37 pantheonmacro com.apple.launchd[1] (org.postgresql.postgres): Throttling respawn: Will start in 10 seconds
Mac mini, Mac OS X (10.7.3), Server