Unable to log automatically archived on STANDBY DB
Hello to all the experts,I am facing a problem while I do WATCH practice db.
I use VMWARE pre-installed for my practice. In this, I'm a machine as one main & another server waiting.
I use Windows XP SP-2 on both the machine & I have install Oracle 10 g on both the machine.
To transfer automatically the journal archived from the primary server standby db I use this command: -.
On the principal server: -.
SQL > alter system set log_archive_dest_2 = 'SERVICE = blore reopen optional = 20'
After you set the log_archive_dest_2 parameter, I modify the journal by this command: -.
SQL > alter system switch logfile;
But my side db ensures I don't get archived the main server log automatically.
My tnsname.ora for primary side is: -.
tnsnames.ora # Network Configuration file: C:\oracle\product\10.2.0\db_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
BLORE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.73.132)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = blore)
)
)
BLORE_STANDBY =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.73.134)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = blore)
)
)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1))
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)
)
I don't know what you know.
Please, help me out of this problem.
Hello
It seems to be the problem of password standby file. You can recreate or copy the password in standby mode and try again.
Tags: Database
Similar Questions
-
change log mode archive without closing the database
Hi all
Is it possible to put the database in archive log mode before you shut down the database, and when the database stops and starts, the database should automatically be in log mode archive?
because we cannot stop the database in the days of the week and we have system restart the weekend and we are not here this day here. So is there a way to set the database in the log archiving across the memory so that each restart of the database, it should start automatically in log mode archive.
my environment is windows server 2008 R2 with oracle 11.2.0.3
Thanks in advance.
Published by: 931643 on 5 December 2012 10:37931643 wrote:
Thanks for the reply Max Seleznev,First of all I thought to write the script to include in this process. But we cannot run all the commands in the sqlplus using windows task. for example:
You can write a batchfile as below:
CD.
sqlplus / as sysdba
Select name, open_mode from v$ database;When you run this, it will open up to sqlplus prompt but then will not run the query.
This is the reason why I am to know if there is another way.
Thank you
When you do things wrong, you do not get the desired results
Please desired SQL in a separate file (run.sql), then proceed as below
sqlplus scott/tiger @run.sql
-
Hello
I use oracle 10g on linux, I want to delete archive log file automatically, there is no way to do this.or can someone tell me scripts to do this.ur help on this is very appreciated
Respect, s
Umair IqbalHello
Can you please let us know why you want to delete the log file archive?
BTW, you can use RMAN to achieve by archiving log backup and delete the original file using the following command:
Backup archivelog all delete input;
Concerning
-
Is it possible to implement automatic archiving?
I would like to be able to set up automatic archiving, but I can't find a way to do it. I see that you can archive individual emails, but not a whole bunch of emails.
See if this add-on helps you:
https://addons.Mozilla.org/en-us/Thunderbird/addon/autoarchivereloaded/
http://chrisramsden.vfast.co.UK/3_How_to_install_Add-ons_in_Thunderbird.html
-
Server 2008 R2 giving BSOD and I am unable to log into the server
I have Server HCL, that worked great for the past 2 years, all of a sudden it's a started giving some noise so I checked in a RAID and found a missing display the DB, I just google and then I went to the RAID Configuration, then reinsert that disc HARD once more in the same slot, then it started to show me also misconfigured so I fix it configured by the RAID BIOS WEB utility and then they replace missing PD and then make the drive HARD in line now, when I started the server I'm unable to log on to the server, its sends a BSOD and if if I'm not connect its absolutely perfect work... Please help its file server.
This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)
If you give us a link to the new thread we can point to some resources it -
Hey guys
I need help, in my company trying to learn switches I flashed my switch all :(
I now get this error
The system is unable to boot automatically. The BOOT
environment variable must be set with a bootable
image.I downloaded the c2950-i6q4l2 - tar.121 - 22.EA14.tar for the switch, but I'm unclear on how to load the catalyst 2950 only
switch: dir flash:
Directory of flash: /.3 - rwx 269
env_vars 7739904 bytes available (1536 bytes used)
switch: start
Loading ""...: permission denied ".Error loading «»
Interrupt within 5 seconds to cancel the startup process.
Boot process failed...
switch: start
Loading ""...: permission denied ".Error loading «»
Interrupt within 5 seconds to cancel the startup process.
Boot process failed...
switch:C2950 Boot Loader (C2950-HBOOT-M), Version 12.1 (11r) EA1, RELEASE SOFTWARE (fc1)
Updated Tuesday 22 July 02 17:18 by antonino
WS-C2950-24 from...
Basic Ethernet MAC address: 00:15:2 b: 46:7 b: 00
XMODEM file system is available.
Initializing the Flash...
flashfs [0]: 1 files, directories 1
flashfs [0]: 0 orphaned files, orphaned directories 0
flashfs [0]: Total number of bytes: 7741440
flashfs [0]: used bytes: 1536
flashfs [0]: available bytes: 7739904
flashfs [0]: fsck flashfs takes 4 seconds.
.. .done boot flash.
Boot sector file system (bs :) installed, isfd: 3)
Setting Filesystem block (pb :) installed, isfd: 4)
Loading ""...: permission denied ".Error loading «»
Interrupt within 5 seconds to cancel the startup process.
Boot process failed...The system is unable to boot automatically. The BOOT
environment variable must be set with a bootable
image.switch:
switch:
switch: flash
Initializing the Flash...
... The flash is already initialized.
switch: dir /.
Unknown cmd: dir /.
switch: dirList of currently registered file systems:
Flash [0]: (reading / writing)
XMODEM [1]: (read-only)
NULL [2]: (reading / writing)
BS [3]: (read-only)switch: 0
Unknown cmd: 0
switch: flash_init
switch: load_helper
switch: dir flash:
Directory of flash: /.2 - rwx 269
env_vars 7739904 bytes available (1536 bytes used)
switch:Hello
It seems that the image is not in the flash memory. Do you know where you downloaded the image? Once we know, we can understand what statement of startup, you need to do to make it start correctly.
Thank you
Garrett
-
Unable to log on to the device - Mac OSX 10.9.3 scanning - M1217nfw
Hello
I'm running into some problems of scanning wireless to our HP LaserJet M1217nfw MFP of any Mac running 10.9.3. I tried "Reset Printing System" and re-add the printer without success. Whenever I open a preview/Printers & Scanners/Image Capture, I get the following error message: "Unable to log on to the device." When I add the printer, I do it by clicking on the icon "+" and selecting "add printer or Scanner...". ", select the printer in the list via Hello and 'Select software' but my printer model is not listed. The closest printer listed is HP LaserJet Professional M1210nf MPF Series, but it does not work. Any ideas here?
Welcome to the Forums of HP jpuebla,
I see by your post that you are having problems of analysis, you can't find the drivers to add the printer.
I can help you with this problem.Maverick pilots are the Apple update drivers.
V10.9 OS X Mavericks: installing and using the printer on a Mac.
Fix permissions of the drive on the Mac: -
How can I remove the automatic archiving on the outlook of acrobat add-in functionality?
How can I remove the automatic archiving on the outlook of acrobat add-in functionality? We do not want our users archiving emails automatically.
ID prefer to do with GPO
Hi ewming111,
The wizard provides only the UI to configure Acrobat itself. You're talking about the function is provided by the PDFMaker add-in.
The preference is apparently (starting from a quick test) HKU\S-1-5-21-762979615-2031575299-929701000-51250\Software\Adobe\Acrobat\PDFMaker\10.0\Ou tlook\Synchronization\Outlook\Enabled: 0x00000000.
You can deploy via GPO, using the function of register of the wizard, or any other method that you use to propagate the settings.
Kind regards
Nicos
-
Hello gurus,
How can we see what size of CPU and RAM for the database? According to the previous steps of this great site, I could able to do
Therefore, the size of the RAM for the database to which I have connectedSQL> show parameter sga_max_size NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ sga_max_size big integer 800M SQL> exit
The one above was the command give the OS level that I don't know what information he gives and what database, since there are 12 databases on this server.rootd2n3v5# ioscan -kfn |grep -i processor processor 0 13/120 processor CLAIMED PROCESSOR Processor processor 1 13/121 processor CLAIMED PROCESSOR Processor processor 2 13/122 processor CLAIMED PROCESSOR Processor processor 3 13/123 processor CLAIMED PROCESSOR Processor rootd2n3v5#
How can I get the CPU information?
And where can I find information for information of system data files, logs, temp, Archive?
<div class="jive-quote">select * from v$version</div> BANNER ---------------------------------------------------------------- Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi PL/SQL Release 10.2.0.5.0 - Production CORE 10.2.0.5.0 Production TNS for HPUX: Version 10.2.0.5.0 - Production NLSRTL Version 10.2.0.5.0 - Production
Ask the system administrator if the database server is a physical machine, if it is hardware partitioned or created under a virtual machine Manager? Check the operating system utilities. On AIX uname to identify if you are on an LPAR.
In Oracle, you can query the parameter $ v to cpu_count to see how many cpu Oracle says he sees.
HTH - Mark D Powell.
-
Redlogfile size is 16 MB and generating the archivelog file size is approximately 10 Mb. what could be the reason?
Oracle Version: 10.2.0.4
OS: Windows
Published by: Deccan charger 19 April 2010 23:31First of all:
a redo log contains a lot of things necessary for instance etc. recovery an archived log is used only for the restorations - he didn't need all the stuff that is in a redo log, so when written CRA the archiving log that he does not write all knowledge, all that is required for restores
Second:
Archive logs is created with dimensions smaller, irregular, as the original redo logs. Why? [388627.1 ID]
--------------------------------------------------------------------------------
Last updated 2 June 2007 Type status MODERATE HOWTO
In this Document
Goal
Solution
References--------------------------------------------------------------------------------
This document is available to you through process of rapid visibility (RaV) of the Oracle's Support and therefore was not subject to an independent technical review.
Applies to:
Oracle Server - Enterprise Edition - Version: 8.1.7.4 to 11.1
Information in this document applies to any platform.Goal
Archive logs is created with dimensions smaller, irregular, as the original redo logs.
Commands like:
ALTER SYSTEM SWITCH LOGFILE
or
ALTER SYSTEM ARCHIVE LOG...
are not used to generate archives or change the log file. Thus, there is no parameter ARCHIVE_LAG_TARGET set.
What else could cause this behaviour?
Solution
From:
Bug: 5450861: NEWSPAPERS ARCHIVE IS GENERATED with one SIZE SMALLER THAN THE REDO LOG FILES
the explanation of this situation has 2 main reasons:
1 archiving logs do not have to be in the same size. This was decided very long ago, when blank padding archiving logs stopped for a very good reason - in order to save disk space.2. the log command does not exist when a redo log file is 100% full. There is an internal algorithm that determines when to switch journal. It also has a very good reason - do the command of newspaper at the last moment may incur performance problems (for various reasons, outside the scope of this note).
So, after that newspaper ordering occurs the archivers are only copying the information from the redo log files. As recovery logs are not 100% full after the command to log and archive logs are empty not filled after the copy operation is complete, this results in unequal files smaller than the original of redo log files.
This is very apparent for very low (less than 10 MB) log files; as a result, produced 2.5 MB archive logs of 5 MB recovery logs are very visible.
Just note that currently, the default log files are 100 MB in size. If the archives log files would be between 98 and 100 MB person would notice.
The main concern that one must have for newspapers of archives files is a possible corruption. This can be easily verified by attempting a resumption of testing. When it's ok, the size of the log archive uneven should be of no interest, as is expected. -
Installation through dbca.rsp - unable to enable logging of archive during installation
I am trying to perform an automated installation of Oracle 12 c DB.
In the same dbca.rsp file that is provided with the installer of Oracle 12 c I don't see a place where I can specify to enable logging on the installed database and the location of archive logs archives.
In addition, below parameter when specified makes no different to the installer and it takes just the default location every time.
#-----------------------------------------------------------------------------
# Name: RECOVERYAREADESTINATION
# Data type: String
# Description: Location of the data file
# Valid values: location of the recovery area
# Default: $ORACLE_BASE/flash_recovery_area
# Mandatory: No.
#-----------------------------------------------------------------------------
RECOVERYAREADESTINATION = "Z:\oradata\flash_recovery_area\".
Am I missing something? Thank you
Very well your log file shows
- [main] [20:19:46.788 IST OF 2014-05-09] Lsnr headset [NetworkUtils.getOneLocalListenerProtocolAddress:3111]
- [main] [20:19:46.788 IST OF 2014-05-09] [HAUtils.getCurrentOracleHome:493] Home of the Oracle system property: C:\app\oracle\product\12.1.0\dbhome_1
- [main] [20:19:46.788 IST OF 2014-05-09] [CmdToolUtil. [
: 250] m_winDllLoc = C:\app\oracle\product\12.1.0\dbhome_1\bin - [main] [20:19:46.788 IST OF 2014-05-09] [GETCRSHOMEUtil. [
: 93] ToolName: getcrshome.exe - tool rental: C:\app\oracle\product\12.1.0\dbhome_1\binTool dependencies: [Ljava.lang.String;@4a53fb57 ] - [Thread-18] [20:19:46.804 IST OF 2014-05-09] [StreamReader.run:61] In StreamReader.run
- [Thread-17] [20:19:46.804 IST OF 2014-05-09] [StreamReader.run:61] In StreamReader.run
- [main] [20:19:46.819 IST OF 2014-05-09] [CmdToolUtil.doexecuteLocally:884] retval = 1
- [main] [20:19:46.835 IST OF 2014-05-09] [CmdToolUtil.doexecuteLocally:885] exitval = 1
- [main] [20:19:46.835 IST OF 2014-05-09] [CmdToolUtil.doexecuteLocally:886] rtErrLength = 0
- [main] [20:19:46.866 IST OF 2014-05-09] [CmdToolUtil.doexecuteLocally:892] Unable to run the command. Command = env [C:\app\oracle\product\12.1.0\dbhome_1\bin\getcrshome.exe] = error = null]
- [main] [20:19:46.866 IST OF 2014-05-09] [HAUtils.getHASHome:1398] Could not get at home.
- PRCT-1011: cannot run 'getcrshome.exe '. [Error:]
- [main] [20:19:46.866 IST OF 2014-05-09] BestSoFar = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1521)) [NetworkUtils.getOneLocalListenerProtocolAddress:3263]
- [main] [20:19:46.866 IST OF 2014-05-09] Host [NetworkUtils.getOneLocalListenerProtocolAddress:3276] = null hostParam = 10.94.153.35
- [main] [20:19:46.866 IST OF 2014-05-09] [NetworkUtils.getOneLocalListenerProtocolAddress:3342] bestAddrSoFar = (ADDRESS = (PROTOCOL = TCP) (HOST = 10.94.153.35)(PORT=1521)) return
- [main] [20:19:46.866 IST OF 2014-05-09] [NetworkUtils.getOneLocalListenerProtocolAddress:3402] Return bestSoFar = (ADDRESS = (PROTOCOL = TCP)(HOST=10.94.153.35) (PORT = 1521))
- [main] [20:19:46.866 IST OF 2014-05-09] [NetworkUtils.getOneLocalListenerProtocolAddress:3402] Return bestSoFar = (ADDRESS = (PROTOCOL = TCP)(HOST=10.94.153.35) (PORT = 1521))
- [main] [20:19:46.866 IST OF 2014-05-09] [NetworkUtils.isDefaultHostName:2793] lsnrHost: 10.94.153.35 ==> ip address: 10.94.153.35 host: oracle12c ==> ip address: 10.94.153.35
- [main] [20:19:46.866 IST OF 2014-05-09] Listener [NetworkUtils.getLocalListenerAddresses:1317] [0] = address of the listener = null
- [main] [20:19:46.866 IST OF 2014-05-09] [StepContext.setListenersToUpdate:928] needLocalListener = false
Your listener is not configured correctly, your server is missing a valid host name or your listener is missing entries of the database...
Well, I think you leave this parameter empty, like the YES program automatically detect the listener installed on the host computer and to configure!
-
Applied deletion logs archiving on standby DB
Hello:
I need help in the construction of this shell script to me. We have databases of production on oracle 9i (9.2.0.8) on solaris 9 OS. Each of these databases have a physical standby (same configuration as the primary) all pending databases are on the same node. At the moment I have to hand, check the location of archive and remove the logs that are already applied to the system. I want to eliminate this manual activity to automate this. I have the primary DB on a daily and weekly backup RMAN. (Not sure WHAT RMAN has any command to meet my needs).
The shell (BASH) script should do the following.
1. the source of the oraenv file
2. connect to the database.
3. get the number # from the last applied log.
4. store in a variable.
5. go the archives directory and delete all files up to the number #, we are at step 3.
6. the connection to the database next and repeat the same thing.
I have very little experience with shell scripts and no help from the team would be really useful
Kind regards
BMPBala,
Here is an example, (read comments) you may need to extend this to fit your needs, but it should work as is and change the shell (regardless of shelll you use).
#!/bin/ksh typeset username=$1 function readSqlstmt { typeset stmt=$1 echo " set feedback off set verify off set heading off set pagesize 0 whenever sqlerror exit 1 whenever oserror exit 2 $stmt; exit " | sqlplus -S "/as sysdba" >> test.log } # You can remove this killpid function from the script or comment out function killpid { killpidsql=killpid.sql sqlplus -s "/as sysdba" << ENDOFSQL >> test.log whenever sqlerror exit 1 whenever oserror exit 2 SET pagesize 0 SET verify off SET feedback off SPOOL ${killpidsql} SELECT 'ALTER system kill session ''' || s.sid || ',' || s.serial# || ''';' FROM v\$session s, v\$process p WHERE s.paddr = p.addr AND s.status = 'INACTIVE'; SPOOL OFF #@${killpidsql} ENDOFSQL } readSqlstmt "SELECT name from v\$archived_log WHERE applied = 'YES'" | while read u do echo $u # Here you can print first to see if you are getting the correct list # then you can simply remove # # rm $u done
Concerning
-
Warning of the Oracle:-unable to allocate required archive log
Hi master,
I have a database of oracle 9i R2 on the platform of windows server 2003.
yesterdayi had an unusual error on server indicating that
ORACLE instance orcl-impossible to allocate log, required required archiving
Press on < enter > to acknowledge message
What does this message mean?
What is error operating system?
someone at - it experience dealing with this kind of message?
Thanks and greetings
VDHello
As you said that you are resolved by clearing old files archive, there is lack of space on the system and you deleted the old ones, by which you got the free space available and you issue obtained resolved as far as I KNOW. Let me know if I'm correct or not regarding the understanding of your problem.
they assume that all here are experts and no a gonn don't ask one stupid question here...
isn't the thia forum is for each oracle user? or only experts are invited here?
can u plz developed for me?Vikrant,
See that this forum is for each person and all over the world who work on ORACLE and who doesn't on ORACLE. Don't bother on reviews and try to take the comments in a positive way and prepare and try to acquire more knowledge by learning of each post (depending on your weather condition). One day you will be one of the experts... I can seee that...!
There are Experts, Senior DBA, Consultants, Junior DB and learners (I'm one of learners between them).-Pavan Kumar N
-
Removal of log file archive on the backup database
Hi all
This command delete CONFIGURE ARCHIVELOG DELETION POLICY to APPLY ON STANDBY archive log file automatically on the basis of data pending?
Thank youHello
There are two areas... (1) primary 2 pending)
I thought that you have set this parameter on primary... So like I said if set you in primary this custom delete archive logs in the standby mode.
But if you choose standby, Yes it will be erased.
More evidence - based Archivelogs maintenance ensures [464668.1 ID]
I hope this helps...
-
I keep changing power options, even the one who always says, but this isn't help even when I restart after setting up things. It will just automatically to stand-by after a few minutes, no matter what I do, most of the time and not always. so it happened me really confused as far as what I need to do.
Hello
You did changes to the computer before the show?
Method 1:
Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/322756/)How to back up and restore the registry in WindowsYou can check if for a network card power management is disabled.How to disable for a network card power management when you deploy Windows XP
http://support.Microsoft.com/kb/837058
Method 2:
Log on to the computer manufacturer website and update the latest drivers for chipset, BIOS (Basic Input\Output System). Also, look for other updates to the device driver.
Reference: How to manage devices in Windows XP
Note: Update of the BIOS can be a complicated process, and if an error occurs, your computer could be rendered unusable. Be sure to observe the instructions of the manufacturer.
You can see the following article for more information:
How to solve the problems of hibernation and standby in Windows XP
http://support.Microsoft.com/kb/907477
Let us know if it helps!
Maybe you are looking for
-
In the logic Pro X (10.2.1) documentation different ways to display the Accidentals are mentioned. I have Logic Pro X 10.2.2 and alterations drop-down I can see that by default, sharps and sharps to flats apartments. All the other options described a
-
ToolTips for the image (e.g. on xkcd) do not show
I'm on firefox 11 (aurora) now. Since about 7 FF, image ToolTips, such as those on the xkcd comic, do not appear when I hover over them. This is even if the Web sites use standard html correctly ("title" attribute used for ToolTips).
-
Satellite Pro A120 (PSAC1E-03Y010EN) no access to the BIOS
Hi all I upgraded my OS from XP - Pro to Win7 Ultimate 2010 March, no problem everything works OK. Now that I need more space, I want to upgrade the hard disk of 40 GB to 320 GB. I can not access the bios to change the boot system (boot from DVD, for
-
Is it different with Windows Live Mail and Windows Mail
I'm having a problem with my Windows Mail and is woundering if I download the new Windows Live Mail if it can help and it's a better program. Mike
-
I send emails and do not know that they are not received. The ones I know about are the domain of Verizon. I have no notice of nondelivery. It started a month ago. Prior to this, all messages have been delivered without exception.