Skip navigation

can't index files

1211 Views 29 Replies Latest reply: Feb 4, 2013 10:54 PM by Topher Kessler RSS
1 2 Previous Next
stevefromgladstone Level 1 Level 1 (0 points)
Currently Being Moderated
Feb 2, 2013 9:36 PM

Hello, my search doesn't work any more.  When I click "All my files" in finder, it's empty.  I've tried to add my hard drive to the Privacy window as others have advised, but I get a Privacy Error when attempting to add the hard drive, "The item couldn't be added or removed because of an unknown error."

 

The search also does not work in imail as well.

 

Running

OS X 10.8.2 (12C60)

 

Server OS

 

Any thoughts anyone?

  • Linc Davis Level 10 Level 10 (107,945 points)
    Currently Being Moderated
    Feb 2, 2013 11:56 PM (in response to stevefromgladstone)

    If you have more than one user account, these instructions must be carried out as an administrator.

     

    Launch the Console application in any of the following ways:

     

    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)

     

    ☞ In the Finder, select Go Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.

     

    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.

     

    Step 1

     

    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left.

     

    Enter "mdworker" (without the quotes) in the Filter text field. Select the most recent 50 or so messages that appear in the Console window. Copy them (command-C) to the Clipboard. Paste (command-V) into a reply to this message.

     

    If there are long runs of repeated messages, post only one example of each. Don't post many repetitions of the same message.

     

    When posting a log extract, be selective. Don't post more than is requested.

    Please do not indiscriminately dump thousands of lines from the log into this discussion.

     

    Some personal information, such as the names of your files, may be included — anonymize before posting.

     

    Step 2

     

    Do the same with the search string "mds".

  • Linc Davis Level 10 Level 10 (107,945 points)
    Currently Being Moderated
    Feb 3, 2013 9:43 AM (in response to stevefromgladstone)

    Launch the Activity Monitor application in the same way you launched Console.

     

    Select All Processes from the menu in the toolbar, if not already selected.

      

    In the search field (a text box with a magnifying-glass icon), enter "mdw" (without the quotes.)

     

    Are there any entries named "mdworker" in the process table?

  • Linc Davis Level 10 Level 10 (107,945 points)
    Currently Being Moderated
    Feb 3, 2013 10:24 AM (in response to stevefromgladstone)

    Did you use some kind of "utility" such as "Spotless" to disable Spotlgiht?

  • Linc Davis Level 10 Level 10 (107,945 points)
    Currently Being Moderated
    Feb 3, 2013 11:40 AM (in response to stevefromgladstone)

    If you have more than one user account, you must be logged in as an administrator to carry out these instructions.

     

    Triple-click anywhere in the line below to select it:

     

    sudo launchctl list | grep metadata

     

    Copy the selected text to the Clipboard (command-C).

     

     

    Launch the Terminal application in any of the following ways:

     

    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)

     

    ☞ In the Finder, select Go Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.

     

    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.

     

    Paste into the Terminal window (command-V). You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up. You don't need to post the warning. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.

    Post any lines of output that appear below what you entered — the text, please, not a screenshot.

  • Linc Davis Level 10 Level 10 (107,945 points)
    Currently Being Moderated
    Feb 3, 2013 6:44 PM (in response to stevefromgladstone)

    Please enter the following command in the same way as before, and post the output:

     

    mdutil -as

  • Linc Davis Level 10 Level 10 (107,945 points)
    Currently Being Moderated
    Feb 3, 2013 9:11 PM (in response to stevefromgladstone)

    Please read this whole message before doing anything.

    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.

    The purpose of the test is to determine whether your problem is caused by third-party system modifications that load automatically at startup or login.

     

    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode* and log in to the account with the problem. The instructions provided by Apple are as follows:
    • Shut down your computer, wait 30 seconds, and then hold down the shift key while pressing the power button.
    • When you see the gray Apple logo, release the shift key.
    • If you are prompted to log in, type your password, and then hold down the shift key again as you click  Log in.
    *Note: If FileVault is enabled under OS X 10.7 or later, or if a firmware password is set, or if the boot volume is a software RAID, you can’t boot in safe mode.

     

    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including wireless networking on certain Macs.  The next normal boot may also be somewhat slow.

    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.

     

    Test while in safe mode. Same problem?

     

    After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

1 2 Previous Next

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.