欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

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

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

在單機(jī)上安裝805,OracleTNSListener80不能啟動(dòng)
問(wèn)題:
我在win2000下安裝了ORACLE805,有網(wǎng)卡,但是沒(méi)有沒(méi)有連網(wǎng)。
解答:
1.805必須聯(lián)網(wǎng),設(shè)置Microsoft loopback或使用816。直接把Listener的偵聽(tīng)地址設(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)
)
)
運(yùn)行正常。
ORA-12516 TNS:監(jiān)聽(tīng)程序無(wú)法找到匹配的信息棧的可用句柄錯(cuò)誤
先打開(kāi) TNSNAMES.ORA 這個(gè)文件, (位于 //OraHome1/network/admin/tnsnames.ora) ,確定(INSTANCE_NAME=) 和 INITsid.ORA 文件中的 實(shí)例名(執(zhí)行項(xiàng)次) 匹配
ORA-12154 TNS不能解析服務(wù)名
使用Oracle的網(wǎng)絡(luò)配置助手“net configration assistant”刪除所有的網(wǎng)絡(luò)的配置(主要是監(jiān)聽(tīng)程序的配置和本地網(wǎng)絡(luò)服務(wù)名的配置),然后重新配置。可以使用如下命令察看是否你的數(shù)據(jù)庫(kù)服務(wù)器已經(jīng)啟動(dòng)(在 *** 作系統(tǒng)中的“服務(wù)”中顯示為啟動(dòng),但你的數(shù)據(jù)庫(kù)并不一定啟動(dòng)了。在MS-Dos提示符下輸入:
C:\svrmgrl
SVRMGR:>connect to internal
密碼:<輸入你的密碼,如果不知道,輸入ORACLE試試>
如果連接成功,執(zhí)行help可以察看命令。
SVRMGR>startup
如果提示你的數(shù)據(jù)庫(kù)已經(jīng)啟動(dòng),則執(zhí)行“stop”停止數(shù)據(jù)庫(kù),然后再執(zhí)行“startup”啟動(dòng)。
無(wú)法啟動(dòng)實(shí)例服務(wù)
控制面板-->管理工具-->服務(wù)下面的查看OracleServiceTest服務(wù)有沒(méi)有啟動(dòng),如果沒(méi)有啟動(dòng)則啟動(dòng)。如果啟動(dòng)時(shí)候報(bào)找不到路徑,則查看注冊(cè)表HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleServiceTest項(xiàng)并設(shè)置 ImagePath>D:\Oracle\Ora92\BIN\Oracle.exe test(你的安裝目錄,參數(shù)為你的服務(wù)名)以上兩則都可能是由于運(yùn)行了注冊(cè)表軟件造成,比如優(yōu)化大師之類,我個(gè)人的解決辦法是在掃描注冊(cè)表的時(shí)候略過(guò)HKEY_LOCAL_MACHINE。
在Windows平臺(tái)上,安裝Oracle后產(chǎn)生如下服務(wù)
OracleMTSRecoveryService
OracleOraHome92Agent
OracleOraHome92HTTPServer
OracleOraHome92TNSListener
OracleServiceTest——以上為缺省配置為自動(dòng)啟動(dòng)的
OracleOraHome92ClientCache
OracleOraHome92PagingServer
OracleOraHome92SNMPPeerEncapsulator
OracleOraHome92SNMPPeerMasterAgent
設(shè)置自動(dòng)啟動(dòng)數(shù)據(jù)庫(kù)
可通過(guò)修改注冊(cè)表來(lái)實(shí)現(xiàn):
hkey_local_machine->software->microsoft->windows->currentversion->run->添加一個(gè)鍵值Oraclestart->其值為:c:\Oracle\ora81\bin\oradim.exe -startup -sid 數(shù)據(jù)庫(kù)別名 -usepwd Oracle -starttype inst
在啟動(dòng)ORACLE服務(wù)時(shí)無(wú)法啟動(dòng)‘OracleOracleAgent'
問(wèn)題:提示錯(cuò)誤如下:“在本地計(jì)算機(jī)無(wú)法啟動(dòng)OracleOracleAgent服務(wù)。錯(cuò)誤: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錯(cuò)誤
問(wèn)題:
剛剛裝上Oracle8.1.7以后(安裝過(guò)程非常正常),運(yùn)行以下操作,一切正常。
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>
但是只要重啟電腦,再運(yùn)行同樣操作,就會(huì)出現(xiàn)如下的問(wè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
此時(shí)查看Oracle進(jìn)程,所占用內(nèi)存不到10m。
但是只要執(zhí)行完Database Configuration Assistant--〉更改數(shù)據(jù)庫(kù)設(shè)置后,
再次執(zhí)行如上操作,就能正常運(yùn)行:
此時(shí)Oracle進(jìn)程占用內(nèi)存接近100m,應(yīng)該比較正常。
但是只要重新啟動(dòng),就會(huì)依然出現(xiàn)
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
這種錯(cuò)誤,只能用Database Configuration Assistant更改數(shù)據(jù)庫(kù)設(shè)置后才能使用,重啟后問(wèn)題依舊。讓我百思不得其解。
解答:
數(shù)據(jù)庫(kù)實(shí)例沒(méi)隨計(jì)算機(jī)啟動(dòng)。
1.數(shù)據(jù)庫(kù)啟動(dòng)參數(shù)中是否有非PUBLIC回滾段! 要是有的話就先屏蔽掉,等創(chuàng)建完回滾段后重新打開(kāi),應(yīng)該就沒(méi)有問(wèn)題了。當(dāng)時(shí)在ORACLE 7下成功。當(dāng)時(shí)我用原有的數(shù)據(jù)庫(kù)配置參數(shù)(*.ORA)文件創(chuàng)建以后就出現(xiàn)了上面的問(wèn)題。
2.建議此時(shí)手動(dòng)啟動(dòng)服務(wù),觀察如果出現(xiàn)缺少路徑的提示,可以參照上文設(shè)定相關(guān)路徑。
ORA-12500: TNS: 監(jiān)聽(tīng)程序無(wú)法啟動(dòng)專用服務(wù)器進(jìn)程
1.lsnrctl status
2.lsnrctl start
3.sqlplus /nolog
4.connect / as sysdba
5.startup nomount
6.alter database open
逐步分解查找問(wèn)題。
有可能是listener.ora文件被破壞了,遇到過(guò)類似的問(wèn)題,重新配置listener.ora就可以了。

相關(guān)文章

最新評(píng)論