经检查,是因为我太早去修改 /etc/oratab 了。Oracle结束安装自动写内容进去,导致变成下面这样,dbstart 脚本不能够识别 * 是哪个数据库的 SID。[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.
改成正确内容,再用 dbstart 能启动。通常装完Oracle再改就不会配置错了。cat /etc/oratab
<-----
*:/uxdb/ora9i/product/9.2:Y
ora9i:/uxdb/ora9i/product/9.2:N
----->
vi /etc/oratab
<-----
# *:/uxdb/ora9i/product/9.2:N
ora9i:/uxdb/ora9i/product/9.2:Y
----->
![]()
#----------------------------
| 第1页: 中文环境安装时不能修改密码 | 第2页: 安装后Client 和 Web 无法连接 |
| 第3页: 启动 Apache 时候报错 | 第4页: 统提示 TNS 服务名不正确 |
| 第5页: dbstart 不能启动 | 第6页: 出现"ins_oemagent.mk"错误提示 |
| 第7页: 编译时链接库出错 | 第8页: Oracle 9206 乱码问题 |