Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Connect Internal vs Connect / as sysdba

Re: Connect Internal vs Connect / as sysdba

From: Mark D Powell <Mark.Powell_at_eds.com>
Date: 16 Mar 2004 07:27:55 -0800
Message-ID: <2687bb95.0403160727.8369f6f@posting.google.com>


"Howard J. Rogers" <hjr_at_dizwell.com> wrote in message news:<4056e47d$0$31907$afc38c87_at_news.optusnet.com.au>...
> "Neil Cudd" <neil_at_cudd.demon.co.uk> wrote in message
> news:190d457f.0403160211.2cfeb7ac_at_posting.google.com...
> > Hi all,
> >
> > I know this subject must have been done to death, but I have had two
> > occasions recently where I found myself wishing for the opportunity to
> > connect internal (how often does that happen ?).
> >
> > I'm on AIX 5L and 9.2.0.3.
> >
> > An instance recently hit max # of sessions. Any attempt to connect /
> > as sysdba
>
> From where? A client or the server itself?
>
> >gives the "Max # of sessions exceeded" message - unhelpful.
> > In the end I had to kill the unix processes.
> >
> > Another instance recently had the archive log area fill. Any attempt
> > to connect / as sysdba gave the message (bizzarely) that the instance
> > was not started.
>
> The *exact* error message would be helpful. If it says startup or shutdown
> in progress, that tells us a thing or two (namely that, for some reason,
> your connection attempt is being interpreted as a connection request from an
> ordinary user).
>
> >This also seemed to refuse RMAN connections (my RMAN
> > archive backup and delete script just hung. In the end I grew the
> > archive log filesystem, bu7t this may not always be possible.
> >
> > In both cases I know I would have been able to proeviously connect
> > internal (in earlier versions).
>
> The difficulty *may* be along the lines that "connect internal" is
> unambiguous. Whereas "connect / as sysdba" could, because of the spaces
> involved, be mis-parsed for some reason as "connect /", meaning an ordinary
> user is attempting to connect with external authentication. And that might
> be why you are experiencing the issues.
>
> It's difficult to know unless you can replicate the issue (temporarily point
> archiving to an incorrect file location, for example, if that is possible)
> and then provide exact screen captures (of the text, not graphics!).
>
> >And whilst I could have cleanly shut
> > the instance for the first issue (max connections), the second issue
> > (arch log area full) required the RMAN connection to resolve the issue
> > but was unable.
> >
> > Are these known holes in the functionality of connect / as sysdba ?
>
> None that I am aware of. It is functionally identical to connect internal.
> There were bugs when it first came out, but that was ages ago, and (as far
> as I know) fully fixed by the time you get to 9.2.0.3
>
>
> Regards
> HJR
>
> > Metalink can be decidedly unhelpful in situations like these, simply
> > stating "Connect internal is no longer supportd".
> >
> > Many thanks for any help and answers,
> >
> > Regards,
> > neil.

Neil, how did you invoke SQLPlus? sqlplus /nolog and then try to connect or were you trying to connect from an existing session?

I have also ran into difficulty getting a session when there was a problem on the db when we were running 8.1, but svrmgrl still existed and was able to connect.

Received on Tue Mar 16 2004 - 09:27:55 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US