Link to home
Start Free TrialLog in
Avatar of BAYEXPERTZ
BAYEXPERTZFlag for Canada

asked on

Host Credentials for Oracle Enterprise Manager 11g not working?

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.
Avatar of slightwv (䄆 Netminder)
slightwv (䄆 Netminder)

I have to ask the obvious:  Is the user account in question locked or has the password expired?
Avatar of BAYEXPERTZ

ASKER

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.
Sounds good thank you much appreciated!

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"

Yes it is a network account and I have tried company\oracle

What about password being case-sensitive?
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?
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.

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"
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.


Should I create the user like this
CREATE USER "ORACLE"  IDENTIFIED EXTERNALLY;

or with the Domain in front?

CREATE USER "COMPANY\ORACLE"   IDENTIFIED EXTERNALLY;
My Last one please or can you edit it to  oracle "company\oracle"
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.
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.
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?
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.
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.)
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.
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.
Did you figure this out? I am having the same problem.
No not yet brainsurf1: I'm thinking it's something to do with our windows 2008 Domain Controller and authenticating with it.
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
ASKER CERTIFIED SOLUTION
Avatar of BAYEXPERTZ
BAYEXPERTZ
Flag of Canada 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
Abandon question all together