- 论坛徽章:
- 0
|
[root@db1 ~]# export ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1/
[root@db1 ~]# export ORACLE_SID=zddb1
[root@db1 ~]# sqlplus
-bash: sqlplus: command not found
[root@db1 ~]# /u01/app/oracle/product/10.2.0/db_1/bin/sqlplus "/ as sysdba"
SQL*Plus: Release 10.2.0.4.0 - Production on Fri May 29 09:58:12 2009
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
ERROR:
ORA-01031: insufficient privileges
Enter user-name:
ERROR:
ORA-01017: invalid username/password; logon denied
[root@db1 ~]# su - oracle
[oracle@db1 ~]$ export ORACLE_SID=zddb1
[oracle@db1 ~]$ export ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1/
[oracle@db1 ~]$ /u01/app/oracle/product/10.2.0/db_1/bin/sqlplus "/ as sysdba"
SQL*Plus: Release 10.2.0.4.0 - Production on Fri May 29 09:59:03 2009
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Connected to an idle instance.
SQL>
实例已经运行了,但Oracle用户和root用户看到的结果不一样,为什么? |
|