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

Question:

Question: Problems after Restore

Hello

I have the problems, that the server works not correct after a restore:

After a restore from TimeMachine Web-Services and more didn't work right.
After "diskutil repairPermissions /" and the same with a boot from DVD (and working over DiskUtility, and repair the Permissions) the Server works not bad.

But
Push-Service can not start Error-Message in Server-Admin:

(Erro NIL RESPONEERR ( * -(NSCFDictionary setObject:forKey:): attemp to insert nil value (key: domain)))

In the logfile I found:

Jun 29 15:44:05 wib-srv01 servermgrd[62301]: servermgr_jabber[W]: detailed service status not available until network configuration completed
Jun 29 15:44:05 wib-srv01 servermgrd[62301]: Exception in doCommand for module servermgr_notification: * -[NSCFDictionary setObject:forKey:]: attempt to insert nil value (key: domain)
Jun 29 15:44:05 wib-srv01 servermgrd[62301]: --request was {\n command = setState;\n state = START;\n variant = withDetails;\n}



------


Also the Password Change over the wiki works nomore ...
If I try to change a user-Password I get:

Your request could not be completed. The password server may be unavailable.

in the Log I see:

Jun 29 15:48:41 wib-srv01 com.apple.passwordreset[6377]: 2010-06-29 15:48:41+0200 [-] Flushing expired sessions...
Jun 29 15:49:06 wib-srv01 com.apple.passwordreset[6377]: 2010-06-29 15:49:06+0200 [-] Updating session cache with new session <Session (mfleig, 261FC9ED-08CA-4562-A24D-84DEEFA39F3E, issued=2010-06-29 15:49:06.125368, lastTouched=2010-06-29 15:49:06.125380)>
Jun 29 15:49:06 wib-srv01 com.apple.passwordreset[6377]: 2010-06-29 15:49:06+0200 [-] Basic authentication request by mfleig returned {'sessionId': '261FC9ED-08CA-4562-A24D-84DEEFA39F3E', 'success': True}
Jun 29 15:49:19 wib-srv01 com.apple.passwordreset[6377]: 2010-06-29 15:49:19+0200 [-] Touching session <Session (<user>, 261FC9ED-08CA-4562-A24D-84DEEFA39F3E, issued=2010-06-29 15:49:06.125368, lastTouched=2010-06-29 15:49:06.125380)>
Jun 29 15:49:19 wib-srv01 python[6377]: Unable to change the password for record mfleig
Jun 29 15:49:19 wib-srv01 com.apple.passwordreset[6377]: 2010-06-29 15:49:19+0200 [-] Could not change password for user (<user>)
Jun 29 15:49:19 wib-srv01 com.apple.passwordreset[6377]: 2010-06-29 15:49:19+0200 [-] Unhandled Error
Jun 29 15:49:19 wib-srv01 com.apple.passwordreset[6377]: Traceback (most recent call last):
Jun 29 15:49:19 wib-srv01 com.apple.passwordreset[6377]: File "/usr/share/caldavd/lib/python/twisted/internet/defer.py", line 310, in _startRunCallbacks
Jun 29 15:49:19 wib-srv01 com.apple.passwordreset[6377]: self._runCallbacks()
Jun 29 15:49:19 wib-srv01 com.apple.passwordreset[6377]: File "/usr/share/caldavd/lib/python/twisted/internet/defer.py", line 326, in _runCallbacks
Jun 29 15:49:19 wib-srv01 com.apple.passwordreset[6377]: self.result = callback(self.result, *args, **kw)
Jun 29 15:49:19 wib-srv01 com.apple.passwordreset[6377]: File "/usr/share/caldavd/lib/python/twisted/web2/xmlrpc.py", line 82, in <lambda>
Jun 29 15:49:19 wib-srv01 com.apple.passwordreset[6377]: request, parser, unmarshaller))
Jun 29 15:49:19 wib-srv01 com.apple.passwordreset[6377]: File "/usr/share/caldavd/lib/python/twisted/web2/xmlrpc.py", line 92, in _cbDispatch
Jun 29 15:49:19 wib-srv01 com.apple.passwordreset[6377]: return defer.maybeDeferred(function, request, *args)
Jun 29 15:49:19 wib-srv01 com.apple.passwordreset[6377]: --- <exception caught here> ---
Jun 29 15:49:19 wib-srv01 com.apple.passwordreset[6377]: File "/usr/share/caldavd/lib/python/twisted/internet/defer.py", line 104, in maybeDeferred
Jun 29 15:49:19 wib-srv01 com.apple.passwordreset[6377]: result = f(*args, **kw)
Jun 29 15:49:19 wib-srv01 com.apple.passwordreset[6377]: File "/usr/share/passwordreset/lib/python/PasswordReset.py", line 91, in xmlrpc_changePassword
Jun 29 15:49:19 wib-srv01 com.apple.passwordreset[6377]: return xmlrpx.Fault(FAULT COULD_NOT_CHANGEPASSWORD, errorCodes[FAULT COULD_NOT_CHANGEPASSWORD] % (username, response['errorCode']))
Jun 29 15:49:19 wib-srv01 com.apple.passwordreset[6377]: exceptions.NameError: global name 'xmlrpx' is not defined
Jun 29 15:49:19 wib-srv01 com.apple.passwordreset[6377]:


Both worked fine before the restore.

Does someone have an idea what I an do?

MacBook Pro / Mac Mini, Mac OS X (10.6.3)

Posted on

Reply
Question marked as Helpful

Jan 6, 2011 3:40 PM in response to Drizzt In response to Drizzt

Awesome, an actual fix. It also lines up with other feature issues after Time Machine full restore

Upon restoring a Mac OS X Server from timemachine...run the following



sudo mkdir /Library/Logs/wikid
sudo mkdir /Library/Logs/EmailRules
sudo mkdir /Library/Logs/PasswordReset
sudo chown teamsserver:teamsserver /Library/Logs/wikid
sudo chown teamsserver:teamsserver /Library/Logs/EmailRules
sudo chown teamsserver:teamsserver /Library/Logs/PasswordReset

dikutil repairpermissions /

To rebuild the list of blogs and wikis, remove the file:
/Library/Application Support/Apple/WikiServer/directoryIndex.db
back it up first incase)

There’s more to the conversation

Read all replies

Page content loaded

Sep 3, 2010 1:02 AM in response to Marco Fleig In response to Marco Fleig

Hi,

I am also seeing the same errors after a Time Machine restore.

Can log in to Wiki's without a problem, however Mail server and Password servers are unavailable if I try to log in to them via the wiki settings page, and on the wiki 'home page' both Mail Rules and Password sections do not ask for passwords when entered, and are basically blank.

Anyone have any ideas?

Sep 3, 2010 1:02 AM

Reply Helpful
Question marked as Helpful

Jan 6, 2011 3:40 PM in response to Drizzt In response to Drizzt

Awesome, an actual fix. It also lines up with other feature issues after Time Machine full restore

Upon restoring a Mac OS X Server from timemachine...run the following



sudo mkdir /Library/Logs/wikid
sudo mkdir /Library/Logs/EmailRules
sudo mkdir /Library/Logs/PasswordReset
sudo chown teamsserver:teamsserver /Library/Logs/wikid
sudo chown teamsserver:teamsserver /Library/Logs/EmailRules
sudo chown teamsserver:teamsserver /Library/Logs/PasswordReset

dikutil repairpermissions /

To rebuild the list of blogs and wikis, remove the file:
/Library/Application Support/Apple/WikiServer/directoryIndex.db
back it up first incase)

Jan 6, 2011 3:40 PM

Reply Helpful (1)
User profile for user: Marco Fleig

Question: Problems after Restore