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
Pk
Can u bounce the agent and check again
Similar Messages
-
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? -
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?
CheersIWOULDFORMATMYCODESOITISREADABLEUSINGMIXEDCASESPACESANDNEWLINES.
ATABLEALIASWOULDPROBABLYHELPTOO. -
Hi,
I'm running an 8.1.6 db and using WebAgent on Redhat 6.1.
I have a running application to upload files into blob columns that usually works well except that from time to time the following error message appears:
"Oracle interMedia Web Agent
An error occurred processing your MEDIAGET or MEDIAPUT request
Error while trying to retrieve text for error ORA-03113"
I have no idea why I'm getting this error, if I refresh the page then I get the normal MEDIAPUT succeeded message and the document is loaded.
This is a little disconcerting for my end-users. Does anyone know what is causing this error or where to start looking?
Many Thanks.
Niall.
nullHi Niall,
Unfortunately, the fact that you're not seeing any trace files or
anything in the alert log isn't giving us much to go on. I'll answer
your questions first, then list some ideas at the end.
The error message you are seeing, "MWM-00608: error executing a SQL
statement", indicates that the Web Agent really is executing a
statement - its pretty specific about what its doing when it has to
write an error message. For example, if the error were occuring when
it was trying to connect to the server or start a new database
session, then you'd see something like "MWM-00546: OCI error attaching
to database server using service name '%s'" or "MWM-00548: OCI error
beginning database session using service name '%s'".
Are there any delay / timeout parameters that should be examined or
changed ?The Web Agent doesn't use any timers. It simply issues calls to OCI and
waits for the response.
Does the Web Agnet try to keep it's connection alive from the previous
upload ?Yes it does. For database agents defined with a fixed user name and
password, the Web Agent keeps both the server connection and database
session active for use in subsequest requests. For database agents
that do not specify a password, the Web Agent keeps only the server
connection active between requests. It does this to avoid the overhead
of creating a new server connection/database session for every
request, something which would result in a noticeable in servicing
requests.
The fact that the MEDIAPUT request works immediately after the error
(upon page refresh) makes me wonder if the server process is not
coming up fast enough for the Web Agent? A page refresh should result in the browser resending the same request
to the web server. When the web agent gets the request, it will simply
create a new server connection/database session with which to execute
the necessary SQL. That is, assuming the request goes to the same
process. If it goes to a different process, then there may already be
an existing connection that can be used, or a new connection may be
created.
Here are some thoughts as to what might be causing the problem, plus
some suggestions where I can make any:
1. The database is being shutdown and restarted without restarting the
web agent and/or web server. This will cause the error you are
seeing, because the Web Agent doesn't know the database has gone
down and will try to use existing sessions when new requests
arrive.
If you're using Apache, then you'll need to restart Apache in order
to restart the Web Agent. If you're using iPlanet Web Server in
single-process mode, then you can use the Web Agent's on-line admin
interface to reload the configuration, which will cause the Web
Agent to shutdown any existing database sessions and server
connections, then re-read the configuration file. As new requests
are received, new connections will be established.
2. Individual database sessions are being killed by something and/or
someone. Although some documentation I read says that clients
should get an ORA-00028 error message, when I tried it, I got
ORA-03113. I didn't see anything in my alert log when I was trying
it, but there may be settings you can use to enable the logging of
such actions.
3. Individual TCP/IP network connections are being killed by something
and/or someone. I don't know how you're web server and database
server are configured, or what transport they're using, but this
sort of thing will result in the error you are seeing.
4. There's some sort of bug in the 8.1.6 server on Linux which results
in the server consuming virtual memory or some other resource to the
point that when the resource runs out, it doesn't have enough resource
to write a trace dump file.
If this is happening, then its going to be a case for the support
folks to look at. One possible way of proving this would be to
periodically restart the web server or reload the Web Agent
configuration, so re-initializing all the connections.
Some other questions that may or may not have a bearing on the issue.
- How often does this occur? Once a day, once a week, or multiple
times per day to different users?
- Which web server are you using?
- Does it always happen to the empentblobs.empent_doc procedure or
do other procedures experience problems?
- What does the empentblobs.empent_doc procedure do, and can it be
simplified in any way to narrow down the problem?
That's all I can think of for now. Please let us know if any of this
helps, or at least helps to point in the right directory.
Regards,
Simon
null -
CCMS Agent Issue in Central Monitoring System
Dear Guru's,
We are configuring the CCMS Agent in our landscape, while registering the CCMS Agent we're facing some issue.
CEN system - Only ABAP Stack - ECC 6.0 Ehp3
Target System - Double stack (ABAP + JAVA, Netweaver 2004s)
After completing the Visual Admin settings. Service file SAPCCMSR.99 has
been generated automatically. As per the help.sap the service file should
be SAPCCMSR.<Instance No.>, our instance no. was 00 but its was generated
with 99 (SAPCCMSR.99).
Two RFC has been created in Double stack system and one RFC has been
created in ABAP system.
RFC in ABAP system :
SAPCCMSR.HOSTNAME.00 - its not working
(Error Details, ERROR:program hostname.sapccmsr.00 not registered)
RFC in Dual-stack System :
SAP.CCMS.J2EE.SID - its working
SAPCCMSR.HOSTNAME.00 - its not working
(Error Details, ERROR:program hostname.sapccmsr.00 not registered)
While testing the Remote System Topology, we're getting communication
error.
In RZ21, Topology - Agents for Remote Systems - Display Overview, Agent
for SAP System SID tab, Agents for Remote SAP Systems, selecting the
available system (Dual stack system) and give Test Connection means
its throwing Error opening an RFC connection - SAPCCMSR.HOSTNAME.00
Could you please suggest, what we're missing.
regards,
GunaHi,
Thanks for your reply.
What your said was rite, but I'm unable to get J2EE (Java Stack) alert information in RZ20 of the same system, coz., its dual stack system. If we don't have any issue in Java means it should be updated in RZ20 of the same system.
In Dual-stack System:
RZ20 -> CCMS monitor sets -> SAP J2EE Monitor Template -> All Systems -> SID -> J2EE Engines, J2EE Applications, J2EE Log files... these are not updating here.
Could you kindly suggest for above issue.
regards,
Guna -
In OBIEE 11G, how to send automatically one email for different level users for having a look different data by agent?
For example:
One report architeture:
Region--------District---------Sales
Region 1------District1--------100
------------------District2---------200
Region 2------District3---------300
------------------District4---------400
One Level can have a look at data:
Region-----------------Sales
Region 1-------------300
Region 2------------ 700
Another Level can have a look at data:
Region--------District---------Sales
Region 1------District1--------100
------------------District2---------200
Region 2------District3---------300
------------------District4---------400
Is it possible to implement this requirement in OBIEE 11.1.1.6? Thanks.Hi Satya,
Thanks for you help.
If I add this new users into one group in users table and send one email to group, it will no result. Message display as below:
Eventually succeeded, but encountered and resolved errors...
Number of skipped recipients: 0 of 0
AgentID: /shared/test/sad
Invalid subscribers skipped: weblogic
create table USEREMAIL
Logon VARCHAR2(50),
Display_Name VARCHAR2(50),
Group_Name VARCHAR2(50),
TimeZone VARCHAR2(50),
Language VARCHAR2(50),
Locale VARCHAR2(50),
Email VARCHAR2(50),
Email_Priority VARCHAR2(50),
Email_Type VARCHAR2(50),
Cell_Phone VARCHAR2(50),
Cell_Phone_Priority VARCHAR2(50),
Pager VARCHAR2(50),
Pager_Priority VARCHAR2(50),
Handheld VARCHAR2(50),
Handheld_Priority VARCHAR2(50)
Create table users(
USERID varchar2(50),
USERPASSWORD VARCHAR2(50),
GROUP VARCHAR2(50)
insert into useremail values
('kobe','kobe_xu','BIAdministrators','','','','[email protected]','H','HTML','','','','','','');
insert into users values
('kobe','123456',''BIAdministrator');
and create AUTHENTICATION block:
select USERID from USERS where USERID=':USER' NQS_PASSWORD_CLAUSE(and USERPASSWORD= ':PASSWORD')NQS_PASSWORD_CLAUSE
CREATE AUTHORIZATION BLOCK and set row-wise:
SELECT 'GROUP', USERROLES FROM USERS WHERE USERID=':USER'
Please help me to find the issue, thanks very much for your precious time. -
Agent issue with 10.2.0.4 on RHEL 4 for single instance db.
Hi,
I had 2 instances that were not able to upload nor where they secure. For one of them which ran on port 5500, I was able to go through the forums and basically I ended up dropping the repository for that instance, and then I was able to secure the agent, and uploads were fine. Now I have one single instance that runs on port 1158:
[oracle@stdb7 bin]$ emctl status agent
TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
Agent Version : 10.1.0.6.0
OMS Version : 10.1.0.6.0
Protocol Version : 10.1.0.2.0
Agent Home : /dsk0/oracle/stdb7XXXXorg_dhqprd
Agent binaries : /dsk0/oracle
Agent Process ID : 27304
Parent Process ID : 27301
Agent URL : http://stdb7XXXXorg:3938/emd/main
Started at : 2009-05-12 10:53:16
Started by user : oracle
Last Reload : 2009-05-12 10:53:16
Last successful upload : (none)
Last attempted upload : (none)
Total Megabytes of XML files uploaded so far : 0.00
Number of XML files pending upload : 56
Size of XML files pending upload(MB) : 2.44
Available disk space on upload filesystem : 70.15%
Agent is Running and Ready
[oracle@stdb7 bin]$ emctl secure agent
TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
Enter Agent Registration password :
Agent successfully stopped... Done.
Securing agent... Started.
Requesting an HTTPS Upload URL from the OMS... Failed.
The OMS is not set up for Enterprise Manager Security.
[oracle@stdb7 bin]$ emctl start agent
TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
Starting agent ... started.
[oracle@stdb7 bin]$ emctl clearstate agent
TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
clearstate failed with ret=-10
[oracle@stdb7 bin]$ emctl clearstate agent
TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
EMD clearstate completed successfully
[oracle@stdb7 bin]$ emctl start dbconsole
TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
http://stdb7XXXXorg:1158/em/console/aboutApplication
Agent Version : 10.1.0.6.0
OMS Version [oracle@stdb7 bin]$ emctl status agent
TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
Agent Version : 10.1.0.6.0
OMS Version : 10.1.0.6.0
Protocol Version : 10.1.0.2.0
Agent Home : /dsk0/oracle/stdb7XXXXorg_dhqprd
Agent binaries : /dsk0/oracle
Agent Process ID : 27304
Parent Process ID : 27301
Agent URL : http://stdb7XXXXorg:3938/emd/main
Started at : 2009-05-12 10:53:16
Started by user : oracle
Last Reload : 2009-05-12 10:53:16
Last successful upload : (none)
Last attempted upload : (none)
Total Megabytes of XML files uploaded so far : 0.00
Number of XML files pending upload : 56
Size of XML files pending upload(MB) : 2.44
Available disk space on upload filesystem : 70.15%
Agent is Running and Ready
[oracle@stdb7 bin]$ emctl secure agent
TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
Enter Agent Registration password :
Agent successfully stopped... Done.
Securing agent... Started.
Requesting an HTTPS Upload URL from the OMS... Failed.
The OMS is not set up for Enterprise Manager Security.
[oracle@stdb7 bin]$ emctl start agent
TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
Starting agent ... started.
[oracle@stdb7 bin]$ emctl clearstate agent
TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
clearstate failed with ret=-10
[oracle@stdb7 bin]$ emctl clearstate agent
TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
EMD clearstate completed successfully
[oracle@stdb7 bin]$ emctl start dbconsole
TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
http://stdb7XXXXorg:1158/em/console/aboutApplication
Agent Version : 10.1.0.6.0
OMS Version : 10.1.0.6.0
Protocol Version : 10.1.0.2.0
Agent Home : /dsk0/oracle/stdb7XXXXorg_dhqprd
Agent binaries : /dsk0/oracle
Agent Process ID : 25197
Parent Process ID : 25194
Agent URL : http://stdb7XXXXorg:3938/emd/main
Started at : 2009-05-12 11:25:33
Started by user : oracle
Last Reload : 2009-05-12 11:25:33
Last successful upload : (none)
Last attempted upload : (none)
Total Megabytes of XML files uploaded so far : 0.00
Number of XML files pending upload : 66
Size of XML files pending upload(MB) : 4.18
Available disk space on upload filesystem : 70.14%
Agent is already started. Will restart the agent
Stopping agent ... stopped.
Starting Oracle Enterprise Manager 10g Database Control .... started.
Logs are generated in directory /dsk0/oracle/stdb7XXXXorg_dhqprd/sysman/log
[oracle@stdb7 bin]$ emctl upload
TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
Agent is Not Running
[oracle@stdb7 bin]$ emctl unsecure agent
TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
Checking Agent for HTTP... Done.
Agent is already unsecured.
[oracle@stdb7 bin]$ emctl clearstate agent
TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
EMD clearstate completed successfully
[oracle@stdb7 bin]$ emctl secure agent
TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
Enter Agent Registration password :
Agent is already stopped... Done.
Securing agent... Started.
Requesting an HTTPS Upload URL from the OMS... Failed.
The OMS is not set up for Enterprise Manager Security.
[oracle@stdb7 bin]$ emctl start agent
TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
Starting agent ... started.
[oracle@stdb7 bin]$ emctl upload
TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
EMD upload error: uploadXMLFiles skipped :: OMS version not checked yet.. : 10.1.0.6.0
Protocol Version : 10.1.0.2.0
Agent Home : /dsk0/oracle/stdb7XXXXorg_dhqprd
Agent binaries : /dsk0/oracle
Agent Process ID : 25197
Parent Process ID : 25194
Agent URL : http://stdb7XXXXorg:3938/emd/main
Started at : 2009-05-12 11:25:33
Started by user : oracle
Last Reload : 2009-05-12 11:25:33
Last successful upload : (none)
Last attempted upload : (none)
Total Megabytes of XML files uploaded so far : 0.00
Number of XML files pending upload : 66
Size of XML files pending upload(MB) : 4.18
Available disk space on upload filesystem : 70.14%
Agent is already started. Will restart the agent
Stopping agent ... stopped.
Starting Oracle Enterprise Manager 10g Database Control .... started.
Logs are generated in directory /dsk0/oracle/stdb7XXXXorg_dhqprd/sysman/log
[oracle@stdb7 bin]$ emctl upload
TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
Agent is Not Running
[oracle@stdb7 bin]$ emctl unsecure agent
TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
Checking Agent for HTTP... Done.
Agent is already unsecured.
[oracle@stdb7 bin]$ emctl clearstate agent
TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
EMD clearstate completed successfully
[oracle@stdb7 bin]$ emctl secure agent
TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
Enter Agent Registration password :
Agent is already stopped... Done.
Securing agent... Started.
Requesting an HTTPS Upload URL from the OMS... Failed.
The OMS is not set up for Enterprise Manager Security.
[oracle@stdb7 bin]$ emctl start agent
TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
Starting agent ... started.
[oracle@stdb7 bin]$ emctl upload
TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
EMD upload error: uploadXMLFiles skipped :: OMS version not checked yet..
So, with this one instance and agent, I keep going in loops with the same 2 errors:
1. EMD upload error: uploadXMLFiles skipped :: OMS version not checked yet..
2. The OMS is not set up for Enterprise Manager Security.
I even followed related messages on the forums here to try to resolve the issue, but this did not work:
'- emctl stop agent
- delete all files in $AGENT_HOME/sysman/emd/upload and $AGENT_HOME/sysman/emd/state
- emctl clearstate agent (this should delete all state files but sometimes it is not enough, but I experienced that it is better to use this command after deletion of the files)
- emctl secure agent (and specify the password on demand)
- emctl start agent'
Any advice or help on HOW to secure this instance's agent and get it to upload would be greatly appreciated.
Edited by: user611572 on May 12, 2009 9:11 AM
I guess I solved my own issue, however I basically had to drop and recreate the repository and grid control for the instance, thus loosing over 3300 XML files, but now the agent is working and the server is running secure. I simply did:
emca -config dbcontrol db -repos recreate
And answered all the questions... I am wondering if the 3300+ xml files I deleted by following some guy's response in a similar thread was necessary, and if it was not, I wonder if I would have been able to upload all of the files after executing and rebuilding....Since you have dropped the repository thats why it was needed to deleted the previous files
-
Linux 10g versus Windows XP 10g Issue - ORA-07445: exception encountered
I did a full database export using exp from a 10g Linux database:
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Prod
PL/SQL Release 10.2.0.2.0 - Production
"CORE 10.2.0.2.0 Production"
TNS for Linux: Version 10.2.0.2.0 - Production
NLSRTL Version 10.2.0.2.0 - ProductionLinux version:
Red Hat Enterprise Linux ES release 4 (Nahant Update 5)I installed Oracle 10g on Windows XP:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
PL/SQL Release 10.2.0.1.0 - Production
"CORE 10.2.0.1.0 Production"
TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - ProductionWindows XP version is:
System:
Microsoft Windows XP
Professional
Version 2002
Service Pack 3
Intel(R) Core(TM)2 CPU
6300 @ 1.86GHz
1.86 GHz, 3.25 GM or RAMI performed a full database import after creating the required tablespaces from the 10g database on Linux to Windows.
On the Windows 10g database, I set Maximum SGA size to 1300 MB, and Total SGA size to 1000 MB. I set Aggregate PGA Target to 500 MB.
This Windows box is going to be used by at most 2 developers for a change to our application that is not backward compatible (with respect to the database) with earlier versions of the application that uses the database. I was asked to create this so we could develop this branch without affecting the rest of the development team that are working on other enhancements on the Linux box.
I then ran some packages that refresh the data in a set of tables. This runs through some code that exercises a lot of the database so I could uncover any issues.
At a specific point in the execution of these packages I get the following error:
ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [_qkkIsOJKey+299] [PC:0x1E58F73] [ADDR:0x80] [UNABLE_TO_READ] []I read the trace file and isolated it to a single, somewhat complex query. I tore the query apart into smaller queries, trying to isolate what was causing the issue. Whenever the core dump occurred, I was able to recover by simply closing the connection and opening a new connection. In my testing I found the specific query that raises the exception, and a less performing version of that query that does not cause the exception. Please note that this exception has never occurred on the Linux box (nor has it occurred on the beta or production database), and the code has been in place for close to 2 years.
The code that causes the issue:
SELECT UNIQUE
oc.ogc_case_id AS oc_ogc_case_id,
ogc.ogc_number AS ogc_number
FROM (SELECT SUBSTR (REPLACE (afd.field_text, '-', '' ), 1, 6 ) AS ogc_number
FROM ewoc_hw_snap.activity_field_data afd
WHERE afd.afdcd_activity_field_data_key = (SELECT afdc.activity_field_data_key
FROM ewoc_hw_snap.activity_field_data_codes afdc
WHERE afdc.name = 'Case Number'
) ogc
LEFT OUTER JOIN lct_snap.ogc_cases oc
ON oc.ogc_number = ogc.ogc_numberThe code that returns the same data, only slower, and does not raise the exception:
SELECT UNIQUE
(SELECT oc.ogc_case_id FROM lct_snap.ogc_cases oc WHERE oc.ogc_number = ogc.ogc_number ) AS oc_ogc_case_id,
ogc.ogc_number AS ogc_number
FROM (SELECT SUBSTR (REPLACE (afd.field_text, '-', '' ), 1, 6 ) AS ogc_number
FROM ewoc_hw_snap.activity_field_data afd
WHERE afd.afdcd_activity_field_data_key = (SELECT afdc.activity_field_data_key
FROM ewoc_hw_snap.activity_field_data_codes afdc
WHERE afdc.name = 'Case Number'
) ogcI executed both queries in SQL Developer version 3.0.04. SQL Developer gives the error message: No more data to read from socket
Any ideas?
The query shown above is as simple as I could pare it down to and still raise and then fix the issue. The fix to the package is not as simple as the second query shown above since there is more than one column of data that I need to return from the lct_snap.ogc_cases table. In any case, I shouldn't have to forgo using the LEFT OUTER JOIN. There must be something wrong with the Windows database. I didn't want to patch the Windows database without first checking on this forum to see if anyone had any less intensive potential solutions.
I searched and found so many posts with the ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] error, that I realize it's a somewhat generic error message.
Edited by: Starlight Rider on Jun 2, 2011 10:01 AMCheck this metalink note : 452951.1
Regards
Raj -
Exchange Server 2007 Transport Agent Issue
This is the first time i am working on Exchange Server Development. Below is a simple Transport Agent that i am using, this agent should simply update the email Subjects
as shown below in the code.
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Exchange.Data.Transport;
using Microsoft.Exchange.Data.Transport.Smtp;
namespace MyAgents
public sealed class MyAgentFactory : SmtpReceiveAgentFactory
public override SmtpReceiveAgent CreateAgent(SmtpServer server)
return new MyAgent();
public class MyAgent : SmtpReceiveAgent
public MyAgent()
this.OnEndOfData += new EndOfDataEventHandler(MyEndOfDataHandler);
private void MyEndOfDataHandler(ReceiveMessageEventSource source, EndOfDataEventArgs e)
e.MailItem.Message.Subject = "This message passed through my agent: " + e.MailItem.Message.Subject;
Below is the Powershell script i am using to install the Agent.
Net Stop MSExchangeTransport
Install-TransportAgent -Name MyAgent -AssemblyPath EmailLogger.dll -TransportAgentFactory MyAgents.MyAgentFactory
Enable-TransportAgent -Identity MyAgent
Net Start MSExchangeTransport
Agent installed successfully using Exchange Management Shell.
Now when i send/receive emails in exchange, Email subjects are not modified. Emails have their original subjects. I don't know why?
I also performed the steps mentioned in below links to debug the Agent but breakpoints are not being hit by Visual Studio Debugger.
sf-tools.net/Messaging/tabid/55/EntryId/163/Exchange-2010-Transport-Agent.aspx
stackoverflow.com/questions/12347123/debugging-ms-exchange-2007-transport-agent
omarjames.com/blog/index.php/debugging-exchange-transport-agent/
My System Configuration
I am using the Exchange Server 2007 Virtual Machine provided by Microsoft from link below
microsoft.com/en-pk/download/details.aspx?id=14901
I also installed the Visual Studio 2008 on the VM for debugging.
Please help me in resolving the issue?How are you testing this ? a SmtpReceiveAgent will only fire when the server receives email over SMTP. So if your just logging on and sending an Internal Email (eg mailbox to mailbox) or sending Email externally then the
SmtpReceiveAgent wont fire. For a single server if you want to capture all email you need to use a router agent see
http://blogs.technet.com/b/postwoman/archive/2010/09/14/step-by-step-how-to-create-a-routing-agent.aspx
. If you want to test what you have try sending an email to mailbox over SMTP using an SMTP client or Telnet
http://exchange.mvps.org/smtp_frames.htm
Cheers
Glen -
Adobe Air Mobile User Agent Issue.
Hi,
We are working on the adobe air applications to handle multiple instance of mobile user agents. While doing so we observed that when a user agent
belonging to android/ios/windows/ mobiles web page objects/ui for mobile website is not loading as it was expected. To be precize some of the ui components
location is getting distorted. Please let me know the possible solution/fix for the same. Looking forward to hear on this soon.
PS: Same user agent when loading on firefox user agent addon, mobile web site opens properly without any issue.DOES THIS MEAN YOU ALREADY ABLE TO USE A CUSTOM USER AGENT FOR AIR PROJECT ??
CAN YOU EXPLAIN HOW TO ADD CUSTOM USER AGENT ? -
DG broker Switchover issue, ORA-16535: CRS is prevent execution of a broker
I am having setup of 2 node 10.2.0.4.0 RAC setup on ASM with Single Instance Physical standby on File System (OS: REHL 5.4). I configured DG Broker without any major issues. Getting all output of 'show configuration' and all DG related logs are clear. Archives are getting transferred from both Primary nodes.
DGMGRL> show configuration
Configuration
Name: dg_rac
Enabled: YES
Protection Mode: MaxPerformance
Fast-Start Failover: DISABLED
Databases:
livestdby - Primary database
livedg - Physical standby database
Current status for "dg_rac":
SUCCESS
Now I am getting error Error: ORA-16535: CRS is preventing execution of a broker operation.
DGMGRL> switchover to livedg;
Performing switchover NOW, please wait...
Error: ORA-16535: CRS is preventing execution of a broker operation
Oracle Says
Cause
A broker operation was underway that required CRS to stop managing the instances of this database, but CRS management could not be stopped on behalf of the broker"s request on
at least some of the instances, so the broker operation was canceled.
Action
Suspend CRS management of this database using SRVCTL STOP DATABASE -D <name> -O NONE. Then reissue the broker request.
But this command is not working as it's given to stop the database.
One more thing, it's nowhere said to stop CRS while performing Switchover / Switchback using DG Broker. When we do Switchover / Switchback we keep open only one of the Primary database.
Anybody knows regarding this error???? or is there any solution for this ???? (is it bug ???)
is there any documentation / link available to switchover of RAC database using dgmgrl (DG Broker)
Any help would be appreciated.
regards,
manishHello;
I would check the tnsnames.ora on the Standby that's about to become the new Primary.
Based on the information you provided I'm thinking you cannot connect from the Standby site to the Primary and thus the switchover fails and throws this error.
If that checks out make sure the firewall rules for both server line up.
Best Regards
mseberg -
Database links issue ORA-01017 ORA-02063
Oracle 11g R1 , RHEL 5 64bit
HI all,
I am having this strange issue with my database links. They used to work in the past but now they are not. Here is what I have checked:
- All the TNSnames.ora file entries are there and are correct...I double checked with tnsping
- I changed all the passwords to be the same on all environments (DEV/QA/PROD)
- I have dropped and re-created all the database links
However, I still get the same error when I test them:
ORA-01017: invalid username/password; logon denied ORA-02063: preceding line from <database_name>
Here are the links created on DEV:
SQL> select * from dba_db_links;
OWNER DB_LINK USERNAME HOST CREATED
PUBLIC FPRCQA.FPRC.OPHTH.WISC.EDU FPRCQA 01282009
FPRCHR FPRCQA.FPRC.OPHTH.WISC.EDU FPRCHR FPRCQA 01282009
PUBLIC FPRCPROD.FPRC.OPHTH.WISC.EDU FPRCPROD 01282009
FPRCHR FPRCPROD.FPRC.OPHTH.WISC.EDU FPRCHR FPRCPROD 01282009
The above links were created using the following syntax:
SQL> conn sys as sysdba
Enter password:
Connected.
SQL> create public database link FPRCQA.FPRC.OPHTH.WISC.EDU using 'FPRCQA';
Database link created.
SQL> create public database link FPRCPROD.FPRC.OPHTH.WISC.EDU using 'FPRCPROD';
Database link created.
SQL> conn fprchr
Enter password:
Connected.
SQL> CREATE DATABASE LINK FPRCQA.FPRC.OPHTH.WISC.EDU CONNECT TO FPRCHR IDENTIFIED by <passwd> using 'FPRCQA';
Database link created.
SQL> CREATE DATABASE LINK FPRCPROD.FPRC.OPHTH.WISC.EDU CONNECT TO FPRCHR IDENTIFIED by <passwd> using 'FPRCPROD';
Database link created.
Now when I do a simple query, I get the error:
SQL> select count(*) from fprchr.department@FPRCQA;
select count(*) from fprchr.department@FPRCQA
ERROR at line 1:
ORA-01017: invalid username/password; logon denied
ORA-02063: preceding line from FPRCQA
I have read some notes on metalink, but they were talking about situations where you have a 10g database connecting to an 11g database and the whole password case-sensitivity issue, but this is not the case here as all the databases are 11g.
I would appreciate any and all help on this issue.
Thank you much.The documentation has the answer:
user IDENTIFIED BY passwordSpecify the username and password used to connect to the remote database using a fixed user database link. If you omit this clause, the database link uses the username and password of each user who is connected to the database. This is called a connected user database link.>
Since you haven't specified user/password in your public database links, then Oracle will try to create a connection on the remote db with the same user/password who is trying to use the database link. If the user doesn't exists or has a different password then you get an error (the same you mentioned in you original post)
HTH
Enrique -
We have begun playing with OLAP for Oracle 11G. So far we have noticed this error popping up from time to time.
ORA-01438: value larger than specified precision allowed for this column.
We have generated this error when trying to return a large ammount of rows using the new select * from [CUBE]_View functionality and also every cube build I have built so far, only 2, has failed in the Analyze step after aggregation with this error.
Anyone else notice this? Any thoughts? Any on 11G OLAP yet?Hi ZeroWing,
Can you please log a TAR with Oracle Support so we can track this issue. I will research this and see if we have seen this during the beta and internal testing.
Thanks
Keith Laker
Oracle EMEA Consulting
BI Blog: http://oraclebi.blogspot.com/
DM Blog: http://oracledmt.blogspot.com/
BI on Oracle: http://www.oracle.com/bi/
BI on OTN: http://www.oracle.com/technology/products/bi/
BI Samples: http://www.oracle.com/technology/products/bi/samples/ -
Oracle 10g Issue [ORA-00932: inconsistent datatypes: expected ]
Hi,
The following Code Snippet works fine in Oracle 9i DB but gives "ORA-00932: inconsistent datatypes: expected - got -; " error in 10g DB. We are facing lot of issues with this since we migrated application to 10g
create or replace procedure cca is
TYPE Cur_OPCols_Typ IS REF CURSOR;
l_Cur_OPCols Cur_OPCols_Typ;
str VARCHAR2(32767) :='select sysdate, 123 from dual';
TYPE StringTyp IS TABLE OF VARCHAR2(7000) INDEX BY BINARY_INTEGER;
capture StringTyp;
BEGIN
Open l_Cur_OPCols FOR str;
FETCH l_Cur_OPCols BULK COLLECT INTO capture;
dbms_output.put_line (capture.COUNT);
Close l_Cur_OPCols;
END cca;
Please advise...
Regards,
ChinmayBut...
SQL> select * from v$version;
BANNER
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
PL/SQL Release 9.2.0.1.0 - Production
CORE 9.2.0.1.0 Production
TNS for Solaris: Version 9.2.0.1.0 - Production
NLSRTL Version 9.2.0.1.0 - Production
<br>
<br>
"afiedt.buf" 13 lines, 370 characters
1 declare
2 TYPE Cur_OPCols_Typ IS REF CURSOR;
3 l_Cur_OPCols Cur_OPCols_Typ;
4 str VARCHAR2(32767) :='select sysdate, 123 from dual';
5 TYPE StringTyp IS TABLE OF VARCHAR2(7000) INDEX BY BINARY_INTEGER;
6 capture StringTyp;
7 BEGIN
8 Open l_Cur_OPCols FOR str;
9 FETCH l_Cur_OPCols BULK COLLECT INTO capture;
10 dbms_output.put_line (capture.COUNT);
11 Close l_Cur_OPCols;
12* END cca;
SQL> /
declare
ERROR at line 1:
ORA-00932: inconsistent datatypes: expected - got -
ORA-06512: at line 9 -
Issue :ORA-01890:NLS error detected
Hi all,
i am using oracle 10g, when i execute below query
Select column_1,column_2,column_3 from view_name
where trunc(c_date) >to_date('05-24-2011','MM/dd/YYYY'));
I am getting this error in Toad, but no errors in SQL developer.
Error: ORA-01890:NLS error detected
Please help me how can i solve this issue.
thanks in advance
karmayaThat's nice.
This isn't the TOAD forum, it's the JDeveloper/ADF forum
You don't see an obvious problem with
to_date('05-24-2011','MM/dd/YYYY')As in those date formats don't match at all?
Maybe you are looking for
-
UWL CATS time approval error "No data exists that needs to be approved"
Hi all, We approve CATS working time through SAP portal UWL. The user can see the workitem in her UWL inbox, but got an error u201CNo data exists that needs to be approvedu201D when he tried to execute the workitem. But the user is able to execute th
-
TimeMachine keeps continuously backing up
I updated to 10.8.2 the day it came out on my 2011 13" MacBook Pro. In the past my Mac would back up to our household TimeCapsule like normal, a few times a day, just took a couple of minutes. Just a few hours ago it started backing up, no big deal,
-
Move disk devices between diskgroup in ASM SAN
Hi Experts, We have a 4 nodes oracle 11.1 RAC with 10.2.04 database at red hat 5.1 Linux there are two diskgroup to support database. data1 and data2. data1 is for data files as 500G and data2 is for FRA as 1.7T. in the back, 4 candidate disks to sup
-
RAC data propagation delay?
Hi Experts, I have a multi-threaded app that connects to a RAC DB using OCI. Flow: 1.) Get an expired resource 2.) Assigned it to a user Each thread executes the following sequence of queries: 1.) SELECT id, data FROM table_name WHERE date_expiry = :
-
MSI K3 ultra 2 vs MSI GeForce FX 5200
My computer crashes all the time since i installed a new vga card (MSI GeForce FX 5200 TDR 128) on my MSI K3 ultra 2 main card. Os is XP pro. I've got all the latest drivers etc... Anyone with similar problems or sollutions to this small problem?