Solved

Host Credentials to perform backups via Oracle Enterprise Manager

Posted on 2009-07-14
16
1,042 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
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
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.

 

Author Comment

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

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 47

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 47

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 47

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 47

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 47

Expert Comment

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

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
history tablespace temp usage 2 40
Repeat query 13 46
make null the repeated levels 2 20
Create file system directory from Oracle 10g 4 13
Article by: Swadhin
From the Oracle SQL Reference (http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/queries006.htm) we are told that a join is a query that combines rows from two or more tables, views, or materialized views. This article provides a glimps…
Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
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
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.

770 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