Solved

Host Credentials to perform backups via Oracle Enterprise Manager

Posted on 2009-07-14
16
1,046 Views
Last Modified: 2012-06-27
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
0
Comment
Question by:Glen_D
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 8
  • 7
16 Comments
 
LVL 48

Expert Comment

by:schwertner
ID: 24849916
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.
0
 

Expert Comment

by:Sporty_Muks
ID: 24849950
Password might have expired.
0
 

Author Comment

by:Glen_D
ID: 24850053
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
0
Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

 

Author Comment

by:Glen_D
ID: 24850075
the permission error is when trying to submit the job...step 4....thx
0
 
LVL 48

Expert Comment

by:schwertner
ID: 24850130
You possibly do not point the correct OS user.
Make difference between Oracle and Os users.
They are different.
0
 

Author Comment

by:Glen_D
ID: 24850146
I'm pretty sure I did...

domain\user & pw

0
 
LVL 48

Expert Comment

by:schwertner
ID: 24850178
is this not a local user like Administrator?
0
 

Author Comment

by:Glen_D
ID: 24851554
whooops....yes

servername\administrator & pw
0
 
LVL 48

Expert Comment

by:schwertner
ID: 24851999
Glad to hear!
0
 

Author Comment

by:Glen_D
ID: 24852398
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
0
 
LVL 48

Expert Comment

by:schwertner
ID: 24852593
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.
0
 

Author Comment

by:Glen_D
ID: 24852653
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
0
 
LVL 48

Accepted Solution

by:
schwertner earned 500 total points
ID: 24852671
When you work with Oracle Enterprise Manager you can use SYS account.
It is Enterprise Manager ,  M A N A G E R  and only user with SYSDBA role can work with it.
0
 

Author Comment

by:Glen_D
ID: 24852695
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
0
 

Author Closing Comment

by:Glen_D
ID: 31603274
Excellent...thx so much
0
 
LVL 48

Expert Comment

by:schwertner
ID: 24853023
Thank you!
Good luck!
0

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious side…
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.

739 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