Oracle 10g Linux SLES, Physical Standby, Log Apply Stops

Hi, ia am faced the following problem:
Log applying on standby work perfect N days.
(Managed recovery mode, not real time)
Then just stops, without any (visible) reason.
Cancel recovery does not work. There is nothing in log/ trace/ alert files. In v$ views - just "applying log N (let say) 877" - for hours.
I kill DB Writer process on standby, do startup mount and "alter database recovery managed standby database disconnect from session". ...
It works again N days perfect.
I did not found nothing about that.
Any ideas?
Your help is highly appreciate, thank you in advance

The error message (which you should have BTW looked up beforehand in the online error documentation, and apparently you didn't even do this minimal work) is self explanatory.
Oracle can't reach the second server. You need to establish whether you can ping it on O/S level and whether you can TNSPING it.
Problems will arise if the second server uses NAT and sends it's own IP address back, instead of the IP address it is known under by DNS.
The Net administrators manual contains a troubleshooting chapter, as far as I remember this error is discussed in depth.
Sybrand Bakker
Senior Oracle DBA

Similar Messages

  • How to install NW2004s abap and/or java on Oracle 10g on SLES 10 32 bit?

    Does anyone know - How to install NW2004s abap and/or java on Oracle 10g on SLES 10 32 bit?
    Does SAP offer the software for trial for this?
    Jay

    Hi Check the link page you shall get the PDF and then goto Page 50 .you shall find the details.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/3096e412-7308-2b10-4999-e16c64ce5eeb
    Thanks
    Rishi Abrol

  • How to Install Oracle 10g in SLES 10 32 bit

    Hello Guys,
    I was intalling oracle 10g in SUSE LInux Enterprise Server 10, but i always have an error..
    Is there someone who can have and give a manual on how to install oracle 10g in SLES10? ANd some linux shell scripting
    manual..?

    Hi,
    have a look at:
    http://www.oratoolkit.ch/knowledge/howto/installation/otn.php
    you will find there your SLES and Oracle specific installation guide. With korn shell script you will be able to install Oracle within 60 minutes.
    Good luck!
    Cheers,
    David
    OCP 9i / 10g / 11g

  • Rolling Upgrade of Oracle 10gR2 RAC with Physical Standby (DG)

    Hi DBAs,
    I want to do a rolling upgrade of Oracle 10.2.0.3 (2 node RAC+ASM) with Physical Standy Dataguard to Oracle 10.2.0.4 also applying CPU (April2009).
    Please suggest the best way to perform this upgrade and patching with no downtime.
    Thanks
    -Samar-

    Unfortunately rolling upgrade is only possible with a logical standby in place:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/upgrades.htm#CHDBJAGG
    That doesn't help you at this time, but 11g has a way to do it with a physical standby. Even here you need an intermediate logical standby:
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28294/rollup.htm#CHDHCBGA
    Werner

  • Logical Standby - Log Apply Error

    Hi All
    I have configured a 10.2.0.4 logical standby database (single instance) for RAC primary by LOG APPLY process stopped with this error:
    ORA-01422: exact fetch returns more than requested number of rows.
    Now I did run this command before creating logical standby: EXECUTE DBMS_LOGSTDBY.BUILD;
    And I know that there are 80 tables which cannot be uniquely identified, which is fine by business.
    Could you someone please tell how can I deal with this problem.
    Regards
    Amit

    I have configured a 10.2.0.4 logical standby database (single instance) for RAC primary by LOG APPLY process stopped with this error:
    ORA-01422: exact fetch returns more than requested number of rows.
    Now I did run this command before creating logical standby: EXECUTE DBMS_LOGSTDBY.BUILD;
    And I know that there are 80 tables which cannot be uniquely identified, which is fine by business.
    Could you someone please tell how can I deal with this problem. It looks like a Bug too, check this below note
    *Bug 5889516 - Intermittently ORA-1422 logical standby errors [ID 5889516.8]*

  • Copy and open Command in Oracle 10g Linux (Minut, Ubuntu)

    Dear All;
    I am facing one problem we used to copy any document and for open any document in WINDOWS
    Host('CMD /C COPY '||'"'||:Old_Doc||'"'||' X:\03\03\'||:New_Doc);
    Client_Host('Cmd /C Start '||'X:\03\03\'||:New_Doc);
    But these commands not running in Linux. Please provide me any solution that will help me to copy and open any kind of document in oracle 10g in Linux. I am waiting of your positive response. thx.

    I am not using any thing istead of HOST command, I dn't know any thing similier about HOST command. When I run this in Linux then it give me error message. I think there is something like HOST command in Linux but........ is it??

  • Oracle Dataguard Question on Physical Standby Database with a Time Lag

    I have a Standby database (PROD_LAG) that has a delay of 24hrs. How do I check to see what Archive have applied, what is current, and what is left to do.
    There is a script but its for a Logical Standby database...
    Thanks you in advance...

    hi,
    ok a little bit more explanation.
    The GUI does work but seems to report incorrect data.
    I have carried out a switchover so the primary database is now 'offsite_emrep' and the standby database is 'office_emrep'
    The GUI how ever still reports that office_emrep is the primary database.
    I cannot add the offsite_emrep database as the host is unknown. I am however running the GUI from the Host.
    I have the following from the agent status
    [oracle@griddg bin]$ ./emctl status agent
    #Oracle Enterprise Manager 10g Release 3 Grid Control 10.2.0.3.0.
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    Agent Version : 10.2.0.3.0
    OMS Version : 10.2.0.3.0
    Protocol Version : 10.2.0.2.0
    Agent Home : /u01/app/oracle/product/10.2.0/agent10g
    Agent binaries : /u01/app/oracle/product/10.2.0/agent10g
    Agent Process ID : 19797
    Parent Process ID : 19780
    Agent URL : https://griddg.domain.net:3872/emd/main/
    Repository URL : https://griddg.domain.net:1159/em/upload
    Started at : 2007-10-01 12:35:02
    Started by user : oracle
    Last Reload : 2007-10-01 12:35:02
    Last successful upload : (none)
    Last attempted upload : (none)
    Total Megabytes of XML files uploaded so far : 0.00
    Number of XML files pending upload : 116
    Size of XML files pending upload(MB) : 27.67
    Available disk space on upload filesystem : 83.08%
    Last attempted heartbeat to OMS : 2007-10-01 12:38:08
    Last successful heartbeat to OMS : unknown
    Agent is Running and Ready
    any help is appreciated.
    rgds
    alan

  • Upgrading to 10g with a Physical Standby in Place

    I am looking through Oracle note 278521.1 for upgrading my Oracle database with stand by database and I have problem with step 15:
    15.  In order to optimize performance the 10g Release 1 and lower versions of the Database Upgrade Assistant will disable archive log mode during the upgrade process. As this will invalidate the standby we must disable this option.
           a) Within the new 10g home open the following file:      ?/rdbms/admin/utlu101x.sql
             b) Ssearch for a line with the text DisableArchiveLogMode and change the value to false.  For instance:
                   Modify the line
                  '<DisableArchiveLogMode value="true"/>');
                        to
                       '<DisableArchiveLogMode value="false"/>');
           c) Save the file.
         RESULT: This will cause the database to be upgraded in Archive log mode
    I am upgrading to 10.2.0.2 and I can not find these lines for disabling archivelog Mode. Is it that I am looking into wrong files or in 10.2.0.2 DBUA is not switched off during upgrading.

    Hi Andrija,
    The DBUA asks at step 3 if you want to disable Archiving or not.
    Best Regards,
    JC Llanes.

  • Oracle 10G Linux runInstaller Error in writing to directory

    RDBMS Version: 10.1.0.3.0
    Operating System and Version: Enterprise Red Hat Linux 4.0
    Linux runInstaller Error in writing to directory
    Steps :-
    1. Downloaded the Install 10.1.0.3 for Linux X86
    2. Followed the Instructions as per B15521-01
    3. When running runInstaller got below Error
    $ ./runInstaller
    Starting Oracle Universal Installer...
    Checking installer requirements...
    Checking operating system version: must be redhat-2.1, redhat-3, SuSE-9, SuSE-8or UnitedLinux-1.0
    Failed <<<<
    Exiting Oracle Universal Installer, log for this session can be found at /tmp/OraInstall2005-06-28_01-40-22PM/installActions2005-06-28_01-40-22PM.log
    4. Found Patch 4153257 after unzipping the file and running as below got another error
    $ ./runInstaller -paramFile /home/oracle/p4153257
    Starting Oracle Universal Installer...
    No pre-requisite checks found in oraparam.ini, no system pre-requisite checks will be executed.
    The Java RunTime Environment was not found at 0/bin/java. Hence, the Oracle Universal Installer cannot be run.
    Please visit http://www.javasoft.com and install JRE version 1.3.1 or higher and try again.
    : No such file or directory
    5. Then Copied the oraparam.ini to the folder where the original oraparam.ini file was present ie /tmp/orcl/Disk1/install
    6. After running the installer again got below error
    Starting Oracle Universal Installer...
    Checking installer requirements...
    Checking operating system version: must be redhat-2.1, redhat-3, SuSE-9, SuSE-8, UnitedLinux-1.0 or redhat-4
    Passed
    All installer requirements met.
    Checking Temp space: must be greater than 80 MB. Actual 3409 MB Passed
    Checking swap space: must be greater than 150 MB. Actual 2055MB Passed
    Checking monitor: must be configured to display at least 256 colors. Actual 65536 Passed
    Preparing to launch Oracle Universal Installer from /tmp/OraInstall2005-06-28_01-53-49PM. Please wait ...sh: /tmp/orcl/Disk1/install/unzip: No such file or directory
    Error in writing to directory /tmp/OraInstall2005-06-28_01-53-49PM. Please ensure that this directory is writable and has atleast 60 MB of disk space. Installation cannot continue.
    : Success
    7. Saw the Error that it was looking for unzip in /tmp/orcl/Disk1/install so Created a Soft link
    8. Still the other Error exists ie as below. Well the DIR is created and oracle user has written files. So not sure why it says check disk space or directory is writable.
    $ ./runInstaller
    Starting Oracle Universal Installer...
    Checking installer requirements...
    Checking operating system version: must be redhat-2.1, redhat-3, SuSE-9, SuSE-8, UnitedLinux-1.0 or redhat-4
    Passed
    All installer requirements met.
    Checking Temp space: must be greater than 80 MB. Actual 3409 MB Passed
    Checking swap space: must be greater than 150 MB. Actual 2055MB Passed
    Checking monitor: must be configured to display at least 256 colors. Actual 65536 Passed
    Preparing to launch Oracle Universal Installer from /tmp/OraInstall2005-06-28_02-23-50PM. Please wait ...
    Error in writing to directory /tmp/OraInstall2005-06-28_02-23-50PM. Please ensure that this directory is writable and has atleast 60 MB of disk space. Installation cannot continue.
    : Success
    $ ls -al /tmp/OraInstall2005-06-28_02-23-50PM
    total 40
    drwxr-xr-x 3 oracle oinstall 4096 Jun 28 14:23 .
    drwxrwxrwt 44 root root 4096 Jun 29 04:03 ..
    -rwxr-xr-x 1 oracle oinstall 4036 Jun 28 14:23 command_output_27899
    drwxr-xr-x 2 oracle oinstall 4096 Jun 28 14:23 images
    -rwxr-xr-x 1 oracle oinstall 528 Jun 28 14:23 installActions2005-06-28_02-23-50PM.log

    I am not sure what was wrong in the Initial download of the Install.
    I did it again and this time it came properly and all the files in the install directory ie unzip was present and the Installer came up properly.

  • Oracle 10g Linux - Bad files on otn

    Am I the only one that is having problems here...
    I have tried downloading 10g over the past couple of days, multiple times. Each time, the files come in without issue but trying to unpack them with cpio (after un-gzipping them) gives me errors - every single time...
    I've tried it from multiple computers on my network and have gotten the same results every time. I therefore have to believe that the archive files on OTN are borked.
    root@raid:/data/isoimages/oracle# gunzip ship.ccd.cpio.gz
    root@raid:/data/isoimages/oracle# gunzip ship.client.cpio.gz
    root@raid:/data/isoimages/oracle# gunzip ship.crs.cpio.gz
    root@raid:/data/isoimages/oracle# gunzip ship.db.cpio.gz
    root@raid:/data/isoimages/oracle# cpio -idcmv <ship.db.cpio
    cpio: warning: skipped 626773658 bytes of junk
    cpio: Memory exhausted
    root@raid:/data/isoimages/oracle# cpio -idcmv <ship.crs.cpio
    cpio: premature end of file
    root@raid:/data/isoimages/oracle# cpio -idcmv <ship.client.cpio
    cpio: premature end of file
    root@raid:/data/isoimages/oracle# ls -l
    -rw-r--r-- 1 root root 515401728 Feb 27 17:57 ship.ccd.cpio
    -rw-r--r-- 1 root root 413750784 Feb 27 17:54 ship.client.cpio
    -rw-r--r-- 1 root root 125487104 Feb 28 03:19 ship.crs.cpio
    -rw-r--r-- 1 root root 637000704 Feb 27 18:02 ship.db.cpio
    Is there anyplace where standard ISO images are available instead of this non-standard cpio stuff?

    That worked. Someone should ask Oracle to update the instruction page to remove the -c option from the cpio command line!
    Thanks!

  • Oracle 10g +linux

    http://www.milinds.com/how_install_oracle_10g_r2_ubuntu_linux_032007
    7.logout and login again as oracle then open the .bashrc in your home (/home.oracle) and add following lines. (Change the ORACLE_SID from ORADBA to any other name of your choice but limit to 8 characters- thats your DB name)
    export ORACLE_BASE=/home/oracle/product
    export ORACLE_HOME=/home/oracle/product/10.2.0
    export ORACLE_SID=ORADBA
    export
    What is it mean by login and logout as oracle .Can anyone direct me with the commands please.
    Thanks!
    Message was edited by:
    user 987
    null

    useradd command is adding new users: oinstall,nobody and oracle
    -G specifies group for user being created
    man useradd can tell you everything about this...
    Sidhu

  • Standby DB real time redo log apply problem

    Hi all,
    I am using Oracle 10g to create physical standby db. In the standby
    db, normal archived log apply does not have problem, but when I try to
    use redo log real time apply and issue command
    SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE USING CURRENT LOGFILE;
    it shows:
    ERROR at line 1:
    ORA-38500: USING CURRENT LOGFILE option not available without stand
    What is the problem??
    Thanks a lot !
    Steven

    Note:3633226.8 from Metalink states:
    Setting a standby's RealTimeApply property to ON when there are no standby
    redo logs on the standby or the standby is not in SYNC transport, will
    seemingly succeed. However, the apply engine will not start. The DRC log
    will report an error like ORA-38500. In this case, add standby redo logs
    and set the log transport mode for the standby to be SYNC and set the
    standby state to ONLINE.
    Workaround:
    Add Standby Redo Logs on the standby and set the following broker properties
    on the standby:
    LogXptMode to SYNC and reset RealTimeApply to ON.
    Then set the standby state to ONLINE.
    HTH

  • Is it possible to install Oracle 10g database on a linux Os ?

    Hello all,
    I recently installed Fedora 14, and oracle 10g free edition, on my modest laptop.
    Problem is , I can't upload any scripts, because as i recently learnt from my school teacher, Oracle only works smoothly with Internet explorer browser (i.e.).
    I tried using programs like winetricks to download a linux version of i.e. but in this case Oracle doesn't even open its homepage.
    -In a nutshell, does anyone know a possible way to work with oracle 10g , (or any alternative), that's fully functional on linux (fedora 14) ? Download, Install steps,etc.
    All i need to do is upload simple SQL scripts, and practice my " select from...." commands.
    -Is oracle linux a option ? and what is it?
    Thank you already for any replies, I'm really getting tired of googling threw different forums.

    865504 wrote:
    Ed,
    -i knew my teacher was being stubborn;
    -I meant that the winetricks version of i.e., didn't open the homepage of oracle 10g (=log in screen).
    -what i was trying to do was, after having installed oracle 10g , "go to data base homepage" (openend by firefox) , once logged in with my username, upload a script , and practice typing the different (select from ...group by..etc) sql commands.
    Here is one of several concepts you need to fix in your mind. Databases don't have home pages. Client applications do. Databases store and manage data. Humans at the keyboard see the client application, not the database. Oracle provides some client apps ( iSQLPlus, Oracle Enterprise Manager (Grid Control), dbcontrol, APEX) and even installs some with the database by default, but they are distinctly separate from the database, and so must be identified when talking about user interface issues. Unfortunately, telling us you tried to open "the home page of oracle" tells us nothing at all. If you had said "Tried to log in with iSQLPlus" or "I tried to connect with Apex", it would have conveyed MUCH more information. We would have then had some frame of reference as to what you were seeing.
    To the "upload from where" question : I simply copied the scripts ( .sql , file) from the pc's from school, on usb, then copied them on my own system. When using the "upload scripts" option from oracle, Again, you must distinguish between "oracle" (the database) and whatever client tool you use to connect to it. "Oracle" (the database) doesn't have an "upload scripts" option. Some un-named application does.
    the script is uploaded, but when i try to "run" it , nothing , blank page. no tables, nada. And given what I've said above, you can guess what this statement means. - grin -
    My first guess was, well the teacher said " i.e. only " , so i tried installing i.e. , using winetricks, but i had a feeling i was going off-track, and that surely there must have been a much easier way.
    Even Billy was more charitable toward your teacher than I feel. And when he is so wrong about something as simple as this, makes me wonder what else he is wrong about. And the quality of the teachers calls into question the quality of the school in general.
    In fact, had I been told that by an instructor, I would make it a personal mission to prove him wrong. Not in front of the class (as much short term satisfaction as that may provide) but just by taking my laptop to his office and saying "let me show you something". One of my personal hot buttons is for someone who should know better to pronounce something as "won't work" when I've been doing it for so long and so easily as to just take it for granted.
    >
    Linux (fedora 14) is up and running,
    oracle 10g , linux version, was installed using detailed guide.
    And yes, i will look into oracle linux, and oracle 11g ,
    but i was hoping to use the same version as my school, to avoid any surprises when passing my exams.Edited by: EdStevens on Jun 13, 2011 3:02 PM

  • Step by step 10g Dataguard , physical standby database setup metalink notes

    On metalink i saw this note, but unable to find now if someone can help....

    Note:248382.1 Creating a 10g Data Guard Physical Standby on Linux

  • Upgrading with a physical standby database in place

    Hi all
    I am planning to upgrade my database which is 11.2.0.1 (Windows 32 platform) to 11.2.0.3. It has a primary standby database. I only have 1 server for testing the primary database, so I am looking for some help.
    I was reading http://docs.oracle.com/cd/B28359_01/server.111/b28294/upgrades.htm#CHDBJAGG and I confuse about step 4 and 5
    +4. Install the new release of the Oracle software into a new Oracle home on the physical standby database system, as described in the Oracle Database Upgrade Guide.+
    +5. Mount the physical standby database.+
    My question is in step 5, when I mount the physical standby database, does it mounted using new Oracle binary or still using the old version? From my understanding what is step 4 doing is to copying files to new home only. Changing the service to use the new oracle binary is done by dbua. I know this when I test upgrading the primary database.
    Regards
    Stanley.

    Hello;
    new Oracle binary or the new Oracle home if you will.
    So you install the new software on the standby only, all the upgrade SQL gets done on the Primary and then you ENABLE and startup mount on the new oracle home and the standby gets upgraded from the Primary redo.
    Its pretty simple ( My exact plan )
    1. Disable log shipping from the Primary
    2. Shutdown Standby
    3. Install 11.2.0.3 on Standby - Just the software
    4. Startup Standby in recovery mode - do NOT run r any SQL at the standby
    5. Shutdown Primary
    6. Install 11.2.0.3 on Primary
    7. Run Upgrade SQL or DBUA at Primary
    8. Re-enable log shipping
    9. Monitor the redo apply from Primary to Standby - this will also upgrade the Standby data dictionary
    Make sure your tnsnames and listener files move to the new Oracle home and edit as needed.
    Another oracle note is 278641.1
    Best Regards
    mseberg
    Edited by: mseberg on Jan 29, 2013 8:21 PM

Maybe you are looking for