Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

SEJU

macrumors member
Original poster
Dec 27, 2014
64
32
Europe
Hello,

we have/had a Mac Mini Server running. He is administered via screen-sharing. We encountered problems with LDAP / Open Directory and I was trying to unload a launched configuration via:

sudo launchctl unload /System/Library/LaunchDaemons/org.openldap.slapd.plist

when the screen-sharing session was interrupted. I had to shut down the server pressing the on/off button and connected him to a monitor in order to find out what went wrong.

Now he gets stuck at half the progress bar of the apple boot screen.

Starting in single user mode I can:
1) $ /sbin/fsck -fy
and get: "The volume ... Appears to be ok
The Volume was modified."
and:
2) $ /sbin/mount -uw /
after
exit
I get out:
Bootcachecontrol: Unable to open /var/db/Bootcache.playlist: no such file or directory
pfctl: the use of -f option, could result in flushing of rules present in main ruleset added by the system at startup.
See /etc/pf.config for further details.

no ALTQ support in kernel
ALTQ related functions disabled
pf enabled
net.inet.tcp.delayed_ack: 3 -> 2
bash: /etc/rc.installer_cleanup: No such file or directory.​


In Verbose i get:
** /dev/rdisk0s2 (NO WRITE)
** Root file system
Executing fsck_hfs (version hfs-285)
Warning: couldn't block sleep during cache update
Warning: proceeding w/o DiskArb
rebuilding //System/Library/Caches/com.apple.kext.caches/Startup/kernelcache
/dev/disk0s2 on / (hfs, local, journaled)
BootCacheControl: Unable rot open /var/db/BootCache.playlist: 2 No such file or directory
pfctl: Use of -f option, could result in flushing of rules
present in the main ruleset added by the system at startup.
See /etc/pf.conf for further details.

No ALTQ support in kernel
ALTQ related functions disabled
pf enabled
net.inet.tcp.delayed_ack: 3 -> 2
kern.maxfiles: 12288 -> 120000
bash: /etc/rc.installer_cleanup: No such file or directory​

We have only Server running on the machine, but it would be nice to save the configuration somehow.

1) Is there a way to repair the system from command line?
2) Can I simply copy the missing files from another system (kernelcache, Bootcache...)?
3) Can I install Yosemite from the recovery partition and keep the server installation?

I hope someone can help...
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.