Dashboard refresh - ORA-24373 invalid length specified for statement
Post Author: Reesy
CA Forum: Performance Management and Dashboards
I am getting the following error message in the log file "ORA-24373: invalid length specified for statement" when trying to refresh a metric via dashboard manager. The metric has been successfully refreshed previously. The only change that I am aware of is that more data has been added to the underlying database (Oracle 10g).
There are a number of different filters on the metric - some work ok - some give the above error.
Can anyone help?
Cheers
IWOULDFORMATMYCODESOITISREADABLEUSINGMIXEDCASESPACESANDNEWLINES.
ATABLEALIASWOULDPROBABLYHELPTOO.
Similar Messages
-
Resolve Invalid length specified for Statement Error ORA-24373
Hi Can anyone help explain why I am getting the above error while trying to call a plsql program unit in an SQL query that supplies data to an oracle report.
The program unit compiles successfully in the plsql editor but a reference to it has been unsuccessful.
RegardsIWOULDFORMATMYCODESOITISREADABLEUSINGMIXEDCASESPACESANDNEWLINES.
ATABLEALIASWOULDPROBABLYHELPTOO. -
I got Invalid name specified for BUFFER_POOL while importing data
Hi
i got an error : ORA-25126: Invalid name specified for BUFFER_POOL while i was importing data (impdp)
there are 2 instances on 2 servers
1st instance is a single instance ,running on AIX ,oracle version 10.2
and 2nd instance is RAC running on Solaris ,oracle version 11.2
i want to import from 2nd instance (11.2) to 1st instance (10.2)
here's my script
impdp username/password tables=schema1.main,schema1.address table_exists_action=replace remap_schema=schema1:test remap_tablespace=schema:test_space nologfile=y network_link=db_sourcei got an error above only schema1.main table but schema1.address was able to import
here's my log
ORA-39083: Object type TABLE failed to create with error:
ORA-25126: Invalid name specified for BUFFER_POOL
Failing sql is:
CREATE TABLE "TEST"."MAIN" ("Col1" VARCHAR2(1) NOT NULL ENABLE, "Col2" VARCHAR2(15) NOT NULL ENABLE, "Col3" VARCHAR2(13), "Col4" VARCHAR2(100), "Col5" NUMBER(2,0), "Col6" DATE, "Col7" VARCHAR2(1), "Col8" VARCHAR2(1), "Col9" DATE, "Col10" NUMBER(16,2)
. . imported "TEST"."ADDRESS" 317 rowshow can i solve this problem ?
thanks in advance.. :)I believe this is a known bug - see MOS Doc 9160088.8 (Bug 9160088 - 11.2 EXPDP to lower version errors on import (ORA-25126)) - open an SR with Support
HTH
Srini -
Error -ORA-01483: invalid length for DATE or NUMBER bind variable
In discoverer plus, attempt to save a discoverer workbook into the database fails with the error:
ORA-01483 invalid length for DATE or NUMBER bind variable
The same workbook can be safely saved in "My Computer".
Any idea why and what is the solution.Why: not quite sure, probably the code is validating the workbook when it saves it to the db and you've got an error in the sql. What happens when you run the workbook that you saved to the file system? Does it show the same error when run?
Solution: Can you post the sql in the workbook? In the meantime try the following: Replace any to_char statements around dates with to_date statements instead. For example:
Replace:
where to_char(mydate, 'dd-mon-yyyy') = '05-apr-2009'
With:
where mydate = to_date('05-APR-2009','DD-MON-YYYY') -
ORA-48108: invalid value given for the diagnostic_dest init.ora parameter
Hi All,
I am trying to start my oracle 11g database on windows 7 PC and i am getting below exception
SQL> startup mount
ORA-48108: invalid value given for the diagnostic_dest init.ora parameter
ORA-48140: the specified ADR Base directory does not exist [d:\oracle\app\product\11.2.0\dbhome_1\database\<oracle_base>]
ORA-48187: specified directory does not exist
OSD-00002: additional error information
O/S-Error: (OS 123) The filename, directory name, or volume label syntax is incorrect.
SQL>
Earlier it was working fine. For learning purpose, i have created spfile using pfile and after that i got this issue.
Please help.
Regards,
Sunilsunil907 wrote:
Hi,
I have provided diagnostic_dest folder location (physical path). Now i am getting some different kind of error on startup.
SQL> startup
ORACLE instance started.
Total System Global Area 1068937216 bytes
Fixed Size 2182592 bytes
Variable Size 616563264 bytes
Database Buffers 444596224 bytes
Redo Buffers 5595136 bytes
ORA-00205: error in identifying control file, check alert log for more info
Please help
What does your own research of 'ORA-00205' indicate?
the text of the error message is pretty self explanatory .. it couldn't find the control file.
The control files are specified by the "control_files" initialilzation paramter. When you get this error, the instance has started but was unable to mount the control file. since the init file (spfile) was processed and the instance started you can easily see what it thinks are the control files.
oracle:fubar$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Tue Jul 16 12:51:37 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 835104768 bytes
Fixed Size 2217952 bytes
Variable Size 490735648 bytes
Database Buffers 339738624 bytes
Redo Buffers 2412544 bytes
ORA-00205: error in identifying control file, check alert log for more info
SQL> show parameter control
NAME TYPE VALUE
control_file_record_keep_time integer 7
control_files string /u01/app/oracle/oradata/FUBAR/
controlfile/o1_mf_8ybx4t7w_.ct
x, /u01/app/oracle/flash_recov
ery_area/FUBAR/controlfile/o1_
mf_8ybx4tom_.ctl
control_management_pack_access string NONE
SQL>
So what did you do in fixing your original problem that caused your control_files parameter to go south? -
Checkbox and ORA-20507: Invalid numeric value #:# for column
Hi All,
I'm facing problems Checkboxes in a form.
I created a form and report on a table. one of the fields on the form is a checkbox and when ever I want to create a new record or update with more than one value for the checkkbox I obtain the following error:
ORA-20507: Invalid numeric value #:# for column COLUMN_NAME Where by #:# is numbers
I think the error occurs at the processes of get_pk and process_row_of_......
how should I change the processes to accommodate the checkbox values.
Kind regards
MelHi Roel,
Colunm = number
LOV Definition
select product display, prod_num return from product_category_vw
where prod_num not in (select p.prod_num from product_user_tb p, user_tb u
where p.user_num = u.user_number
and u.user_name = :APP_USER)
ORDER BY 1column = number
LOV Definition
select school d, sch_id r from school_tbRegards
Mel -
ORA-20001: Invalid parsing schema for current workspace ID
I recently upgraded Apex version from 4.0 to 4.2 successfully. Everything looks good except in one of the applications, I am running into
ORA-20001: Invalid parsing schema for current workspace ID ( see below for detailed debug info). It seems this page region code is still looking at
old apex scehma APEX_040000 instead of APEX_040200 somehow. Any ideas.
is_internal_error: true
apex_error_code: APEX.REGION.UNHANDLED_ERROR
ora_sqlcode: -20001
ora_sqlerrm: ORA-20001: Invalid parsing schema for current workspace ID
component.type: APEX_APPLICATION_PAGE_REGIONS
component.id: 21560330709310725
component.name: Calendar
error_backtrace:
ORA-06512: at "APEX_040000.WWV_FLOW_ASSERT", line 377
ORA-06512: at "APEX_040000.WWV_FLOW_ASSERT", line 386
ORA-06512: at "APEX_040000.WWV_RENDER_CALENDAR2", line 462
ORA-06512: at line 27
ORA-06512: at "SYS.DBMS_SYS_SQL", line 1926
ORA-06512: at "SYS.WWV_DBMS_SQL", line 1064
ORA-06512: at "APEX_040200.WWV_FLOW_DISP_PAGE_PLUGS", line 4613
ORA-06512: at "APEX_040200.WWV_FLOW_DISP_PAGE_PLUGS", line 3220
OKThanks Patrick. Just wanted to make you're referring to the below code. what package I would be using instead of 'wwv_render_calendar2.show'
wwv_render_calendar2.show (
p_query => q,
p_max_rows => '5',
p_heading_bgcolor => '#CCCC99',
p_table_bgcolor => 'WHITE',
p_monday_friday_only => 'NO',
p_non_curr_month_attr => 'bgcolor="#F7F7E7"',
p_month_font_face => 'Arial',
p_month_font_size => '+1',
p_month_font_color => 'BLUE',
p_day_font_face => 'Arial',
p_day_font_size => '+1',
p_day_font_color => 'BLACK',
p_cell_font_face => 'Arial',
p_cell_font_size => '-2',
p_cell_font_color => 'BLACK',
p_page_width => '95%',
p_show_month_above_tab => 'YES',
p_min_blank_cell_height => '45',
p_calendar_day_date_fmt => 'MM/DD/YYYY',
p_cur_local_date => '');
end; -
ORA-01017: invalid username/password; for Oralce 12c OEM installation
Hi Experts,
Following error Oralce 12c OEM installation ,i have no clue sys user passowrd is correct in response/new_install.rsp file
[oracle@sdp12 OEM_Packages]$ ./runInstaller -silent -responseFile /oracle/oracle8/OEM_Packages/response/new_install.rsp
Starting Oracle Universal Installer...
Checking Temp space: must be greater than 400 MB. Actual 1222 MB Passed
Checking swap space: must be greater than 150 MB. Actual 4000 MB Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2013-02-24_06-22-19PM. Please wait ...[oracle8@sdp38 OEM_Packages]$
ERROR: ERROR:Exception occurred while connecting to database. Check the connection details of the database you specified and retry.
ORA-01017: invalid username/password; logon denied
Unable to connect to the database and validate whether it is a supported database due to one of the following reasons:
(1) Incorrect credentials
(2) Listener may be down
(3) Database may be down
Check the credentials ,the status of the listener and the database and retry.
i am able to connect using same username password
[oracle8@sdp38 response]$ sqlplus sys/sys512@TET1
SQL*Plus: Release 11.2.0.1.0 Production on Sun Feb 24 18:29:15 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL>
From response/new_install.rsp file
DATABASE_HOSTNAME=sdp12
LISTENER_PORT=1521
SERVICENAME_OR_SID=TET1
SYS_PASSWORD=sys512
SYSMAN_PASSWORD=sysman512
SYSMAN_CONFIRM_PASSWORD=sysman512
i have no clue here, any help greatly appropriated
thanksfew things you can check :
a) Is there a password file ? Is the password correct in it ?
b) SYSDBA remote login is disabled. remote_login_passwordfile is not set to EXCLUSIVE in the spfile or init.ora.
Set: remote_login_passwordfile= EXCLUSIVE
Create a password file:
Unix: $
orapwd file=$ORACLE_HOME/dbs/orapw$ORACLE_SID password=sys entries=5
Windows:
C:\> orapwd file=%ORACLE_HOME%\database\pwd%ORACLE_SID% password= sys entries=5
To synchronize the password for sys for normal connections and connections as sysdba connect as a sysdba user and reset the sys password:
$ sqlplus "/ as sysdba" SQL> ALTER USER SYS IDENTIFIED BY change_on_install; -
"Invalid printer specified" for 32bit Windows Service in 64bit Server
Hi All,
I'm having some issues with crystal reports.
My development environment:
Visual Studio 2008, 32bit Windows XP
Running environment:
Windows Server 2003 Service Pack 2 64 bit
Crystal Reports Basic Runtime for Visual Studio 2008 (x86)
I've created two applications: one is console application and one is windows service. Both application run same codes to print crystal reports to printers and run at 32 bit. I can have multiple instance of console application running without any issues. When I run the windows service version, the first time the service works fine. But after I restarted the windows server, the crystal report throw Sysstem.Runtime.InteropServices.COMException.
The detail of the exception is:
System.Runtime.InteropServices.COMException (0x80000201):
Invalid printer specified.
at CrystalDecisions.ReportAppServer.Controllers.PrintOutputControllerClass.ModifyPrinterName(String newVal)
at CrystalDecisions.CrystalReports.Engine.PrintOptions.set_PrinterName(String value)
at Company.PrintReport(ReportClass report, String printerName)
Both console application and windows service run at 32 bits. The user runs the service is domain controller who has admin permission. And the same problem happened on an web application hosted on IIS of the same server.
What I've done so far:
1. Set the printer option in the report to no printer
2. Try install the crystal report x64
3. For the windows service build for x86.
Please some one help me in this.
CheersThat is a rather strange issue.
Make sure you are killing the report object once you're doen with it. E.G;
Dim report as New ReportDocument
Protected Sub Page_load()
End Sub
Private Page_Unload()
report.close()
report.dispose()
GC.Collect
End Sub
//C# (on form open):
private void WebForm1_Init(object sender, System.EventArgs e)
if (boReportDocument != null)
boReportDocument.Close();
boReportDocument.Dispose();
GC.Collect();
// C# on form close
private void Page_Unload(object sender, EventArgs e)
if (boReportDocument != null)
{ boReportDocument.Close();
boReportDocument.Dispose();
GC.Collect();
If closing and disposing does not help, is htis happening on your dev computer or after you move that app to another server? -
ORA-1459 INVALID LENGTH FOR VARIABLE CHARACTER STR
HI Guys,
Developers in my team are facing this problem.
I thought this error is not related to database. IS it?\
Can you please provide me with any details on this error.
Thanks
VijayYou can find all errors online at http://tahiti.oracle.com
So far, you have exclusively been asking questions for which you can and refuse to look up the answer in the online documentation.
I hereby ask you formally to stop asking doc questions, and to consult documentation before posting anything.
Sybrand Bakker
Senior Oracle DBA -
ORA-01458: invalid length inside variable character string
We encountered a serious problem in production system where we were getting this ORA error.
The common search on google results into the following explaination.
Cause: An attempt was made to bind or define a variable character string with a buffer length less than the minimum requirement.
Action: Increase the buffer size or use a different type.
However on analysis we found that the error was because, the value that was being bound to bind variable was NULL.
This was a new finding for me.
Please share your experiences/views on this.without any code and data examples this is impossible
-
ORA-1458: Invalid length inside variable character string
We have created a web application that read and write on an Oracle database with a ODBC connection.
I think that there isn't a code error because I get this error everytime in different phases of the application and because after some time I can be able to execute the operation that have caused the error.
Do you have any idea?
Thanks, NunzioHi
I dont' remenber having this error before.
Mayba the ODBC is the bottleneck. It is possible that the ODBC driver couldn't manage so long string that your data is. Maybe you should transfrom the clob into varchar2 or long varchar.
Ott Karesz
http://www.trendo-kft.hu -
10.2.0.4 Agent issue - ORA-24373
Hi,
my OMS is on 10.2.0.4 . and recently I upgraded the agent to 10.2.0.4 . applied the patch 7031906, 7012242 . But I still observe these message in agent emagent.trc file .
2008-09-10 14:43:33,141 Thread-508 ERROR fetchlets.oslinetok: Process stderr = em_error=prepare(): ORA-24373: invalid length specified for state
ment (DBD ERROR: OCIStmtPrepare)
2008-09-10 14:43:33,141 Thread-508 ERROR engine: [oracle_database,topdw,audit_failed_logins_historical] : nmeegd_GetMetricData failed : em_error
=prepare(): ORA-24373: invalid length specified for statement (DBD ERROR: OCIStmtPrepare)
2008-09-10 14:43:33,141 Thread-508 WARN collector: <nmecmc.c> Error exit. Error message: em_error=prepare(): ORA-24373: invalid length specifie
d for statement (DBD ERROR: OCIStmtPrepare)
Any idea or any pointer on how to fix this .
Thanks in Advance
PkCan u bounce the agent and check again
-
Hello.
I have a lot of SQL statements (like 2-3 Mio) - plain inserts, deletes and updates. In a previous post, I asked how to embed exceptions for the statements:
Re: exceptions for a small SQL script (now with optimization question)
Here is the solution and this is how my script looks like now (with only 7 statements in 3 blocks out of these millions of statements):
BEGIN
BEGIN
DELETE ...
COMMIT;
EXCEPTION
WHEN OTHERS THEN
dbms_output.put_line(sqlerrm);
ROLLBACK;
raise;
END;
BEGIN
INSERT ...
INSERT ...
INSERT ...
COMMIT;
EXCEPTION
WHEN OTHERS THEN
dbms_output.put_line(sqlerrm);
ROLLBACK;
raise;
END;
BEGIN
INSERT ...
UPDATE ...
COMMIT;
EXCEPTION
WHEN OTHERS THEN
dbms_output.put_line(sqlerrm);
ROLLBACK;
raise;
END;
END;
/So it seems, that for oracle this is only one very big statement (the .sql file is over 1 GB big) and oracle tries at first to parse everything. In my case - obviously unsuccessful, because I received the ORA-24373: invalid length specified for statement. So my question is - what is the max length of a statement? Is there a work-around for this issue?
Thanks a lot!Great, I found the solution by myself. Here's what I needed:
BEGIN
DELETE ...
COMMIT;
EXCEPTION
WHEN OTHERS THEN
dbms_output.put_line(sqlerrm);
ROLLBACK;
raise;
END;
BEGIN
INSERT ...
INSERT ...
INSERT ...
COMMIT;
EXCEPTION
WHEN OTHERS THEN
dbms_output.put_line(sqlerrm);
ROLLBACK;
raise;
END;
BEGIN
INSERT ...
UPDATE ...
COMMIT;
EXCEPTION
WHEN OTHERS THEN
dbms_output.put_line(sqlerrm);
ROLLBACK;
raise;
END;
/My script will still be Gigabytes big and will work just fine. Get it? -
"ORA-28267 Invalid NameSpace" with APEX 4.0.1 and WebLogic server
Hi all,
I have a page that has a simple query as Region Source. It all worked fine on Apex 3.2 with the iAS mod pl/sql gateway.
Query goes like this:
select servername, a.capture_name, a.status, a.source_database, a.captured_scn, a.applied_scn, b.state_changed_time, b.state
from DBA_CAPTURE@DBLNK_STRM_PADATARP a, V$STREAMS_CAPTURE@DBLNK_STRM_PADATARP b
where a.CAPTURE_NAME (+)= b.CAPTURE_NAME
(it reads out Oracle Streams status over a database link)
After migrating the page to Apex 4.0.1 and WebLogic (Oracle 11g SOA suite) frontend, the Apex page now gives the "ORA-28267 Invalid NameSpace" error for some strange reason.
Apex will now not validate the query in the edit region source page.
I think maybe the problem lies with the WebLogic setup, but exactly what it might be eludes me.
Anyone able to shed any light on this?
Regards,
-Haakon-Must have to do with the java based Apex Listener in conjunction with WebLogic and the execution of queries over database links.
Workaround was to create a materialized view in Apex database and select from that instead.
Maybe you are looking for
-
Hello, I am located in the US and use the English format for most Excel formulas (i.e. Days360) and "," as a delimiter. Yet, when sending the file to users in France, the formulas show with a "#NAME?" error because in the French version of Excel, th
-
ORACLE SQL Query with Parent and Child structure
I have 2 tables which are Account tbl and Customer tbl, the structure is like below: Account tbl Customer_ID Account_ID Parent_Account_ID 3780952 3780952 3780952 3780997 3780997 3780997 3781004 3781004
-
Caller ID shows as MY PHONE #
Why is my own Name and # showing up as the Caller ID when a Marketing Call is being placed to my home? I am very disappointed that Verizon allows this to occur...
-
Forwarding workitem to a Service user.
Hello All, We are using a standard function module SAP_WAPI_FORWARD_WORKITEM OR by SWIA for forwarding a workitem but its showing Following error ERROR : User ABC is not a dialog user: Not possible t
-
Shuts down after 20 minutes on skype
Have a 2 month old Macbook Air in basic configuration. After 20 minutes on Skype, it dies and has to be rebooted. It is not the battery - it is connected to power. Changed the sleep mode way past teh 20 minute mark and still goes to black. Any as