1.連線資料庫時候報錯
[ora10g@dbsvr dbs]$ sqlplus "sys/oracle@test as sysdba"
sql*plus: release 10.2.0.4.0 - production on sun jun 14 16:59:39 2009
error:
ora-28547: connection to server failed, probable oracle net admin error
2。檢視監聽狀態
[ora10g@dbsvr admin]$ lsnrctl status
lsnrctl for linux: version 10.2.0.4.0 - production on 14-jun-2009 17:02:15
connecting to (description=(address=(protocol=tcp)(host=192.168.0.10)(port=1521)))
status of the listener
------------------------
alias listener
version tnslsnr for linux: version 10.2.0.4.0 - production
start date 14-jun-2009 16:59:04
uptime 0 days 0 hr. 3 min. 11 sec
trace level off
security on: local os authentication
snmp off
listening endpoints summary...
(description=(address=(protocol=tcp)(host=192.168.0.10)(port=1521)))
(description=(address=(protocol=ipc)(key=extproc0)))
services summary...
service "test" has 2 instance(s).
instance "test", status unknown, has 1 handler(s) for this service...
instance "test", status ready, has 1 handler(s) for this service...
service "testxdb" has 1 instance(s).
instance "test", status ready, has 1 handler(s) for this service...
service "test_xpt" has 1 instance(s).
instance "test", status ready, has 1 handler(s) for this service...
the command completed successfully
可以看到監聽正常
3。tnsping連線正常
[ora10g@dbsvr admin]$ tnsping test
tns ping utility for linux: version 10.2.0.4.0 - production on 14-jun-2009 17:02:54
used parameter files:
used tnsnames adapter to resolve the alias
attempting to contact (description = (address = (protocol = tcp)(host = 192.168.0.10)(port = 1521)) (connect_data = (server = dedicated) (service_name = test)))
ok (0 msec)
資料庫再次連線正常,可能是例項動態註冊的過程,會有一小段時間延遲
Oracle資料庫報ora 28547錯誤解決方案
在家裡面使用本地資料庫用plsql可以正常開啟,來到公司後發現,程式本身可以查出資料,但是卻不能夠用plsql直接開啟,開啟則報ora 28547錯誤 通過搜尋前人回答,證實以下方法可用 1 繫結你的ip位址,別讓其動態獲取 2 修改oracle的網路配置檔案,具體做法是 在oracle安裝目錄下搜...
資料庫連線錯誤
我在使用mysql8.0時出現的這個錯誤,解決方法為在配置檔案中的url後面新增上一句 allowpublickeyretrieval true。錯誤即可解決。我在使用spring框架運算元據庫時出現這個錯誤,錯誤原因可能是因為username,url等字段是mysql的關鍵字,所以解決方法是在這些...
錯誤ORA 01113 資料庫介質檔案錯誤
c documents and settings administrator sqlplus nolog sql plus release 8.1.7.0.0 production on 星期一 7月 23 11 45 34 2007 sql conn sys manager as sysdba 已...