Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: achivelog strange behaviour of archiver

Re: achivelog strange behaviour of archiver

From: <Kenneth>
Date: Fri, 08 Feb 2002 12:53:01 GMT
Message-ID: <3c63c89d.16641048@news.capgemini.se>


On 7 Feb 2002 21:34:09 -0800, cjeastwd_at_powerup.com.au (obakesan) wrote:

>HiYa
>
>having a strange thing happen on a linux machine that I set up
>and got Oracle running on.
>
>I had set it up, to run and test archive log operation, and generally
>mucked about with it for a while, getting to understand what I was doing
>and learning on. Based on this I then set up the environments on another
>machine and all are running as I understand they should.
>
>Then I came back to the first machine, and tried to test my backup
>scripts, and found that it does not operate as I expect (while the other
>machine does)
>
>Eg
>
>with the database in ARCHIVELOG mode
>(select log_mode from v$database) and with the archiver process going
>
>(manually started with alter system archive log start)
>I can see process called ora_lgwr_$ORACLE_SID and ora_arc0_$ORACLE_SID
>
>and with the entries in init$ORACLE_SID.ora
> log_archive_dest = "/u01/app/oracle/admin/DEV/arch"
> log_archive_format = arch_%t_%s.arc
> background_dump_dest = /u01/app/oracle/admin/DEV/bdump
> user_dump_dest = /u01/app/oracle/admin/DEV/udump
>
>I would have thought that I was home and hosed. BUT
>
>when I issue a command
> alter system switch logfile;
>
>from sqlplus I get a file placed in $oracle_home/dbs/
>called (for example) arch1_93.dbf
>
>fushigi da naaa!!
>
>not only is the location odd, but also the name, as the name does not
>have the leading _ before the %t attribute
>
>
>strangely enough when I do the above on the other linux machine
>I get the file placed into the log_archive_dest location
>
>also just now, I noticed that log_archive_dest has "" surrounding the value
>but user_dump_dest and background_dump_dest do not.
>
>this is the same on the machine that works as I expected
>
>any suggestions welcome
>
>(Ohhh ... to all those who have given me answerers and advice so far
>thankyou very much it has been a very interesting 2 weeks of learning
>and I feel that I am just at the stage where I can be genuinely dangerous
>if let loose without a leash ... another year and I may be a DBA ;-)
>
>
>thanks again folks

Hi,

log_archive_dest value is not supposed to have "" around it. (Wheras, if you use the newer log_archive_dest_n = "destination" parameter, "" are actually required, but that is another story.)

Why it works on one machine I don't know. Simply removing the "" on both machines will make it work on both machines.

Received on Fri Feb 08 2002 - 06:53:01 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US