Go Back   The macosxhints Forums > OS X Help Requests > System



Reply
 
Thread Tools Rate Thread Display Modes
Old 04-17-2012, 12:59 AM   #1
cb11
Guest
 
Posts: n/a
trouble running dscl in SUM (10.6.8)

Hi,

I'm having trouble running dscl in Single User Mode - iMac, running 10.6.8

When I try to run dscl, I get an error message prompting me to manually kickstart the launch daemons (launchctl load /System/Library/LaunchDaemons/com.apple.DirectoryServicesLocal.plist)

I do that, and it seems to work fine.

try a dscl command, and it prompts me to load the LaunchDaemons again.

if I try to reload them, I get told that it's already running, yet dscl won't work at all.

anybody else run into something like this?

all help appreciated.

CB
  Reply With Quote
Old 04-17-2012, 06:21 AM   #2
agentx
Hall of Famer
 
Join Date: Feb 2003
Location: Brighton, UK
Posts: 4,120
this is what i use.....

mount drive
Code:
mount -uw /
start directory services
Code:
launchctl load /System/Library/LaunchDaemons/com.apple.DirectoryServices.plist
run your commands or enter into dscl (interactive mode)

Note i am NOT loading the com.apple.DirectoryServicesLocal.plist as i think this gets loaded when you run first command and more than likely why it is not working even though logic would say you are working on the DirectoryServiceLocal node.

see if that works......but

For Lion (Now opendirectoryd)
http://support.apple.com/kb/HT4749?v...S&locale=en_US
agentx is offline   Reply With Quote
Old 04-17-2012, 06:42 AM   #3
acme.mail.order
League Commissioner
 
Join Date: Sep 2003
Location: Tokyo
Posts: 6,334
Quote:
Originally Posted by cb11
I'm having trouble running dscl in Single User Mode - iMac, running 10.6.8

Why?!?! What about your OS is so messed up that you need to deal with directory services at that level?
acme.mail.order is offline   Reply With Quote
Old 04-17-2012, 07:00 AM   #4
agentx
Hall of Famer
 
Join Date: Feb 2003
Location: Brighton, UK
Posts: 4,120
I use dscl in SUM for many admin tasks when things have gone south or users have cocked up things ;-)
agentx is offline   Reply With Quote
Reply

Tags
10.6.8, daemons, dscl, sum

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 04:19 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.