473,796 Members | 2,635 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem moving msdb

Hi,
I am trying to move the msdb database, I am following the MS technet
document. I have added trace flag "-T3608" to startup parameters,
restarted the SQL server, stopped the agent, detatached the msdb
successfully. I moved the mdf and ldf to the new location and I removed
trace flag and when restarted the SQL server is not starting up, I
checked Event log it is giving this error

17052 :Could not find database ID 3. Database may not be activated yet
or may be in transition.

Please help me
Thanks in advance

May 5 '06 #1
3 3064
I believe that database ID 3 is the "model" database.....Di d you also
try and move the model database?

May 5 '06 #2
(na*****@gmail. com) writes:
I believe that database ID 3 is the "model" database.....Di d you also
try and move the model database?


Correct. msdb is dbid = 4.

Looks like Raj should restore the trace flag, and then check what he
actually moved.
--
Erland Sommarskog, SQL Server MVP, es****@sommarsk og.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx
May 6 '06 #3
Ah OK, it does sound like the model database has been moved then. From
memory, it has to be re-attached before msdb. Also, model must be
re-attached with the trace flag on but msdb should be re-attached with
the trace flag off...

May 6 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
4482
by: John Mullan | last post by:
Hi I have a problem creating a backup in SQL Server 6.5. Although, the backup produced does restore ok, I want to stop this error message appearing everytime I make a backup. The error message is: " Can't allocate space for object 'sysbackupdetail' in database 'msdb' because the 'default' segment is full. If you ran out of space in Syslogs, dump the transaction log. Otherwise, use ALTER DATABASE or sp_extendsegment to increase the size...
1
3034
by: cerilocke | last post by:
I have two Windows 2003 servers that both have SQL 2000 on them with Service Pack 4 installed. If I run the stored procedure sp_ActiveDirectory_Start on one, it runs with no problem. However, on the other, if I run it, I receive the error message xpadsi.exe failed. Cannot drop the table 'msdb.dbo.ADSINewDBs', because it does not exist in the system catalog. Could anyone please tell me why I get this. The only difference that I can see on...
2
6476
by: Hallgeir | last post by:
My msdb database is marked as suspect. This means that my maintenance plan doesn't work. I'm a novice when it comes to sql server so now I'm wondering if anyone could give a hint on how to fix the suspect msdb database? Does this database contain any vital information? What could be the reason that this database become suspect? Appreciate any suggestions in this matter. Thanks! --
1
2955
by: David Greenberg | last post by:
Hi When trying to create an SqlServer job, clicking OK' I got the message "Error 823: I/O error (torn page) detected during read at offset..... in file 'd:\sqlserver\MSSQL\data\msdata.mdf'. The job was not saved" I asked about the problem a little to find out that I need to restore a backup of MSdb because the job definitions are there. I rrad some other place (I can't remember where) that in order to restore MSdb I need to restore a...
0
1218
by: info | last post by:
I found that my transaction log backup jobs fails because the Recover Mode of the database is set to SIMPLE. Its always been set to FULL. Its not MSDB, its a user defined database so thats not it. Any ideas and also how could I audit this? is it in Event Log or SQL Logs? I know there is a SQL Agent script I can run on restart of service but I'd rather know why this is happening.
1
1935
by: Mr.Kane | last post by:
I have inherited a SQLS erver 2000 instance where the client never implemented a backup startegy for the "master" and "msdb" databases. MSDB is now showing errors and my only option for a restore is from a tape backup of the server. Any thoughts..
1
2534
by: olaniyanjide | last post by:
Hi guys, can anybody assist on how to resolve the issue of marked suspect database. Most especially MSDB?
0
3144
ck9663
by: ck9663 | last post by:
guys...i got tired searching the net for some reference...this is what i have so far: set @@tableHTML = ' <p>some code</p> <p>some code</p> <table> <tr> <td>some header1 here</td> <td>some header2 here</td> </tr>
3
1895
by: cappjr | last post by:
On my SQL Server, I have a stored proc called 'sp_exec_job' that simply starts a job: EXEC ..sp_start.job @JOB_NAME When I run this from Management Studio, it works fine. Yea. But, when I try to execute sp_exec_job from my .NET (C#) code (on the same server as the SQL DB), I get the following error:
0
9535
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10465
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10242
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9061
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7558
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6800
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5453
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4127
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3744
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.