当前位置: 技术问答>linux和unix
Linux下oracle如何 建库建表出错???
来源: 互联网 发布时间:2015-09-24
本文导语: 我 用linux AS3Z装了ORACLE9i.现在用sql/plus无法建表:步骤如下最后提示ORA-01109: database not open这是怎么回事啊??? [oracle@newOracle oracle]$ sqlplus /nolog SQL*Plus: Release 9.2.0.4.0 - Production on Tue Apr 26 18:27:29 2005 Copyright (c) 1...
我 用linux AS3Z装了ORACLE9i.现在用sql/plus无法建表:步骤如下最后提示ORA-01109: database not open这是怎么回事啊???
[oracle@newOracle oracle]$ sqlplus /nolog
SQL*Plus: Release 9.2.0.4.0 - Production on Tue Apr 26 18:27:29 2005
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
SQL> connect /as sysdba
Connected.
SQL> show user
USER is "SYS"
SQL> create table zz
2 (nnn varchar(3));
create table zz
*
ERROR at line 1:
ORA-01109: database not open
我用LSNRCTL查看,有错误,但不知为什么????
LSNRCTL> start
Starting /opt/ora9/product/9.2/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 9.2.0.4.0 - Production
Log messages written to /opt/ora9/product/9.2/network/log/listener.log
Error listening on: (ADDRESS=(PROTOCOL=tcp)(PORT=1521))
TNS-12542: TNS:address already in use
TNS-12560: TNS:protocol adapter error
TNS-00512: Address already in use
Linux Error: 98: Address already in use
Listener failed to start. See the error message(s) above...
急啊!!!!!
[oracle@newOracle oracle]$ sqlplus /nolog
SQL*Plus: Release 9.2.0.4.0 - Production on Tue Apr 26 18:27:29 2005
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
SQL> connect /as sysdba
Connected.
SQL> show user
USER is "SYS"
SQL> create table zz
2 (nnn varchar(3));
create table zz
*
ERROR at line 1:
ORA-01109: database not open
我用LSNRCTL查看,有错误,但不知为什么????
LSNRCTL> start
Starting /opt/ora9/product/9.2/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 9.2.0.4.0 - Production
Log messages written to /opt/ora9/product/9.2/network/log/listener.log
Error listening on: (ADDRESS=(PROTOCOL=tcp)(PORT=1521))
TNS-12542: TNS:address already in use
TNS-12560: TNS:protocol adapter error
TNS-00512: Address already in use
Linux Error: 98: Address already in use
Listener failed to start. See the error message(s) above...
急啊!!!!!
|
你的数据库没有启动
你的监听已经在启动了
欢迎访问我的个人网站 www.linuxc.net
你的监听已经在启动了
欢迎访问我的个人网站 www.linuxc.net
|
ps -e | grep tnslsnr
netstat -nt 看看监听程序启动了什么端口。
netstat -nt 看看监听程序启动了什么端口。
|
要不 dbassist 重新建一个数据库试试