Auditing an Oracle database for security issues is very important. PeteFinnigan.com provides all of the information and tools that you will need Click here for details of PeteFinnigan.com Limited's detailed Oracle database security audit service Click here for details of PeteFinnigan.com Limited's Oracle Security Training Courses
Cookie Policy:We only use essential cookies on small sections of this website. For details see here.

Welcome, Guest. Please Login.
Apr 23rd, 2018, 10:17pm
News: If you would like to register contact the forum admin
Home | Help | Search | Members | Login
   Pete Finnigan's Oracle Security Forum
   Oracle Security
   Oracle Security
(Moderator: Pete Finnigan)
   How to define utl_file for petefinnigan scripts?
« Previous topic | Next topic »
Pages: 1  Reply | Notify of replies | Send Topic | Print
   Author  Topic: How to define utl_file for petefinnigan scripts?  (Read 4667 times)
pstein
PeteFinnigan.com Newbie
*



I love YaBB 1G - SP1!

   
View Profile |

Posts: 1
How to define utl_file for petefinnigan scripts?
« on: Mar 2nd, 2010, 11:42am »
Quote | Modify

On web page  
http://www.petefinnigan.com/tools.htm
a couple of scripts were defined.
Unfortunately most of them require the definition
of an utl_file.
 
When I run them on my Oracle XE database I got errors similar to: see bottom
 
Which lines of code do I have to add resp. how should I define this utl_file to get these scripts running (as an sqlplus script)?
 
thx Peter
 
 
   lg_fptr    utl_file.file_type;
    *
ERROR at line 8:
ORA-06550: line 8, column 11:
PLS-00201: identifier 'UTL_FILE' must be declared
ORA-06550: line 8, column 11:
PL/SQL: Item ignored
ORA-06550: line 133, column 3:
PLS-00320: the declaration of the type of this expression is incomplete or malformed
ORA-06550: line 133, column 3:
PL/SQL: Statement ignored
 
IP Logged
Pete Finnigan
PeteFinnigan.com Administrator
*****




Oracle Security is easier if you design for it

   
View Profile | WWW | Email

Gender: male
Posts: 309
Re: How to define utl_file for petefinnigan script
« Reply #1 on: Mar 5th, 2010, 10:08am »
Quote | Modify

I spoke to Peter on email about this and the issue is not a bug in the scripts but the fact that he had revoked the public execute on UTL_FILE in his database  - which is good!
 
If you get this issue make sure the user you are using has EXECUTE granted on UTL_FILE.
 
cheers
 
Pete
IP Logged

Pete Finnigan (email:pete@petefinnigan.com)
Oracle Security Web site: http://www.petefinnigan.com
Forum: http://www.petefinnigan.com/forum/yabb/YaBB.cgi
Oracle security blog: http://www.petefinnigan.com/weblog/entries/index.html
Pages: 1  Reply | Notify of replies | Send Topic | Print

« Previous topic | Next topic »

Powered by YaBB 1 Gold - SP 1.4!
Forum software copyright 2000-2004 Yet another Bulletin Board