Solved

Host Credentials for Oracle Enterprise Manager 11g not working?

Posted on 2011-02-15
28
3,376 Views
Last Modified: 2013-11-11
My server is Windows 2003 64bit and just recently my host logon for Enterprise Manager 11g has failed to work when I try to do a schedule backup or anywhere host credential's are needed.  The error i get is:

Valadation Error:
Connection to host as user company\oracle failed.

***company is the domain and this logon worked 3 days's ago

I have also tried just Username: oracle psw: XXXXX
without the domain and no luck.

I have done nothing new that I am aware of to the server it just stop working.  I have tried adding the user to the "Logon as batch job" local security policy. the user is also a member of ora_dba group. I have tried alot of the suggestion I have found around the internet but nothing seems to be working.  Any help would be greatly appreciated.
0
Comment
Question by:BAYEXPERTZ
  • 13
  • 4
  • 4
  • +3
28 Comments
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
Comment Utility
I have to ask the obvious:  Is the user account in question locked or has the password expired?
0
 

Author Comment

by:BAYEXPERTZ
Comment Utility
The user account is not locked and not expired it actually works fine on our Windows XP test server that has Oracle 11g on it as well.
0
 

Author Comment

by:BAYEXPERTZ
Comment Utility
Sounds good thank you much appreciated!
0
 
LVL 29

Expert Comment

by:MikeOM_DBA
Comment Utility

If "oracle" is a local account, then you need to set the credentials as "{localhost name}\oracle"

Otherwise if oracle is network account you need to set the credentials as "{local-domain name}\oracle"

0
 

Author Comment

by:BAYEXPERTZ
Comment Utility
Yes it is a network account and I have tried company\oracle
0
 
LVL 29

Expert Comment

by:MikeOM_DBA
Comment Utility

What about password being case-sensitive?
0
 

Author Comment

by:BAYEXPERTZ
Comment Utility
I've tried every single combination. I have just read that removing and re-installing EM, using the
emca -deconfig and emca -config commands is a possible solution does anybody know the proper way step by step how to do this?
0
 
LVL 29

Expert Comment

by:MikeOM_DBA
Comment Utility
Re-installing EM is not the answer.
I was experiencing the same issue dome time ago.

Create a "company\oracle" externally identified account in the database with DBA privileges -- don't know if it has anything to do with it, but that is the way I had it configured and it worked.

0
 

Author Comment

by:BAYEXPERTZ
Comment Utility
I'm pretty sure I've tried that Mike but please provide step by step instructions on how you created "an externally identified account in the database with DBA privileges"
0
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
Comment Utility
The docs provide the external syntax:  EXTERNALLY Clause

http://download.oracle.com/docs/cd/E11882_01/server.112/e17118/statements_8003.htm

Pay attention to this note:

Caution:
Oracle strongly recommends that you do not use IDENTIFIED EXTERNALLY with operating systems that have inherently weak login security.


0
 

Author Comment

by:BAYEXPERTZ
Comment Utility
Should I create the user like this
CREATE USER "ORACLE"  IDENTIFIED EXTERNALLY;

or with the Domain in front?

CREATE USER "COMPANY\ORACLE"   IDENTIFIED EXTERNALLY;
0
 

Author Comment

by:BAYEXPERTZ
Comment Utility
My Last one please or can you edit it to  oracle "company\oracle"
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 

Author Comment

by:BAYEXPERTZ
Comment Utility
I have tried the IDENTIFIED EXTERNALLY user  and it didn't work I also tried the statements below to re create the EM also never worked

emca -deconfig dbcontrol db -repos drop

emca -config dbcontrol db -repos create

Any more suggestions? I'm starting to run out of options.
0
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
Comment Utility
Sorry.  I can't help much.  All I know is Oracle has never really liked domain level accounts.

I always created local admin accounts for all my Oracle installs on Windows and haven't had any problems.

If it used to work and now doesn't, something changed.  If you cannot figure out what changed, try creating a local admin account for this.
0
 

Author Comment

by:BAYEXPERTZ
Comment Utility
thanks slightwv I've tried that I even disconnected the server from the network to make sure it was grabing a domain account....I'm quite surprised that more experts haven't made suggestions here?
0
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
Comment Utility
If you've tried with a local admin account there's a problem somewhere.  I suggest you open an SR with Oracle Support.

Not sure why other Experts haven't commented.  Feel free to click 'Request Attention' above and a Moderator can put out a call for help.
0
 
LVL 34

Expert Comment

by:Mark Geerlings
Comment Utility
We have the same problem trying to pass host credentials to Oracle on Linux from OEM, so this may be more of an OEM problem, than a Windows-specific problem.

(I'm posting this partly to be notifed if/when others post suggestions that may help.)
0
 
LVL 16

Expert Comment

by:rolutola
Comment Utility
Check Oracle Support Note 1080647.1

The first recommendation is that the oracle user is a local administrator with ORA_DBA group membership. There are other requirements that I suggest you check and implement.

R.
0
 

Author Comment

by:BAYEXPERTZ
Comment Utility
Yes that is how my user is set up but it doesn't work.  However a couple of weeks ago it did but like I said I am not sure what has changed or updated somewhere because I can't get no host user to work.
0
 

Expert Comment

by:brainsurf1
Comment Utility
Did you figure this out? I am having the same problem.
0
 

Author Comment

by:BAYEXPERTZ
Comment Utility
No not yet brainsurf1: I'm thinking it's something to do with our windows 2008 Domain Controller and authenticating with it.
0
 
LVL 29

Expert Comment

by:MikeOM_DBA
Comment Utility
Should I create the user like this
CREATE USER "ORACLE"  IDENTIFIED EXTERNALLY;

or with the Domain in front?

CREATE USER "COMPANY\ORACLE"   IDENTIFIED EXTERNALLY;

The second way as follows:

For local account:  HOSTNAME\ORACLE
For network account: DOMAIN\ORACLE
0
 

Accepted Solution

by:
BAYEXPERTZ earned 0 total points
Comment Utility
close this question, please.
0
 

Author Closing Comment

by:BAYEXPERTZ
Comment Utility
Abandon question all together
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Learn about cloud computing and its benefits for small business owners.
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
Via a live example, show how to take different types of Oracle backups using RMAN.
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now