Active Directory is Rebuilding Indices

Discussion in 'Windows Small Business Server' started by Steven Cox, Feb 24, 2009.

  1. Steven Cox

    Steven Cox Guest

    Hello all,

    Active Directory is Rebuilding Indices (and driving me insane!).

    Any idea what this means? It's happened twice now in the past two months on
    a scheduled nightly reboot. It did happen once over a year ago. It's
    bothering me that it's happened twice.

    It just keeps running and never finishes whatever it is doing. We end up
    doing a hard boot and it runs just fine after that.

    Windows Small Business Server 2003 SP2.

    Steve
    --
    Making Technology Easier
    -
    Steven Cox
    Mectek Technology Resources
    Louisville, KY 40220
     
    Steven Cox, Feb 24, 2009
    #1
    1. Advertisements

  2. Hello,

    Thank you for posting here.

    According to your description, I understand that:

    In the past two months, the SBS 2003 server prompts the message "Active
    Directory is Rebuilding Indices" and hangs. It never finishes before you
    reset the server.

    If I have misunderstood the problem, please don't hesitate to let me know.

    Suggestions:
    ===========================

    There are two processes that are involved with the rebuilding indices
    message. Winlogon.exe and DBINIT. Winlogon is the messenger (it displays
    the rebuilding indices message) and it is waiting on a signal from DBINIT
    that the "rebuilding indices" process in completed

    During the startup process on a domain controller Winlogon will display
    "The Active Directory is rebuilding indices. Please wait..." Winlogon will
    wait indefinitely
    for DBINIT to signal that the rebuilding indices process in completed. If
    the signal from the DBINIT rebuilding indices process is already present
    when Winlogon
    messages "The Active Directory is rebuilding indices. Please wait..." you
    will probably not see the message as Winlogon will immediately move on and
    message "Preparing network connections...".
    To correct the issue, you may check:

    1.Make sure the Eventlog service is started.


    2. As the issue may be related to Password Change Notification Service
    (PCNS), please check whether KB 931211 has been installed on the SBS
    server. If not, you may get the update from:

    The AuthzInitializeContextFromSid function fails or the Microsoft Password
    Change Notification Service cannot synchronize password changes in Windows
    Server 2003
    http://support.microsoft.com/kb/931211

    3. In most instances you may add the Eventlog service as a dependency of
    RPCSS. This will cause RPCSS to start the Eventlog service and potentially
    eliminate the rebuilding indices wait. To do that:

    Under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RpcSs

    Add a Reg_Multi_Sz with the name as DependOnService the add to Eventlog to
    the data list for DependOnService

    4. Moreover, I'd like to know whether you set auditing on the HKLM key.
    There is a known issue that the message hangs due to excessive auditing.
    Please make sure that there is no auditing that i set to Everyone for
    Success and Failures on the HKLM key. If there is, you may have a test to
    check how it works if you remove it.

    As I mentioned above, the issue results from the between the two processes.
    So the best way troubleshoot a rebuilding indices issue is to collect a
    full dump of the machine and review the DBINIT function to determine what
    point in the function has been reached. Unfortunately, debugging is beyond
    what we can do in the forum. A suggestion would be to contact Microsoft
    Customer Service and Support (CSS) via telephone so that a dedicated
    Support Professional can assist with your request. Please be advised that
    contacting phone support will be a charged call.

    To obtain the phone numbers for specific technology request please take a
    look at the web site listed below:

    http://support.microsoft.com/default.aspx?scid=fh;EN-US;OfferProPhone#faq607

    I hope the problem will be resolved soon. Thank you for your time and
    cooperation!

    (Please note that the newsgroups are staffed weekdays by Microsoft Support
    professionals to answer your non-urgent, break/fix systems and applications
    questions. Our goal is to provide 24 hour response to all questions. If
    this response time does not meet your needs, please contact Customer
    Service and Support (CSS) for more immediate assistance. For more
    information on available CSS services, please click here:
    http://support.microsoft.com/default.aspx?scid=fh;EN-US;OfferProPhone#faq607
    .)

    Hope it helps. If you have any questions or concerns, please do not
    hesitate to let me know.





    Best regards,
    Miles Li

    Microsoft Online Partner Support
    Microsoft Global Technical Support Center

    Get Secure! - www.microsoft.com/security
    =====================================================
    When responding to posts, please "Reply to Group" via your newsreader so
    that others may learn and benefit from your issue.
    =====================================================
    This posting is provided "AS IS" with no warranties, and confers no rights.
     
    Miles Li [MSFT], Feb 25, 2009
    #2
    1. Advertisements

  3. Steven Cox

    Steven Cox Guest

    Thank you for your answer. I will try these things over the next few days. I
    won't be able to hang around after hours until tomorrow, so that's when I'll
    start checking things out.

    Steve
     
    Steven Cox, Feb 25, 2009
    #3
  4. Steven Cox

    Al Williams Guest

    Have you googled for ideas? I see one old post where a bad USB drive
    connected at boot was causing this (seems strange though).
     
    Al Williams, Feb 25, 2009
    #4
  5. Hello Steve,

    Thanks for the update.

    Please take your time to have the test. If you have any further questions
    or concerns, please do not hesitate to let me know. I will follow up as
    soon as possible.


    Best regards,
    Miles Li

    Microsoft Online Partner Support
    Microsoft Global Technical Support Center

    Get Secure! - www.microsoft.com/security
    =====================================================
    When responding to posts, please "Reply to Group" via your newsreader so
    that others may learn and benefit from your issue.
    =====================================================
    This posting is provided "AS IS" with no warranties, and confers no rights.
     
    Miles Li [MSFT], Feb 26, 2009
    #5
  6. Steven Cox

    Steven Cox Guest

    Miles,

    I applied the KB and did the Registry edit. One or the other will probably
    fix it. However you did ask if I had set auditing on the HKLM key. To be
    honest I wouldn't know how. Can you tell me how to check that?

    Thanks for your help!

    Steve
     
    Steven Cox, Mar 4, 2009
    #6
  7. Hello Steve,

    To check the auditing on HKLM key, you may:

    1. On the SBS server, run "regedit" to open the Registry Editor.
    2. Locate the HKEY_LOCAL_MACHINE and right
    click--->Permissions--->Advanced--->Auditing tab.
    3. Please verify whether there is any auditing entries. If yes, you may
    temporarily disable them to check how it works.

    Hope it helps. If you have any questions or concerns, please do not
    hesitate to let me know.


    Best regards,
    Miles Li

    Microsoft Online Partner Support
    Microsoft Global Technical Support Center

    Get Secure! - www.microsoft.com/security
    =====================================================
    When responding to posts, please "Reply to Group" via your newsreader so
    that others may learn and benefit from your issue.
    =====================================================
    This posting is provided "AS IS" with no warranties, and confers no rights.
     
    Miles Li [MSFT], Mar 5, 2009
    #7
  8. Steven Cox

    Steven Cox Guest

    Thanks Miles!

    I'm sure this will fix it.
     
    Steven Cox, Mar 5, 2009
    #8
  9. Hi Steven,

    I am glad that the information can be of assistance.

    You may keep monitoring this issue for a while. If you need any further
    assistance, please feel free to post back. It is always my pleasure to be
    of help.


    Best regards,
    Miles Li

    Microsoft Online Partner Support
    Microsoft Global Technical Support Center

    Get Secure! - www.microsoft.com/security
    =====================================================
    When responding to posts, please "Reply to Group" via your newsreader so
    that others may learn and benefit from your issue.
    =====================================================
    This posting is provided "AS IS" with no warranties, and confers no rights.
     
    Miles Li [MSFT], Mar 6, 2009
    #9
  10. Steven Cox

    Steven Cox Guest

    Thanks! So far so good. No problems of any kind on the server the past few
    weeks.

    I really appreciate the invaluable help!

    Steve
     
    Steven Cox, Mar 17, 2009
    #10
  11. Hello Steve,

    I'm glad to hear that things are working correctly for you now. The
    following is a general summary of the issue for your reference:

    Issue:
    ==========
    The SBS 2003 server prompts the message "Active Directory is Rebuilding
    Indices" and hangs.

    Cause:
    ==========
    The improper communication between two processes.

    Resolution:
    ==========
    Manually add the Eventlog service as a dependency of RPCSS. Check the
    auditing settings on HKLM key.

    Please do not hesitate to post in SBS newsgroup if you need any assistance
    in the future. I look forward to working with you again. Thanks.




    Best regards,
    Miles Li

    Microsoft Online Partner Support
    Microsoft Global Technical Support Center

    Get Secure! - www.microsoft.com/security
    =====================================================
    When responding to posts, please "Reply to Group" via your newsreader so
    that others may learn and benefit from your issue.
    =====================================================
    This posting is provided "AS IS" with no warranties, and confers no rights.
     
    Miles Li [MSFT], Mar 18, 2009
    #11
  12. My server is doing the same thing. SBS 2003 "Active Directory is Rebuilding Indices" my problem is that even a hard boot is not allowing me to get past this. What Can I do?



    v-milel wrote:

    Hello Steve,I'm glad to hear that things are working correctly for you now.
    18-Mar-09

    Hello Steve

    I'm glad to hear that things are working correctly for you now. The
    following is a general summary of the issue for your reference

    Issue
    =========
    The SBS 2003 server prompts the message "Active Directory is Rebuilding
    Indices" and hangs

    Cause
    =========
    The improper communication between two processes

    Resolution
    =========
    Manually add the Eventlog service as a dependency of RPCSS. Check the
    auditing settings on HKLM key

    Please do not hesitate to post in SBS newsgroup if you need any assistance
    in the future. I look forward to working with you again. Thanks


    Best regards
    Miles L

    Microsoft Online Partner Suppor
    Microsoft Global Technical Support Cente

    Get Secure! - www.microsoft.com/securit
    ====================================================
    When responding to posts, please "Reply to Group" via your newsreader so
    that others may learn and benefit from your issue.
    ====================================================
    This posting is provided "AS IS" with no warranties, and confers no rights.

    Previous Posts In This Thread:

    Active Directory is Rebuilding Indices
    Hello all

    Active Directory is Rebuilding Indices (and driving me insane!)

    Any idea what this means? It's happened twice now in the past two months on
    a scheduled nightly reboot. It did happen once over a year ago. It's
    bothering me that it's happened twice

    It just keeps running and never finishes whatever it is doing. We end up
    doing a hard boot and it runs just fine after that

    Windows Small Business Server 2003 SP2

    Stev
    --
    Making Technology Easie

    Steven Co
    Mectek Technology Resource
    Louisville, KY 40220

    Hello,Thank you for posting here.
    Hello

    Thank you for posting here

    According to your description, I understand that

    In the past two months, the SBS 2003 server prompts the message "Active
    Directory is Rebuilding Indices" and hangs. It never finishes before you
    reset the server

    If I have misunderstood the problem, please don't hesitate to let me know

    Suggestions
    ==========================

    There are two processes that are involved with the rebuilding indices
    message. Winlogon.exe and DBINIT. Winlogon is the messenger (it displays
    the rebuilding indices message) and it is waiting on a signal from DBINIT
    that the "rebuilding indices" process in complete

    During the startup process on a domain controller Winlogon will display
    "The Active Directory is rebuilding indices. Please wait..." Winlogon will
    wait indefinitely
    for DBINIT to signal that the rebuilding indices process in completed. If
    the signal from the DBINIT rebuilding indices process is already present
    when Winlogon
    messages "The Active Directory is rebuilding indices. Please wait..." you
    will probably not see the message as Winlogon will immediately move on and
    message "Preparing network connections..."
    To correct the issue, you may check

    1.Make sure the Eventlog service is started

    2. As the issue may be related to Password Change Notification Service
    (PCNS), please check whether KB 931211 has been installed on the SBS
    server. If not, you may get the update from

    The AuthzInitializeContextFromSid function fails or the Microsoft Password
    Change Notification Service cannot synchronize password changes in Windows
    Server 200
    http://support.microsoft.com/kb/93121

    3. In most instances you may add the Eventlog service as a dependency of
    RPCSS. This will cause RPCSS to start the Eventlog service and potentially
    eliminate the rebuilding indices wait. To do that

    Under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RpcSs

    Add a Reg_Multi_Sz with the name as DependOnService the add to Eventlog to
    the data list for DependOnService

    4. Moreover, I'd like to know whether you set auditing on the HKLM key.
    There is a known issue that the message hangs due to excessive auditing.
    Please make sure that there is no auditing that i set to Everyone for
    Success and Failures on the HKLM key. If there is, you may have a test to
    check how it works if you remove it.

    As I mentioned above, the issue results from the between the two processes.
    So the best way troubleshoot a rebuilding indices issue is to collect a
    full dump of the machine and review the DBINIT function to determine what
    point in the function has been reached. Unfortunately, debugging is beyond
    what we can do in the forum. A suggestion would be to contact Microsoft
    Customer Service and Support (CSS) via telephone so that a dedicated
    Support Professional can assist with your request. Please be advised that
    contacting phone support will be a charged call.

    To obtain the phone numbers for specific technology request please take a
    look at the web site listed below:

    http://support.microsoft.com/default.aspx?scid=fh;EN-US;OfferProPhone#faq607

    I hope the problem will be resolved soon. Thank you for your time and
    cooperation!

    (Please note that the newsgroups are staffed weekdays by Microsoft Support
    professionals to answer your non-urgent, break/fix systems and applications
    questions. Our goal is to provide 24 hour response to all questions. If
    this response time does not meet your needs, please contact Customer
    Service and Support (CSS) for more immediate assistance. For more
    information on available CSS services, please click here:
    http://support.microsoft.com/default.aspx?scid=fh;EN-US;OfferProPhone#faq607
    )

    Hope it helps. If you have any questions or concerns, please do not
    hesitate to let me know.





    Best regards,
    Miles Li

    Microsoft Online Partner Support
    Microsoft Global Technical Support Center

    Get Secure! - www.microsoft.com/security
    =====================================================
    When responding to posts, please "Reply to Group" via your newsreader so
    that others may learn and benefit from your issue.
    =====================================================
    This posting is provided "AS IS" with no warranties, and confers no rights.

    Thank you for your answer. I will try these things over the next few days.
    Thank you for your answer. I will try these things over the next few days. I
    will not be able to hang around after hours until tomorrow, so that is when I will
    start checking things out.

    Steve

    Have you googled for ideas?
    Have you googled for ideas? I see one old post where a bad USB drive
    connected at boot was causing this (seems strange though).

    --
    Allan Williams

    Hello Steve,Thanks for the update.Please take your time to have the test.
    Hello Steve,

    Thanks for the update.

    Please take your time to have the test. If you have any further questions
    or concerns, please do not hesitate to let me know. I will follow up as
    soon as possible.


    Best regards,
    Miles Li

    Microsoft Online Partner Support
    Microsoft Global Technical Support Center

    Get Secure! - www.microsoft.com/security
    =====================================================
    When responding to posts, please "Reply to Group" via your newsreader so
    that others may learn and benefit from your issue.
    =====================================================
    This posting is provided "AS IS" with no warranties, and confers no rights.

    Miles,I applied the KB and did the Registry edit.
    Miles,

    I applied the KB and did the Registry edit. One or the other will probably
    fix it. However you did ask if I had set auditing on the HKLM key. To be
    honest I wouldn't know how. Can you tell me how to check that?

    Thanks for your help!

    Steve


    Re: Active Directory is Rebuilding Indices
    Hello Steve,

    To check the auditing on HKLM key, you may:

    1. On the SBS server, run "regedit" to open the Registry Editor.
    2. Locate the HKEY_LOCAL_MACHINE and right
    click--->Permissions--->Advanced--->Auditing tab.
    3. Please verify whether there is any auditing entries. If yes, you may
    temporarily disable them to check how it works.

    Hope it helps. If you have any questions or concerns, please do not
    hesitate to let me know.


    Best regards,
    Miles Li

    Microsoft Online Partner Support
    Microsoft Global Technical Support Center

    Get Secure! - www.microsoft.com/security
    =====================================================
    When responding to posts, please "Reply to Group" via your newsreader so
    that others may learn and benefit from your issue.
    =====================================================
    This posting is provided "AS IS" with no warranties, and confers no rights.

    Thanks Miles!
    Thanks Miles!

    I am sure this will fix it.

    Hi Steven,I am glad that the information can be of assistance.
    Hi Steven,

    I am glad that the information can be of assistance.

    You may keep monitoring this issue for a while. If you need any further
    assistance, please feel free to post back. It is always my pleasure to be
    of help.


    Best regards,
    Miles Li

    Microsoft Online Partner Support
    Microsoft Global Technical Support Center

    Get Secure! - www.microsoft.com/security
    =====================================================
    When responding to posts, please "Reply to Group" via your newsreader so
    that others may learn and benefit from your issue.
    =====================================================
    This posting is provided "AS IS" with no warranties, and confers no rights.

    Thanks!
    Thanks! So far so good. No problems of any kind on the server the past few
    weeks.

    I really appreciate the invaluable help!

    Steve

    Hello Steve,I'm glad to hear that things are working correctly for you now.
    Hello Steve,

    I'm glad to hear that things are working correctly for you now. The
    following is a general summary of the issue for your reference:

    Issue:
    ==========
    The SBS 2003 server prompts the message "Active Directory is Rebuilding
    Indices" and hangs.

    Cause:
    ==========
    The improper communication between two processes.

    Resolution:
    ==========
    Manually add the Eventlog service as a dependency of RPCSS. Check the
    auditing settings on HKLM key.

    Please do not hesitate to post in SBS newsgroup if you need any assistance
    in the future. I look forward to working with you again. Thanks.




    Best regards,
    Miles Li

    Microsoft Online Partner Support
    Microsoft Global Technical Support Center

    Get Secure! - www.microsoft.com/security
    =====================================================
    When responding to posts, please "Reply to Group" via your newsreader so
    that others may learn and benefit from your issue.
    =====================================================
    This posting is provided "AS IS" with no warranties, and confers no rights.

    Hi Steven,I have similler probelm, but the situation is different.
    Hi Steven,

    I have similler probelm, but the situation is different. The Domain
    server is on Vmware and the base machine got rebooted unexpected. After
    that I started getting this message on my DC server. Please help me.


    --
    ashok_pawar
    ------------------------------------------------------------------------
    ashok_pawar's Profile: http://forums.techarena.in/members/85721.htm
    View this thread: http://forums.techarena.in/small-business-server/1129642.htm

    http://forums.techarena.in


    Submitted via EggHeadCafe - Software Developer Portal of Choice
    WPF Binding Beyond the Limitation of Name Scopes
    http://www.eggheadcafe.com/tutorial...f-49faac8854c8/wpf-binding-beyond-the-li.aspx
     
    Chris McNichols, Apr 26, 2010
    #12
  13. Resolution:
    ==========
    Manually add the Eventlog service as a dependency of RPCSS. Check the
    auditing settings on HKLM key.

    Did you do that?
     
    Susan Bradley, Apr 26, 2010
    #13
  14. Steven Cox

    shaikha1988 Guest

    Hi, please check if a bad usb drive is connected to a server or not as in my case usb drive was causing this strange issue.

    Regards,
    Afroz Shaikh
    System Admin
     
    shaikha1988, Apr 13, 2014
    #14
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.