Return-Path: <ml-errors@fatcity.com>
Received: from air189.startdedicated.com (root@localhost)
 by orafaq.com (8.11.6/8.11.6) with ESMTP id hBIGj4L28617
 for <oracle-l@orafaq.com>; Thu, 18 Dec 2003 10:45:04 -0600
X-ClientAddr: 66.27.56.210
Received: from ns3.fatcity.com (rrcs-west-66-27-56-210.biz.rr.com [66.27.56.210])
 by air189.startdedicated.com (8.11.6/8.11.6) with ESMTP id hBIGj4o28612
 for <oracle-l@orafaq.com>; Thu, 18 Dec 2003 10:45:04 -0600
Received: from ns3.fatcity.com (localhost.localdomain [127.0.0.1])
 by ns3.fatcity.com (8.12.8/8.12.8) with ESMTP id hBIGcmsn005047
 for <oracle-l@orafaq.com>; Thu, 18 Dec 2003 08:39:53 -0800
Received: (from root@localhost)
 by ns3.fatcity.com (8.12.8/8.12.5/Submit) id hBIFtkP3021273
 for oracle-l@orafaq.com; Thu, 18 Dec 2003 07:55:48 -0800
Received: by fatcity.com (05-Jun-2003/v1.0g-b73/bab) via fatcity.com id 005DA521; Thu, 18 Dec 2003 07:59:25 -0800
Message-ID: <F001.005DA521.20031218075925@fatcity.com>
Date: Thu, 18 Dec 2003 07:59:25 -0800
To: Multiple recipients of list ORACLE-L <ORACLE-L@fatcity.com>
X-Comment: Oracle RDBMS Community Forum
X-Sender: "zhu chao" <chao_ping@vip.163.com>
Sender: ml-errors@fatcity.com
Reply-To: ORACLE-L@fatcity.com
Errors-To: ML-ERRORS@fatcity.com
From: "zhu chao" <chao_ping@vip.163.com>
Subject: Re: DB link to standby
Organization: Fat City Network Services, San Diego, California
X-ListServer: v1.0g, build 73; ListGuru (c) 1996-2003 Bruce A. Bergman
Precedence: bulk
Mime-Version: 1.0
Content-Type: text/plain;	charset="iso-8859-1"
Content-Transfer-Encoding: 8bit

DB link to standbyFirst, I don't understandby why connect to a not open standby.
Second, maybe this also works for you, like:
[oracle@misc3 oracle]$ sqlplus internal/password@standby @test.sql

SQL*Plus: Release 8.1.7.0.0 - Production on Thu Dec 18 23:59:20 2003

(c) Copyright 2000 Oracle Corporation.  All rights reserved.


Connected to:
Oracle8i Enterprise Edition Release 8.1.7.2.0 - 64bit Production
With the Partitioning option
JServer Release 8.1.7.2.0 - 64bit Production


  COUNT(*)
----------
         8

Disconnected from Oracle8i Enterprise Edition Release 8.1.7.2.0 - 64bit Production
With the Partitioning option
JServer Release 8.1.7.2.0 - 64bit Production

[oracle@misc3 oracle]$ cat test.sql
select count(*) from v$session;
exit
----- Original Message ----- 
To: Multiple recipients of list ORACLE-L 
Sent: Thursday, December 18, 2003 9:59 PM


On standby database server, you can connect to "/ as sysdba" and query 
fixed tables/views. Is it possible to create a database link which connects 
to sysdba user to query the fixed tables/view? 
I tried, but getting following error 
ORA-02068: following severe error from TEST_SB 
ORA-01033: ORACLE initialization or shutdown in progress 
Thanks 
Ashish 
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: zhu chao
  INET: chao_ping@vip.163.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru@fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

