Solved

Host Credentials to perform backups via Oracle Enterprise Manager

Posted on 2009-07-14
16
1,050 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
Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

 

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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
Shell script to create broker configuration file using current broker Configuration, solely for purpose of backup on Linux. Script may need to be modified depending on OS-installation. Please deploy and verify the script in a test environment.
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.
Suggested Courses

617 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