Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: changing server time which affects oracle time
On Thu, 14 Oct 2004, holger.baer_at_science-computing.de wrote:
> Brian Dick wrote:
>> metalink shows this as a bug that is still under >> investigation. Oracle is saving the parameter as >> fixed_date='NONE' when it should be saving the paramenter as >> fixed_date=NONE without the quotes. I was able to recreate the >> problem and a work-around. The official way to recover is >> from a backup for your spfile, you can copy it over the >> spfile. Assuming you are using Windows, the spfiles are in the >> %ORA_HOME%\database directory. If you have a backup that is a >> pfile, start the instance with the pfile. Then use the >> following command. create spfile from >> pfile='your.backup.pfile.ora'; I didn't have a backup and this >> is my work-around. 1) Edit the spfile with a binary editor. >> 2) Change the fixed_date='NONE' to fixed_date=1JAN00. 3) Run >> command startup. 4) Run command create pfile='c:\pfile.ora' >> from spfile. 5) Run command shutdown. 6) Edit c:\pfile.ora >> with a text editor. 7) Remove the fixed_date=* line. 8) Run >> command startup pfile='c:\pfile.ora'. 9) Run command create >> spfile from pfile='c:\pfile.ora'. 10) Run command shutdown. >> 11) Run command startup. Good luck!
I actually just brought the instance up with an init file that I created, then I did a "create file from spfile" and then shutdown the database again. Edited that new init file, brought the database up with this init file and then did a "create spfile from file" and then shutdown once more and then started up once more.
-- Galen BoyerReceived on Thu Oct 14 2004 - 09:30:28 CDT
![]() |
![]() |