Setting up Rman on Oracle 10g R2 Getting ORA-01422: error message.

When setting up RMAN job on Oracle 10g R2, Windows Server 2003 using the Enterprise manager I am  getting.

ORA-01422: exact fetch returns more than requested number of rows ORA-06512: at "SYSMAN.MGMT_JOB_ENGINE", line 946 ORA-06512: at "SYSMAN.MGMT_JOB_ENGINE", line 5789 ORA-06512: at "SYSMAN.MGMT_JOB_ENGINE", line 5892 ORA-06512: at "SYSMAN.MGMT_JOB_ENGINE", line 3433 ORA-06512: at "SYSMAN.MGMT_JOB_ENGINE", line 4865 ORA-06512: at "SYSMAN.MGMT_JOB_ENGINE", line 4998 ORA-06512: at "SYSMAN.MGMT_JOB_ENGINE", line 5115 ORA-06512: at "SYSMAN.MGMT_JOB_ENGINE", line 5237 ORA-06512: at "SYSMAN.MGMT_JOB_ENGINE", line 5292 ORA-06512: at "SYSMAN.MGMT_JOBS", line 293 ORA-06512: at "SYSMAN.MGMT_JOBS", line 78 ORA-06512: at line 1

Any Ideas what might be causing this.

Many thanks
Who is Participating?
NigelcaConnect With a Mentor Author Commented:
Rebuilt the server. Now RMAN runs OK.

Must have been a rouge install.
Could be a problem when you are using RMAN to back up different databases that use the same DBID.  Also, if you are running Data Guard, you can get this error when you back up the primary and standby to the same RMAN repository.
Hmmm, how many rows does your DUAL table have?
select count(*) from dual;
NigelcaAuthor Commented:
Thanks guys.

Still a mystery why it is not working.

I checked DUAL before I posting then question.

Joe, I Checked DBID and it is unique.

Cloned the DB on a machine at home and RMAN works fine. Just not on the server.

At moment having to use scheduled Data pump jobs to back up, not ideal.

I shall continue to find the answer.

What do you exactly do in RMAN that you get this error message?
So you get error when you try to backup database or setup scheduled task and run it?
Can you send a script?

If all this is OK it might (although unlikely) to be a problem with installation... I'd try to repair the installation...
Or install software in new home and move database to new home... (need to be careful with PATH variable). Database is obviously OK if clone works...
All Courses

From novice to tech pro — start learning today.