《ORA-01031: insufficient privileges》

不順事第三件,因為貪圖visual PC的方便,連資料庫也用複製的,沒想到後遺症還不少,不過也學到不少指令就是。

例如 orapwd (建立sys的密碼)、nid (修改 db_name及db_id)、lsnrctl (listener的command)、agentctl (agent service的command)...

不順事第三件,因為貪圖visual PC的方便,連資料庫也用複製的,沒想到後遺症還不少,不過也學到不少指令就是。

例如 orapwd (建立sys的密碼)、nid (修改 db_name及db_id)、lsnrctl (listener的command)、agentctl (agent service的command)、

emca (oracle enterprise manage configuration assistant的command)、dbca (建立database 的command)、

oemapp console (啟動 OEM 的command)。

重點是不知為什麼,突然無法用sys登入系統,百思不解下,重建sys的密碼檔,還是失敗。

最後重新啟動oracleservice<SID> 就搞定。