Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Host Credentials to perform backups via Oracle Enterprise Manager

Posted on 2009-07-14
16
Medium Priority
?
1,052 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
 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

 

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 2000 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction A previously published article on Experts Exchange ("Joins in Oracle", http://www.experts-exchange.com/Database/Oracle/A_8249-Joins-in-Oracle.html) makes a statement about "Oracle proprietary" joins and mixes the join syntax with gen…
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 setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…

688 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