msdb is in bypass mode

  • Somehow I screwed up my database. MSDB is in read-only \ offline \ emergency mode. When I start the server, the log tells me that: "Bypassing recovery for database 'msdb' because it is marked BYPASS." There is also an alert message that says the msdb log is full. I have no clue what to do. I am a novice at administration. Any assistance is appreciated.

  • use msdb

    go

    sp_helpfile -- find out the log size

    go

    use master

    go

    sp_configure 'allow update',1

    go

    reconfigure with override

    go

    alter database msdb

    modify file

    (name = msdblog,

    size = 50mb) -- change this number large than the original log size from sp_helfile

    go

    update sysdatabases set status=0 where name='msdb'

    go

  • thanks! worked like a charm.

  • Hi, for safety, if you use sp_configure 'allow update',1

    go

    and you are finished updating system tables you must

    run

    sp_configure 'allow update',0

    go

    so that updating system tables is not possible.

  • i'll add it to my notes.

    thanks.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic. Login to reply