DBAsupport.com Forums - Powered by vBulletin
Results 1 to 5 of 5

Thread: error creating standby

  1. #1
    Join Date
    May 2002
    Posts
    193

    error creating standby

    Dear All,

    Iam getting the following error in my primary database-alert log when I give the command 'Recover managed standby database'

    ARC0: Error 12154 connecting to standby host 'standby1'
    ARC0: Error 12154 creating archivelog file 'standby1'

    I have given the following parameters in the standby parameter file:

    log_archive_dest_1 = "location=D:\oracle\oradata\cad95\archive"
    standby_archive_dest = "location=D:\oracle\oradata\cad95\archive"

    and corresponding values on the primary init.ora are:

    log_archive_dest_1 = "location=D:\oracle\oradata\cad95\archive"
    log_archive_dest_2 = "service=standby2"

    The alert log of the standby reads that it is waiting for the log from the primary. Only manual recovery is possible.

    Tnsnames.ora and listener.ora have also been configured. Could anyone point out the mistake made/ solution to this problem.

    Regards,

    K.Diwakar

  2. #2
    Join Date
    Nov 2000
    Location
    greenwich.ct.us
    Posts
    9,092
    A 12154 error indicates your primary database can't contact your standby. Most likely your tnsnames.ora entry needs to be altered.
    Jeff Hunter

  3. #3
    Join Date
    Sep 2001
    Location
    Düsseldorf, Germany.
    Posts
    588

    Re: error creating standby

    Originally posted by diwakar
    Iam getting the following error in my primary database-alert log when I give the command 'Recover managed standby database'

    ARC0: Error 12154 connecting to standby host 'standby1'
    ARC0: Error 12154 creating archivelog file 'standby1'

    and corresponding values on the primary init.ora are:

    log_archive_dest_1 = "location=D:\oracle\oradata\cad95\archive"
    log_archive_dest_2 = "service=standby2"
    ARC0: Error 12154 connecting to standby host 'standby1'
    ARC0: Error 12154 creating archivelog file 'standby1'

    log_archive_dest_2 = "service=standby2"

    standby1 ??? or standby2 ???

    or Is it a typo in the post?

    Sameer
    Last edited by Sameer; 12-12-2002 at 05:07 AM.

  4. #4
    Join Date
    May 2002
    Posts
    193
    Dear Sameer,

    Thanks for pointing out the mistake and thanks to Marist too. But instead of mentioning the service name in the archive_log_dest_2, can we not give the location to point to the archive_log_dest of the standby databse?? Will that work??

    Regards,

    K.Diwakar

  5. #5
    Join Date
    Sep 2001
    Location
    Düsseldorf, Germany.
    Posts
    588
    In case if the standby database is on the same machine as primary then it will work, but what if it is remote.. So its better to specify as SERVICE

    Sameer

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width