12
返回列表 发新帖
楼主: fansll

[原创] oracle92 sql*plus 连不上oracle7.3,怎么办??

[复制链接]
论坛徽章:
151
2014年新春福章
日期:2014-04-17 11:38:13奥运会纪念徽章:皮划艇静水
日期:2012-07-31 15:42:58奥运会纪念徽章:田径
日期:2012-07-10 16:21:10奥运会纪念徽章:跆拳道
日期:2012-06-20 22:07:29奥运会纪念徽章:皮划艇静水
日期:2012-06-16 02:55:21奥运会纪念徽章:曲棍球
日期:2012-06-13 10:09:19蛋疼蛋
日期:2012-05-19 23:20:41迷宫蛋
日期:2012-05-16 17:35:25版主2段
日期:2012-05-15 15:24:11双黄蛋
日期:2012-03-19 19:34:04
11#
发表于 2004-12-24 17:47 | 只看该作者
Connect as user system, drop the PRODUCT_PRIVS view and rerun the   PUPBLD.SQL script.

使用道具 举报

回复
论坛徽章:
0
12#
 楼主| 发表于 2004-12-24 17:50 | 只看该作者
运行sqlplus 后出现一个win窗口。

22.gif

0 Bytes, 下载次数: 70

使用道具 举报

回复
论坛徽章:
63
版主7段
日期:2012-05-15 15:24:11itpub13周年纪念徽章
日期:2014-10-08 15:16:50itpub13周年纪念徽章
日期:2014-10-08 15:16:50itpub13周年纪念徽章
日期:2014-10-08 15:16:50itpub13周年纪念徽章
日期:2014-10-10 14:34:59马上加薪
日期:2015-01-08 15:39:192015年新春福章
日期:2015-03-04 14:19:112015年新春福章
日期:2015-03-06 11:57:31
13#
发表于 2004-12-24 17:56 | 只看该作者
oracle92 sql*plus 是可以连上oracle7.3的.

使用道具 举报

回复
论坛徽章:
0
14#
 楼主| 发表于 2004-12-24 18:03 | 只看该作者
SQL> drop view PRODUCT_PRIVS ;
View dropped.
SQL>
SQL> host find /oracle/oracle -name pupbld.sql -ls
    1136    4 -rw-r--r--  1 oracle   dba          3989 Nov 18  1997 /oracle/oracle/app/oracle/product/7.3.4/sqlplus/admin/pupbld.sql
SQL> SQL> @ /oracle/oracle/app/oracle/product/7.3.4/sqlplus/admin/pupbld.sql
Synonym dropped.
  date_value from product_user_profile
                 *
ERROR at line 3:
ORA-00942: table or view does not exist
drop table product_user_profile
           *
ERROR at line 1:
ORA-00942: table or view does not exist
alter table product_profile add (long_value long)
                                 *
ERROR at line 1:
ORA-01430: column being added already exists in table
create table product_profile
             *
ERROR at line 1:
ORA-00955: name is already used by an existing object
View created.
Grant succeeded.
create public synonym product_profile for system.product_privs
                     *
ERROR at line 1:
ORA-00955: name is already used by an existing object
Synonym created.
create public synonym product_user_profile for system.product_privs
                      *
ERROR at line 1:
ORA-00955: name is already used by an existing object
create table user_profile
             *
ERROR at line 1:
ORA-00955: name is already used by an existing object
Grant succeeded.
create view user_privs as
            *
ERROR at line 1:
ORA-00955: name is already used by an existing object
Grant succeeded.
create public synonym user_profile for system.user_privs
                     *
ERROR at line 1:
ORA-00955: name is already used by an existing object
0 rows updated.
然后用sqlplus 92l连接:报错多了一行(SP2-0642: SQL*Plus internal error state 2091, context 0:0:0   Unsafe to proceed)

>sqlplus scott/tiger@ora9
SQL*Plus: Release 9.2.0.1.0 - Production on Fri Dec 24 17:52:03 2004
Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
SP2-0642: SQL*Plus internal error state 2091, context 0:0:0
Unsafe to proceed
Error accessing PRODUCT_USER_PROFILE
Warning:  Product user profile information not loaded!
You may need to run PUPBLD.SQL as SYSTEM

使用道具 举报

回复
论坛徽章:
151
2014年新春福章
日期:2014-04-17 11:38:13奥运会纪念徽章:皮划艇静水
日期:2012-07-31 15:42:58奥运会纪念徽章:田径
日期:2012-07-10 16:21:10奥运会纪念徽章:跆拳道
日期:2012-06-20 22:07:29奥运会纪念徽章:皮划艇静水
日期:2012-06-16 02:55:21奥运会纪念徽章:曲棍球
日期:2012-06-13 10:09:19蛋疼蛋
日期:2012-05-19 23:20:41迷宫蛋
日期:2012-05-16 17:35:25版主2段
日期:2012-05-15 15:24:11双黄蛋
日期:2012-03-19 19:34:04
15#
发表于 2004-12-24 18:15 | 只看该作者
是不是以system用户连进去执行的?
select owner from dba_objects where lower(object_name)='product_user_profile';

使用道具 举报

回复
论坛徽章:
0
16#
 楼主| 发表于 2004-12-24 18:19 | 只看该作者
SQL> select owner from dba_objects where lower(object_name)='product_user_profile';

OWNER
------------------------------
PUBLIC
SYSTEM

使用道具 举报

回复
论坛徽章:
0
17#
发表于 2004-12-25 08:46 | 只看该作者
最初由 jlandzpa 发布
[B]oracle92 sql*plus 是可以连上oracle7.3的. [/B]



Oracle92的版本不是已经不能够连接到Oracle 7.3的版本了吗?我有看到Metalink上说Oracle92已经不再支持连接到Oracle 7.3的版本了。

使用道具 举报

回复
论坛徽章:
0
18#
 楼主| 发表于 2004-12-26 19:26 | 只看该作者
哎,看来我只好用golden管理oracle734 server了,谢谢各位了!!

使用道具 举报

回复
论坛徽章:
0
19#
 楼主| 发表于 2004-12-27 13:50 | 只看该作者

结局!!

从9201 patch 到9204报很多错,最后服务启不来,运行sqlplus也报错,干脆在这个烂摊子上打9206的patch,成功了!!!oracleservice和sqlplus都可以运行,但是sqlplus9206l和第三方工具连oracle734都
不行,都是报ora-24439的错!!!例如:
SQL> conn scott/tiger@ora7
ERROR:
ORA-24439: Connections to Oracle7 server are no longer supported
Warning: You are no longer connected to ORACLE.

致此,终于知道sqlplus92不能连oracle7 server了。
metalink上说9.0.1可以连接oracle 734 server的
Server Version
Client Version 10.1.0 9.2.0 9.0.1 8.1.7 8.1.6 8.1.5 8.0.6 8.0.5 7.3.4
10.1.0(#4) Yes Yes Was Yes #2 No #3 No #3 No #3 No #3 No #3
9.2.0 Yes Yes Was Yes No No Was No No #1
9.0.1 Was Was Was Was Was No Was No Was
8.1.7 Yes Yes Was Yes Was Was Was Was Was
8.1.6 No No Was Was Was Was Was Was Was
8.1.5 No No No Was Was Was Was Was Was
8.0.6 No Was Was Was Was Was Was Was Was
8.0.5 No No No Was Was Was Was Was Was
7.3.4 No Was Was Was Was Was Was Was Was

哎,看样子,还要装ora817 client

使用道具 举报

回复

您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

TOP技术积分榜 社区积分榜 徽章 团队 统计 知识索引树 积分竞拍 文本模式 帮助
  ITPUB首页 | ITPUB论坛 | 数据库技术 | 企业信息化 | 开发技术 | 微软技术 | 软件工程与项目管理 | IBM技术园地 | 行业纵向讨论 | IT招聘 | IT文档
  ChinaUnix | ChinaUnix博客 | ChinaUnix论坛
CopyRight 1999-2011 itpub.net All Right Reserved. 北京盛拓优讯信息技术有限公司版权所有 联系我们 未成年人举报专区 
京ICP备16024965号-8  北京市公安局海淀分局网监中心备案编号:11010802021510 广播电视节目制作经营许可证:编号(京)字第1149号
  
快速回复 返回顶部 返回列表