統(tǒng)計服務(wù)器測試沒問題,剛好上次配置系統(tǒng)的時候有點問題,故重裝一次,配置好安全策略(最近在研究如何新配置一臺服務(wù)器的時候,第一時間配置好相關(guān)的安全設(shè)置,有空再寫下來)。 為了省事,直接冷備份Oracle的數(shù)據(jù)文件,安裝好oracle后,直接恢復(fù)到原來對應(yīng)的目錄。啟動,出現(xiàn):SQL> startup ORACLE 例程已經(jīng)啟動。Total System Global Area 135338868 bytes Fixed Size 453492 bytes Variable Size 109051904 bytes Database Buffers 25165824 bytes Redo Buffers 667648 bytes ORA-01991: ???????'D:/oracle/ora92/DATABASE/PWDora9.ORA'解決方法,由于未運行在歸檔模式下,使用orapwd重建oracle的密碼文件:C:/>orapwd /help Usage: orapwd file= passWord=entries= where file - name of password file (mand), password - password for SYS (mand), entries - maximum number of distinct DBA and OPERs (opt), There are no spaces around the equal-to (=) character. SQL> host del D:/oracle/ora92/DATABASE/PWDora9.ORASQL> host orapwd file=D:/oracle/ora92/DATABASE/PWDora9.ORA password=oraclepass e ntries=10SQL> alter database open;數(shù)據(jù)庫已更改。重新登錄的時候,應(yīng)該輸入舊數(shù)據(jù)庫設(shè)定的密碼;更具體完全的恢復(fù),可參考:http://www.dbonline.cn/source/oracle/20031214/resume%20database%20example.Html 其實,最近一年多解決了很多類似的問題,包括linux, oracle, windows server, cisco 路由,交換機,應(yīng)用服務(wù)器..., 但很多,在網(wǎng)上都已經(jīng)有現(xiàn)成的解決方法可以找到,故很少貼上來。