Archive for the 'ORA-ERROR' Category

ora-23421 job number 1 is not a job in job queue

Hi All,
Today we encountered a strange error i.e ora-23421  when trying
to remove a job from the job queue.
When we try to query the job in dba_jobs queue we found the job with job#=1
to be present
also when the job was running when we queried dba_job_running we found job
with job#=1
But when we try to remove the job using dbms_job package we got the above
error ora-23421.
SQL> conn sys as sysdba
SQL> exec dbms_job.remove(1);
ora-23421 job number 1 is not a job in job queue
All the above activities were carried out by logging as sysdba user.
In other words we tried to remove the job which was was created and scheduled
by some other user with sysdba user and as a result we got the above error.
Later on we queried priv_user column of the dba_jobs view for that job and
logged into the database with that user and removed the job with the same
dbms_job package
and the job was removed succesfully.
Share This

SP2-0734: unknown command beginning “catupgrd.s…” - rest of line ignored

Hi All,
Today while performing manual migration of the database to 10gr2 we encountered the following error while trying to run catupgrd.sql script as shown below
SQL> spool upgrade.log
SQL> @catupgrd.sql
SP2-0734: unknown command beginning “catupgrd.s…” - rest of line ignored
Later on we discovered that error was due to OS which was unix and following line needs to be added […]


Close
E-mail It