Netca result in CRS-0241: invalid Directory path.
I did install clusterware and db binaries. When started netca, got following error...
linux1:(oracle):rac1> netca
Oracle Net Services Configuration:
Configuring Listener:LISTENER
linux1...
linux2...
problem in configuration: Nodes(s): linux1: CRS-0241: invalid Directory path.
Nodes(s): linux2: CRS-0241: invalid Directory path.
Any help appreciated..Thanks...
or Just follow the below steps:
1. As root on each application node, bring in the Oracle environment:
. ~oracle/.bashrc (Linux)
OR
. /home/oracle/.profile (Solaris x86)
2. Change the owner of $CRS_HOME/crs; this prevents error CRS-0241, Invalid directory path:
chown oracle:oinstall $CRS_HOME/crs
3. From an X-Windows application, log into the lowest-numbered application node as the oracle user.
4. Change to the directory that contains the tns information:
cd $TNS_ADMIN
5. If you are going to use an existing database, make a copy of the tnsnames.ora file:
cp -p tnsnames.ora tnsnames.ora.bk
6. Remove the tnsnames.ora file:
rm -f listener.ora tnsnames.ora
7. Run netca, taking all defaults.
Best regards,
Pandian
Similar Messages
-
UTL_file Procedure- some error on invalid directory path
Hi,
I Created a file procedure...but while executing a procedure its showing directory Error....
Find the solution and post it...
Heading 2: h2. ERROR -29280ORA-29280: invalid directory path
create or replace
PROCEDURE HELLOFLE IS
v_MyFileHandle UTL_FILE.FILE_TYPE;
BEGIN
v_MyFileHandle := UTL_FILE.FOPEN('C:\','HELLO.TXT','a');
UTL_FILE.PUT_LINE(v_MyFileHandle,'Hello World! ' || TO_CHAR(SYSDATE,'MM-DD-YY HH:MI:SS AM'));
UTL_FILE.FCLOSE(v_MyFileHandle);
EXCEPTION
WHEN OTHERS THEN
DBMS_OUTPUT.PUT_LINE('ERROR ' || TO_CHAR(SQLCODE) || SQLERRM);
NULL;
END;This is the spec of fopen:
UTL_FILE.FOPEN (
location IN VARCHAR2,
filename IN VARCHAR2,
open_mode IN VARCHAR2,
max_linesize IN BINARY_INTEGER)
RETURN file_type;
Location is not "c:\" but a directory object name. See the pl/sql manual:
http://docs.oracle.com/cd/B19306_01/appdev.102/b14258/u_file.htm -
UTL_FILE errors, invalid directory path ???
Hi All,
I am trying to create a csv output file through pl/sql.
However i am having some issues since its my first time.
Please have a look at the following code:
create or replace
PROCEDURE amer_main_proc (start_sent_date date,
end_sent_date date,
senttype number) IS
CURSOR main_cur IS
SELECT
s.sent_id,
s.ussc_id,
s.sent_upd_date,
s.alt_docket,
s.amend_year,
s.def_num,
s.dep_status_code,
s.var_status_code,
s.disp_type_code,
s.docket,
s.oth_sent_code,
substr(s.oth_text,1,100) oth_text,
s.po_code,
ind.prim_offn_code,
s.prob_mons
FROM sentences s,
submission sub,
ind_sent ind,
defendants def,judges j
WHERE s.sent_id = sub.sent_id
AND s.sent_id = ind.sent_id
AND ((sub.case_type_code in (10,11)
AND trunc(sent_vio_date) between start_sent_date and end_sent_date) or
(sub.case_type_code in (10) AND trunc(sent_vio_date) between start_sent_date and end_sent_date) or
(sub.case_type_code in (11) AND trunc(sent_vio_date) between start_sent_date and end_sent_date) or
(sub.case_type_code in (11) and s.amend_code = 10 AND trunc(sub.create_date) between start_sent_date and end_sent_date))
AND s.def_id=def.def_id
AND s.ao_judge_id = j.ao_judge_id
AND sent_creator_id is not null
AND dist_id != 99
ORDER BY s.ussc_id, s.sent_id;
--Define output file variables
out_file UTL_FILE.FILE_TYPE; /* file type */
path_name VARCHAR2(50); /* file path */
file_name VARCHAR2(50); /* file name */
line_buffer VARCHAR2(2000); /* store all the elements that make up one line in the output file */
BEGIN
path_name := 'C:\SQL'; // this folder does exist in my C drive
file_name := 'main.txt';
out_file := UTL_FILE.FOPEN(path_name, file_name, 'W');
line_buffer := 'data main;';
UTL_FILE.PUT_LINE (out_file, line_buffer);
line_buffer := 'infile cards delimiter='','';';
UTL_FILE.PUT_LINE (out_file, line_buffer);
line_buffer := 'input ' ||
'USSCIDN ' ||
'ALT1DOC $ ' ||
'DEPART ' ||
'VARIAN ' ||
'DISPOSIT ' ||
'DOCKETID $ ' ||
'TYPEOTHS ' ||
'TYPEOTTX $ ' ||
'POOFFICE $ ' ||
'MONOFFTP ' ||
'PROBATN ';
UTL_FILE.PUT_LINE (out_file, line_buffer);
FOR main_cur_rec IN main_cur LOOP
--Writes to file
line_buffer := main_cur_rec.ussc_id ||
',' || nvl(main_cur_rec.alt_docket,' ') ||
',' || nvl(to_char(main_cur_rec.dep_status_code),' ') ||
',' || nvl(to_char(main_cur_rec.var_status_code),' ') ||
',' || nvl(to_char(main_cur_rec.disp_type_code),' ') ||
',' || nvl(main_cur_rec.docket,' ') ||
',' || nvl(to_char(main_cur_rec.oth_sent_code),' ') ||
',' || nvl(main_cur_rec.oth_text,' ') ||
',' || nvl(to_char(main_cur_rec.po_code),' ') ||
',' || nvl(to_char(main_cur_rec.prim_offn_code),' ') ||
',' || nvl(to_char(main_cur_rec.prob_mons),' ');
UTL_FILE.PUT_LINE (out_file, line_buffer);
END LOOP;
--Write SAS footer
line_buffer := ';';
UTL_FILE.PUT_LINE (out_file, line_buffer);
line_buffer := 'run;';
UTL_FILE.PUT_LINE (out_file, line_buffer);
--Close file
UTL_FILE.FCLOSE(out_file);
EXCEPTION
-- Write error messages to the screen and file
WHEN OTHERS THEN
DBMS_OUTPUT.PUT_LINE(SUBSTR(SQLERRM,1,50)); // this is line 106
UTL_FILE.PUT_LINE(out_file, SUBSTR(SQLERRM,1,50));
UTL_FILE.FCLOSE(out_file);
END amer_main_proc;I know I am having issues regarding the path, please have a look at the ERRORS below:
Error starting at line 1 in command:
DECLARE
START_SENT_DATE DATE;
END_SENT_DATE DATE;
SENTTYPE NUMBER;
BEGIN
START_SENT_DATE := '01-JAN-2001';
END_SENT_DATE := '01-MAR-2001';
SENTTYPE := 10;
AMER_MAIN_PROC(
START_SENT_DATE => START_SENT_DATE,
END_SENT_DATE => END_SENT_DATE,
SENTTYPE => SENTTYPE
END;
Error report:
ORA-29282: invalid file ID
ORA-06512: at "SYS.UTL_FILE", line 878
ORA-06512: at "USSC_CASES.AMER_MAIN_PROC", line 106
ORA-29280: invalid directory path
ORA-06512: at line 10
29282. 00000 - "invalid file ID"
*Cause: A file ID handle was specified for which no corresponding
open file exists.
*Action: Verify that the file ID handle is a value returned from a
call to UTL_FILE.FOPEN.thanks guys.
Edited by: Rooney on Feb 20, 2012 12:29 PMYou'll need to create an Oracle Directory object that contains 'C:\SQL' and use that in your UTL_FILE call if you are using a 10g+ version of the database and the UTL_FILE_DIR parameter does not include your path.
CREATE DIRECTORY my_dir AS 'C:\SQL';
GRANT READ WRITE ON DIRECTORY my_dir TO <user>;You can then use the directory object name in the path of your UTL_FILE call.
ORA-29280: invalid directory path Cause: A corresponding directory object does not exist.
Action: Correct the directory object parameter, or create a corresponding directory object with the CREATE DIRECTORY command.>
Hope this helps! -
Hi Guys i am executing the following commands to create a directory and to put a file in the newly created directory, it is givig error of invalid directory path.
create directory dir_output as 'D:\Ora_Applications\'
grant read, write on directory dir_output to public
create or replace procedure Write_to_File
IS
f utl_file.file_type;
begin
f := utl_file.fopen('dir_output', 'something.txt', 'w');
utl_file.put_line(f, 'line one: some text');
utl_file.put_line(f, 'line two: more text');
utl_file.fclose(f);
end;
when i execute the procedure it gives the following error:
ERROR at line 1:
ORA-29280: invalid directory path
ORA-06512: at "SYS.UTL_FILE", line 18
ORA-06512: at "SYS.UTL_FILE", line 424
ORA-06512: at "SCOTT.WRITE_TO_FILE", line 5
ORA-06512: at line 1
Please help me out of it.
Regards,
Imran Baigf := utl_file.fopen('dir_output', 'something.txt', 'w');Directory name must be uppercase. Try
f := utl_file.fopen('DIR_OUTPUT', 'something.txt', 'w'); -
Invalid directory path due to missing pathe under parameters table
I have created directory xyz & also data being appeared under the privilege table.
But problem is that how that directory path would be added through command in parameter table as mentioned.
select * from v$parameter where name = 'utl_file_dir';
Mentioned stepts.
--created directory
create directory XX_HRMS as '/apps/hrms'
--check wheather directory has been created or not
SELECT * FROM dba_directories where directory_name = 'XX_HRMS'
OWNER DIRECTORY_NAME DIRECTORY_PATH
1 SYS XX_HRMS /apps/hrms
--check privilages
SELECT * FROM DBA_tab_privs WHERE table_name = 'XX_HRMS'
GRANTEE OWNER TABLE_NAME GRANTOR PRIVILEGE GRANTABLE HIERARCHY
1 SYSTEM SYS XX_HRMS SYS READ YES NO
2 SYSTEM SYS XX_HRMS SYS WRITE YES NO
3 APPS SYS XX_HRMS SYSTEM READ NO NO
4 APPS SYS XX_HRMS SYSTEM WRITE NO NO
--- using this directory
declare
output_file utl_file.file_type;
v_file_name varchar2(100) := 'abc.tx';
begin
output_file := utl_file.fopen ('/apps/hrms',v_file_name, 'W');
utl_file.put_line (output_file,' insert my new line ');
UTL_FILE.FCLOSE(output_file);
END;
--- when i run of above pl-script then system raise an error.
ORA-29280: invalid directory path Pls guide me.
thanks -
Hi,
When I execute a procedure as shown below i use to get an error as
<b> "invalid directory path"</b>
exec emp_details('c:\emp\test.txt',100);
The first parameter is the the path where file is stored and the other parameter is the emp code.
After executing the procedure the error message is,
ERROR at line 1:
ORA-29280: invalid directory path
ORA-06512: at "SYS.UTL_FILE", line 18
ORA-06512: at "SYS.UTL_FILE", line 424
ORA-06512: at "emp_details", line 34
ORA-06512: at line 1
but actually the file is located in the mentioned path but still the error occurs.
Please help me in this regard.Hello
Did you create a directory object or are you relying on utl_file_dir?
You may need to upper case the path if you are using a directory object (I think). Also, utl_file.f_open takes in the path AND the file name, not just the file name on it's own. Are you correctly splitting the file name from the path?
It might help if you can show the relevant parts of the procedure that are failing.
HTH
David -
Invalid directory path for windows...?
DECLARE
v_file UTL_FILE.FILE_TYPE;
v_dir VARCHAR2(250);
v_filename VARCHAR2(50);
BEGIN
v_dir := 'D:/LANDMARK/datamigration';
v_filename := 'pc_datamigration_out';
v_file := UTL_FILE.FOPEN(v_dir, v_filename, 'w');
UTL_FILE.PUT_LINE(v_file, 'Test file for usage of UTL_FILE package');
UTL_FILE.FCLOSE(v_file);
exception
when others then
dbms_output.put_line('Err utl file..!'||sqlerrm);
END;
I am getting eror "Err utl file..!ORA-29280: invalid directory path"
kindly help me to fix problem.I am working on windows machine not on unix.
rgds,
pcThe correct thing to do is to create a directory object e.g.:
CREATE OR REPLACE DIRECTORY mydir AS 'c:\myfiles';Note: This does not create the directory on the file system. You have to do that yourself and ensure that oracle has permission to read/write to that file system directory.
Then, grant permission to the users who require access e.g....
GRANT READ,WRITE ON DIRECTORY mydir TO myuser;Then use that directory object inside your FOPEN statement e.g.
fh := UTL_FILE.FOPEN('MYDIR', 'myfile.txt', 'r');Note: You MUST specify the directory object name in quotes and in UPPER case for this to work as it is a string that is referring to a database object name which will have been stored in uppercase by default.
p.s. as already mentioned by others, this directory must be on your Oracle database server. You can only access client directories if the server itself has a mapping to the client machine itself. Don't expect to provide a path and for the process to access the local client machine of whoever uses it.
Edited by: BluShadow on 24-Nov-2010 12:24 -
10g : WriteToFile always fails with 'invalid directory path'
Oracle 10.1.0.3.0
Microsoft Windows XP Service Pack 2
I can't use XMLDOM.writeToFile. Always fails with 'invalid directory path' :
SQL> create directory c_root as 'C:\';
Directory created.
SQL>
SQL> declare
2 doc xmldom.DOMDocument;
3 root_elmt xmldom.DOMElement;
4 begin
5 doc := xmldom.newDOMDocument;
6
7 root_elmt := xmldom.createElement(doc, 'MessageBatch');
8
9 xmldom.writeToFile(doc, 'C:\docSample.xml');
10 xmldom.freeDocument(doc);
11
12 end;
13 /
declare
ERROR at line 1:
ORA-29280: invalid directory path
ORA-06512: at "SYS.UTL_FILE", line 33
ORA-06512: at "SYS.UTL_FILE", line 436
ORA-06512: at "XDB.DBMS_XSLPROCESSOR", line 86
ORA-06512: at "XDB.DBMS_XMLDOM", line 4451
ORA-06512: at line 9
This happens with any OS directory with write permission for Everyone.
Also tried with UTL_FILE_DIR = *, same outcome...
Thanks in advance,
Hugo LeoteLook like bug 4477774. A possible workaround, somewhat unsafe, is to set UTL_FILE_PATH to '*', which will require a server restart. You then specifiy the path with unix style '/' rather than dos style '\'. You may also be able to use a path with unix style '/' rather than '*', although the bug description does not make this clear.
-
Oracle 11g : Directory and UTL_FILE - ORA-29280: invalid directory path
Hi,
I have Oracle 11g server on a UNIX box and im accessing it through an Oracle client on a windows box.
Im new to File operations in Oracle 11g. Have couple of questions;
1. Can i create a directory in Oracle using CREATE DIRECTORY statment which points to my local machine (windows: on which Oracle client is running).
for e.g. CREATE OR REPLACE DIRECTORY c_temp AS 'd:\test';
2. If i can create such a directory, can i use the UTL_FILE.fopen command to open a file from the windows machine and append some text to it.
Or
We can only create direcories that are present in the Oracle Server?
Your help is appreciated.
Thanks.
Edited by: user533016 on Feb 1, 2011 3:14 AMuser533016 wrote:
Hi,
I have Oracle 11g server on a UNIX box and im accessing it through an Oracle client on a windows box.
Im new to File operations in Oracle 11g. Have couple of questions;
1. Can i create a directory in Oracle using CREATE DIRECTORY statment which points to my local machine (windows: on which Oracle client is running).
for e.g. CREATE OR REPLACE DIRECTORY c_temp AS 'd:\test';
2. If i can create such a directory, can i use the UTL_FILE.fopen command to open a file from the windows machine and append some text to it.Though it is not recommended, you could do this with a samba share (I haven't tried it myself yet).
Or
We can only create direcories that are present in the Oracle Server?That's what is recommended for various reasons. -
Issue with UTL FILE, does not read directory path
Hi Guys
I have created a procedure using a UTL_File, but when I execute that procedure, it comes with an invalid directory path.
create directory r_bmw as 'C:\BMW';
grant read, write on directory r_bmw to bmw;
The above have been created successfully. (r_bmw is the Directory Name. C:\BMW is the directory path.)
Below is my code:
create or replace
PROCEDURE DCA_BMW_OUT
IS
-- Declare all variables as reference
v_out_file UTL_FILE.FILE_TYPE;
v_row_Count NUMBER;
r_bmw NUMBER;
v_out_directory all_directories.directory_path%type;
v_out_filehandle UTL_FILE.FILE_TYPE := NULL;
v_out_buffer varchar2 (32767);
v_records NUMBER;
body_output varchar2(32759 BYTE);
dictionary_guarantorsexist varchar2 (1 Char);
-- Text required within this part of the procedure
v_body varchar2(32767 BYTE);
v_header VARCHAR2(32759 BYTE);
BEGIN
--- Directories have been created
FOR r_bmw IN
( SELECT *
FROM dcaadditionaldata
WHERE directory_name IS NOT NULL
) LOOP
-- inner loop produces the rows in each file
-- outer loop identifies each of the dca's you want to generate a file for
BEGIN
-- Output file to be added into the directory specified
v_out_file := utl_file.fopen (r_bmw.directory_name, 'DCAExport_1_' || TRIM(TO_CHAR(SYSDATE,'DDMMYYYY_HH24MISS')) || '.txt', 'W');
-- The Header data which will be outputted to the file
v_header := 'KennzeichenBrgschaftsforderungGesamtforderung|Währung|Übergabedatum|DifferenzierungAnwalts-oderInkassofall|MainMarktpartnernummer|
MainAnrede|MainTitel|MainName|MainVorname|MainStraße|MainHausnummer|MainPLZ|MainOrt|MainLand|MainGeburtsdatum|MainTelefonnr.Schuldner|G1Marktpartnernummer
|G1Anrede|G1Titel|G1Name|G1Vorname|G1Straße|G1Hausnummer|G1PLZ|G1Ort|G1Land|G1Geburtsdatum|G1Telefonnr.Schuldner|G2Marktpartnernummer|G2Anrede|G2Titel|
G2Name|G2Vorname|G2Straße|G2Hausnummer|G2PLZ|G2Ort|G2Land|G2Geburtsdatum|G2Telefonnr.Schuldner|G3Marktpartnernummer|G3Anrede|G3Titel|G3Name|G3Vorname|
G3Straße|G3Hausnummer|G3PLZ|G3Ort|G3Land|G3Geburtsdatum|G3Telefonnr.Schuldner|G4Marktpartnernummer|G4Anrede|G4Titel|G4Name|G4Vorname|G4Straße|G4Hausnummer|
G4PLZ|G4Ort|G4Land|G4Geburtsdatum|G4Telefonnr Schuldner|G5Marktpartnernummer|G5Anrede|G5Titel|G5Name|G5Vorname|G5Straße|G5Hausnummer|G5PLZ|G5Ort|G5Land|
G5Geburtsdatum|G5Telefonnr.Schuldner|Kundennr.|Bestandsnr.|Finanzierungsnr.|KennzeichenFinanzierung/Leasing|Kennzeichenprivat/gewerblich|
reguläresVertragsende|Laufzeit|Vertragsdatum|Vertragsstatus|Ratenbetrag|Filiale/Gebiet|Finanzierungstyp|BankverbindungKonto|BankverbindungBLZ|
RSVKennzeichen|Kündigungsdatum|Modell|Fahrgestellnummer|KFZKennzeichen|KFZZulassungsdatum|CoD1Marktpartnernummer|CoD1Anrede|CoD1Titel|CoD1Name|
CoD1Vorname|CoD1Straße|CoD1Hausnummer|CoD1PLZ|CoD1Ort|CoD1Land|CoD1Geburtsdatum|CoD1Telefonnr.Schuldner|CoD2Marktpartnernummer|CoD2Anrede|CoD2Titel|
CoD2Name|CoD2Vorname|CoD2Straße|CoD2Hausnummer|CoD2PLZ|CoD2Ort|CoD2Land|CoD2Geburtsdatum|CoD2Telefonnr.Schuldner|CoD3Marktpartnernummer|CoD3Anrede|
CoD3Titel|CoD3Name|CoD3Vorname|CoD3Straße|CoD3Hausnummer|CoD3PLZ|CoD3Ort|CoD3Land|CoD3Geburtsdatum|CoD3Telefonnr.Schuldner|CoD4Marktpartnernummer|
CoD4Anrede|CoD4Titel|CoD4Name|CoD4Vorname|CoD4Straße|CoD4Hausnummer|CoD4PLZ|CoD4Ort|CoD4Land|CoD4Geburtsdatum|CoD4Telefonnr.Schuldner|
CoD5Marktpartnernummer|CoD5Anrede|CoD5Titel|CoD5Name|CoD5Vorname|CoD5Straße|CoD5Hausnummer|CoD5PLZ|CoD5Ort|CoD5Land|CoD5Geburtsdatum|
CoD5Telefonnr.Schuldner Y|Y|5830,99|EUR|20/08/2009|DCA|4|123456|Herr||Mueller|Rainer|Messigasse|33|84432|Filz|Deutschland|01/07/1957|08912345|234567|Frau|Dr|Mueller|Rita|Messigasse|33|84432|Filz|Deutschland|13/12/1955|08912345|||||||||||||||||||||||||||||||||||||||||||||||||76543|5000234567||Lease|Privat|12/12/2013|60|12/12/2008||250,50|US|Rate|1234567890|32343450|N||BMW 320 i|W34567890PA34567|M-H-3456|09/12/2008||||||||||||||||||||||||
N|450,80|EUR|20/08/2009|DCA|4|987654|Frau||Meier|Heide|Beinstr.|44|86353|Laus|Deutschland|03/06/1949|08987654|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||87654||8765675585|Loan|Gewerblich|14/03/2012|72|14/03/2006||500,01|DF|Select|976579657|32343450|N||BMW 500 sl|W94567890PA34568|M-H-3457|10/03/2006|34343434|Herr|Dipl|Meier|Rudolf|Heislestr.|69|85433|Maus|Deutschland|28/05/1945|08934567|234567|Frau|Dr|Mueller|Rita|Messigasse|33|84432|Filz|Deutschland|13/12/1955|08912345
Y|33970,50|EUR|20/08/2009|Lawyer|4|64646464|Frau||Schmidt|Susanne|Hueftgasse|55|89363|Maus|Deutschland|23/08/1933|08934567|34343434|Herr|Dipl|Meier|Rudolf|Heislestr.|69|85433|Maus|Deutschland|28/05/1945|08934567|234567|Frau|Dr|Mueller|Rita|Messigasse|33|84432|Filz|Deutschland|13/12/1955|08912345|||||||||||||||||||||||||||||||||||||98757|5000785675||Lease|Privat|11/11/2009|48|11/11/2005||380,70|GH|Zielrate|234567899|32343450|Y||BMW 380 s|W54567890PA34569|M-H-3458|07/11/2005||||||||||||||||||||||||
N|10040,20|EUR|20/08/2009|Lawyer|4|4865465|Herr||Schulz|Karl|Nasenweg|77|83354|Schuh|Deutschland|18/01/1965|08972545|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||46789|50004765787||Lease|Privat|16/09/2012|60|16/09/2007||1234,56|OS|ZUS|98765432|32343450|Y||BMW 280 i|W74567890PA34570|M-H-3459|12/09/2007||||||||||||||||||||||||';
utl_file.PUT_LINE(v_out_file,v_header,TRUE);
-- Below will output a row of data which satisfy the requirements.
FOR body_output IN
( SELECT
AccountDetails.CUSTOMERNUMBER, AccountDetails.ACCOUNTNUMBER, CUSTOMERDETAILS.CDTITLE, CUSTOMERDETAILS.CDFIRSTNAME, CUSTOMERDETAILS.CDLASTNAME, AccountDetails.ACCOUNTTYPE,
AccountDetails.ORIGINALCONTRACTENDDATE, AccountDetails.CONTRACTTERM, AccountDetails.CONTRACTENDDATE, AccountDetails.BRANCHAREA, AccountDetails.PRODUCTTYPE,
AccountDetails.HOUSEBANKACCOUNT, AccountDetails.CARMODEL, AccountDetails.CARLICENCE, AccountDetails.ARREARSBALANCE, AccountDetails.CODEBTOR, AccountDetails.GUARANTORNUMBER
FROM AccountDetails
JOIN CUSTOMERDETAILS ON AccountDetails.CUSTOMERNUMBER = CUSTOMERDETAILS.CUSTOMERS1
WHERE EXISTS
( SELECT *
FROM Dcaaccountallocation
JOIN DebtEpisodes ON DebtEpisodes.ACCOUNTID = Dcaaccountallocation.ACCOUNTID
WHERE Dcaaccountallocation.DCAID = 41
AND Dcaaccountallocation.status = 3
AND DebtEpisodes.DCASentDate IS NULL
AND Dcaaccountallocation.ACCOUNTID = AccountDetails.ACCOUNTNUMBER
AND DebtEpisodes.DCAORLAWYER = 'DCA'
LOOP
UTL_FILE.PUT_LINE (v_out_file,
body_output.CUSTOMERNUMBER|| '|' || body_output.ACCOUNTNUMBER|| '|' ||body_output.CDTITLE|| '||' ||body_output.CDFIRSTNAME || '|||||' ||
body_output.CDLASTNAME|| '||||' || body_output.ACCOUNTTYPE|| '|' ||body_output.ORIGINALCONTRACTENDDATE|| '||||' ||body_output.CONTRACTTERM || '|||||' ||
body_output.CONTRACTENDDATE|| '|' || body_output.BRANCHAREA|| '||' ||body_output.PRODUCTTYPE|| '||' ||
body_output.HOUSEBANKACCOUNT|| '|||' || body_output.CARMODEL|| '||||' ||body_output.CARLICENCE|| '|' ||
body_output.ARREARSBALANCE|| '||||' || body_output.CODEBTOR|| '|' ||body_output.GUARANTORnumber);
END LOOP;
-- UTL_FILE.fclose (v_out_file);
-- EXCEPTION
--WHEN OTHERS THEN
--UTL_FILE.put_line (v_out_file, 'failed');
-- If any errors occur when closing the file, then we close the opened file.
IF utl_file.is_open(v_out_file) THEN
UTL_FILE.put_line (v_out_file, 'failed');
UTL_FILE.fclose (v_out_file);
END IF;
END;
UPDATE DebtEpisodes
SET handoverdate = null
WHERE DCAORLAWYER = 'DCA'
AND accountid IN
( SELECT accountid
FROM Dcaaccountallocation
WHERE Dcaaccountallocation.status = 3
AND Dcaaccountallocation.dcaid = 41
END LOOP;
END DCA_BMW_OUT;
-- It compiles successfully, but when executes, it provides me with the 'invalid directory path' error message.
Any help?
ThanksRam wrote:
DCAID DIRECTORY_NAME MPNO IN_DIRECTORY_NAME INVESTOR
4 DCA_PKFO_OUT 51950 DCA_PKFO_IN (null)
41 INV_ALTOR_OUT 488742 INV_ALTOR_IN Y
2 DCA_NIG_OUT 686007 DCA_NIG_IN (null)
3 DCA_RAF_OUT 777163 DCA_RAF_IN (null)
21 INV_INFOSCORE_OUT 3482400 INV_INFOSCORE_IN Y
22 INV_HOIST_OUT 2866813 INV_HOIST_IN Y
Above is the output when select * from dca additional data.
I have edited the r_bmw to varchar (32757 BYTE);
however, the same errors still appear. Would I need to change the select statement to a different table...and not dca additional data?
ThanksSo you have created a directory name r_bmw
create directory r_bmw as 'C:\BMW';
grant read, write on directory r_bmw to bmw;And your are querying select * from dca additional data, which doesn't return your recently created directory.... So... what to do what to do.... You should query the all_directories with directory_name = 'r_bmw'. -
WebCenter Form Recognition WebVerifier directory name {Directory Path} is Invalid
Hi
I'm facing the below issue while trying to open the Web Center Form Verifier using web Verifier.
The WebVerifier directory name {Directory Path} is Invalid. please contact your system administrator.
OS : Window Server 2008 R2
Software: Oracle WebCenter Form recognition 11.1.1.8.0
find the attached error screen shot and help out with the solution.
Thanks
SanjeevYou are getting this message because the WFR web server is trying to access the project file in a directory that is not valid on that server. I assume that path is correct on the Designer machine but the web server is on a different machine?
Assuming the project file is on a file server, you should share that folder then open the project in Designer via the UNC path to the share. Then, go to the Options menu and select the Users, Groups and Roles... option. On the Users tab of the Project Authentication dialog, ensure that the Allow Database Authentication option is checked, then click the Export to Database... button. That will create an entry in the database for that project pointing to the UNC path instead of the local path, so the web server should then be able to access it (provided you have assigned sufficient permissions on the share).
Alternatively, you could copy the project folder structure to the web server on the same path as it is on the Designer machine. This should work but will cause issues for ongoing administration of the project, as you will need to keep the copy on the web server synchronized with that on the Designer machine. I wouldn't recommend doing this. -
Imac G5 will not start up correctly? invalid directory count 52 instead of 53
Hi, i have a Imac G5. it had been working fine for many years untill a year or 2 ago when it stopped all of a sudden and just would not start up as it should. instead, it went to this grey screen with horizontal lines. eventually after trying just about every combination of keys held down on startup, the only way i could get the mac to restart was by starting it in safe mode. (at this point i rescued all my photos and music and moved them onto my macbook pro) i thought it was working fine in safe mode untill i realised that it could not connect to the internet, the sound would not work at all, and when i went to preferances it could not find any output device for the sound. it also keeps coming up with a message saying that my internet communication device does not exist. allot of the programs worked fine, such as word, or photoshop, whereas others would not. i verified the disk, and discored that it would not let me repair it.
Invalid directory count
it should be 53 instead of 52)
checking attributes file
checking volume bitmap
checking volume information
repaired.",1)
macintosh hd
error: the underlying task reported failure on exit
HSF volume checked
volume needs repair
it then came up with a message saying that he disk utility stopped verifying the macintosh hd because of it reporting the failure on exit.
i have tried doing this a few times but the exact same result is gained
i tryed using disk repair whilst starting up from the original install disk, but this also did not fix the problem. eventually, i decided to reinstall the os x 10.4.11. this had absolutely no effect, and i am at the same point. i would be very gratefull if anybody would be able to come up with any ideas of how i could fix this problem?
additional details: i have tried using the proxy reset
i have also tried running a apple hardware test
i have tried repairing the macintosh hd disk using the original install disks
also: all of the sockets at the back work fine, e.g. usb, but the microphone and headphone sockets do not work.
it will read disks finebut this also did not fix the problem. eventually, i decided to reinstall the os x 10.4.11. this had absolutely no effect,
I'd have guess you reformated at that time. The file system is messed up. You need to reformat.
Format a disk using the installation DVD
To format the startup drive, you will need to run disk utility from your installation DVD.
This article will tell you how to get to disk utility. Once in a disk utility, you can go and format the disk.
http://support.apple.com/kb/TS1417
To format your startup drive, you will need to run disk utility from your startup DVD.
Mac OS X 10.4: About the utilities available on the Mac OS X 10.4 Install DVD
http://support.apple.com/kb/HT2055
How to run disk utility from your startup DVD.
Insert your startup DVD into your reader. Power down your machine. Hold down to the c key. Power on your machine. This will bootup your startup DVD. ( Alternatively, you may hold down the control key, this brings up the startup manager. Click on the desired volume. Click on the right arrow. )
This will bring you to a panel asking you for your language. Pick your language.
You you come to the Install Mac OS panel. Do not install.
Click on Utilities menu item. This will give you a pulldown list of utilities.
Click on the disk utility.
Start up disk utility.
On the left pane view, you will see a list of all your disks. Click on the external disk.
Click on the partition tab.
You will now see how your external disk is currently set up. Fill in the information as appropriate. You should pick Mac OS Extended (Journaled).
More details on formatting.
http://www.kenstone.net/fcp_homepage/partitioning_tiger.html -
Invalid Directory Error Message when using DOS
I've recently installed version 1.4 SDK on my Windows 95 machine.
When I type cd c:\java in MS DOS at the prompt, I keep getting the message "Invalid Directory" and can't move forward from there to C:\java>.
The SDK is correctly installed on my C: drive, so I don't understand why the directory location isn't understood.
Could it have to do with the PATH? I followed the installation instructions below, but wonder if I need to type SET PATH=...before the text of the suggested PATH statement below.
Windows 98, Windows 95 - To set the PATH permanently, open the AUTOEXEC.BAT file and add or change the PATH statement as follows:
Start the system editor. Choose "Start", "Run" and enter sysedit, then click OK. The system editor starts up with several windows showing. Go to the window that is displaying AUTOEXEC.BAT
Look for the PATH statement. (If you don't have one, add one.) If you're not sure where to add the path, add it to the right end of the PATH. For example, in the following PATH statement, we have added the bin directory at the right end:
PATH C:\WINDOWS;C:\WINDOWS\COMMAND;C:\JDK1.4\BIN
Capitalization doesn't matter. The PATH can be a series of directories separated by semi-colons (;). Microsoft Windows searches for programs in the PATH directories in order, from left to right. You should only have one bin directory for a Java SDK in the path at a time (those following the first are ignored), so if one is already present, you can update it to jdk1.4.
To make the path take effect in the current Command Prompt window, execute the following:
C:> c:\autoexec.bat
To find out the current value of your PATH, to see if it took effect, at the command prompt, type:
C:> pathI am having the same issue.
At the command prompt, any attempt to enter the "jdk1.3.1" directory returns "invalid directory".
Sadly, your post is old, and noone but me has replied.
Since I'm DOS ignorant, and it is emulated DOS anyway...
I don't know how to resolve this.
Two uninstall/reinstall cycles to try and correct the issue- no dice.
Responses, please! -
ZDM Agent "Invalid Drive Path"
We use Zenworks to install software and use the Zenworks folders to display the program shortcut icon. After installed, it will launch (Run options tab > Application > Path to file) and the program will start. I'm having an issue for the last couple weeks that some users are seeing:
0xD001
Could not get needed resources for application [application name] to be launched (id=number).
Problem: Invalid drive path [specified drive path]
The same NAL app is working fine for other users. I have confirmed on the faulty pc that the program will run manually and through a Windows shortcut link. The only thing I have noticed is the users that its failing on has ZDM 6.5 agent. If I upgrade them to ZDM 7, its fixed!
Apparently there is alot of pc's which still have ZDM 6.5 but I'm only hearing a few complaints. I know a fix is to upgrade to ZDM 7 but we have a conflicting issue if they have the ZCM inventory agent, the upgrade will kill DLU policy.
Any ideas to discover why this is happening all of a sudden and possible fix?You could try having the App launch your program from the "Launch
Script" instead of "Path to File".
This helped with some issues I had years ago.
(Might have been ZEN2 .........)
Maybe Try Killing the NALCache Folder on those devices?
On 9/23/2010 11:36 AM, Michael Fleming wrote:
>
> craig_wilson;2025774 Wrote:
>> Maybe make sure a proper working directory is set for the app?
>
> Yep the working directory is fine and even weirder the same NAL object
> works fine for ZDM 7 users (and has been working for 6.5 users). It just
> seems the last 4 weeks this error is popping up. As soon as I update
> them to ZDM 7 the error goes away. Unfortunately I can't have ZDM agent
> update as the solution as it will require reboot and it has another
> issue which kills the DLU if ZCM is installed.
>
> I just can't pin-point whats special about these pc's or whats changed
> as there must be 100's-1000's of ZDM 6.5 out there with no issues.
>
>
Craig Wilson - MCNE, MCSE, CCNA
Novell Knowledge Partner
Novell does not officially monitor these forums.
Suggestions/Opinions/Statements made by me are solely my own.
These thoughts may not be shared by either Novell or any rational human. -
OIncomingPayment + BillOfExchange = error -5002 - Invalid dll path or name
Hi for all,
I´m having a problem when I try to pay a incoming payment from a invoice with BillOfExchange, I´ve been search all this forum for many hours, with all possibile combinations of subject, but any past topic could explain this problem.
When I try to add a BillOfExchange of one invoice, I´m getting the error -5002 called 'Invalid dll path or name'. I know that the PaymentMethod that I use references the BankOfBrazil.dll library, but how can I handle this error? I´ve tried to put this file on my projects folder, but It wasn´t works...
Here´s the code, I´m using the SAP B1 2005B PL36:
Thanks
'oIP = oIncomingPayments
oIP = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oIncomingPayments)
chave = oIP.DocEntry
oIP.CardCode = oBP.CardCode
oIP.CardName = oBP.CardName
oIP.DocDate = Now
oIP.DueDate = Now
oIP.TaxDate = Now
oIP.Invoices.AppliedFC = 0
oIP.Invoices.DocEntry = oInvoiceIn.DocEntry
oIP.Invoices.InvoiceType = 13
oIP.Invoices.SumApplied = 5.85
oIP.Invoices.InstallmentId = 1
oIP.Invoices.Add()
oIP.BillOfExchange.PaymentMethodCode = oInvoiceIn.PaymentMethod
oIP.BoeAccount = "1121110"
oIP.BillOfExchangeAmount = 5.85
'**** Commita ****
lErrCode = oIP.Add 'Occours error -5002
connmatriz.getConn().GetLastError(lErrCode, sErrMsg)
If lErrCode <> 0 Then
connmatriz.getConn().EndTransaction(SAPbobsCOM.BoWfTransOpt.wf_RollBack)
GoTo FALHA
End IfHI
I have also got several times same message:
1. Disconnect with development environment
2. Clear the SM_OB_DLL directory from the TEMP directory.
3. Start it again, and try
In the BankofBrazil stuffs i am so perfect....
Regards,
J.
Maybe you are looking for
-
Using Select statement in IF condition?
hi all, Can i use select statement in IF COndition in pl sql ? eg like- if( select 1 from ASD) then end if;
-
Add not 1 but 2 to 3 rows at a time?
I have worked hard at my project and with my question can someone help me in which no one did. Maybe it is because it was too long and the length of the code was throwing people off. That wasn't the whole code. Anyways I have managed to add 1 row to
-
How to convert FCP subtitles created in Text to EXPORT as one .stl file for broadcaster
I created about 300 subtitles in Text, one version for English and one for German, that included narration and on-screen dialog, for a one-hour film I produced. An exported QT file creates a burned-in subtitle. However, the European distributor wants
-
Netgear DG834G v2 WEP password issues
Hi, Apologises if this has been sent/resolved before: My mate has a Netgear DG834Gv2 wireless modem configured with WEP 128bit HEX password. He's an XP user and has no wireless connection issues. My Macbook has the latest 10.4.10, it sees the BSSID a
-
VPD and/or OLS implementation
Hi, I'm starting implementing security access at row level in a schema. I know VPD and how make my problem solved. However I would like to know how it is feasible with Oracle Label Security. I've three tables, germplasm, list, germplasmList Here are