Link to home
Start Free TrialLog in
Avatar of Glen_D
Glen_D

asked on

Host Credentials to perform backups via Oracle Enterprise Manager

I keep getting an error saying wrong password for user when I know the local admin account can access the database...any ideas on this?

Thx
Avatar of schwertner
schwertner
Flag of Antarctica image

The user you are using for host credentials should have an OS right "log on as a batch job". The Management Agent logs onto the OS each time it is requested to run a job and without the above right it fails to connect.

The following is an example on Windows 2000:-

1. Go to control panel/administrative tools
a. click on "local security policy"
b. click on "local policies"
c. click on "user rights assignments"
d. double click on "log on as a batch job"
e. click on "add" and add the user that was entered in the "normal username" or "privileged username" section of the EM Console.

Hi schwertner. I had done this, I also needed to specify the OS user's domain too.
 So the OS used needed to be stated as domain\userid.
Works like a dream now.
Avatar of Sporty_Muks
Sporty_Muks

Password might have expired.
Avatar of Glen_D

ASKER

OK...thx schwertner...I'm in but getting a permission error now:

The job submission has failed for the following reason
ORA-20204: User does not exist: CF ORA-06512: at "SYSMAN.MGMT_USER", line 122 ORA-06512: at "SYSMAN.MGMT_JOBS", line 142 ORA-06512: at "SYSMAN.MGMT_JOBS", line 78 ORA-06512: at line 1
Avatar of Glen_D

ASKER

the permission error is when trying to submit the job...step 4....thx
You possibly do not point the correct OS user.
Make difference between Oracle and Os users.
They are different.
Avatar of Glen_D

ASKER

I'm pretty sure I did...

domain\user & pw

is this not a local user like Administrator?
Avatar of Glen_D

ASKER

whooops....yes

servername\administrator & pw
Glad to hear!
Avatar of Glen_D

ASKER

Still getting this error

      
The job submission has failed for the following reason
ORA-20204: User does not exist: CF ORA-06512: at "SYSMAN.MGMT_USER", line 122 ORA-06512: at "SYSMAN.MGMT_JOBS", line 142 ORA-06512: at "SYSMAN.MGMT_JOBS", line 78 ORA-06512: at line 1

Can you make a domain or other local admin a SYSDBA?

Thx
This seems to be a bug.
Oracle Enterprise manager is not the tool to do backups.
RMAN is one of the tools, but needs training and knowledge.
Another wau to back up is manually to backup the DB.
OEM brings many troubles wne used for complex tasks.
Avatar of Glen_D

ASKER

I think I found the issue....I am logging into oracle with an account I created; not a windows domain or server account.  I am receiving an error because this Oracle Account does not exist at SYSMAN.MGMT_USER.

Troubleshooting now
ASKER CERTIFIED SOLUTION
Avatar of schwertner
schwertner
Flag of Antarctica 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
Avatar of Glen_D

ASKER

OK...the account has the sysdba role; do I need to log in with another account?  When I do login, the username, pw and as sysdba are selected.

Thx
Avatar of Glen_D

ASKER

Excellent...thx so much
Thank you!
Good luck!