Benches macOS

8

Problems after Restore

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

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?

8 replies

Sign in or join Beachball Help to reply.

  1. 0

    fumacchu

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    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?

  2. 0

    fumacchu

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Well I resolved my problems, basically the log folders for both Mail Rules and Change Password were missing. I just recreated these and assigned permissions, restarted the Web and voila!

    Hope that helps anyone else in the same situation.

  3. 0

    StandaG

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Hi,

    I have same problems, but I don't know, where this folders should be and how should be they names.

    Thanks,

    Standa Geidl

  4. 0

    nhcam

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    "I just recreated these and assigned permissions, restarted the Web and voila!"

    do you remember the location and name of the password log folder?

    regards, michael

  5. 0

    Drizzt

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Create these folders in /Library/Logs

    emailrules

    passwordreset

    wikid

    change owner and group to
    _teamserver

    a little +diskutil repairpermissions /+ doesn't hurt either.

  6. 0

    Marco Fleig

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    setup a new server with export / import from serveradmin was very quick and easy

  7. 0

    webmaster@data2

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    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)

  8. 0

    danajc

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    This worked like magic. Thanks for the post!