How to stop the auto-start of log reader agent (replication) right after my database is restored?

I have the scenario where the SQL server is restored (after migration).
This database has transactional replication set-up on one of the databases. When I do a manual delete and restore of the database, I see that the replication starts right after the publisher and subscriber are restored.
Replication agents should not start and run before the integrity checks are completed. How to stop the replication from auto starting right after the migration?
Thanks in advance - Jebah

Thanks Pradyothana, I have disabled the logreader, distribution agents through sp_update_job in Tsql script. I have also verified that there are no pending transactions to be replicated to the subscriber, I see that the job is still being executed. Is there
any other way to disable the jobs?
Steps I followed
Started with a Working publication and subscription
Disabled the jobs (log reader and distribution agents)
Backed up publisher, subscriber, distribution and msdb
Deleted the publication, subscription, publisher and subscriber
Restored the publisher, subscriber, distribution and msdb
Enabled the jobs and executed sp_replrestart
Observations/Issues
Replication does not work
Replication monitor does not show any error
Jobs are shows as enabled but not started in job monitor
Not able to start/stop the log reader and synchronization manually.
I am not sure if I have missed something while restoring the db.
Thanks in advance

Similar Messages

  • How to stop the auto updater in N900 application m...

    Hey guys,
    Anyone know how to stop the auto updater in N900 application manager ?
    Coz when i connect via wifi or 3G, it always try to search for updates...Coz of that i cant search the web properly until its over.
    Specially when i connect via GPRS, i have to pay more for this extra mega bites use from app manager...
    So got any ideas for this prob...?
    (I usually use faster app manager to install apps.)
    Click the star if this helps you (",)
    If this is your answer, please do not forget to click "Accept as solution" (",)

    virajx3006 wrote:
    Hey guys,
    Anyone know how to stop the auto updater in N900 application manager ?
    Coz when i connect via wifi or 3G, it always try to search for updates...Coz of that i cant search the web properly until its over.
    Specially when i connect via GPRS, i have to pay more for this extra mega bites use from app manager...
    So got any ideas for this prob...?
    (I usually use faster app manager to install apps.)
    dude check your inbox
    Reality is wrong....dreams are for real... 2pac .
    don't forget to hit that green kudos

  • How to stop the auto change of the desktop background picture ?

    How to stop the auto change of the desktop background picture ?

    Well . . thanks, but I already have done that and I still have the problem. The background changes to the standard picture galaxy not to one of the options. Sorry my question wasn't clear enough.
    Thanks. 

  • How to stop the auto refresh in dashboard

    i have a BIP Report, i have unchecked the "Auton Run" option in the report properties of BIP reports and uploaded the report to My Dashboard,
    when i login into the answers or when i refresh the dashboard page, my BIP Report is executing automatically even though it is uncheck in its report properties and generating the "page not found error"... can any one help me, how can i control the BIP report not to execute it until when we click on click export button....

    virajx3006 wrote:
    Hey guys,
    Anyone know how to stop the auto updater in N900 application manager ?
    Coz when i connect via wifi or 3G, it always try to search for updates...Coz of that i cant search the web properly until its over.
    Specially when i connect via GPRS, i have to pay more for this extra mega bites use from app manager...
    So got any ideas for this prob...?
    (I usually use faster app manager to install apps.)
    dude check your inbox
    Reality is wrong....dreams are for real... 2pac .
    don't forget to hit that green kudos

  • How to stop the 'Auto adjustment in progress' message during start-up

    Hi,
    I am using an HP 2311x  monitor and when I start up the message 'Auto Adjustment in Progress' flashes twice before my Desktop appears.  Can I stop this message from appearing?
    Thanks and regards,
    2harts4ever
    " ... Nuff Said. Keep Smiling Because I'm Smiling Too!"
    This question was solved.
    View Solution.

    Hi  Mister_Do,
    I just solved my problem by running the HP Support Assistant and then its Troubleshooting Program for Monitors.  After it got done testing my monitor and its settings everything seems to be back to normal ....i.e, no more  'Auto Adjustment in Progress' messages. 
    Thanks and regards,
    2harts4ever
    " ... Nuff Said. Keep Smiling Because I'm Smiling Too!"

  • How to stop the auto fireEditingStopped event?

    Hi,
    I am using AbstractTableModel and AbstractCellEditior.
    I have a cell with 1 JTextField and 2 buttons (which increase or decrease the value in the text field by 1).
    I want to show a yes-no confirmation dialog to the user if he/she manually edit the text field and the value goes above 10.
    However, when I found that AbstractCellEditior.stopEditing() is called automatically everytime a user hits "enter" or lose focus.
    It becomes problematic because fireEditingStopped() will call CellEditorListener.editingStopped(), which calls AbstractTableModel.setValueAt(), where I send a notification to the server.
    I don't want to send a notification to the server before the user confirms his/her change.
    Anyway to get around it?
    Thanks in advance.

    You just need to use a correct implementation of the TableCellEditor. Something like this:
    http://forum.java.sun.com/thread.jspa?forumID=57&threadID=575309

  • How to stop annoying auto scrolling in window

    I'm running 10.8.5.  Since upgrading to 10.8.5 from 10.6.x, my system has been doing two VERY annoying things.
    1. Within a window, if I have a file selected (highlighted), say at the bottom of the window.  Then I scroll all the way to the top (not selecting any other file), and the selected file is off screen (can't see it).  I would then copy a file from another window to the first window (the file being copied starts with "A" so it should show up where I scrolled to at the top in the first window), once it's finished copying over, the window will automatically scroll down to the file I had selected earlier.  Without fail.  This actually happens with any other activity being done on my system.  Window ALWAYS scroll to the highlighted file where ever you are in the window.  This has never happened with 10.6.x or earlier OS X.
    2. This one seems to happen randomly.  Whenever I select a file to change it's name (doing a single click on the name bar), instead of the file I hit being editable, 10.8.5 would select a random file down the list instead.  Making THAT file editable.
    Anyone else experience these?  Is there a fix, or an option somewhere to turn these ridiculous features off?
    I really don't know what Apple is doing these days.  But it certainly is no longer the user friendly and reliable system I've used for over 20 years.  It's all about glitz and glam, no real functionality for old school power users.  Instead of being a unique system like it used to be, it's now just a glorified version of PC.  Just costs a lot more.

    virajx3006 wrote:
    Hey guys,
    Anyone know how to stop the auto updater in N900 application manager ?
    Coz when i connect via wifi or 3G, it always try to search for updates...Coz of that i cant search the web properly until its over.
    Specially when i connect via GPRS, i have to pay more for this extra mega bites use from app manager...
    So got any ideas for this prob...?
    (I usually use faster app manager to install apps.)
    dude check your inbox
    Reality is wrong....dreams are for real... 2pac .
    don't forget to hit that green kudos

  • Stop Napster Auto Starting when I connect my

    I wonder if anyone has any tips about this one...
    When I first connected my ZMP I accidentially chose "always start Napster to syncronise" from the auto start list.
    Normally I choose "don't do anything" but I chose Napster by accident this time.
    Anyway - normal autostart removal techniques dont work with the ZMP...
    Anyone any ideas how to stop this auto starting?
    cheers!
    dj_T

    When connecting your MicroPhoto, the "MTP icon" will appear in your taskbar briefly. Double-click that icon to bring back the "MTP Media Player" autostart box; you can then change the option. I suggest you choose "Take no action" and keep the "do this every time" option on; that means it won't autostart any application.
    You can also download the TweakUI application for WinXP from Microsoft and use it to change your player's autostart options.

  • Log Reader Agent Errors

    On a server with 4 merge publications I'm getting errors from a Log Reader Agent.
    From documentations it seems to me that Log Reader Agent must be present only if there are some transactional publication, so I think that errors depends on this.
    Probably the Log Reader Agent was created some time ago with a transactional publication that no longer exists.
    So my question is: can I remove the Log Reader Agent?
    To remove it can I simply remove the associated job?
    The error are all like this:
    The process could not execute 'sp_repldone/sp_replcounters' on 'GEREONTK'. (Source: MSSQL_REPL, Error number: MSSQL_REPL20011)
    Get help: http://help/MSSQL_REPL20011
    Unable to execute procedure. The database is not published. Execute the procedure in a database that is published for replication. (Source: MSSQLServer, Error number: 18757)
    Get help: http://help/18757
    The process could not set the last distributed transaction. (Source: MSSQL_REPL, Error number: MSSQL_REPL22017)
    Get help: http://help/MSSQL_REPL22017
    Thanks,
    Roberto

    There's no more transactional replication on database but still exists two merge replications on some tables of the same db (publication Gereon and GereonPortfoliosAll).
    So I've no replication to drop but only a Log Reader Agent that seems to be a survivor from a previous transactional pubblication.
    In these day I've stopped the job related to the Log Reader Agent, and merge replication are working right. So I think I can remove this Agent from the server.
    In
    Log Reader Agent definition on MSDN I've found "The Replication Log Reader Agent is an executable that monitors the transaction log of each database
    configured for transactional replication and copies the transactions marked for replication from the transaction log into the distribution database." so it seems to me that is not related to merge replication and it safe to be removed.
    Thanks

  • Log reader agent

    may i know the process involved in log reader agent or definition.
    please suggest me about it.

    The following is an excerpt from here.
    Modifying Data and the Log Reader Agent
    The Log Reader Agent runs at the Distributor; it typically runs continuously, but can also run according to a schedule you establish. When executing, the Log Reader Agent first reads the publication transaction log (the same database log used for transaction
    tracking and recovery during regular SQL Server Database Engine operations) and identifies any INSERT, UPDATE, and DELETE statements, or other modifications made to the data in transactions that have been marked for replication. Next, the agent copies those
    transactions in batches to the distribution database at the Distributor. The Log Reader Agent uses the internal stored procedure sp_replcmds to get the next set of commands marked for replication from the log. The distribution database
    then becomes the store-and-forward queue from which changes are sent to Subscribers. Only committed transactions are sent to the distribution database.
    After the entire batch of transactions has been written successfully to the distribution database, it is committed. Following the commit of each batch of commands to the Distributor, the Log Reader Agent calls sp_repldone to mark
    where replication was last completed. Finally, the agent marks the rows in the transaction log that are ready to be purged. Rows still waiting to be replicated are not purged.
    Transaction commands are stored in the distribution database until they are propagated to all Subscribers or until the maximum distribution retention period has been reached. Subscribers receive transactions in the same order in which they were applied at the
    Publisher.
    Satish Kartan http://www.sqlfood.com/

  • I have a new Macbook Air and for the last few days the fan had run continuously, this is the first time it has ever run, and now it won't stop, the fan starts up as soon as I turn it on. The computer is not hot.Any ideas on how I can fix this please ?

    I have a new Macbook Air, 6 months old, and for the last few days the fan had run continuously, this is the first time it has ever run, and now it won't stop, the fan starts up as soon as I turn it on and the computer seems to running more slowy.The computer is not hot but I am worried it may burn out,.Any ideas on how I can fix this please ?

    Hello dwb,
    Here is the screen shot, just the top half, there are another 10 pages, but I guess this should enough for you to have an idea of waht is going on, bit small I am afraid. No, I don't have any apps setup to run when I open my computer, the kernel, varies between 290 and 305 per cent ish.
    Would that PRAM thing help ? I think it may be the computer itself, well something inside, as this the first time that the fan has ever started running since I have this computer, even when I have 3 or 4 apps running.
    Thank you again for your advice,
    Regard,
    Beauty of Bath

  • How to stop the gray wheel from spinning after logging out

    how to stop the gray wheel from spinning after logging out?

    Frank ...
    Make sure to quit all open applications before logging out.
    Your proflie indicates your Mac has v10.7.1 installed.
    If that is the case, updating your system software will help as far as functionaly as well as security.
    Install the OS X Lion Update 10.7.5 (Client Combo)
    Then restart your Mac.
    message edited by:  cs

  • How do I stop the auto-renewal option?

    This new format (Windows really sucks. Since I am not allowed to go back to the old format, I will change providers at renewal.  How to I stop the auto-renewal so I do not have to suffer even longer?

    You can cancel the recurring payment following these steps:
    1. Sign in to your account and, on the left of the page, click your existing subscriptions
    2. Click Settings next to the subscription you want to cancel. (If you just have one subscriptions, you won't see a Settings link; just click your subscription.)
    3. Click Cancel subscription.
    4. Confirm that you'd like to cancel it. Information on the subscription you have
    cancelled
    Important: If you need to cancel a subscription, make sure to do it at least three days before the renewal date; otherwise, you might be charged for the next billing cycle.
    If one of my replies has adequately addressed your issue, please click on the “Accept as Solution” button. If you found a post useful then please "Give Kudos" at the bottom of my post, so that this information can benefit others.

  • How we can control auto start/stop of db/listener on Unix/linux?

    How we can control auto start/stop of db/listener on Unix/linux?

    http://download-uk.oracle.com/docs/html/B10812_01/chapter2.htm#BABGDGHF

  • How do I stop the auto generation of previews to imported files?

    In a recent post it was suggested that I do not let Aperture automatically generate the previews to all imported files. I think that is a great idea, but how do I stop the auto generation of such files?
    Under Preferences/Previews I have unchecked the New projects automatically generate previews, but after I do the import the processing wheel continues to spin for quite some time (depending on how many files I imported).
    Thanks in advance.
    David

    Take a look here:
    Pretty much the same in Ap2 and Ap3
    [http://photo.rwboyer.com/2009/01/03/aperture-2-quick-tip-managing-previews>
    RB

Maybe you are looking for