Showing posts with label Mystery. Show all posts
Showing posts with label Mystery. Show all posts

Wednesday, September 16, 2015

R12.1.3 Receivables: Autoinvoice gives error "The web server returned an error"

Tonight with this MOS article "Autoinvoice Import Errors with The web server returned an error" from document ID 2053754.1 it is important to notice that this affects the Autoinvoice Import (RAXTRX) AND Master (RAXMTR) programs with an unknown cause so it could happen at any time in your environment at a time you could not afford to bounce Apache services!

Tuesday, November 11, 2014

Magical Mystery Event Tour: Part 3

Continuing the series of posts on mysterious wait events comes another today from 12c which appeared and then disappeared all by itself.  Our friend tonight is "acknowledge over PGA limit" and the wait event does not show up in the new version of the Description of Wait Events for 12c.  Sure, the wait event SOUNDS straightforward but if it was AND common OR easily replication why does it not get an entry in the wait event listing?

When I find out more about this wait event, I will post a new article!

Tuesday, August 26, 2014

Magical Mystery Event Tour: Part 2

Continuing the outlook for wait events which are out of place comes a post about the mystery behind the "GV$: slave acquisition retry wait time" wait event I have encountered on 12c.  My MOS research found two articles which are on point, but neither of which makes a whole lot of sense:

WAITEVENT: "GV$: slave acquisition retry wait" - Note ID 371117.1

This document talks about a list of instances, and thinking there is a configuration change in process until it no longer thinks the configuration change is going on.  This was something I could not understand because nothing seemed to be reconfiguring, and the document did not point me to a specific thing I could look at to see if it was reconfiguring.  After a few weeks of this being very low on our wait event alert, it eventually went away.

Wait Event GV$ Slave Acquisition High With CURSOR_SHARING To FORCE - Note ID 1589592.1

This article was referring to the parameter (in gv$parameter) cursor_sharing being set to FORCE, which we did not have it set to, and leading to a buffer value needing to be changed.  There was no changing the value before it went away, and we even had the value higher than the recommendation!

Since it went away, and we could not narrow down what was going on, I am sure I will see it again in the future and when I nail this one down there will be an update here.  :}

Saturday, July 26, 2014

SQL*Net vector message from client

Just a few days ago I talked about a lesson learned during our DR exercise, and another thing I picked up was actually not from our DR instance!  With the way we needed to carry out our exercise we stopped our GoldenGate replication and the archive log shipping as well, so when we kept an eye on our PROD system via my often referenced wait event script I noticed when the wait event "SQL*Net vector message from client" showed up.  Not only did it show up, it was right at the top.  I have seen GoldenGate replications stopped before without this event showing up, and there were no negative effects seen in our system, so my assumption is that it is related to the archive log shipping that was stopped.  Next time I see the wait event I will have to do more research on the PROD system to see exactly what processes are getting caught in this and what the origin is so I can solve this mystery!

Sunday, February 2, 2014

Magical Mystery Event Tour

I have posted before about R12 having some event changes that you need to prepare for, but a good three months in I am still seeing events that are completely new to me.  We had a session that appeared to be stalled and our investigation found the thread was in the "gcs drm freeze in enter server mode" wait event locking against LMON when it was just sitting there in the event "rdbms ipc message".  Oddly enough, the situation just resolved itself but not before I captured another event in the wild that I had never seen before: "latch: object queue header operation".  I am not quite sure what happened here, so this gets tagged as a mystery....until the next time and I can solve it

Saturday, April 27, 2013

Your Oracle DB not playing nice with Hyperion products

When the Oracle database archiver log files fills up the /flash disk volume, it has the result of halting the rest of the Hyperion suite of products (in this environment we have FDM, HFM, Planning, Shared Services, WorkSpace).  Once the archiver logs were emptied and /flash had available space, everything in Hyperion land started proceeding as if nothing ever happened.  Except one oddity.  We were able to validate our WorkSpace nodes individually without encountering any issues, yet when we went through the hardware load balancer VIP we would receive this error message:

The startup document specified does not exist in the repository.  Select a new startup document on the General preferences tab.  com.hyperion.tools.cds.util.HSRpcParseException: The response from the server contained an unexpected content type.

Further troubleshooting puzzled us as we found that this error would occur only when the second node was in the VIP, even though we could hit that node directly without any issues.  We restarted all of the services that we could think of which would resolve this, even restarting the WorkSpace servers themselves, to no effect.  Opening an SR with Oracle, we were asked to remove the offending node from the software load balancing by going into the Agent configuration yet even this had no positive results.  We ended up having to reboot the entire Hyperion environment, with no other changes being made, to restore service.

This makes me believe that there were some persistent connections opened which held either sessions or ports so that once the issue with /flash was resolved some part of Hyperion was not able to communicate back to the rest of the system appropriately.  Next time, I'll gather some additional information to try and correlate so we don't have to bounce the entire ecosystem.

Thursday, March 14, 2013

Lazarus reports


Once upon a time, I thought that after a report had run in the Concurrent Manager there was no possible way to run the same request over again.  Time has passed and I have become more powerful than you can possibly imagine, so I now know that the concurrent is just a program reading the values from tables within the data structure.  This meant that it was possible to have reports emerge from the dead like Lazarus (or the Pit of the same name) with this script for 10.2.0.4 on EBS 11.5.10.2:

update fnd_concurrent_requests
set phase_code = 'P', status_code ='Q'
where request_id in ()

After going to 11.2.0.2 without changing from EBS 11.5.10.2, I noticed that my old script wouldn't exactly work the same so after several different investigative attempts the script needed to be tweaked to:

update fnd_concurrent_requests
set phase_code = 'P', status_code ='I'
where request_id in ()

Obviously something like this should be used with care, as restarting certain reports may cause data corruption issues, but if you're reading this blog you should be a responsible adult.  Any irresponsible adults reading, please feel free to keep reading the blog.  :}

Thursday, March 7, 2013

Journal Import: Suspended!

Off of our wait event alert, there was a session that just sitting in "statement suspended, wait error to be cleared" which was a new wait event I had not seen before.  Doing some research I found it to be a Journal Import report which was in the process of deleting rows per this statement:

delete from GL_INTERFACE
where (user_je_source_name, nvl(group_id, -1)) in (listing of ledgers) and status = 'PROCESSED'
and request_id = user request
and rownum <= 5000
and (user_je_source_name, nvl(group_id, -1)) IN (SELECT src.user_je_source_name, nvl(group_id,-1) FROM gl_interface_control ic, gl_je_sources src WHERE ic.je_source_name = src.je_source_name
AND   ic.interface_run_id = run id
AND   ic.set_of_books_id = set of books id
AND   ic.status = 'I'
AND   nvl(ic.processed_table_code,'D') != 'S')

I can see in the table dba_outstanding_alerts information about this session as such:

Operation on resumable session Session 1579, Instance 1 session id 1579 suspended because of errors in rollback segment _SYSSMU1260_2942144267$. Error message is ORA-01628: max # extents (32765) reached for rollback segment _SYSSMU1260_2942144267$

Now the error message seems to be straightforward, and My Oracle Support notes ID 761848.1 & 788060.1 give some anecdotal evidence for what is going on, but we weren't able to get the root cause addressed in time to allow the report to complete successfully as it timed out internally and resulted in the report completing in Error.  This means I'm not exactly sure how we could have resolved it, yet I have some suspicion that if we could have expanded the maximum number of extents for this segment we would have seen the session resume and move along.  I'll put this down under as a mystery which needs research, because we need to learn more about it for next time when the report in question is something a lot more important and we can't go back to Oracle with an SR to fix.

Thursday, January 3, 2013

duration not active: A Tale of Two Articles

From time to time I snoop around our DB log files to see if anything is going on with the system, and the other day I found this:

Errors in file <filename>:
ORA-21779: duration not active

Now, I've never seen this before so I go to the Oracle authority MetaLink (or My Oracle Support as it's known now) to find two completely different articles which illustrate probably how many people they have working at Oracle more than anything else.

A helpful article:

What Does Error "ORA-21779 Duration Not Active" Mean? [ID 1084474.1]

Goal
What Does Error "ORA-21779 Duration Not Active" Mean?

Solution
The error "ORA-21779 Duration Not Active" is caused by some process trying to clean up an object from memory.

Duration is the amount of time a object is in memory.  If an object in memory is accessed and its duration is inactive state or not found then the ORA-21779 message is returned.

Each memory chunk is associated with a duration. This allows clients to automatically free all memory associated with a duration (at the end of the duration).  The duration determines the heap that is used to allocate the memory.

The allocation duration is set when an object is created with OCIObjectNew(), and the pin duration is set when an object is pinned with OCIObjectPin().  The datatype of the duration value is OCIDuration.

When an object reaches the end of its allocation duration, it is automatically deleted and its memory can be reused.  The pin duration indicates when an object's memory can be reused, and memory is reused when the cache is full.

There are various predefined types of durations supported on memory and context management calls.

OCI_DURATION_CALL. The duration of this operation is that of a callout.

OCI_DURATION_STATEMENT. The duration of this operation is the external row source.

OCI_DURATION_SESSION. The duration of this operation is the user session.

OCI_DURATION_PROCESS. The duration of this is agent process.

See following docs with regards to durations
Oracle Call Interface Programmer's Guide, 10g Release 2 (10.2), Part Number B14250-02
Oracle Database Data Cartridge Developer's Guide,10g Release 2 (10.2), Part Number B14289-02

A not so helpful article:

OERR: ORA-21779 duration not active [ID 49397.1]
Error: ORA-21779
Text: duration not active
---------------------------------------------------------------------------
Cause: User is trying to use a duration that has been terminated.
Action: User should avoid performing such operation.

Seriously, that's all the second article has for content!  And.......ANNNND.....it was last updated 6 months ago.  So it was.....added to?

Annnnyways, the first article does give me some idea of what was going on but not why or what was happening so I'll need to keep my eyes peeled to try and see this in action next time!