连接数据库报错ORA-12514
2008-09-19 12:55:42 来源:WEB开发网连接时报错:
[oracle@yangtk2~]$lsnrctlstatus
LSNRCTLforLinux:Version11.1.0.6.0-Productionon01-SEP-200817:36:03
Copyright(c)1991,2007,Oracle.Allrightsreserved.
Connectingto(DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUSoftheLISTENER
------------------------
AliasLISTENER
VersionTNSLSNRforLinux:Version11.1.0.6.0-Production
StartDate01-SEP-200817:01:31
Uptime0days0hr.34min.32sec
TraceLeveloff
SecurityON:LocalOSAuthentication
SNMPOFF
ListenerParameterFile/data/oracle/product/11.1/network/admin/listener.ora
ListenerLogFile/data/oracle/diag/tnslsnr/yangtk2/listener/alert/log.xml
ListeningEndpointsSummary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.25.1.104)(PORT=1521)))
Thelistenersupportsnoservices
Thecommandcompletedsuccessfully
检查listener.ora和tnsnames.ora都未发现异常:
[oracle@yangtk2admin]$morelistener.ora
#listener.oraNetworkConfigurationFile:/data/oracle/product/11.1/network/admin/listener.ora
#GeneratedbyOracleconfigurationtools.
LISTENER=
(DESCRIPTION_LIST=
(DESCRIPTION=
(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521))
(ADDRESS=(PROTOCOL=TCP)(HOST=192.25.1.104)(PORT=1521))
)
)
[oracle@yangtk2admin]$moretnsnames.ora
#tnsnames.oraNetworkConfigurationFile:/data/oracle/product/11.1/network/admin/tnsnames.ora
#GeneratedbyOracleconfigurationtools.
ORA11G_S=
(DESCRIPTION=
(ADDRESS=(PROTOCOL=TCP)(HOST=192.25.1.104)(PORT=1521))
(CONNECT_DATA=
(SERVER=DEDICATED)
(SERVICE_NAME=ora11g_s.ytk-thinkpad)
)
)
ORA11G_P=
(DESCRIPTION=
(ADDRESS=(PROTOCOL=TCP)(HOST=192.25.1.102)(PORT=1521))
(CONNECT_DATA=
(SERVER=DEDICATED)
(SERVICE_NAME=ora11g_p.ytk-thinkpad)
)
)
- ››oracle 恢复误删除的表和误更新的表
- ››Oracle分页查询排序数据重复问题
- ››Oracle创建dblink报错:ORA-01017、ORA-02063解决
- ››Oracle 提高SQL执行效率的方法
- ››Oracle 动态查询,EXECUTE IMMEDIATE select into...
- ››Oralce新建数据库、新建远程登录用户全过程
- ››Oracle 11g必须开启的服务及服务详细介绍
- ››oracle性能34条优化技巧
- ››oracle数据库生成随机数的函数
- ››Oracle 数据库表空间容量调整脚本
- ››oracle单库彻底删除干净的方法
- ››Oracle创建表空间、创建用户以及授权、查看权限
更多精彩
赞助商链接