Re: Followup to jobs not running

2003-03-31 Thread Jerome Roa
should have bought the blue!!!

At 12:04 PM 3/28/03 -0800, you wrote:
Privileges should be granted to the user, who created the job.
Was it system?
Igor Neyman, OCP DBA
[EMAIL PROTECTED]


- Original Message -
To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED]
Sent: Friday, March 28, 2003 2:13 PM
 I changed the job_queue_processes (thanks Barbara), and the jobs all
started running, but they are not successful from within the job_queue.
They are jobs to gather schema stats using dbs_stats and are run as the
system user.  I can run the what of the jobs within sqlplus successfully,
but whether I run the job manually or the job_queue runs the job, it is
still failing.  The error I see is insuffient privileges, but I have tried
specifically granting execute on dbms_stats to system.  Is there anything
else I should look for?

 Terry Ball, DBA
 Birch Telecom
 Work: 816-300-1335
 FAX:  816-300-1800

 --
 Please see the official ORACLE-L FAQ: http://www.orafaq.net
 --
 Author: Ball, Terry
   INET: [EMAIL PROTECTED]

 Fat City Network Services-- 858-538-5051 http://www.fatcity.com
 San Diego, California-- Mailing list and web hosting services
 -
 To REMOVE yourself from this mailing list, send an E-Mail message
 to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
 the message BODY, include a line containing: UNSUB ORACLE-L
 (or the name of mailing list you want to be removed from).  You may
 also send the HELP command for other information (like subscribing).


--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: Igor Neyman
  INET: [EMAIL PROTECTED]
Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: Jerome Roa
 INET: [EMAIL PROTECTED]
Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


Re: Followup to jobs not running

2003-03-28 Thread Igor Neyman
Privileges should be granted to the user, who created the job.
Was it system?

Igor Neyman, OCP DBA
[EMAIL PROTECTED]



- Original Message -
To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED]
Sent: Friday, March 28, 2003 2:13 PM


 I changed the job_queue_processes (thanks Barbara), and the jobs all
started running, but they are not successful from within the job_queue.
They are jobs to gather schema stats using dbs_stats and are run as the
system user.  I can run the what of the jobs within sqlplus successfully,
but whether I run the job manually or the job_queue runs the job, it is
still failing.  The error I see is insuffient privileges, but I have tried
specifically granting execute on dbms_stats to system.  Is there anything
else I should look for?

 Terry Ball, DBA
 Birch Telecom
 Work: 816-300-1335
 FAX:  816-300-1800

 --
 Please see the official ORACLE-L FAQ: http://www.orafaq.net
 --
 Author: Ball, Terry
   INET: [EMAIL PROTECTED]

 Fat City Network Services-- 858-538-5051 http://www.fatcity.com
 San Diego, California-- Mailing list and web hosting services
 -
 To REMOVE yourself from this mailing list, send an E-Mail message
 to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
 the message BODY, include a line containing: UNSUB ORACLE-L
 (or the name of mailing list you want to be removed from).  You may
 also send the HELP command for other information (like subscribing).




-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Igor Neyman
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



RE: Followup to jobs not running

2003-03-28 Thread Ball, Terry
Yes.  System is the job owner/creator.

Terry Ball, DBA
Birch Telecom
Work: 816-300-1335
FAX:  816-300-1800


-Original Message-
Sent: Friday, March 28, 2003 2:04 PM
To: Multiple recipients of list ORACLE-L


Privileges should be granted to the user, who created the job.
Was it system?

Igor Neyman, OCP DBA
[EMAIL PROTECTED]



- Original Message -
To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED]
Sent: Friday, March 28, 2003 2:13 PM


 I changed the job_queue_processes (thanks Barbara), and the jobs all
started running, but they are not successful from within the job_queue.
They are jobs to gather schema stats using dbs_stats and are run as the
system user.  I can run the what of the jobs within sqlplus successfully,
but whether I run the job manually or the job_queue runs the job, it is
still failing.  The error I see is insuffient privileges, but I have tried
specifically granting execute on dbms_stats to system.  Is there anything
else I should look for?

 Terry Ball, DBA
 Birch Telecom
 Work: 816-300-1335
 FAX:  816-300-1800

 --
 Please see the official ORACLE-L FAQ: http://www.orafaq.net
 --
 Author: Ball, Terry
   INET: [EMAIL PROTECTED]

 Fat City Network Services-- 858-538-5051 http://www.fatcity.com
 San Diego, California-- Mailing list and web hosting services
 -
 To REMOVE yourself from this mailing list, send an E-Mail message
 to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
 the message BODY, include a line containing: UNSUB ORACLE-L
 (or the name of mailing list you want to be removed from).  You may
 also send the HELP command for other information (like subscribing).




-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Igor Neyman
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Ball, Terry
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



RE: Followup to jobs not running

2003-03-28 Thread Ball, Terry
That did not help.  It takes longer to error out, but it is still failing.  I can set 
the same jobs up for the sys user and they run without problems.  I am not sure why 
the system user is the owner of the jobs and since I am the only DBA here this 
afternoon, I will have to wait until next week to find out if there is a reason for 
not moving them to sys.

If anyone else has any ideas, I am still open to suggestions.

Terry Ball, DBA
Birch Telecom
Work: 816-300-1335
FAX:  816-300-1800


-Original Message-
[mailto:[EMAIL PROTECTED]
Sent: Friday, March 28, 2003 1:42 PM
To: Ball, Terry



GRANT ANALYZE ANY TO SYSTEM;




   
  
  Ball, Terry
  
  [EMAIL PROTECTED]To:   Multiple recipients of list 
ORACLE-L [EMAIL PROTECTED] 
  Sent by: cc: 
  
  [EMAIL PROTECTED] Subject:  Followup to jobs not running 
   
   
  
   
  
  03/28/2003 11:13 
  
  AM   
  
  Please respond to
  
  ORACLE-L 
  
   
  
   
  




I changed the job_queue_processes (thanks Barbara), and the jobs all
started running, but they are not successful from within the job_queue.
They are jobs to gather schema stats using dbs_stats and are run as the
system user.  I can run the what of the jobs within sqlplus successfully,
but whether I run the job manually or the job_queue runs the job, it is
still failing.  The error I see is insuffient privileges, but I have tried
specifically granting execute on dbms_stats to system.  Is there anything
else I should look for?

Terry Ball, DBA
Birch Telecom
Work: 816-300-1335
FAX:  816-300-1800

--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: Ball, Terry
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).






-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Ball, Terry
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



RE: Followup to jobs not running

2003-03-28 Thread Jamadagni, Rajendra
Title: RE: Followup to jobs not running





login as sys and grant analyze any table to system.


Raj
-
Rajendra dot Jamadagni at espn dot com
Any views expressed here are strictly personal.
QOTD: Any clod can have facts, having an opinion is an art !!



-Original Message-
From: Ball, Terry [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 28, 2003 3:29 PM
To: Multiple recipients of list ORACLE-L
Subject: RE: Followup to jobs not running



Yes. System is the job owner/creator.


Terry Ball, DBA
Birch Telecom
Work: 816-300-1335
FAX: 816-300-1800



-Original Message-
Sent: Friday, March 28, 2003 2:04 PM
To: Multiple recipients of list ORACLE-L



Privileges should be granted to the user, who created the job.
Was it system?


Igor Neyman, OCP DBA
[EMAIL PROTECTED]




- Original Message -
To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED]
Sent: Friday, March 28, 2003 2:13 PM



 I changed the job_queue_processes (thanks Barbara), and the jobs all
started running, but they are not successful from within the job_queue.
They are jobs to gather schema stats using dbs_stats and are run as the
system user. I can run the what of the jobs within sqlplus successfully,
but whether I run the job manually or the job_queue runs the job, it is
still failing. The error I see is insuffient privileges, but I have tried
specifically granting execute on dbms_stats to system. Is there anything
else I should look for?

 Terry Ball, DBA
 Birch Telecom
 Work: 816-300-1335
 FAX: 816-300-1800

 --
 Please see the official ORACLE-L FAQ: http://www.orafaq.net
 --
 Author: Ball, Terry
 INET: [EMAIL PROTECTED]

 Fat City Network Services -- 858-538-5051 http://www.fatcity.com
 San Diego, California -- Mailing list and web hosting services
 -
 To REMOVE yourself from this mailing list, send an E-Mail message
 to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
 the message BODY, include a line containing: UNSUB ORACLE-L
 (or the name of mailing list you want to be removed from). You may
 also send the HELP command for other information (like subscribing).





-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Igor Neyman
 INET: [EMAIL PROTECTED]


Fat City Network Services -- 858-538-5051 http://www.fatcity.com
San Diego, California -- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Ball, Terry
 INET: [EMAIL PROTECTED]


Fat City Network Services -- 858-538-5051 http://www.fatcity.com
San Diego, California -- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).



This e-mail 
message is confidential, intended only for the named recipient(s) above and may 
contain information that is privileged, attorney work product or exempt from 
disclosure under applicable law. If you have received this message in error, or are 
not the named recipient(s), please immediately notify corporate MIS at (860) 766-2000 
and delete this e-mail message from your computer, Thank 
you.*2


Re: Followup to jobs not running

2003-03-28 Thread Steve Perry
You may have already got the answer, but if your job is selecting candidate
tables or schemas from dba_tables or dba_???, then you have to grant
select on them to system specifically. System gets the select privilege from
the role DBA and not directly.

I have a similar job that runs under a different user than sys. and I had to
grant select on dba_tables to user
grant analyze any to user

Steve


- Original Message -
To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED]
Sent: Friday, March 28, 2003 2:29 PM


 Yes.  System is the job owner/creator.

 Terry Ball, DBA
 Birch Telecom
 Work: 816-300-1335
 FAX:  816-300-1800


 -Original Message-
 Sent: Friday, March 28, 2003 2:04 PM
 To: Multiple recipients of list ORACLE-L


 Privileges should be granted to the user, who created the job.
 Was it system?

 Igor Neyman, OCP DBA
 [EMAIL PROTECTED]



 - Original Message -
 To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED]
 Sent: Friday, March 28, 2003 2:13 PM


  I changed the job_queue_processes (thanks Barbara), and the jobs all
 started running, but they are not successful from within the job_queue.
 They are jobs to gather schema stats using dbs_stats and are run as the
 system user.  I can run the what of the jobs within sqlplus successfully,
 but whether I run the job manually or the job_queue runs the job, it is
 still failing.  The error I see is insuffient privileges, but I have tried
 specifically granting execute on dbms_stats to system.  Is there anything
 else I should look for?
 
  Terry Ball, DBA
  Birch Telecom
  Work: 816-300-1335
  FAX:  816-300-1800
 
  --
  Please see the official ORACLE-L FAQ: http://www.orafaq.net
  --
  Author: Ball, Terry
INET: [EMAIL PROTECTED]
 
  Fat City Network Services-- 858-538-5051 http://www.fatcity.com
  San Diego, California-- Mailing list and web hosting services
  -
  To REMOVE yourself from this mailing list, send an E-Mail message
  to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
  the message BODY, include a line containing: UNSUB ORACLE-L
  (or the name of mailing list you want to be removed from).  You may
  also send the HELP command for other information (like subscribing).
 
 


 --
 Please see the official ORACLE-L FAQ: http://www.orafaq.net
 --
 Author: Igor Neyman
   INET: [EMAIL PROTECTED]

 Fat City Network Services-- 858-538-5051 http://www.fatcity.com
 San Diego, California-- Mailing list and web hosting services
 -
 To REMOVE yourself from this mailing list, send an E-Mail message
 to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
 the message BODY, include a line containing: UNSUB ORACLE-L
 (or the name of mailing list you want to be removed from).  You may
 also send the HELP command for other information (like subscribing).

 --
 Please see the official ORACLE-L FAQ: http://www.orafaq.net
 --
 Author: Ball, Terry
   INET: [EMAIL PROTECTED]

 Fat City Network Services-- 858-538-5051 http://www.fatcity.com
 San Diego, California-- Mailing list and web hosting services
 -
 To REMOVE yourself from this mailing list, send an E-Mail message
 to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
 the message BODY, include a line containing: UNSUB ORACLE-L
 (or the name of mailing list you want to be removed from).  You may
 also send the HELP command for other information (like subscribing).


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Steve Perry
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).