商讯信箱
用户名: @
密  码:   注册|忘记密码
登录
个人用户经销商
您的位置:首页 > 服务器 > 正文
文本Tag: 操作系统
    5) 使用 dbstart 启动数据库的时候,系统提示 TNS 服务名不正确导致失败。

[oracle@rebeca oracle]$ dbstart SQL*Plus: Release 9.2.0.4.0 - Production on Sun Apr 2 22:41:05 2006 Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved. SQL> ERROR: ORA-12162: TNS:service name is incorrectly specified SQL> ORA-12162: TNS:service name is incorrectly specified SQL> Database "" warm started.
    经检查,是因为我太早去修改 /etc/oratab 了。Oracle结束安装自动写内容进去,导致变成下面这样,dbstart 脚本不能够识别 * 是哪个数据库的 SID。
cat /etc/oratab <----- *:/uxdb/ora9i/product/9.2:Y ora9i:/uxdb/ora9i/product/9.2:N ----->
    改成正确内容,再用 dbstart 能启动。通常装完Oracle再改就不会配置错了。
vi /etc/oratab <----- # *:/uxdb/ora9i/product/9.2:N ora9i:/uxdb/ora9i/product/9.2:Y -----> #----------------------------
相关关键词 操作系统
1 2 3 4 5 6 7 8
©版权所有。未经许可,不得转载。
[责任编辑:杨晓勇]