dbTalk Databases Forums  

becomes disconnected / Oracle9-Windows / ora-12560 / SP2-0640

comp.database.oracle comp.database.oracle


Discuss becomes disconnected / Oracle9-Windows / ora-12560 / SP2-0640 in the comp.database.oracle forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Bjorn Jensen
 
Posts: n/a

Default becomes disconnected / Oracle9-Windows / ora-12560 / SP2-0640 - 05-16-2005 , 03:17 AM






Hello!
conn bdj/bdj@hub92 works fine
but
conn bdj/bdj
results in ora-12560 and i'll become disconnected.

Can I change this behaviour?

The real problem is, that I want to run scripts from rdbms\admin
(spcreate.sql etc),
but I got SP2-0640. But I think these problems are related.

Greetings
Bjørn



Reply With Quote
  #2  
Old   
Matthias Hoys
 
Posts: n/a

Default Re: becomes disconnected / Oracle9-Windows / ora-12560 / SP2-0640 - 05-16-2005 , 04:37 AM







"Bjorn Jensen" <b.d.jen_removethissen (AT) gmxandthis (DOT) net> wrote

Quote:
Hello!
conn bdj/bdj@hub92 works fine
but
conn bdj/bdj
results in ora-12560 and i'll become disconnected.

Can I change this behaviour?

The real problem is, that I want to run scripts from rdbms\admin
(spcreate.sql etc),
but I got SP2-0640. But I think these problems are related.

Greetings
Bjørn


Try setting your oracle environment first : set ORACLE_SID=hub92 and then
try connecting again.

Let us know if it works.




Reply With Quote
  #3  
Old   
Bjorn Jensen
 
Posts: n/a

Default Re: becomes disconnected / Oracle9-Windows / ora-12560 / SP2-0640 - 05-16-2005 , 02:21 PM



Hi!
Thank you - it works!
But why can't i write
sqlplus "/ as sysdba" from the dos-commandprompt?
I got 'insufficient privelegies'...
Thaks for help!
Bjørn

"Matthias Hoys" <idmwarpzone_NOSPAM_ (AT) yahoo (DOT) com> wrote

Quote:
"Bjorn Jensen" <b.d.jen_removethissen (AT) gmxandthis (DOT) net> wrote in message
news:4288570d$0$13714$ba624c82 (AT) nntp06 (DOT) dk.telia.net...
Hello!
conn bdj/bdj@hub92 works fine
but
conn bdj/bdj
results in ora-12560 and i'll become disconnected.

Can I change this behaviour?

The real problem is, that I want to run scripts from rdbms\admin
(spcreate.sql etc),
but I got SP2-0640. But I think these problems are related.

Greetings
Bjørn



Try setting your oracle environment first : set ORACLE_SID=hub92 and then
try connecting again.

Let us know if it works.





Reply With Quote
  #4  
Old   
Matthias Hoys
 
Posts: n/a

Default Re: becomes disconnected / Oracle9-Windows / ora-12560 / SP2-0640 - 05-16-2005 , 02:36 PM




"Bjorn Jensen" <b.d.jen_removethissen (AT) gmxandthis (DOT) net> wrote

Quote:
Hi!
Thank you - it works!
But why can't i write
sqlplus "/ as sysdba" from the dos-commandprompt?
I got 'insufficient privelegies'...
Thaks for help!
Bjørn

This must have something to do with OS permissions ... is your Windows user
a member of the ORA_DBA local group ?




Reply With Quote
  #5  
Old   
Bjorn Jensen
 
Posts: n/a

Default Re: becomes disconnected / Oracle9-Windows / ora-12560 / SP2-0640 - 05-16-2005 , 11:26 PM



yes...
/Bjørn

"Matthias Hoys" <idmwarpzone_NOSPAM_ (AT) yahoo (DOT) com> wrote

Quote:
"Bjorn Jensen" <b.d.jen_removethissen (AT) gmxandthis (DOT) net> wrote in message
news:4288f2d5$0$639$ba624c82 (AT) nntp02 (DOT) dk.telia.net...
Hi!
Thank you - it works!
But why can't i write
sqlplus "/ as sysdba" from the dos-commandprompt?
I got 'insufficient privelegies'...
Thaks for help!
Bjørn


This must have something to do with OS permissions ... is your Windows
user
a member of the ORA_DBA local group ?





Reply With Quote
  #6  
Old   
Matthias Hoys
 
Posts: n/a

Default Re: becomes disconnected / Oracle9-Windows / ora-12560 / SP2-0640 - 05-17-2005 , 12:56 PM




"Bjorn Jensen" <b.d.jen_removethissen (AT) gmxandthis (DOT) net> wrote

Quote:
yes...
/Bjørn

"Matthias Hoys" <idmwarpzone_NOSPAM_ (AT) yahoo (DOT) com> wrote in message
news:4288f65c$0$26081$ba620e4c (AT) news (DOT) skynet.be...

"Bjorn Jensen" <b.d.jen_removethissen (AT) gmxandthis (DOT) net> wrote in message
news:4288f2d5$0$639$ba624c82 (AT) nntp02 (DOT) dk.telia.net...
Hi!
Thank you - it works!
But why can't i write
sqlplus "/ as sysdba" from the dos-commandprompt?
I got 'insufficient privelegies'...
Thaks for help!
Bjørn


This must have something to do with OS permissions ... is your Windows
user
a member of the ORA_DBA local group ?




Have you tried :

set ORACLE_SID=...
sqlplus /nolog
connect / as sysdba

?

Are you using a password file ? Is the connection local on the server or
remote from a client PC ?




Reply With Quote
  #7  
Old   
Bjorn Jensen
 
Posts: n/a

Default Re: becomes disconnected / Oracle9-Windows / ora-12560 / SP2-0640 - 05-17-2005 , 03:30 PM



Hi!
Quote:
set ORACLE_SID=...
sqlplus /nolog
connect / as sysdba

It doesn't work

Are you using a password file ? Is the connection local on the server or
remote from a client PC ?

No, I'm not using passwordfile.

Greetings
Bjørn




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.