Pulling data from a db that NO ONE has a password to [message #533600] |
Wed, 30 November 2011 16:06 |
|
WJHamel
Messages: 27 Registered: November 2011 Location: Pensacola, FL
|
Junior Member |
|
|
Ok, first off, i'm a SQL DBA. I know enough about Oracle to frustrate myself to the point of a coronary.
Here's the futile situation:
We have a client for whom we're trying to do a data conversion. Their data is on an Oracle machine, but they lost their IT staff and NO ONE has any of the passwords for the user accounts on that machine. I can log in with DBSNMP/DBSNMP but it appears to hold insufficient priv's for me to do any sort of export. I'm looking to export their data as an excel file or anyting else that i can pull into SQL.
Is there any way at all, for me to get into this system to pull the necessary data out in the manner i need? When i run the Management app, it offers me two choices. The first is to run "standalone", which i do with the above un/pw combo. At that point, i can't do an export unless i run the managment app against the OMS. No one in their agency knows anything about their OMS, so this prevents me from logging into the mgmt app with the other option, which connects it to the OMS which would, ostensibly, give me the ability to export the data.
Any suggestions or should i just hang myself now?
thanks
james
|
|
|
|
|
|
|
|
|
|
Re: Pulling data from a db that NO ONE has a password to [message #533831 is a reply to message #533829] |
Thu, 01 December 2011 08:18 |
ThomasG
Messages: 3212 Registered: April 2005 Location: Heilbronn, Germany
|
Senior Member |
|
|
Well, you have to log into that machine with that XP user.
If the machine is in a domain, then *usually* the domain administrator is also a local administrator.
So the domain administrator of the domain should be able to change the password of that local XP user.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Pulling data from a db that NO ONE has a password to [message #533857 is a reply to message #533852] |
Thu, 01 December 2011 08:57 |
cookiemonster
Messages: 13962 Registered: September 2008 Location: Rainy Manchester
|
Senior Member |
|
|
WJHamel wrote on Thu, 01 December 2011 14:54Argh. Any queries i try to run now result in "invalid username/password; logon denied. Warning: you are no longer connected to ORACLE.". This, after i WAS logged in with DBSNMP/DBSNMP.
Somethings got confused, may have to try a reboot.
|
|
|
|
|
|
|
|
Re: Pulling data from a db that NO ONE has a password to [message #533863 is a reply to message #533857] |
Thu, 01 December 2011 09:08 |
ThomasG
Messages: 3212 Registered: April 2005 Location: Heilbronn, Germany
|
Senior Member |
|
|
And I'm also suspecting that it's not the server (or the Shawn user is not the normal DBA or a completely set up DBA) because there is no ORACLE_SID variable set in the environment.
Can you look in the services control panel (start -> run -> services.msc) which user the Oracle services are running under? (and if there are none, then we also know that that isn't the server)
edit:
Just read the tnsnames reply.
There are two databases it seems?
So try:
set ORACLE_SID=KAL10002
sqlplus "/ as sysdba"
or
set ORACLE_SID=MODOSE
sqlplus "/ as sysdba"
depending on which instance is the one you want to get into.
[Updated on: Thu, 01 December 2011 09:11] Report message to a moderator
|
|
|
|
|
|
|
|