CP gives error ORA-17502
DearsI have try the ASMCMD cp command to copy a log file of D: drive as below and ORA-17502: ksfdcre:3 cannot create the file...
CP d:\GROUP_1.261,766393389 + DGTEST/dir1
Help, please.
Please make correction
CP d:\GROUP_1.261,766393389 + DGTEST/dir1/your_desirename
Give the file name after you have specified the last directory in your + DGTEST diskgroup.
Tags: Database
Similar Questions
-
To_char (number) gives error ORA-01481
Hi all
can someone help me with this delicate error?
Select double to_char(1234.56,'$99,999.99'); -> works
Select double to_char(1234.56,'$99G999D99'); -> works
Select double to_char(1234.56,'$99,999D99'); -> Error ORA-01481
Select double to_char(1234.56,'$99D999.99'); -> Error ORA-01481
Why?
In the reference SQL 11 g there are no written that. and should not be mixed with D and G...
Can someone explain to me why this happens?
Thank youMix of period and comma with D and G can lead to an inconsistent format model.
Actually G and D can be translated into comma or period comma depending on your NLS settings (and this may change at every moment and every session by session).
If Oracle cannot check if your template format is correct or not and triggers the error.Max
-
We used a script to install our applications in Apex 4.02. When you use this script with Apex 5.0, we get an error:
[6399] ORA-02091: transaction cancelled
[6400] ORA-02291: integrity constraint violation (APEX_050000.SYS_C0013507) - parent
ALTER SESSION SET CURRENT_SCHEMA = &2; declare l_schema varchar2(30) := upper('&1'); l_workspace_id number; l_app_id number; begin -- Get workspace ID for schema begin select workspace_id into l_workspace_id from apex_workspaces where workspace = l_schema; exception when no_data_found then -- Create workspace for schema apex_instance_admin.add_workspace(p_workspace_id => null, p_workspace => l_schema, p_primary_schema => l_schema, p_additional_schemas => null); -- Get ID for created workspace select workspace_id into l_workspace_id from apex_workspaces where workspace = l_schema; end; -- Put ID in install package apex_application_install.set_workspace_id(l_workspace_id); -- Get application ID. begin select application_id into l_app_id from apex_applications where workspace = l_schema; -- Set application ID in package apex_application_install.set_application_id(l_app_id); exception when no_data_found then -- No applicication create a new one apex_application_install.generate_application_id; end; -- Generate offset apex_application_install.generate_offset; -- Set schema and alias. apex_application_install.set_schema(l_schema); apex_application_install.set_application_alias(l_schema); l_app_id := apex_application_install.get_application_id; dbms_output.put_line('Applicatie installed with ID :' || l_app_id); end; / @..\apex\f127.sql
The script starts promising:
Applicatie installed with ID :100 APPLICATION 127 - NedGraphics NedBrowser Set Credentials... Check Compatibility... API Last Extended:20130101 Your Current Version:20130101 This import is compatible with version: 20100513 COMPATIBLE (You should be able to run this import without issues.) Set Application ID... ...authorization schemes
But in the end:
.....scheme 39275367140332431 ......scheme 47816685350333762 ...plugins commit * ERROR at line 1: ORA-02091: transaction rolled back ORA-02291: integrity constraint (APEX_050000.SYS_C0013507) violated - parent key not found
F127. SQL is exported from 4.02 Apex.
Can manually import this application in the Apex 5.0 using the Apex development interface...Hi René,.
the bug is not public. I already fixed it for 5.0.2.
Kind regards
Christian
-
My select statement fails with the error:
The ORA-19011 string buffer too small
The select statement looks like:
SELECT TO_CLOB)
XMLELEMENT ("accounts",
XMLELEMENT ("count",
XMLATTRIBUTES)
rownum AS "recordId."
To_date('20130520','YYYYMMDD') AS "datestarted."
123456 AS "previousBatchId."
56789 AS 'previousRecordId '.
),
....
.... .
.....
XMLFOREST)
SIG_ROLE AS "SignatoryRole."
To_char(TRANSFER_DATE,'YYYY-mm-DD') AS "TransferDate."
NVL(Reason,0) AS 'reason '.
) AS the 'transfer '.
)
()) AS CRDTRPT
OF ANY_TABLE;
- It looks like I can choose only 4000 characters using the SELECT statement (please, correct me if I'm wrong)
I'd use the XMLGEN package. But the environment team says no mounted drives in the future with the arrival of the EXADATA.
NO HARD DRIVE MOUNTED, NO ACCESS TO THE DATABASE DIRECTORIES
No UTL_FILE
I need to use the REEL spool the resulting XML data of the SELECT query.
SQL is a standard in my org, but I can do with a PL/SQL solution also to load data into a table (cannot use a COIL with PL/SQL)
What I do is:
- a column of type CLOB to a xml_report of the loading of the above SELECT query table
- Then using SELECT * FROM xml_report to SPOOL the data to a file report.xml
No need of XMLTYPE data behind. Xml data stream is fine for me.
In addition, I need to validate the XML file, also using XSD.
Problem is that the resulting lines of the select query are supposed to be from 15000 to 20000 bytes long.
Oracle database version: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production
A Suggestion or a solution to this problem would be appreciated.
(Sorry for the use of "BOLD", just to make it more readable and highlight the imp points)
Bravo!
Rahul
It looks like I can choose only 4000 characters using the SELECT statement (please, correct me if I'm wrong)
You use the right method.
There is an implicit conversion from XMLType to the data type VARCHAR2 as expected by the function TO_CLOB, where the limitation, and the error.
To serialize XMLType to CLOB, use the XMLSerialize function:
SELECT XMLSerialize (DOCUMENT
XMLELEMENT ("accounts",
...
)
)
OF ANY_TABLE;
For the rest of the requirement, I wish you good luck trying to spool the XML correctly.
You may need to play around with the SET LONG and SET LONGCHUNKSIZE commands to operate.
-
Passing data from attachment of DB (Blob data Type) after the CLOB data type conversion, giving the error "ORA-06502: PL/SQL: digital error or value" in the PL/SQL package. If the BLOB size 32K > it will give another error works great my procedure.
For example, I enclose my code here.
function get_base64 (p_blob_in in blob) return clob is
CLOB v_clob;
CLOB v_result;
whole v_offset;
v_chunk_size PLS_INTEGER: = 12288;
v_buffer_varchar varchar2 (32767).
v_buffer_raw raw (32767).
Start
fnd_file.put_line (fnd_file.log, 'here');
If p_blob_in is null then
Returns a null value.
end if;
DBMS_LOB.CREATETEMPORARY (v_clob, true);
fnd_file.put_line (fnd_file.log, 'here1');
v_offset: = 1;
fnd_file.put_line (fnd_file.log, 'Loop value'-| ceil (DBMS_LOB.) GetLength (p_blob_in) / v_chunk_size));
because me in 1... ceil (DBMS_LOB. GetLength (p_blob_in) / v_chunk_size) loop
DBMS_LOB. Read (p_blob_in, v_chunk_size, v_offset, v_buffer_raw);
v_buffer_raw: = utl_encode.base64_encode (v_buffer_raw);
v_buffer_varchar: = utl_raw.cast_to_varchar2 (v_buffer_raw);
DBMS_LOB. WriteAppend (v_clob, length (v_buffer_varchar), v_buffer_varchar);
v_offset: = v_offset + v_chunk_size;
end loop;
fnd_file.put_line (fnd_file.log, 'Out of the loop');
v_result: = v_clob;
fnd_file.put_line (fnd_file.log, 'V_result length' - |) DBMS_LOB. GetLength (v_result));
fnd_file.put_line (fnd_file.log, 'V_result' - | v_result);
DBMS_LOB.freeTemporary (v_clob);
Return v_result;
exception
while others then
fnd_file.put_line (fnd_file.log, 'Error based on the encode_base64' - |) SQLERRM);
Returns a null value.
end;
In my main program I call this function as below:
Main proceedings...
l_return_clob CLOB.
Begin
....
l_return_clob: = get_base64 (p_blob_in);
-In returning it gives error - ORA-06502: PL/SQL: digital error or value
end;
Then, please mark the thread ANSWERED.
-
error ORA-00942 table or view does not gv$ session s, v$ sql
Hello
I used it after request for package gives error ORA-00942 table or view does not exist but I run same query in sql plsql developer command run successfully.
SELECT sid, serial #.
in V_SID, V_SERIAL
GV $ session s, v$ sql v
WHERE username = "USER1".
and s.SQL_ID = v.SQL_ID
Kind regards
Vaibhavgrant select on gv_$session to
; grant select on v_$sql to ; Note If you are using GV$ SESSION then you must also use GV$ SQL and join with INST_ID column select.
-
Hello
I test IE 2 databases and test1.
I created a database of public link test_dblink@test1 (from test database).
test the database with 2 diagrams: IE schema1 and schema2
When I executed a query using schema1 on the database of test as below:
Select * from table@test_dblink---it works
but when I executed the same query through schema2 on the test database that it gives:
Error: ORA-00942 table or view does not exist. ORA - 02063: preceding line test1
kindly help me:
Thanks in advanceSelect * from test1.are_sdo@refdata;
the value long 9999;
SELECT DBMS_METADATA. GET_DDL('DB_LINK',a.Db_link,'PUBLIC') OF DBA_db_links A WHERE DB_LINK LIKE '% REFDATA % ';What is the result of the above commands?
Just copy and paste (remove password)
-
' connect / as SYSDBA ' gives the error ORA-12154
Hello
Oracle XE can not access the database via "connect / as SYSDBA.
I have to use 'connect SYS' / "" & & sysPassword"@XE as SYSDBA" instead. "
No idea why ' connect / as SYSDBA ' gives me this error:
SQL > connect / as sysdba
ERROR:
ORA-12154: TNS: could not resolve the connect identifier specified
But it works:
SQL > conn system/password@XE as sysdba
Connected.
Thank you.I think that LOCAL should generally not be set.
Try:
C:\ > LOCAL value =
C:\ > set oracle_sid = XE
C:\ > sqlplus / as sysdbaThat should do :)
-
application gives an error ORA-20901:
Hello Hello,
I have problems with one of my application pages, I get the following error
ORA-20901: last update of data column "IMAGE_LAST_UPDATE" datatype "VARCHAR2" used to follow the updates of 'INSTRUCTOR_IMAGE' must be a date data type
Error Impossible to process INSTRUCTOR table row.
This happens when I try to add a new employee.
I really don't understand what has gone wrong, because everything worked very well. INSTRUCTOR_IMAGE currently has a BLOB data type that contains a photo of an instructor.
I am currently using APEX 3.2.1.
any help will be greatly appreciatedWhat is the data type for your image_last_update column? That seems to be the problem - it must be a date for blob support work properly.
-Sharon
-
Oracle version: 11.2.0.1.0
OS: oracle linux 6.6
VM: vmware
Problem. My oracle is running, and earphone works as well. but when I try to connect using sqldeveloper it gives errors. Please see the pictures below.
Thanks for your help.
Listener and host of info:
tnsnames.ora file:
You run sqldevloper on the same computer as the oracle database?
If so, you don't need any listener and can connect using the IPC rather than TCP. To connect as SYS, starting sqldeveloper as user 'oracle', sysdba role and type SID "orcl" and select the OS authentication.
-
CRA geometries give error in CDO_CS. TRANSFORM
Seems that SDO_CS has problems in the transformation of the geometries of the CRA:
-LINE geometry works very well
SELECT SDO_GEOM.VALIDATE_GEOMETRY_WITH_CONTEXT(geom,0.01) val ,SDO_CS.TRANSFORM(geom,4326) trafo FROM (SELECT sdo_geometry (2002, 25832, NULL, sdo_elem_info_array (1,2,1), sdo_ordinate_array( 500014,5650010, 500010,5650014, 500006,5650010) ) geom FROM dual);
TRUE
MDSYS. SDO_GEOMETRY (2002,4326, NULL,
MDSYS. SDO_ELEM_INFO_ARRAY (1,2,1),
MDSYS. () SDO_ORDINATE_ARRAY
9.0001995237432,51.0016646160954,
9.00014251706963,51.0017005861695,
9.00008551017565,51.0016646162345))
-ARC geometry gives ERROR
SELECT SDO_GEOM.VALIDATE_GEOMETRY_WITH_CONTEXT(geom,0.01) val ,SDO_CS.TRANSFORM(geom,4326) trafo FROM (SELECT sdo_geometry (2002, 25832, NULL, sdo_elem_info_array (1,2,2), sdo_ordinate_array( 500014,5650010, 500010,5650014, 500006,5650010) ) geom FROM dual);
ORA-13285
Transformation of the coordinates of geometry error
Cause: A pair of coordinates was outside the valid range for a conversion/projection.
Action: Check that the data to be transformed are consistent with the desired conversion/projection.
The range of coordinates are valid IMO. This bug (?) exists in ORACLE 11.2.0.3 and 12.1.0.1.
Found a workaround to SpatialAdvisor:
http://spatialdbadvisor.com/oracle_spatial_tips_tricks/318/circular-arcs-in-geodetic-polygons
Changed the SDO_GTYPE and the Ansdo_elem_info to MULTIPOINT, transformed and changed their return:
SELECT sdo_geometry(2002,trans.tgeom.sdo_srid, NULL, trans.geom.sdo_elem_info, trans.tgeom.sdo_ordinates) FROM (SELECT SDO_CS.TRANSFORM( sdo_geometry(2005,orig.geom.sdo_srid, NULL, sdo_elem_info_array(1,1,sdo_util.getNumVertices(geom)), orig.geom.sdo_ordinates),4326) tgeom, geom FROM (SELECT sdo_geometry (2002, 25832, NULL, sdo_elem_info_array(1,2,2), sdo_ordinate_array( 500014,5650010, 500010,5650014, 500006,5650010) ) geom FROM dual ) orig ) trans;
MDSYS. SDO_GEOMETRY (2002,4326, NULL,
MDSYS. SDO_ELEM_INFO_ARRAY (1,2,2),
MDSYS. () SDO_ORDINATE_ARRAY
9.0001995237432,51.0016646160954,
9.00014251706963,51.0017005861695,
9.00008551017565,51.0016646162345))
Thank you very much Simon!
-
Error ORA-01400 creation policy in AV 12 c
Hello
I have configured the host, the agent, collectors everything is ok and works, but when I try to create a strategy of the VA gives me this error:
ORA-01400: cannot insert NULL into ('AVSYS". "" "" AUDIT_SETTING_ARCHIVE_MAP '. "" ARCHIVE_ID')
ANY IDEA? NO MATTER WHAT SETTING I NEED TO CHECK FIRST?
THNKS FOR MORE INFORMATION!
Hello.!!
thnks... !!
Yes, I opened a SR and the response was the question in the note, so then oracle created the note:
Creating a strategy for auditing in 12 c AVDVF fails with error ORA-01400 (Doc ID 1680878.1)
-
Cannot open the database: error, ora-03113 end of file communication
Hi guys,.
I am facing a problem with my database
Oracle Linux Tikanga 5 machine
database: 10.2.0.1
Error: ora-03113
I tried to move a log file while inserting data...
I restored and tried to get back what she recovers with message media recover full but doesnot allow to open the database
gives the same error: error: ora-03113 end of file communication
Watch alert_log
____________
ALTER database recover if necessary
beginning
Start of recovery Media
ORA - 264 marked during: alter database recover if necessary
beginning
...
Fri Jan 9 16:20:18 2013
2048 MB db_recovery_file_dest_size is 40,79% used. It is a
user-specified limit on the amount of space that will be used by the present
for the files related to the recovery of databases and does not reflect the amount of
space available in the underlying file system or ASM diskgroup.
Fri Jan 9 16:22:02 2013
change the list of file restore of database data clear
Fri Jan 9 16:22:02 2013
Completed: change the clear list of restore of database data file
Fri Jan 9 16:22:02 2013
Edit the list of file restore of database data
1, 2, 3, 4, 5
Completed: change the list of file restore of database data
1, 2, 3, 4, 5
Fri Jan 9 16:22:02 2013
ALTER database recover if necessary
beginning
Start of recovery Media
ORA - 264 marked during: alter database recover if necessary
beginning
...
Fri Jan 9 16:22:07 2013
change the database open
Fri Jan 9 16:22:07 2013
LGWR: FROM PROCESS ARCH
Arc0 started with pid = 16, OS id = 2049
Fri Jan 9 16:22:07 2013
Arc0: Started archiving
Arc1: Started archiving
LGWR: FROM PROCESS ARCH COMPLETE
Arc1 started with pid = 17, OS id = 2051
Fri Jan 9 16:22:07 2013
Fix half open fully the valve of the thread 1
Fri Jan 9 16:22:07 2013
Errors in the /d1/app/oracle/oradata/orcl/bdump/orcl_lgwr_1966.trc file:
[ORA-00600: internal error code, arguments: [3712], [1], [1], [0], [445262], [0], [445261],]
Fri Jan 9 16:22:08 2013
Errors in the /d1/app/oracle/oradata/orcl/bdump/orcl_lgwr_1966.trc file:
[ORA-00600: internal error code, arguments: [3712], [1], [1], [0], [445262], [0], [445261],]
LGWR: termination litigation because of the 470 error
Instance terminated by LGWR, pid = 1966
can you please on the same...
Thank youORA-00600: internal error code, arguments: [3712].
ORA-00600 is error internal oracle, you need to check metalink support for this.
-
Error: ORA-06508: PL/SQL: called program unit is not found
Hello
I was surprise issue while testing my code from Oracle. Let me explain first of all the details of the environment. Our application built
Java/J2EE (Weblogic) and backend is Oracle 11 g re2. Calling Java call through different users who have been providing
synonymous with option and running for corresponding procedure.
I created the EXTRACT_CUSTOMER_INFO_PK package which exract data from file text with UTL_FILE (direcory, UTL_FILE grant is provided to the user to DB).
Now this package was called rp_execute_procedure_pr - I have here is the code
CREATE OR REPLACE PROCEDURE RP_EXECUTE_PROCEDURE_PR
(
i_atlas_job_schedule_fk IN atlas_job_schedule.atlas_job_schedule_pk%TYPE,
i_job_id IN atlas_job.job_id%TYPE,
i_parm_value IN atlas_job_schedule.parm_value%TYPE,
o_status_code ON the NUMBER,
o_status_mesg OUT VARCHAR2
)
IS
-Other older code that is not relevant to this problem-
-Other older code that is not relevant to this problem-
-The code below, I added-
ELSIF l_job_id = "CUST_EXTRACT" THEN
EXTRACT_CUSTOMER_INFO_PK.customer_report (i_parm_value,
o_status_code,
o_status_mesg);
-o_status_code: =-99999999.
-o_status_mesg: = "PARTHA PARTHA PARTHAcess arrested!";
ON THE OTHER
o_status_code: =-20300;
o_status_mesg: = ' Job Id: ' | l_job_id | ' Not found. Process is completed!';
END IF;
update_log_auto
(
ajs_rec.atlas_job_schedule_pk,
' Treatment time (GMT) of the end: '
);
EXCEPTION
WHEN eProcError THEN
o_status_code: = SQLCODE;
o_status_mesg: = SUBSTR(vMsg ||) e -'|| SQLERRM, 1, 200);
WHILE OTHERS THEN
o_status_code: =-20300;
o_status_mesg: = SUBSTR (SQLERRM, 1, 200);
update_log_auto
(
ajs_rec.atlas_job_schedule_pk,
' Error: '. SQLERRM | » '
);
update_log_auto
(
ajs_rec.atlas_job_schedule_pk,
' Treatment time (GMT) of the end: '
);
END RP_EXECUTE_PROCEDURE_PR;
Now he compiled sucesfully. And while I SAT RP_EXECUTE_PROCEDURE_PR then run fine and extracted txt file. But while I called him procedural Java it gives us the error as
Error: ORA-06508: PL/SQL: 13:16:51 August 2, 2012 called program unit could not be found.
Like I said RP_EXECUTE_PROCEDURE_PR old proc and used by the other proc, so I first think question is newly added code or maybe a few grants or synonym (although it should not be)
So I created public means amd gave run grant to my public pkg.
But he repeated the same mistake.
I have a lot of R & D on my package but nothing happen. Finally I have my new pkg RP_EXTRACT_CUSTOMER_INFO_PK remane and it works fine
I need to know what is the RCA for her. I donot think any problem as renaming pkg dependecy works very well.
NB my user DB iATLAS and Javauser is SUDEEP
Thanks in advance
Martin PaivaName conflict usually occurs because there is another object with the same name: could be it is even a java package name and plsql package package or could be same name from a different scheme.
First of all, try to use the fully qualified name: myschema.mypackage.myprocedure
-
Request Express 4.1.1.00.23 on database of Oracle 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit - embedded Installation
I have a dynamic action (instruction) that sets out a numeric field (the rating are digital in the database and objects digital apex page too)
I want to just this value to be stored in a numeric value.
declare
number of l_return;
Start
l_return: = nvl(:P7_CURRENT_BALANCE_1,0);
Return l_return;
end;
The statement l_return: = nvl(:P7_CURRENT_BALANCE_1,0); gives the error Ora-06502
Help, please
DJFollowing what fac586 said, if you have specified a format for the P7_CURRENT_BALANCE_1 element mask, then you must consider that too when the conversion of number.
Kind regards
Maybe you are looking for
-
Firefox does not open Windows - intermittent - 10 pro
Once I click on the icon to launch the Firefox browser I momentarily have the little blue icon of waiting... then nothing.I can use everything on the computer, including the border, IE, Chrome, and Safari. If I go to Task Manager it shows Firefox wit
-
Hello Can you tell me how it is possible:I have for sale a K256 Apacer memory and try to put it in my notebook.There is no work.His work only with my old kingston 128K memory. Can someone tell me what I have forgotten or that I was wrong. Thanks in a
-
Error code 646, Windows updated 10/13/2009
I get the error code 646 while trying to download and install these updates to the window; Update of security for Microsoft Works 8 (KB973636)Update of security for the viewer Microsoft Office Visio 2007 (KB73709)Security Update 2007 Microsoft Office
-
How to reduce the size of the font of the images on the screen?
I don't know how I did it, but the images on my screen are very big and I don't know how to bring them back to normal.I understand that it is good for people with visual impairments.
-
BlackBerry Storm 2 Smartphone: increase volume ring tone?
Hello Is it possible to define a "volume" for the ringtone as in the previous BBs? The volume control goes from Silence to 10, but among the most interesting optins isn't here. Thanks for posting some light on that.