ORACLE 一次啟動異常

2021-04-12 18:56:23 字數 2690 閱讀 7199

準備安裝formbuilder 的 裝到 設定環境的時候 發現非要改變 oracle_home  隨便動了一下 設了乙個 新的目錄

dhome  接下來就沒有什麼興趣了, 也考慮到 還用不上, 就算了.

早上 準備測試 資料檔案移動 的操作的 , 發現資料 連不上去了  連線 彈出乙個 提示框

oraclehomekey oraclehomedir  都是變成 設定的 dhome ,原本隨便設定一下的  現在出現這個錯誤 暈死哦.

一下是整個操作過程

sql> connect  sys/change_on_install as sysdba

已連線。

sql> startup

ora-01081: 無法啟動已在執行的 oracle --- 請首先關閉

sql> shutdown

資料庫已經關閉。

已經解除安裝資料庫。

oracle 例程已經關閉。

sql> startup

ora-03113: 通訊通道的檔案結束

sql> shutdown

ora-24324: 未初始化服務控制代碼

ora-01041: 內部錯誤,hostdef 副檔名不存在

sql> startup mount

ora-24324: 未初始化服務控制代碼

ora-01041: 內部錯誤,hostdef 副檔名不存在

sql> startup pfile='d:/oracle/admin/leniz/pfile/init.ora'

ora-24324: 未初始化服務控制代碼

ora-01041: 內部錯誤,hostdef 副檔名不存在

sql> shutdown abort

ora-24324: 未初始化服務控制代碼

ora-01041: 內部錯誤,hostdef 副檔名不存在

sql> exit

從oracle9i enterprise edition release 9.0.1.2.1 - production

jserver release 9.0.1.1.1 - production中斷開

c:/documents and settings/leniz>d:

d:/>sqlplus

sql*plus: release 9.0.1.0.1 - production on 星期一 3月 5 09:49:14 2007

請輸入使用者名稱:  sys/change_on_install as sysdba

已連線到空閒例程。

sql> startup nomount

oracle 例程已經啟動。

total system global area  118255568 bytes

fixed size                   282576 bytes

variable size              83886080 bytes

database buffers           33554432 bytes

redo buffers                 532480 bytes

sql> alter database open;

alter database open

*error 位於第 1 行:

ora-01507: ??????

sql> shutdown abort

oracle 例程已經關閉。

sql> startup pfile='d:/oracle/admin/leniz/pfile/init.ora'

oracle 例程已經啟動。

total system global area  118255568 bytes

fixed size                   282576 bytes

variable size              83886080 bytes

database buffers           33554432 bytes

redo buffers                 532480 bytes

資料庫裝載完畢。

資料庫已經開啟。

sql> shutdown

資料庫已經關閉。

已經解除安裝資料庫。

oracle 例程已經關閉。

sql> startup

oracle 例程已經啟動。

total system global area  118255568 bytes

fixed size                   282576 bytes

variable size              83886080 bytes

database buffers           33554432 bytes

redo buffers                 532480 bytes

資料庫裝載完畢。

資料庫已經開啟。

sql> create spfile from pfile='d:/oracle/admin/leniz/pfile/init.ora'

2  ;

create spfile from pfile='d:/oracle/admin/leniz/pfile/init.ora'

*error 位於第 1 行:

ora-32002: 無法建立已由例程使用的 spfile

sql>

Centos7 一次系統啟動異常

通過xshell連線時,連線不上 檢視網路狀態 網絡卡資訊,發現配置的ens33下ip位址都沒有,network狀態如下 正常current和configured是一致的 同時其它好多服務都沒有正常執行。檢視配置檔案確認沒有錯誤後,啟動network,又報錯。這裡主要檢查了 etc sysconfi...

git一次push異常

git push u origin master f counting objects 1265,done.delta compression using up to 4 threads.compressing objects 100 1166 1166 done.writing objects 1...

一次 mysql 啟動錯誤

140321 13 19 31 mysqld safe starting mysqld daemon with databases from var lib mysql usr libexec mysqld can t find file mysql plugin.frm errno 13 1403...