Solved

Host Credentials to perform backups via Oracle Enterprise Manager

Posted on 2009-07-14
16
1,039 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
  • 8
  • 7
16 Comments
 
LVL 47

Expert Comment

by:schwertner
Comment Utility
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
Comment Utility
Password might have expired.
0
 

Author Comment

by:Glen_D
Comment Utility
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
 

Author Comment

by:Glen_D
Comment Utility
the permission error is when trying to submit the job...step 4....thx
0
 
LVL 47

Expert Comment

by:schwertner
Comment Utility
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
Comment Utility
I'm pretty sure I did...

domain\user & pw

0
 
LVL 47

Expert Comment

by:schwertner
Comment Utility
is this not a local user like Administrator?
0
 

Author Comment

by:Glen_D
Comment Utility
whooops....yes

servername\administrator & pw
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 47

Expert Comment

by:schwertner
Comment Utility
Glad to hear!
0
 

Author Comment

by:Glen_D
Comment Utility
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 47

Expert Comment

by:schwertner
Comment Utility
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
Comment Utility
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 47

Accepted Solution

by:
schwertner earned 500 total points
Comment Utility
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
Comment Utility
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
Comment Utility
Excellent...thx so much
0
 
LVL 47

Expert Comment

by:schwertner
Comment Utility
Thank you!
Good luck!
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Suggested Solutions

Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

763 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now