亚洲乱码中文字幕综合,中国熟女仑乱hd,亚洲精品乱拍国产一区二区三区,一本大道卡一卡二卡三乱码全集资源,又粗又黄又硬又爽的免费视频

Oracle 安裝和卸載問題收集(集合篇)第3/6頁

 更新時間:2009年06月25日 16:45:01   作者:  
在安裝過程中出現(xiàn)的一些問題的解決辦法。值得收藏與學(xué)習(xí)。比如在安裝的時候如果有中文的路徑則會出現(xiàn)類似這樣的提示:加載數(shù)據(jù)庫時出錯:areasQueries

在單機(jī)上安裝805,OracleTNSListener80不能啟動
問題:
我在win2000下安裝了ORACLE805,有網(wǎng)卡,但是沒有沒有連網(wǎng)。
解答:
1.805必須聯(lián)網(wǎng),設(shè)置Microsoft loopback或使用816。直接把Listener的偵聽地址設(shè)到127.0.0.1上試試看。
2.把(PROTOCOL=ipc 和snmp)的配置刪除,我是在win98下裝的804,
listener.ora配置如下:
LISTENER =
(ADDRESS_LIST =
(ADDRESS =
(PROTOCOL = TCP)
(Host = 192.168.1.4)
(Port = 1521)
)
(ADDRESS =
(PROTOCOL = TCP)
(Host = 127.0.0.1)
(Port = 1521)
)
#被注釋 (ADDRESS =
# (PROTOCOL = SPX)
# (Service = y_lsnr)
# )
)
STARTUP_WAIT_TIME_LISTENER = 0
CONNECT_TIMEOUT_LISTENER = 10
TRACE_LEVEL_LISTENER = ADMIN
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = y)
(SID_NAME = ORCL)
)
(SID_DESC =
(SID_NAME = extproc)
(PROGRAM=extproc)
)
)
運行正常。
ORA-12516 TNS:監(jiān)聽程序無法找到匹配的信息棧的可用句柄錯誤
先打開 TNSNAMES.ORA 這個文件, (位于 //OraHome1/network/admin/tnsnames.ora) ,確定(INSTANCE_NAME=) 和 INITsid.ORA 文件中的 實例名(執(zhí)行項次) 匹配
ORA-12154 TNS不能解析服務(wù)名
使用Oracle的網(wǎng)絡(luò)配置助手“net configration assistant”刪除所有的網(wǎng)絡(luò)的配置(主要是監(jiān)聽程序的配置和本地網(wǎng)絡(luò)服務(wù)名的配置),然后重新配置??梢允褂萌缦旅畈炜词欠衲愕臄?shù)據(jù)庫服務(wù)器已經(jīng)啟動(在 *** 作系統(tǒng)中的“服務(wù)”中顯示為啟動,但你的數(shù)據(jù)庫并不一定啟動了。在MS-Dos提示符下輸入:
C:\svrmgrl
SVRMGR:>connect to internal
密碼:<輸入你的密碼,如果不知道,輸入ORACLE試試>
如果連接成功,執(zhí)行help可以察看命令。
SVRMGR>startup
如果提示你的數(shù)據(jù)庫已經(jīng)啟動,則執(zhí)行“stop”停止數(shù)據(jù)庫,然后再執(zhí)行“startup”啟動。
無法啟動實例服務(wù)
控制面板-->管理工具-->服務(wù)下面的查看OracleServiceTest服務(wù)有沒有啟動,如果沒有啟動則啟動。如果啟動時候報找不到路徑,則查看注冊表HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleServiceTest項并設(shè)置 ImagePath>D:\Oracle\Ora92\BIN\Oracle.exe test(你的安裝目錄,參數(shù)為你的服務(wù)名)以上兩則都可能是由于運行了注冊表軟件造成,比如優(yōu)化大師之類,我個人的解決辦法是在掃描注冊表的時候略過HKEY_LOCAL_MACHINE。
在Windows平臺上,安裝Oracle后產(chǎn)生如下服務(wù)
OracleMTSRecoveryService
OracleOraHome92Agent
OracleOraHome92HTTPServer
OracleOraHome92TNSListener
OracleServiceTest——以上為缺省配置為自動啟動的
OracleOraHome92ClientCache
OracleOraHome92PagingServer
OracleOraHome92SNMPPeerEncapsulator
OracleOraHome92SNMPPeerMasterAgent
設(shè)置自動啟動數(shù)據(jù)庫
可通過修改注冊表來實現(xiàn):
hkey_local_machine->software->microsoft->windows->currentversion->run->添加一個鍵值Oraclestart->其值為:c:\Oracle\ora81\bin\oradim.exe -startup -sid 數(shù)據(jù)庫別名 -usepwd Oracle -starttype inst
在啟動ORACLE服務(wù)時無法啟動‘OracleOracleAgent'
問題:提示錯誤如下:“在本地計算機(jī)無法啟動OracleOracleAgent服務(wù)。錯誤:3221356559”
原因:
The Intelligent Agent stores all jobs and event requests in a series of queue files in the network/agent directory. Upon startup, the Agent compares the actual hostname of the server to the hostname stored in the queue files. If the hostname of the server changes, the Agent will not recognize the queue files and will consider them corrupt. Then, the Agent will not start.
解答:
1. Remove the services.ora and all "q" files (*.q) from the $Oracle_Home\network\agent directory
2. Re-start the Intelligent Agent.
技巧:
This fix should be done with the understanding that any jobs or events registered against that Agent will be lost. Any active jobs or registered events against this agent should be removed from OEM console before deleting the agent's *.q files.
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist錯誤
問題:
剛剛裝上Oracle8.1.7以后(安裝過程非常正常),運行以下操作,一切正常。
C:\>sqlplus system/manager
SQL*Plus: Release 8.1.7.0.0 - Production on 星期四 11月 13 20:01:20 2003
(c) Copyright 2000 Oracle Corporation. All rights reserved.
連接到:
Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production
With the Partitioning option
JServer Release 8.1.7.0.0 - Production
SQL>
但是只要重啟電腦,再運行同樣操作,就會出現(xiàn)如下的問題:
C:\>sqlplus system/manager
SQL*Plus: Release 8.1.7.0.0 - Production on 星期四 11月 13 19:28:25 2003
(c) Copyright 2000 Oracle Corporation. All rights reserved.
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
此時查看Oracle進(jìn)程,所占用內(nèi)存不到10m。
但是只要執(zhí)行完Database Configuration Assistant--〉更改數(shù)據(jù)庫設(shè)置后,
再次執(zhí)行如上操作,就能正常運行:
此時Oracle進(jìn)程占用內(nèi)存接近100m,應(yīng)該比較正常。
但是只要重新啟動,就會依然出現(xiàn)
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
這種錯誤,只能用Database Configuration Assistant更改數(shù)據(jù)庫設(shè)置后才能使用,重啟后問題依舊。讓我百思不得其解。
解答:
數(shù)據(jù)庫實例沒隨計算機(jī)啟動。
1.數(shù)據(jù)庫啟動參數(shù)中是否有非PUBLIC回滾段! 要是有的話就先屏蔽掉,等創(chuàng)建完回滾段后重新打開,應(yīng)該就沒有問題了。當(dāng)時在ORACLE 7下成功。當(dāng)時我用原有的數(shù)據(jù)庫配置參數(shù)(*.ORA)文件創(chuàng)建以后就出現(xiàn)了上面的問題。
2.建議此時手動啟動服務(wù),觀察如果出現(xiàn)缺少路徑的提示,可以參照上文設(shè)定相關(guān)路徑。
ORA-12500: TNS: 監(jiān)聽程序無法啟動專用服務(wù)器進(jìn)程
1.lsnrctl status
2.lsnrctl start
3.sqlplus /nolog
4.connect / as sysdba
5.startup nomount
6.alter database open
逐步分解查找問題。
有可能是listener.ora文件被破壞了,遇到過類似的問題,重新配置listener.ora就可以了。

相關(guān)文章

最新評論