Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Need Help on moveing databases Expand / Collapse
Author
Message
Posted Friday, August 2, 2013 6:11 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Friday, October 17, 2014 7:09 AM
Points: 139, Visits: 403
HI

I have moved the master database from startup parameters after that we stop the service of the server and move the data and log file to there respective new locations

after that i am trying to start the server it is not starting.

we checked in error log and found the error

like:

2013-08-02 05:07:35.85 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)

2013-08-02 05:07:35.85 Server (c) Microsoft Corporation.
2013-08-02 05:07:35.86 Server All rights reserved.
2013-08-02 05:07:35.86 Server Server process ID is 14276.
2013-08-02 05:07:35.86 Server System Manufacturer: 'Cisco Systems Inc', System Model: 'UCSC-BASE-M2-C460'.
2013-08-02 05:07:35.86 Server Authentication mode is MIXED.
2013-08-02 05:07:35.86 Server Logging SQL Server messages in file 'C:\Program Files\Microsoft SQL Server\MSSQL10_50.POWERUSERREPLICA\MSSQL\Log\ERRORLOG'.
2013-08-02 05:07:35.86 Server This instance of SQL Server last reported using a process ID of 12720 at 8/2/2013 5:05:05 AM (local) 8/2/2013 12:05:05 PM (UTC). This is an informational message only; no user action is required.
2013-08-02 05:07:35.86 Server Registry startup parameters:
-d j:\PowerUserMasterdata\master.mdf
-e C:\Program Files\Microsoft SQL Server\MSSQL10_50.POWERUSERREPLICA\MSSQL\Log\ERRORLOG
-l i:\PowerUserReplicalog\Masterlog\mastlog.ldf
2013-08-02 05:07:35.86 Server Error: 17113, Severity: 16, State: 1.
2013-08-02 05:07:35.86 Server Error 2(The system cannot find the file specified.) occurred while opening file 'j:\PowerUserMasterdata\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.
Post #1480351
Posted Friday, August 2, 2013 7:28 AM
SSC Eights!

SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!

Group: General Forum Members
Last Login: Tuesday, September 16, 2014 8:47 AM
Points: 837, Visits: 2,460
Is the master database file (master.mdf) in this location: j:\PowerUserMasterdata\ ?
Check that the directory is accessible by the account running SQL Server sevices
Post #1480384
Posted Friday, August 2, 2013 8:50 AM
Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Friday, May 30, 2014 8:15 AM
Points: 1,056, Visits: 2,687
Is it followed as per the below.

http://msdn.microsoft.com/en-us/library/ms345408(v=sql.100).aspx


Is it referring to proper path

SELECT name, physical_name AS CurrentLocation, state_desc
FROM sys.master_files
WHERE database_id = 1



Regards
Durai Nagarajan
Post #1480446
Posted Friday, August 2, 2013 10:18 PM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Friday, October 17, 2014 7:09 AM
Points: 139, Visits: 403
HI

Thanks for u r quick response

I have changed the new path using startup parameters. here I have created new folder for new path.

but those are not mapped to service account later I have changed the folders account to network service account. after that problem got solved.

Thank u very much for response
Post #1480664
Posted Saturday, August 3, 2013 2:22 PM
SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Saturday, October 18, 2014 5:21 PM
Points: 5,877, Visits: 13,005
FWIW there really is no point in separating out the master database data and log files like this.

---------------------------------------------------------------------

Post #1480722
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse