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

Error reading settings on mail OS X server after upgrade

After updating to Server 4.0.3 I had no user accounts and mail says

"error readings settings

servive functionality and administration maybe affected

click continue to administer this service

code: -1"


I have tried restoreing some elements from my time machine backup but I don't seem to have lucked upon the correct one yet.

Mac mini, OS X Yosemite (10.10.3)

Posted on Apr 25, 2015 8:13 PM

Reply
11 replies

Apr 28, 2015 5:26 PM in response to Linc Davis

looks like my attempts to restore from backup may have killed the logs

this is the error log for around that time but there is a massive gap



2015-04-06 15:20:50+0800 [-] [caldav-0] [IMAP4DownloadProtocol (TLSMemoryBIOProtocol),client] [txdav.caldav.datastore.scheduling.imip.inbound.IMAP4DownloadProtocol#error] IMAP login failed for admin

2015-04-06 15:21:21+0800 [-] [caldav-0] [IMAP4DownloadProtocol (TLSMemoryBIOProtocol),client] [txdav.caldav.datastore.scheduling.imip.inbound.IMAP4DownloadProtocol#error] IMAP login failed for admin

2015-04-06 15:21:51+0800 [-] [caldav-0] [IMAP4DownloadProtocol (TLSMemoryBIOProtocol),client] [txdav.caldav.datastore.scheduling.imip.inbound.IMAP4DownloadProtocol#error] IMAP login failed for admin

2015-04-06 15:22:22+0800 [-] [caldav-0] [IMAP4DownloadProtocol (TLSMemoryBIOProtocol),client] [txdav.caldav.datastore.scheduling.imip.inbound.IMAP4DownloadProtocol#error] IMAP login failed for admin

2015-04-06 15:22:53+0800 [-] [caldav-0] [IMAP4DownloadProtocol (TLSMemoryBIOProtocol),client] [txdav.caldav.datastore.scheduling.imip.inbound.IMAP4DownloadProtocol#error] IMAP login failed for admin

2015-04-06 15:23:24+0800 [-] [caldav-0] [IMAP4DownloadProtocol (TLSMemoryBIOProtocol),client] [txdav.caldav.datastore.scheduling.imip.inbound.IMAP4DownloadProtocol#error] IMAP login failed for admin

2015-04-06 15:23:54+0800 [-] [caldav-0] [IMAP4DownloadProtocol (TLSMemoryBIOProtocol),client] [txdav.caldav.datastore.scheduling.imip.inbound.IMAP4DownloadProtocol#error] IMAP login failed for admin

2015-04-06 15:24:25+0800 [-] [caldav-0] [IMAP4DownloadProtocol (TLSMemoryBIOProtocol),client] [txdav.caldav.datastore.scheduling.imip.inbound.IMAP4DownloadProtocol#error] IMAP login failed for admin

2015-04-25 19:44:11+0800 [-] Log opened.

2015-04-25 19:44:11+0800 [-] ControlSocket starting on '/var/run/caldavd/caldavd.sock'

2015-04-25 19:44:12+0800 [-] [txdav.base.datastore.subpostgres#warn] Creating /var/run/caldavd/PostgresSocket

2015-04-25 19:44:12+0800 [-] [txdav.base.datastore.subpostgres#warn] Running initdb for /Library/Server/Calendar and Contacts/Data/Database.xpg/cluster.pg

2015-04-25 19:44:22+0800 [-] [txdav.base.datastore.subpostgres#warn] Requesting postgres start via /Applications/Server.app/Contents/ServerRoot/usr/bin/xpg_ctl ["-c listen_addresses=''", '-k /var/run/caldavd/PostgresSocket', '-c shared_buffers=105', '-c max_connections=70', '-c standard_conforming_strings=on', '-c unix_socket_permissions=0770', '-c log_lock_waits=TRUE', '-c deadlock_timeout=10', "-c log_line_prefix='%m [%p] '", "-c log_directory='/Library/Server/Calendar and Contacts/Logs'", '-c log_truncate_on_rotation=on', '-c log_filename=postgresql_%w.log', '-c log_rotation_age=1440', '-c logging_collector=on']

2015-04-25 19:44:29+0800 [-] [txdav.base.datastore.subpostgres#warn] received postgres stdout "2015-04-25 19:44:29 XPG.503: Spawning... ('/usr/bin/tar', '-xz', '-f', '/Library/Server/Calendar and Contacts/Data/Database.xpg/backup/base_backup/base_complete.tar.gz', '-C', '/Library/Server/Calendar and Contacts/Data/Database.xpg/cluster.pg')\\n"

2015-04-25 19:44:34+0800 [-] [txdav.base.datastore.subpostgres#warn] received postgres stdout '2015-04-25 19:44:34 XPG.503: Waiting for data directory: /Library/Server/Calendar and Contacts/Data/Database.xpg/cluster.pg\\n'

2015-04-25 19:44:34+0800 [-] [txdav.base.datastore.subpostgres#warn] received postgres stdout '2015-04-25 19:44:34 XPG.503: Data directory exists.\\n'

2015-04-25 19:44:34+0800 [-] [txdav.base.datastore.subpostgres#warn] received postgres stdout '2015-04-25 19:44:34 XPG.503: Spawning postgres for restore only.\\n2015-04-25 19:44:34 XPG.503: Spawning postgres now.\\n'

2015-04-25 19:44:34+0800 [-] [txdav.base.datastore.subpostgres#warn] received postgres stdout '2015-04-25 19:44:34 XPG.503: Waiting for recovery done notification.\\n'

2015-04-25 19:44:35+0800 [-] [txdav.base.datastore.subpostgres#warn] received postgres stderr LOG: redirecting log output to logging collector process

HINT: Future log output will appear in directory "/Library/Server/Calendar and Contacts/Logs".

Apr 29, 2015 8:34 PM in response to IanofOz

Back up all data.

Quit the Server application, drag it to the Trash, and empty. You'll be prompted to confirm that you want to stop all services. You won't lose any data.

Search "This Mac" in the Finder for other copies of the app, and delete those, if any.

If you're using the server for DNS, temporarily change the primary DNS setting in the Network preference pane to another DNS.

You should now be able to download the app from the App Store.

Revert the DNS setting, if applicable.

Error reading settings on mail OS X server after upgrade

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