Answered SQL Server Services are not able to start

  • Tuesday, February 26, 2013 3:18 AM
     
     

    Hi Team,

    SQL Server services are not able start 

    Event Log Error:

    FCB::Open failed: Could not open file L:\Program Files\Microsoft SQL Server\MSSQL10_50.xxx\MSSQL\Data\templog.ldf for file number 2.  OS error: 2(The system cannot find the file specified.).

    Kindly suggest us.


    subu

All Replies

  • Tuesday, February 26, 2013 3:47 AM
     
     Proposed

    TempDB log and data files are recreated everytime the instance is re started. It appears like somehow the folder got deleted. If so, Please recreate the folder, you do not need to create any file inside it, just make sure you have the path " L:\Program Files\Microsoft SQL Server\MSSQL10_50.xxx\MSSQL\Data" and sql server service account can access it...

    Now, start the SQL service, tempdb will create its log there automatically....


    Hope it Helps!!


    • Edited by Stan210 Tuesday, February 26, 2013 3:51 AM
    • Proposed As Answer by Stuart R Fraser Wednesday, February 27, 2013 9:30 AM
    •  
  • Tuesday, February 26, 2013 5:26 AM
     
     

    Hi Team,

    Due to memory utilization 100% at that time using -f option one of my Engineer will we re-started the services.

    How can we put into back again please suggest us.

    Thanks in advance.


    subu

  • Tuesday, February 26, 2013 5:35 AM
     
     Answered
    you can go to the start up parameters and remove "-f" parameter and restart the sql server..  To go to Start up Parameters--> go to Configuration Manager-->right click on the sql server service and go to ---> Properties and you should see Start up parameters tab.. use caution while doing this..

    Hope it Helps!!

  • Tuesday, February 26, 2013 5:44 AM
     
     

    Hi

    I did as per your suggestion i got below Error:

    Error 3(The system cannot find the path specified.) occurred while opening file 'master.mdf' to obtain configuration information at startup. An invalid startup option might have caused the error. Verify your startup options, and correct or remove them if necessary.


    subu

  • Tuesday, February 26, 2013 5:47 AM
     
     Answered Has Code

    did you remove just '-f'? looks like you removed more stuff, you need to remove just the switch '-f'..please use caution while doing this....

    are you on sql 2008R2??

    After removing the "-f" switch in the startup parameters, you should have the following in the  field,

    -dE:\DATA\master.mdf;-eE:\MSSQL10_50.SQL2008R2\MSSQL\Log\ERRORLOG;-lE:\DATA\mastlog.ldf
    where the file paths should be the path your master mdf and ldf files and Errorlog. if your are missing these, please where these files areon your computer and give the correct path and restart the service,...it will work... switches -d,-E and -l should be there, just replace the filepath with yours...

    Hope it Helps!!





  • Tuesday, February 26, 2013 5:21 PM
     
     

    Hi Subu

    Stan already suggested the correct method but if you are still not clear, please refer explainition with screenshots SQL Server Service is not starting .


    Thanks
    Saurabh Sinha http://saurabhsinhainblogs.blogspot.in/
    Please click the Mark as answer button and vote as helpful if this reply solves your problem