1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

W2K3 Takes time to boot

Discussion in 'Windows Server System' started by rajeshv, 2008/02/11.

  1. 2008/02/11
    rajeshv

    rajeshv Inactive Thread Starter

    Joined:
    2008/02/10
    Messages:
    4
    Likes Received:
    0
    Hi,

    When I try to start HTTP service from my windows service It hangs for 5 min.
    This behavior is seen only during system restart . When I installed IIS component. I don't see this behavior. Is there a way to know the drivers getting loaded during boot time and time taken by them to load.

    OS: Win2K3 + SP1

    Thanks,
    Rajesh
     
  2. 2008/02/14
    eannatone

    eannatone Inactive

    Joined:
    2004/12/16
    Messages:
    209
    Likes Received:
    1

  3. to hide this advert.

  4. 2008/02/15
    rajeshv

    rajeshv Inactive Thread Starter

    Joined:
    2008/02/10
    Messages:
    4
    Likes Received:
    0
    I have looked into links but I coudn't find any tool that logs time taken by the drivers/service to start. One more thing is there any dependency for HTTP service.

    Thanks,
    Rajesh
     
  5. 2008/02/18
    eannatone

    eannatone Inactive

    Joined:
    2004/12/16
    Messages:
    209
    Likes Received:
    1
    double click the service and goto the dependency tab.
     
  6. 2008/02/21
    rajeshv

    rajeshv Inactive Thread Starter

    Joined:
    2008/02/10
    Messages:
    4
    Likes Received:
    0
    Thanks, I know this information. Basically I want to know is there some undocumented stuff.

    This is the problem I am facing. I have written a windows service and my WCF webservice service is hosted in that. During service startup I tried to start "HTTP" kernel service using "StartService" API and it takes 5 min to return and this behavior is observed only during system restart. My windows service is set to automatic startup. Once my system is the "StartService" call doesn't take time to start HTTP service.
     
  7. 2008/02/22
    mflynn

    mflynn Inactive

    Joined:
    2002/08/14
    Messages:
    4,141
    Likes Received:
    9
    OK do the below to clarify your issue.

    Go into the event logs and (save if you want) then immediately reboot.

    Event logs are empty so after reboot only errors since the last restart are listed. Immediately check event logs post event logs here.

    Then set the service to Disabled clear the logs once again. Reboot and post these events.

    Let us know the differences of the boot time.

    Now go into services and start the service. Does it take long to start?

    We are assuming all works as it should as you only mentioned the long boot!

    Are there other issues.

    I would like to see a detailed view of your windows services so please do the below.

    Go here D/L WSF and install
    http://www.majorgeeks.com/Windows_Se...der_d4669.html

    Then to run
    paste the following 2 lines to the CMD prompt then hit enter twice

    C:\WINDOWS\system32\cmd.exe /c "C:\Program Files\Windows Service finder\wsf.exe" >c:\wsf.log
    notepad c:\wsf.log

    Remember to hit enter before exiting the cmd prompt.

    Copy and paste the log back to us.

    Mike
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.