Lord of the Rant.
Formerly turtle2472 Join Date: Mar 2005
Location: Upstate South Carolina
|
Can you help me find my users and groups please?
10.5.2 Server edition running on a G4 Mini. Everything seemed fine earlier today but now I can't access and mount my TM volume. I can mount my Mini in Finder on the MB, but not with TM. So I opened Server Pref and discovered I have no users in the Users section and no groups in my Groups section. Kinda sucks really. I put a fair amount of work into configuring this thing. So I opened Server Admin and under users and groups I have names like FJRUSVJ-WFECSE-VRGER.... You get the idea. Where'd my people go? Can I get them back? I have a local TM backup that I can access too, I just don't know where to look. Thanks. Louis L'Amour, “To make democracy work, we must be a nation of participants, not simply observers. One who does not vote has no right to complain.” Visit our archived Minecraft world! | Maybe someday I'll proof read, until then deal with it. |
quote |
Lord of the Rant.
Formerly turtle2472 Join Date: Mar 2005
Location: Upstate South Carolina
|
Ok, so is there anyone out there with a clue of how I can get my users and groups back? I'll do a full restore from two days ago if needed, I just don't know how.
Louis L'Amour, “To make democracy work, we must be a nation of participants, not simply observers. One who does not vote has no right to complain.” Visit our archived Minecraft world! | Maybe someday I'll proof read, until then deal with it. |
quote |
Lord of the Rant.
Formerly turtle2472 Join Date: Mar 2005
Location: Upstate South Carolina
|
Here's some screen captures to help with the illustrations.
Server Admin Sever Preference Pane Now it's pretty clear they aren't totally gone because I just got my MB back form the GB and it connected right up to the TM backup. This means the users aren't totally gone because I have to have a user to login into the TM drive. Louis L'Amour, “To make democracy work, we must be a nation of participants, not simply observers. One who does not vote has no right to complain.” Visit our archived Minecraft world! | Maybe someday I'll proof read, until then deal with it. |
quote |
Wait what
Join Date: Feb 2005
Location: El Dorado County, California
|
I'm assuming that OS X Server works in a similar manner to Active Directory, and those "garbage" user and group entries are simply UUID/GUID (User/Group Unique Identification numbers) entries for usernames/groupnames that no longer exist. Somehow, those user and group entries have either been deleted or otherwise disassociated with the server's directory service.
You might try checking the server's console logs (particularly logs for the directory service) to help troubleshoot the problem. It's times like this when I wish I had a copy of OS X Server in a virtual machine. (That's a hint, VMWare/Parallels...) EDIT: If you need to do a restore from a Time Machine backup, startup the machine from the OS X Server DVD, and one of the installation options should be "Restore from Time Machine Backup" or something similar. |
quote |
Lord of the Rant.
Formerly turtle2472 Join Date: Mar 2005
Location: Upstate South Carolina
|
Quote:
Code:
13:34:41 Mini-Me loginwindow[40266]: USER_PROCESS: 40266 console
Apr 3 13:34:41 Mini-Me com.apple.launchd[1] (com.apple.UserEventAgent-LoginWindow[40276]): Exited: Terminated
Apr 3 13:34:42 Mini-Me com.apple.launchd[1] (com.apple.ScreenSharing.server[40275]): Exited: Terminated
Apr 3 13:34:55 Mini-Me loginwindow[40266]: Login items - LSOpenApplication returned error -10829, url=/Library/Application Support/Logitech/LCCDaemon.app
Apr 3 13:34:55 Mini-Me loginwindow[40266]: Unable to lauch startup item: (null)
Apr 3 13:35:15 Mini-Me Directory[40325]: Directory(40325,0xf0103000) malloc: free_garbage: garbage ptr = 0x1451cd0, has non-zero refcount = 1
Apr 3 13:35:15 Mini-Me Directory[40325]: Directory(40325,0xf0103000) malloc: free_garbage: garbage ptr = 0x14536c0, has non-zero refcount = 1
Apr 3 13:35:15 Mini-Me Directory[40325]: Directory(40325,0xf0103000) malloc: free_garbage: garbage ptr = 0x1454340, has non-zero refcount = 1
Apr 3 13:35:15 Mini-Me Directory[40325]: Directory(40325,0xf0103000) malloc: free_garbage: garbage ptr = 0x1454eb0, has non-zero refcount = 1
Apr 3 13:35:16 Mini-Me Server Preferences[40329]: Could not find image named 'TMDisk'.
Apr 3 13:35:15 Mini-Me [0x0-0x50050].com.apple.Directory[40325]: Directory(40325,0xf0103000) malloc: free_garbage: garbage ptr = 0x1451cd0, has non-zero refcount = 1
Apr 3 13:35:15 Mini-Me [0x0-0x50050].com.apple.Directory[40325]: Directory(40325,0xf0103000) malloc: free_garbage: garbage ptr = 0x14536c0, has non-zero refcount = 1
Apr 3 13:35:15 Mini-Me [0x0-0x50050].com.apple.Directory[40325]: Directory(40325,0xf0103000) malloc: free_garbage: garbage ptr = 0x1454340, has non-zero refcount = 1
Apr 3 13:35:15 Mini-Me [0x0-0x50050].com.apple.Directory[40325]: Directory(40325,0xf0103000) malloc: free_garbage: garbage ptr = 0x1454eb0, has non-zero refcount = 1
Apr 3 13:35:25 Mini-Me /usr/sbin/ocspd[40348]: starting
Apr 3 13:35:32 Mini-Me Server Preferences[40329]: The shared folder 'My Book' has custom file system ACLs which cannot be displayed. Editing the permissions may replace any custom ACLs.
Apr 3 13:35:34 Mini-Me Server Preferences[40329]: Error: Unknown website found: <WebSiteRecord: 0x5daf290: *:8080_>
Apr 3 13:35:43 Mini-Me [0x0-0x52052].com.apple.ServerAdmin[40328]: *** ERROR: -[GRAxes computeLayout]:1124 - plotRect height = 0.000000 <= 0.0 ***
Apr 3 13:35:43 Mini-Me [0x0-0x52052].com.apple.ServerAdmin[40328]: *** ERROR: -[GRChartView computeLayout]:1194 - Layout for overlay axes (0x5d1df60) failed. ***
Apr 3 13:35:43 Mini-Me [0x0-0x52052].com.apple.ServerAdmin[40328]: *** ERROR: -[GRAxes computeLayout]:1124 - plotRect height = 0.000000 <= 0.0 ***
Apr 3 13:35:43 Mini-Me [0x0-0x52052].com.apple.ServerAdmin[40328]: *** ERROR: -[GRChartView computeLayout]:1194 - Layout for overlay axes (0x5d1b760) failed. ***
Apr 3 13:43:14 Mini-Me servermgrd[72]: servermgr_accounts: got error -14136 trying to write config record
Apr 3 13:44:07 Mini-Me ctl_cyrusdb[40847]: checkpointing cyrus databases
Apr 3 13:44:07 Mini-Me ctl_cyrusdb[40847]: done checkpointing cyrus databases
Apr 3 13:53:15 Mini-Me servermgrd[72]: servermgr_accounts: got error -14136 trying to write config record
Apr 3 14:03:22 Mini-Me servermgrd[72]: servermgr_accounts: got error -14136 trying to write config record
Apr 3 14:05:39 Mini-Me Server Preferences[40329]: The shared folder 'My Book' has custom file system ACLs which cannot be displayed. Editing the permissions may replace any custom ACLs.
Apr 3 14:05:48 Mini-Me Server Preferences[40329]: Error: Unknown website found: <WebSiteRecord: 0x73197c0: *:8080_>
Apr 3 14:06:21 Mini-Me AppleVNCServer[40292]: CGSCreateKeyboardEvent is obsolete; please use CGSCreateKeyboardEventOfLength
Apr 3 14:06:21 Mini-Me com.apple.ScreenSharing.server[40292]: Thu Apr 3 14:06:21 Mini-Me.local AppleVNCServer[40292] <Warning>: CGSCreateKeyboardEvent is obsolete; please use CGSCreateKeyboardEventOfLength
Apr 3 14:07:19 Mini-Me /System/Library/CoreServices/backupd[42127]: Starting standard backup
Apr 3 14:07:21 Mini-Me /System/Library/CoreServices/backupd[42127]: Backing up to: /Volumes/Server Time Machine/Backups.backupdb
Apr 3 14:07:39 Mini-Me /System/Library/CoreServices/backupd[42127]: No pre-backup thinning needed: 197.4 MB requested (including padding), 330.09 GB available
Apr 3 14:08:09 Mini-Me /System/Library/CoreServices/backupd[42127]: Copied 153 files (18.6 MB) from volume Mini Me.
Apr 3 14:08:10 Mini-Me /System/Library/CoreServices/backupd[42127]: No pre-backup thinning needed: 193.6 MB requested (including padding), 330.07 GB available
Apr 3 14:08:17 Mini-Me /System/Library/CoreServices/backupd[42127]: Copied 45 files (16.2 MB) from volume Mini Me.
Apr 3 14:08:23 Mini-Me Server Admin[40328]: *** -[GroupTextField windowDidResignKey:]: unrecognized selector sent to instance 0x3e16960
Apr 3 14:08:24: --- last message repeated 1 time ---
Apr 3 14:08:24 Mini-Me /System/Library/CoreServices/backupd[42127]: Starting post-backup thinning
Apr 3 14:08:24 Mini-Me /System/Library/CoreServices/backupd[42127]: No post-back up thinning needed: no expired backups exist
Apr 3 14:08:27 Mini-Me /System/Library/CoreServices/backupd[42127]: Backup completed successfully.
Apr 3 14:08:54 Mini-Me PubSubAgent[42011]: AgentTask: Daily Tasks took 6647 msec
Apr 3 14:13:15 Mini-Me servermgrd[72]: servermgr_accounts: got error -14136 trying to write config record
Apr 3 14:14:08 Mini-Me ctl_cyrusdb[42398]: checkpointing cyrus databases
Apr 3 14:14:08 Mini-Me ctl_cyrusdb[42398]: done checkpointing cyrus databases
Apr 3 14:23:14 Mini-Me servermgrd[72]: servermgr_accounts: got error -14136 trying to write config record
Apr 3 14:27:17 Mini-Me loginwindow[40266]: DEAD_PROCESS: 0 console
Apr 3 14:27:17 Mini-Me /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow[43005]: Login Window Application Started
Apr 3 14:27:17 Mini-Me WindowServer[167]: _CGXPostKillRequest(): Not implemented; nothing should be calling this anymore.
Apr 3 14:27:18 Mini-Me AppleVNCServer[40292]: CGSShutdownServerConnections: Detaching application from window server
Apr 3 14:27:18 Mini-Me AppleVNCServer[40292]: CGSDisplayServerShutdown: Detaching display subsystem from window server
Apr 3 14:27:18 Mini-Me com.apple.ScreenSharing.server[40292]: Thu Apr 3 14:27:18 Mini-Me.local AppleVNCServer[40292] <Warning>: CGSShutdownServerConnections: Detaching application from window server
Apr 3 14:27:18 Mini-Me com.apple.ScreenSharing.server[40292]: Thu Apr 3 14:27:18 Mini-Me.local AppleVNCServer[40292] <Warning>: CGSDisplayServerShutdown: Detaching display subsystem from window server
Apr 3 14:27:18 Mini-Me com.apple.launchd[40284] (com.apple.AirPortBaseStationAgent[43007]): Exited: Terminated
Apr 3 14:27:18 Mini-Me com.apple.launchd[40284] (com.apple.UserEventAgent-Aqua[40295]): Exited: Terminated
Apr 3 14:27:18 Mini-Me com.apple.launchd[40284] (com.apple.pboard[40297]): Exited: Terminated
Apr 3 14:27:18 Mini-Me com.apple.launchd[40284] (com.apple.Spotlight[43006]): Exited: Terminated
Apr 3 14:27:18 Mini-Me com.apple.launchd[40284] (com.apple.ScreenSharing.server[40292]): Exited: Terminated
Apr 3 14:27:19 Mini-Me loginwindow[43005]: Login Window Started Security Agent
Apr 3 14:27:42 Mini-Me AppleVNCServer[43012]: CGSCreateKeyboardEvent is obsolete; please use CGSCreateKeyboardEventOfLength
Apr 3 14:27:42 Mini-Me com.apple.ScreenSharing.server[43012]: Thu Apr 3 14:27:42 Mini-Me.local AppleVNCServer[43012] <Warning>: CGSCreateKeyboardEvent is obsolete; please use CGSCreateKeyboardEventOfLength
Apr 3 14:27:47 Mini-Me authorizationhost[43016]: MechanismInvoke 0x12cdf0 retainCount 2
Apr 3 14:27:47 Mini-Me SecurityAgent[43018]: MechanismInvoke 0x182860 retainCount 1
Apr 3 14:27:48 Mini-Me SecurityAgent[43018]: NSSecureTextFieldCell detected a field editor ((null)) that is not a NSTextView subclass designed to work with the cell. Ignoring...
Apr 3 14:27:48 Mini-Me SecurityAgent[43018]: NSExceptionHandler has recorded the following exception:\nNSRangeException -- *** -[NSCFArray objectAtIndex:]: index (0) beyond bounds (0)\nStack trace: 0x39dbc 0x91da576c 0x928b2e04 0x928b2e3c 0x95e53bbc 0x70698 0x5bf20 0x6eaa8 0x636cc 0x5f32c 0x68038 0x76ec4 0xe068 0x14200 0x13f64 0xdb58 0x95e8afe8 0x92823790 0x928458c0 0x962393a8 0x962391cc 0x9623900c 0x91ebb3c0 0x91ebad88 0x91eb4a44 0x11e14 0x2db0
Apr 3 14:27:49 Mini-Me loginwindow[43005]: Login Window - Returned from Security Agent
Apr 3 14:27:49 Mini-Me authorizationhost[43016]: MechanismDestroy 0x12cdf0 retainCount 2
Apr 3 14:27:49 Mini-Me AppleVNCServer[43012]: CGSShutdownServerConnections: Detaching application from window server
Apr 3 14:27:49 Mini-Me com.apple.ScreenSharing.server[43012]: Thu Apr 3 14:27:49 Mini-Me.local AppleVNCServer[43012] <Warning>: CGSShutdownServerConnections: Detaching application from window server
Apr 3 14:27:49 Mini-Me AppleVNCServer[43012]: CGSDisplayServerShutdown: Detaching display subsystem from window server
Apr 3 14:27:49 Mini-Me com.apple.ScreenSharing.server[43012]: Thu Apr 3 14:27:49 Mini-Me.local AppleVNCServer[43012] <Warning>: CGSDisplayServerShutdown: Detaching display subsystem from window server
Apr 3 14:27:49 Mini-Me com.apple.launchd[1] (com.apple.UserEventAgent-LoginWindow[43013]): Exited: Terminated
Apr 3 14:27:49 Mini-Me SecurityAgent[43018]: MechanismDestroy 0x182860 retainCount 1
Apr 3 14:27:49 Mini-Me SecurityAgent[43018]: HIToolbox: received notification of WindowServer event port death.
Apr 3 14:27:49 Mini-Me SecurityAgent[43018]: port matched the WindowServer port created in BindCGSToRunLoop
Apr 3 14:27:49 Mini-Me ManagedClient[43011]: CGSShutdownServerConnections: Detaching application from window server
Apr 3 14:27:49 Mini-Me ManagedClient[43011]: CGSDisplayServerShutdown: Detaching display subsystem from window server
Apr 3 14:27:49 Mini-Me com.apple.launchd[1] (com.apple.ScreenSharing.server[43012]): Exited: Terminated
Apr 3 14:33:14 Mini-Me servermgrd[72]: servermgr_accounts: got error -14136 trying to write config record Quote:
Louis L'Amour, “To make democracy work, we must be a nation of participants, not simply observers. One who does not vote has no right to complain.” Visit our archived Minecraft world! | Maybe someday I'll proof read, until then deal with it. |
||
quote |
Lord of the Rant.
Formerly turtle2472 Join Date: Mar 2005
Location: Upstate South Carolina
|
Directory Service Log
Code:
2008-02-29 21:39:42 EST - T[0xF0103000] - Attempt #1 to initialize plug-in PasswordServer failed.
Will retry initialization at most 100 times every 1 second. |
quote |
Wait what
Join Date: Feb 2005
Location: El Dorado County, California
|
Hrm...I'm guessing the issue *might* be related to this line:
Code:
Apr 3 14:33:14 Mini-Me servermgrd[72]: servermgr_accounts: got error -14136 trying to write config record Unfortunately, I have been able to find virtually nothing on Google for that particular error message. I'm digging through Apple's Server support pages, but haven't found anything yet. (It doesn't help that the Open Directory section of Apple Discussions is down at the moment...) |
quote |
Lord of the Rant.
Formerly turtle2472 Join Date: Mar 2005
Location: Upstate South Carolina
|
Yeah, I noticed that this memory leak causing my VM to overtake my local HDD completely might have been the culprit. I was having it auto-login my user account with iTunes open to serve as a iTunes sharing point, but I removed that just in case it's where the issue with causing my VM to fill over 17GB remaining on my local HDD.
This would frequently cause me to have to reboot just to gain back my free space on the drive from the VM. I wonder if this caused the error when I rebooted it sometime on the 1st? Louis L'Amour, “To make democracy work, we must be a nation of participants, not simply observers. One who does not vote has no right to complain.” Visit our archived Minecraft world! | Maybe someday I'll proof read, until then deal with it. |
quote |
Lord of the Rant.
Formerly turtle2472 Join Date: Mar 2005
Location: Upstate South Carolina
|
I was going through my logs and it seems like the issue came on the 31st. Here are the logs in a single zip. I'ts be great if we can get this figured out and I can do it without having to restore completely or just starting over with my users and groups.
Louis L'Amour, “To make democracy work, we must be a nation of participants, not simply observers. One who does not vote has no right to complain.” Visit our archived Minecraft world! | Maybe someday I'll proof read, until then deal with it. |
quote |
Wait what
Join Date: Feb 2005
Location: El Dorado County, California
|
Do you have any logs going back further than the 31st? The set you posted shows that the system is already pretty much borked right from the start. (I'd be willing to bet that the system tried to write to the directory service database, the write failed due to running out of space, and the database was left in an unusable state.
If we could find out which file/directory the Open Directory database is kept in, you could try selectively restoring that from a Time Machine backup from before the symptoms showed up. |
quote |
Wait what
Join Date: Feb 2005
Location: El Dorado County, California
|
I'm not exactly certain how your Time Machine backup folders are setup, but I found an article on Peachpit's website on manually backing up and restoring Open Directory on OS X Server. You might try giving that a read and see if you can find the applicable files/folders on your Time Machine drive (on a backup completed before 3/31, that is).
|
quote |
Lord of the Rant.
Formerly turtle2472 Join Date: Mar 2005
Location: Upstate South Carolina
|
Thanks...I'll start looking to restore from that point back.
|
quote |
Lord of the Rant.
Formerly turtle2472 Join Date: Mar 2005
Location: Upstate South Carolina
|
That link was awesome. I just restored my /etc/openldap folder from TM and it loaded everything up perfectly! No full restore, just that folder. I'd give you another cookie but it won't let me.
Louis L'Amour, “To make democracy work, we must be a nation of participants, not simply observers. One who does not vote has no right to complain.” Visit our archived Minecraft world! | Maybe someday I'll proof read, until then deal with it. |
quote |
‽
|
|
quote |
Lord of the Rant.
Formerly turtle2472 Join Date: Mar 2005
Location: Upstate South Carolina
|
You have no idea how bad it sucked! I never realized how much tied into the directory service. Thankfully it didn't effect the local user accounts, but it still sucked. It was a moment when I realized how little I know about Macs.
Louis L'Amour, “To make democracy work, we must be a nation of participants, not simply observers. One who does not vote has no right to complain.” Visit our archived Minecraft world! | Maybe someday I'll proof read, until then deal with it. |
quote |
Lord of the Rant.
Formerly turtle2472 Join Date: Mar 2005
Location: Upstate South Carolina
|
Man, SpecMode I'd give you another cookie because it happened again and I had to refer back to here just to figure it out again.
My users and groups are back though. I had to restore my server using Time Machine but the LDAP stuff didn't restore. Weird. Louis L'Amour, “To make democracy work, we must be a nation of participants, not simply observers. One who does not vote has no right to complain.” Visit our archived Minecraft world! | Maybe someday I'll proof read, until then deal with it. |
quote |
Posting Rules | Navigation |
|
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
a question about where to 'save'? | ironlung | Apple Products | 12 | 2005-02-03 12:29 |