Restarting of SQL services

Hi
having a problem to restart my SQL services and its give me this error-
FCB::Open failed: Could not open file E:\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER2\MSSQL\DATA\mastlog.ldf for file number 2.  OS error: 5(failed to retrieve text for this
error. Reason: 15105).
have also logon as admin to the server but this does not work
Tx

I check that, it does have permission, I even logon as local admin still not working
Its not with which account you log into windows machine. Like I said above its about account running SQL Server service. Can you change account to local System and start SQL Server service. Although its not good practice to run SQL Server account with local
system but since its urgent you can make exception
After that create a domain account with privileges mentioned in below article. Article is big you need to be patient with it.
http://msdn.microsoft.com/en-us/library/ms143504.aspx
Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
My Technet Articles

Similar Messages

  • TempDB - 70GB (70GB free space) but cant shrink DB, restarted SQL - Service - still 70GB ... what can i do ?

    Hello Guys i've got a little problem here... because of some year end jobs the tempdb has grown up to 70GB. But from the 70GB only 4MB are used... i tried to shrink it down to 5gb (was in the beginning 5gb) didn't work... loging in in single user mode and
    then tried to shrink it, didn't work... i restarted the sql service... tempDB still 70GB...
    What else could i do ?
    Has someone experienced this problem already ? Thanks for your help
    Regards, Dominic

    CAn you try the below steps?
    1)DBCC SHRINKFILE ('tempdev', 1024)
    The query executed successfully but the size of the database did not change.
    2)SELECT * FROM sys.dm_exec_requests WHERE database_id = 2
    No open transactions! Alright, any process holding locks on tempdb?
    3)select * from sys.dm_tran_locks where resource_database_id= 2
    No locks! There was a mention of sys.dm_db_session_space_usage DMV which helps to track the number of page allocation and deallocation by each session on the instance. Hence tried my luck with this query.
    4)select * from sys.dm_db_session_space_usage where user_objects_alloc_page_count<> 0
    Any session would use tempdb for creating some temporary objects. Since the database was not shrinking, obviously some user defined tables would be there
    5)SELECT * FROM tempdb..sys.all_objectswhere is_ms_shipped = 0
    Check for user tables on tempdb
    After performing all the above steps, Space is big constraint than execute the below command to freeup the cache.
    6)DBCC FREEPROCCACHE
    This should free up tempdb
    7)DBCC SHRINKFILE ('tempdev', 1024)
    If this doesn't help then restart the sql server.
    --Prashanth

  • Sql services are not able to start in server

    We have rebooted inactive the server due to rolling maintenance.
    Sql is not running and sql services are not able to start. Getting the below error message while starting the services.
    please suggest how to fix?

    Could you try:
    To resolve the problem, use these steps:
    Change the startup account of both the MSSQLSERVER and SQLServerAgent to use the Local System account.
    Restart the computer.
    https://support.microsoft.com/en-us/kb/307288
    Or check  NetLogon service is running

  • How to stop sql services and sql agent services on multiple servers

    Looking for a t-sql/powershell script to stop/start sql services on multiple servers. Plan is to execute script from centralized server.
    Rahul

    see
    http://www.databasejournal.com/features/mssql/article.php/3644906/Automatically-Stopping-and-Restarting-SQL-Server.htm
    http://sqlpowershell.wordpress.com/2013/04/11/powershell-check-start-and-stop-sql-services-of-a-remote-servers/
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Too high TimeDataRetrieval(15 mins) of a report is making us restart the reporting services

    Hi,
    We have an SSRS report which is taking less than a minute to open on development server. Same report on production server is taking more than 15 minutes to retrieve the data; rendering and processing time is very small comparatively which is not an
    issue. When we restart the reporting services on the production server, retrieval time is reducing from 15 minutes to less than a minute.
    Please help us in rectifying this critical issue.
    Thanks in advance.
    Regards,
    Simple Living, High Thinking.. :)

    Hi RamukNarik,
    Sorry for my delay.
    In SQL Server Reporting Services (SSRS), TimeDataRetrieval is includes time spent opening connections to the data source and time spent reading data rows from the data extension.
    If a report has multiple data sources/data sets that can be executed in parallel, TimeDataRetrieval contains the duration of the longest DataSet, not the sum of all DataSets durations.  If DataSets are executed sequentially, TimeDataRetrieval contains
    the sum of all DataSet durations.
    If the TimeDataRetrieval is high, the data source could be a bottleneck, or the queries retrieve lots of data.  If the there is a high RowCount, lots of data is being retrieved - we might want to review the dataset queries.  If high volumes of
    data are grouped, sorted, and aggregated, high EstimatedMemoryUsageKB values for Processing are very likely. More detail information you can refer to these articles about
    Analyzing and Optimizing Reports and
    Troubleshooting Report Performance.
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • SQL Service monitoring

    Hi Experts
    I have a very basic question on SQL Server 2005&2008 service monitoring. We have SCCM 2012 in our environment and i would like to know if SCCM 2012 has the capability to monitor/ to know all the SQL Services(SQL,SQLAgent,FTS,SSAS,SSRS,SSIS) are
    available and are up and running. Send out an email if the services are rebooted/restarted.
    -Pradeep.

    Might ask them over here.
    http://social.technet.microsoft.com/Forums/en-US/category/systemcenter2012configurationmanager
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • HT1339 My ipod was not recognized by itunes and not does not power on after I restarted the ipod service in the Windows admin tools. I cannot restore the ipod since it is not recognized by my PC now. Any suggestions?

    My ipod was not recognized by itunes and not does not power on after I restarted the ipod service in the Windows admin tools. I cannot restore the ipod since it is not recognized by my PC now. Any suggestions?

    Time to replace it: $49 2nd Gen shuffle at online Apple Store...

  • List of sql services required for deployment server?

    What are the role of list of sql services in case of BizTalk, like notification service is required for BAM.
    Along with can any one let me know the minimum services of SQL required on production.
    1.Database Engine Services
     SQL Server Replication
      Full-Text Search
    2.Analysis Services
    3.Reporting Services
    4.Shared Features
     Business Intelligence Development Studio
     Client Tools Connectivity
     Integration Services
     Management Tools – Basic
    Is it mandatory to install  analysis, integration services on production server.
    Please suggest!
    Fred

    Sorry, that is not correct.  SQL components beyond Database Services are required in most circumstances.
    It's important you understand what to install based on your application requirements.
    The definitive guides can be found here:
    BizTalk Server 2009:
    http://www.microsoft.com/en-us/download/details.aspx?id=4066
    BizTalk Server 2010:
    http://msdn.microsoft.com/en-us/library/aa561167.aspx
    BizTalk Server 2013:
    http://msdn.microsoft.com/en-us/library/jj248688(v=bts.80).aspx
    As a matter of practice, I always install all BizTalk realted SQL Server features, even if they are not used.  This is for consistency across environments, reliable patching and to accomodate any future BizTalk app features.

  • Sql Service and Databases won't start on two of my databases SQl 2005

    getting the errors below
    In Event viewer I have Event ID 17120 SQL Server Could not Spawn FRuncm thread check the sql server error log and the windows event logs for information about possible related problems.
    Event id 17826 Could not start the Network Library because of an internal error in the netwpork library. To determine the cause review the errors immediately preceding this one in the error log.
    Also Event id 17182 TDSSN1 Client initialization failed with error 0x2,
    status code 0x1
    I think this post could help me but I do not know
    what is the domain login account for the SQL service is in sql 2005.
    Please see the post below
    1. added our domain login account for the SQL service to the local group SQLServer2005MSSQLUser$HSPCSVR03$MSSQLSERVER
    2. added the domain login account for the Agent service to SQLServer2005SQLAgentUser$HSPCSVR03$MSSQLSERVER
    3. added both accounts to the local computer Administrators group.
    4. deleted C:\Documents and Settings\<user>\Application Data\Microsoft\Microsoft SQL Server\90\Tools\Shell\mru.dat.I hope someone can help me with this. this broken Backup exec Database
    has become a nightmare. Two of the sql databases, both the bkup exec one and one called MS SQlserver will not start under services and the local system account or the Administrator account.
    Droid Hacker

    Hello,
    Did you refer to the folloing blog to troubleshooting this issue?
    Error Messages of SQL Server 2005 Start Up Failure
    According to the blog above, "TDSSNIClient initialization failed with error 0x2" , 0x2 is the OS error. Typing "net helpmsg 2" in command prompt return:The system cannot find the file sepcify. Status code 0x1 is general status code. You can review error
    log which start from error:17182 in SQL Server error log and mapping status code to specific problem.
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • SQL 2005 Setup on Win7 Ultimate [No SQL Services after installation]

    Win 7 Ultimate (64bit)
    4GB RAM
    New installation of Win 7 Ultimate
    Re-installation of SQL: Originally SQLExpress which didn't work out so I went to SQL2005 Standard Edition SP1 & updated to SQL2005 SP4.  I installed Visual Studio 2005 during the SP1 installation.  Actually, I installed all SQL2005 components
    'just in case'.
    I had attempted, unsuccessfully, to install SQLExpress so I uninstalled all SQLExpress components via Programs and Features, removed all SQL related directories and subdirectories in c:\Program Files (x86)\SQL.... and started the DVD setup.exe installation. 
    [I didn't do a RegEdit32!] 
    Uniquely, During installation of SQL2005, I wasn't asked for the SQL Product Key nor whether the mode was Windows or Mixed (I want Mixed Mode).  Now, after rebooting with all MS updates (Win7 and SQL2005) I don't see any SQL services even though the
    Microsoft SQL Server 2005, Backward compatibility and Books etc are listed as installed under Programs and Features.  IIRC, I saw a message regarding ASP.Net for 64bit being installed but some issues on the 32bit not being installed (warning message).
    So, how do I get the necessary SQL 2005 services installed and get SQL functional???  I'm open to a complete re-install if necessary.  My original DVD is SQL2005 Standard Edition SP1, fyi.
    THANKS!

    1) SQL Server Configuration Manager?  Yes, I do under "Configuration Tools"  When selecting this and going into SQL Server 2005 Services I get "There are no items to show in this view".
    2) Exact SQL Server edition? From Help of SQL Server Configuration Manager: 2005.090.5000.00
    3) Compact Edition installed?  I used the SQL2005 SP1 Standard Edition DVD and then selected setup.exe.  If you'd like for me to uninstall SQL and reinstall I will (including removing appropriate SQL Server directories).  I'd remove the RegEdit
    entries but I don't know where/what they are.  [[Note!: See #4 below where under Server Type I see "SQL Server Compact Edition  ... as well as Database Engine, Analysis Services, Reporting Services and Integration Services]
    4) ??: Since I can't get into SQL Server Management Studio.  I get "Cannot connect to XYZ02" "A network-related or instance specific error occurred while establishing a connection to SQL server.  The server was not found or was not accessible. 
    Verify that the instance name is correct and that SQL Server is configured to allow remote connections.  (Provider: Named Pipes Provider, error:40- Could not open a connection to SQL server) (Microsoft SQL server, Error:2)"  [Note: XYZ02 is the name
    of the laptop and I used: Server Type: Database Engine; Server Name: XYZ02 (I had to enter as it wasn't listed); Authentication: Windows Authentication
    So, suggestions... looks like I DO have Compact Edition?  Thoughts?????
    Thanks
    BTW, I have another 64bit laptop (same mfr/model but with 8GB vs this 4GB under 64bit Win7 Ultimate) that runs SQL fine.  Been running SQL 2005 on it for 3-4+ years.

  • SQL Command to Start/Stop SQL services for multiple server

    From Central server I want to Start/Stop SQL services and SQL Agent service. Is there any SQL command which I can execute on query analyzer which can Start/Stop SQL services?
    Rahul

    See command line options here using net start
    http://msdn.microsoft.com/en-IN/library/hh403394.aspx
    You can invoke them using xp_cmdshell from management studio as
    ie like below for default instance
    EXEC xp_cmdshell 'net start MSSQLSERVER'
    EXEC xp_cmdshell 'net start SQLSERVERAGENT'
    etc
    and below for named instance
    EXEC xp_cmdshell 'net start MSSQLSERVER$instancename'
    EXEC xp_cmdshell 'net start SQLSERVERAGENT$instancename'
    etc
    and use net stop for stopping services
    EXEC xp_cmdshell 'net start MSSQLSERVER' EXEC xp_cmdshell 'net start SQLSERVERAGENT' etc
    EXEC xp_cmdshell 'net start MSSQLSERVER' EXEC xp_cmdshell 'net start SQLSERVERAGENT' etc
    EXEC xp_cmdshell 'net start MSSQLSERVER' EXEC xp_cmdshell 'net start SQLSERVERAGENT' etc
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • SQL Cluster 2008 RTM related issue- One of the Node is automatically disabiling the Agent XP's. However, all SQL Services are running

    Hi All,
    Please help. I am having a Prodution SQL 2008 RTM Cluster with two nodes-where node 1 works without any problem.However, if i failover to node 2-Agent xp's are disabled automatically. When i verify the SQL Services are node 2 are running fine.
    Checked Agent.out file which did not give much info than below:
    2012-09-09 08:00:12 - + [162] Internal request (from SetJobNextRunDate [reason: schedule will not run again]) to deactivate schedule 47
    2012-09-15 06:50:30 - ? [131] SQLSERVERAGENT service stopping due to a stop request from a user, process, or the OS...
    2012-09-15 06:50:41 - ? [098] SQLServerAgent terminated (normally)
    I have verified that hardware and software of both nodes are identical. Still ,this issue persists always.
    Please let me know the solution for this. it really pressurise on Production having one node active and other not active.
    Harithasri

    sp_configure 'show advanced options', 1;
    GO
    RECONFIGURE;
    GO
    sp_configure 'Agent XPs', 1;
    GO
    RECONFIGURE
    GO
    Are the SQL Agent running under the same accounts?
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Blog:
    Large scale of database and data cleansing
    MS SQL Consultants:
    Improves MS SQL Database Performance

  • SQL SERVICES ARE MISSING IN CONFIGURATION MANAGER

    hi
    We have recently migrated SQL2008 to SQL2012 enterprise edition on WINDOWS 2012,and everything is running fine.
     Today i have just opened SQLCONFIGURATIONMANAGER for normal services checkup,but i couldn't find any SQL services in it expect integration services.i have checked in SERVICES.MSC and all services are running, this happened suddenly before it was alright(i
    could see all the services)could some one please help me in finding the reason for sudden missing of the SQL services in CONFIGURATION MANAGER and way to get them back.
    cheers

    OK, so that is strange enough and looks like permissions issue with the WMI. There is an article for SQL 2008R2, which you can check and see if the solution helps you somehow - http://www.mssqltips.com/sqlservertip/2492/why-is-sql-server-configuration-manager-missing-services/
    Ivan Donev MCT and MCSE Data Platform

  • How to schedule restart of multiple services in Windows Server?

    I want to schedule a weekly restart of multiple services on a Windows Server.
    There are steps/sequence involved in the manual restart of these services.
    Step 1) Stopping services one after another in a particular sequence.
    Step 2) Starting all services in exactly reverse manner (Last one first & so on).
    Please suggest how this can be done & kindly explain tasks clearly.
    Thank You..!!

    Have a look a the powershell cmdlets for stopping and starting an service:
    Stop-Service and
    Start-Service
    and put in an powershell script, e. g.:
    Stop-Service -Name Service1
    Stop-Service -Name Service2
    Stop-Service -Name Service3
    Start-Service -Name Service3
    Start-Service -Name Service2
    Start-Service -Name Service1
    then you can put this into an scheduled task.

  • Could not start SQL services (Plz help me)

    I logged in windows with an administrator account, but I could not start sql services. Here is the newest log file, please help me to fix it. Thank in advanced.
    2014-10-02 16:17:49.06 Server      Microsoft SQL Server 2005 - 9.00.1399.06 (Intel X86) 
    Oct 14 2005 00:33:37 
    Copyright (c) 1988-2005 Microsoft Corporation
    Developer Edition on Windows NT 5.1 (Build 2600: Service Pack 3)
    2014-10-02 16:17:49.06 Server      (c) 2005 Microsoft Corporation.
    2014-10-02 16:17:49.06 Server      All rights reserved.
    2014-10-02 16:17:49.06 Server      Server process ID is 3888.
    2014-10-02 16:17:49.06 Server      Logging SQL Server messages in file 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG'.
    2014-10-02 16:17:49.06 Server      This instance of SQL Server last reported using a process ID of 1104 at 10/2/2014 4:07:13 PM (local) 10/2/2014 9:07:13 AM (UTC). This is an informational message only; no user action is required.
    2014-10-02 16:17:49.06 Server      Registry startup parameters:
    2014-10-02 16:17:49.06 Server      
    -d C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\master.mdf
    2014-10-02 16:17:49.06 Server      
    -e C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG
    2014-10-02 16:17:49.06 Server      
    -l C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\mastlog.ldf
    2014-10-02 16:17:49.07 Server      SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required.
    2014-10-02 16:17:49.07 Server      Detected 2 CPUs. This is an informational message; no user action is required.
    2014-10-02 16:17:49.71 Server      Using dynamic lock allocation.  Initial allocation of 2500 Lock blocks and 5000 Lock Owner blocks per node.  This is an informational message only.  No user action is required.
    --The Anh--

    Hello,
    Can you tell us the status of the issue ? If you have found answer please post here so that it can help other members when needed. If You found answer in this thread please mark answer to the post and close the thread
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Articles

Maybe you are looking for