SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Need Help on moveing databases


Need Help on moveing databases

Author
Message
New persopn
New persopn
Say Hey Kid
Say Hey Kid (683 reputation)Say Hey Kid (683 reputation)Say Hey Kid (683 reputation)Say Hey Kid (683 reputation)Say Hey Kid (683 reputation)Say Hey Kid (683 reputation)Say Hey Kid (683 reputation)Say Hey Kid (683 reputation)

Group: General Forum Members
Points: 683 Visits: 657
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.
adb2303
adb2303
SSCrazy
SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)

Group: General Forum Members
Points: 2460 Visits: 3229
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
durai nagarajan
durai nagarajan
Hall of Fame
Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)

Group: General Forum Members
Points: 3547 Visits: 2784
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
New persopn
New persopn
Say Hey Kid
Say Hey Kid (683 reputation)Say Hey Kid (683 reputation)Say Hey Kid (683 reputation)Say Hey Kid (683 reputation)Say Hey Kid (683 reputation)Say Hey Kid (683 reputation)Say Hey Kid (683 reputation)Say Hey Kid (683 reputation)

Group: General Forum Members
Points: 683 Visits: 657
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
george sibbald
george sibbald
SSC-Insane
SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)

Group: General Forum Members
Points: 24954 Visits: 13698
FWIW there really is no point in separating out the master database data and log files like this.

---------------------------------------------------------------------
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search