| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> Re: achivelog strange behaviour of archiver
cjeastwd_at_powerup.com.au (obakesan) wrote in message news:<666a787e.0202072134.7e0fc46_at_posting.google.com>...
> 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
First the dumb question: After you modified the init.ora parameters did you bounce the instance to pick them up?
If we did not get lucky with the above have you tried to dynamically modify the archive log destination using an alter system command? Alter system set log_archive_destination = string
Are there any error or warning messages related to archiving in the alert log?
HTH
![]() |
![]() |