The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,860 other subscribers

Archive for the ‘SpotLight’ Category

Mac: Restarting the Mac OS X Dock, Finder, Spaces or Menubar | Stefan Ernst

Posted by jpluimers on 2013/11/29

Only a few more posts left in my “Missed Schedule” backlog. This one was from September 28, and I just needed it again today as Spotlight had some visual leftovers on one of my VMware Fusion desktops.

Thanks to Stefan Ernst:

The Finder crashed:

killall -KILL Finder

The Dock,  DashBoard Widgets, or Spaces (on 10.5/10.6 – Leopard/Snow Leopard) crashed:

killall -KILL Dock

The Menubar crashed/refuses to be clickable, Spotlight misbehaves or some Menu Extra popup does not disappear:

killall -KILL SystemUIServer

One that I found myself: Read the rest of this entry »

Posted in Apple, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.4 Tiger, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, OS X 10.8 Mountain Lion, Power User, SpotLight | Leave a Comment »

Spotlight refuses to be enabled on Lion: reboot helped

Posted by jpluimers on 2013/06/24

When Spotlight on my MacBook Air that runs OS X Lion didn’t show any results from the file system any more, I tried a lot of options, but only the final one worked: reboot:


MacBookAir:/ SuperUser$ sudo mdutil -i off
Password:
MacBookAir:/ SuperUser$ ls -al /
MacBookAir:/ SuperUser$ sudo rm -R /.Spotlight-V100
MacBookAir:/ SuperUser$ sudo mdutil -E /
/:
No index.
MacBookAir:/ SuperUser$ sudo mdutil -i on /
/:
Error: unable to perform operation. (-400)
No index.
MacBookAir:/ SuperUser$ sudo mdutil -i on -E /
/:
Error: unable to perform operation. (-400)
No index.
MacBookAir:/ SuperUser$ sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
com.apple.metadata.mds: Already loaded
MacBookAir:/ SuperUser$ sudo mdutil -as
/:
No index.
/.MobileBackups:
No index.
/Volumes/Firefox:
Indexing disabled.
/Volumes/MobileBackups:
Index is read-only.
/Volumes/MobileBackups/Backups.backupdb:
Index is read-only.
/Volumes/Opera:
Indexing disabled.
MacBookAir:/ SuperUser$ reboot

It was only later that I found out maybe a simpeler solution would have worked: kill all of the mdworker processes like this:

MacBookAir:/ SuperUser$ sudo killall -9 mdworker

–jeroen

Spotlight refuses to be enabled on Lion – Super User.

Posted in Apple, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.7 Lion, MacBook, MacBook-Air, Power User, SpotLight | 1 Comment »

After restoring fresh HDD from Time Machine Backup: No results from Spotlight

Posted by jpluimers on 2012/01/02

My Mac Mini Server had its’ primary HDD failure. It got replaced by the iAmStore service center, but contrary to what they promised, they didn’t put the Snow Leopard Server image on it.

So I grabbed an external USB DVD player, booted from the Snow Leopard Server install DVD, and restored the Time Machine backup from my external USB HDD.

Somehow, after the restore, Spotlight wouldn’t work: only the search bar was visible, but nothing else.

I tried various tips all having to do with erasing Spotlight for my root volume (so it would be automatically be reindexed), or many-part steps including killing SystemUIServer, Clearing Caches and Rebooting.

In the end the most simple one worked: just “turn Spotlight indexing on”.

My assumption is that Spotlight information is not backed up, and during restore Spotlight is turned off because continuously reindexing during restore will make the restore slower.

If someone can confirm this (or deny and explain the real reason), please post a comment.

This was what user nkt00 had posted as solution on the Apple forum:

I figured it out. In the man page for “mdutil” (type: “man mdutil” at the terminal shell prompt), it describes the option “-i”, which turns indexing on or off for the specified volume. I just typed:

sudo mdutil -i on /

and away it went

This was the screen output:

Last login: Mon Oct 31 19:31:01 on ttys000
macminiserver01:~ jeroenp$ mdutil -s /
/:
No index.
macminiserver01:~ jeroenp$ sudo mdutil -i on /
Password:
/:
Indexing enabled.
macminiserver01:~ jeroenp$

Now I’m happily using my Mac Mini Server again.

--jeroen

via No results from Spotlight: Apple Support Communities.

Posted in Apple, LifeHacker, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, MacBook, Power User, SpotLight | 1 Comment »

OS X (Snow) Leopard System Profiler reincarnated as System Information in OS X Lion (via: OS X Lion: Reclaiming the System Profiler Application | TMO Quick Tip | The Mac Observer)

Posted by jpluimers on 2011/11/21

Not only Microsoft has the bad habit of removing or changing features between (for Apple often minor) operating system upgrades.
This time it is between 10.6 and 107: OS X Leopard, OS X Snow Leopard and OS X Server had a “System Profiler” application that would tell you all about the hardware present in and connected to your Mac.

It has been named “System Profiler” over more than a decade (actually it had almost 3 lustrums), bot no more: As of OS X Lion, this is called “System Information”, and has been redesigned.

Both quoted names can be easily found by using the Spotlight quick search (which I think is still one of the brilliant pieces of software in OS X).

–jeroen

Via: OS X Lion: Reclaiming the System Profiler Application | TMO Quick Tip | The Mac Observer.

Posted in Apple, Mac OS X / OS X / MacOS, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, Power User, SpotLight | Leave a Comment »