Link to home
Start Free TrialLog in
Avatar of seffer
sefferFlag for Germany

asked on

How can I find the logonname of a ora-01017 logon denied?

Hello,

I'm a database admin of a oracle 11g. I have a application without any support and this application give me a ora-01017 (since the new server).
The logon on the oracle database is in background of this application.
Now I need the information which oracle logonname the application use to logon?
Have you any Idea how I can find the logonname of the logon that failed with ora-01017?

Thank you
Reiner
Avatar of johnsone
johnsone
Flag of United States of America image

You need to look in the listener.log file.  That should have the information you are looking for.

If you want to log this in an ongoing manner, you can create a trigger that will log it to a table.  However, since it seems like this already happened, that isn't going to help you now.
Avatar of slightwv (䄆 Netminder)
slightwv (䄆 Netminder)

Check the listener.log file.

If that doesn't have it check the OS logs.

If neither of those have the info you'll likely need to turn on auditing to track it.
Avatar of seffer

ASKER

Thank you, but I don't need the os user. I need the logonname of oracle which the application try to connect and fail with ora-01017

in the listener.log I see only the os user
ASKER CERTIFIED SOLUTION
Avatar of johnsone
johnsone
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial