Greetings Everyone,
I have an I/O problem that lead me to decide moving templog.ldf to another physical disk. I used this command :
use master
GO
ALTER DATABASE TempDB MODIFY FILE
( NAME = templog, FILENAME = 'd:datatemplog.ldf' )
GO
I restarted SQL Services to get the result but the services cannot be started. I have this error messages in event viewer :
The SQL Server (REMEDYDEV) service terminated with service-specific error The specified resource name cannot be found in the image file.
I also checked SQL ERRORLOG and get this error messages
2013-06-12 16:38:12.21 Server Microsoft SQL Server 2008 R2 (RTM) - 10.50.1600.1 (X64)Apr 2 2010 15:48:46
Copyright (c) Microsoft Corporation
Enterprise Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1) (Hypervisor)
2013-06-12 16:38:12.22 Server (c) Microsoft Corporation.
2013-06-12 16:38:12.22 Server All rights reserved.
2013-06-12 16:38:12.22 Server Server process ID is 4140.
2013-06-12 16:38:12.22 Server System Manufacturer: 'VMware, Inc.', System Model: 'VMware Virtual Platform'.
2013-06-12 16:38:12.22 Server Authentication mode is MIXED.
2013-06-12 16:38:12.22 Server Logging SQL Server messages in file 'C:\Program Files\Microsoft SQL Server\MSSQL10_50.REMEDYDEV\MSSQL\Log\ERRORLOG'.
2013-06-12 16:38:12.22 Server This instance of SQL Server last reported using a process ID of 2380 at 6/12/2013 4:33:53 PM (local) 6/12/2013 9:33:53 AM (UTC). This is an informational message only; no user action is required.
2013-06-12 16:38:12.22 Server Registry startup parameters:
-d C:\Program Files\Microsoft SQL Server\MSSQL10_50.REMEDYDEV\MSSQL\DATA\master.mdf
-e C:\Program Files\Microsoft SQL Server\MSSQL10_50.REMEDYDEV\MSSQL\Log\ERRORLOG
-l C:\Program Files\Microsoft SQL Server\MSSQL10_50.REMEDYDEV\MSSQL\DATA\mastlog.ldf
2013-06-12 16:38:12.25 Server SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required.
2013-06-12 16:38:12.25 Server Detected 2 CPUs. This is an informational message; no user action is required.
2013-06-12 16:38:12.30 Server Using locked pages for buffer pool.
2013-06-12 16:38:12.36 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.
2013-06-12 16:38:12.39 Server Node configuration: node 0: CPU mask: 0x0000000000000003:0 Active CPU mask: 0x0000000000000003:0. This message provides a description of the NUMA configuration for this computer. This is an informational message only. No user action is required.
2013-06-12 16:38:12.41 spid7s Starting up database 'master'.
2013-06-12 16:38:12.87 spid7s Resource governor reconfiguration succeeded.
2013-06-12 16:38:12.87 spid7s SQL Server Audit is starting the audits. This is an informational message. No user action is required.
2013-06-12 16:38:12.87 spid7s SQL Server Audit has started the audits. This is an informational message. No user action is required.
2013-06-12 16:38:12.90 spid7s FILESTREAM: effective level = 0, configured level = 0, file system access share name = 'REMEDYDEV'.
2013-06-12 16:38:12.99 spid7s SQL Trace ID 1 was started by login "sa".
2013-06-12 16:38:13.00 spid7s Starting up database 'mssqlsystemresource'.
2013-06-12 16:38:13.04 spid7s The resource database build version is 10.50.1600. This is an informational message only. No user action is required.
2013-06-12 16:38:13.43 Server The certificate [Cert Hash(sha1) "1125879FC9129C5F8D7B7630DEDE3A1C13568348"] was successfully loaded for encryption.
2013-06-12 16:38:13.43 spid10s Starting up database 'model'.
2013-06-12 16:38:13.43 Server Server is listening on [ xxx.xxx.xxx.xxx <ipv4> 1433].
2013-06-12 16:38:13.43 Server Server local connection provider is ready to accept connection on [ \\.\pipe\SQLLocal\REMEDYDEV ].
2013-06-12 16:38:13.43 Server Server named pipe provider is ready to accept connection on [ \\.\pipe\MSSQL$REMEDYDEV\sql\query ].
2013-06-12 16:38:13.43 Server Server is listening on [ ::1 <ipv6> 58949].
2013-06-12 16:38:13.43 Server Server is listening on [ 127.0.0.1 <ipv4> 58949].
2013-06-12 16:38:13.43 Server Dedicated admin connection support was established for listening locally on port 58949.
2013-06-12 16:38:13.43 spid7s Server name is 'MYSERVER\REMEDYDEV'. This is an informational message only. No user action is required.
2013-06-12 16:38:13.43 spid7s Informational: No full-text supported languages found.
2013-06-12 16:38:13.44 spid14s Starting up database 'ReportServer$REMEDYDEV'.
2013-06-12 16:38:13.44 spid15s Starting up database 'ReportServer$REMEDYDEVTempDB'.
2013-06-12 16:38:13.44 spid13s Starting up database 'msdb'.
2013-06-12 16:38:13.44 spid16s Starting up database 'ARSystem'.
2013-06-12 16:38:13.50 Server The SQL Server Network Interface library successfully registered the Service Principal Name (SPN) [ MSSQLSvc/MYSERVER:REMEDYDEV ] for the SQL Server service.
2013-06-12 16:38:13.50 Server SQL Server is now ready for client connections. This is an informational message; no user action is required.
2013-06-12 16:38:13.50 Server SQL Server is now ready for client connections. This is an informational message; no user action is required.
2013-06-12 16:38:13.74 spid10s Clearing tempdb database.
2013-06-12 16:38:13.75 spid10s Error: 5123, Severity: 16, State: 1.
2013-06-12 16:38:13.75 spid10s CREATE FILE encountered operating system error 5(Access is denied.) while attempting to open or create the physical file 'E:\Database Logfile'.
2013-06-12 16:38:13.78 spid10s Error: 17204, Severity: 16, State: 1.
2013-06-12 16:38:13.78 spid10s FCB::Open failed: Could not open file E:\Database Logfile for file number 2. OS error: 5(Access is denied.).
2013-06-12 16:38:13.78 spid10s Error: 5120, Severity: 16, State: 101.
2013-06-12 16:38:13.78 spid10s Unable to open the physical file "E:\Database Logfile". Operating system error 5: "5(Access is denied.)".
2013-06-12 16:38:13.78 spid10s Error: 1802, Severity: 16, State: 4.
2013-06-12 16:38:13.78 spid10s CREATE DATABASE failed. Some file names listed could not be created. Check related errors.
2013-06-12 16:38:13.78 spid10s Error: 5123, Severity: 16, State: 1.
2013-06-12 16:38:13.78 spid10s CREATE FILE encountered operating system error 5(Access is denied.) while attempting to open or create the physical file 'E:\Database Logfile'.
2013-06-12 16:38:13.78 spid10s Could not create tempdb. You may not have enough disk space available. Free additional disk space by deleting other files on the tempdb drive and then restart SQL Server. Check for additional errors in the event
log that may indicate why the tempdb files could not be initialized.
2013-06-12 16:38:13.78 spid10s SQL Trace was stopped due to server shutdown. Trace ID = '1'. This is an informational message only; no user action is required.
2013-06-12 16:38:13.82 Logon Error: 18456, Severity: 14, State: 38.
2013-06-12 16:38:13.82 Logon Login failed for user 'ARAdmin'. Reason: Failed to open the explicitly specified database. [CLIENT: xxx.xxx.xxx.xxx]
2013-06-12 16:38:13.83 Logon Error: 17188, Severity: 16, State: 1.
2013-06-12 16:38:13.83 Logon SQL Server cannot accept new connections, because it is shutting down. The connection has been closed. [CLIENT: xxx.xxx.xxx.xxx]
2013-06-12 16:38:13.85 Server The SQL Server Network Interface library successfully deregistered the Service Principal Name (SPN) [ MSSQLSvc/MYSERVER:REMEDYDEV ] for the SQL Server service.
I have plenty of free space and my user is also have a right access to the storage or starting the services. I'm trying to troubleshoot this through another similar posts but still no luck. Please help me.