SCSM Server freezes unexpectedly

I have been struggling with this issue for two weeks, and i couldn't find any reasonable answer for my problem.
We have SCSM server 2012 running on a very powerful blade server together with the database. The hardware specs is surely more than we need.
About 5 times every day all the consoles accessing the SCSM server freeze and even if i open the console from withing the server i get stuck on the splash screen with initializing written in the status bar.
After the freeze ends, all the consoles resume work normally and i get about 8 errors in the event log of the server. The logged errors are mostly concurrency errors reported by OpsMgr (26330), DataAccessLayyer (33333)  a and one error that says that
the process was chosen as a deadlock victim.
The System Center Data Access service lost database connectivity.
 Database name: ServiceManager
 Server instance name: SCSM-DB
 Exception message: Transaction (Process ID 66) was deadlocked on thread | communication buffer resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
 I have stopped all the connectors, and re-installed the application and the database on a new server and i still have the same problem.
Thanks for any help
Fadi

Hi ,
I am facing the same problem in the production environment , I got the following error in event
"Service Manager CMDB Grooming failed.
 Grooming Type: StagedChangeLog
 The following error was encountered:
 Transaction (Process ID 81) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction."
This is frequently logged with different grooming type
As suggested I checked the Max DOP of the SQl server holds the SCSM MS DB, the value is 2
And the hardware specifications meets the recommended
Some suggestions will be helpful for my investigation
And by the way how can we find whether we have a corrupt mp in scsm??
Thanks in advance !!!

Similar Messages

  • I can no longer log into my ichat linked to my gmail.  right after opening up ichat, receive the following message:  lost connection with jabber.  the server has unexpectedly disconnected.

    i can no longer log into my ichat linked to my gmail.  right after opening up ichat, receive the following message:  lost connection with jabber.  the server has unexpectedly disconnected.  how to troubleshoot?  thanks.

    Hi,
    There can be many reasons why the Login is "up the creek".
    Any break in the network at your end whilst logged in will cause  an issue.
    A sort of discrepancy between what iChat thinks the state should be and what the server thinks.
    If they don't agree the server will refuse to accept.
    A Crash at the server end which does not log you out properly will also do it.
    Any file at any time can be come corrupted.
    Luckily with the iChat .plists they are recreated if removed with an iChat Restart.
    If it were AIM you can also get your Account Suspended  and this will not log you in.
    (It tends to happen from Chat rooms where people notify AIM about bad behaviour (as they see it) and you have to apply to get Un-suspended).
    Most of the big IM services use multiple servers.
    Sometimes these go out of Sync.
    In the case of AIM this happens when they remove Old unused Screen Names from people's Buddy List prior to making them available for re-registration.  I am not sure if this happens at Google.
    You seem to be talking about an account that has worked at Work and having new computer at home.
    As I mentioned the Priority thing you have not said that it has coincided with the new computer logging in  (this will kick the work Computer out of Google whether you are logged in  on the Web Mail page or in iChat)
    IN addition to that iChat stays partially logged in for Off Line IMs
    This is done in the background by a support app called iChatAgent
    If your Computer is ON but ichat is not started people can still send you Messages.
    Instead of saving these on the server until you login iChat will start up.
    Depending if the home Mac is effecting the Work Login it may be holding sway over your Login.
    Using your girlfriend's login may have booted her Off Line where she normally uses the name/login.
    The AIM Side can be specifically set to allow Multiple Logins and therefore NOT allow them.  If this happens you get a warning and messages to do something about it.
    You do not get these in any Jabber or Google Login as the Priority setting is supposed to take care of it.
    If the Login works at the Web Mail Login and on one computer then the .plist on the work computer is the most likely issue.
    There is a small chance that a Corrupt Buddy Pic (Home Folder/Library/Caches/com.apple.iChat/Pictures) may be the cause.
    Set this folder to icon view and also use the Finder's View Menu > Show View Options and select icon view.
    This should show all pics as their icon.
    Check that all display properly.
    At this point I would try a COMBO version update install of the last Update you did over what you have.
    This often corrects hard to trace things
    The 10.5.8 COMBO is here
    11:28 PM      Monday; June 20, 2011
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb( 10.6.7)
     Mac OS X (10.6.7),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Server "Freezes" at least once a day

    Hello
    I have a Xserve G5 with OS X 10.4.9
    I run a Forum with vBulletin (Mysql).
    My problem is that almost every day, the server freezes, if i do ping, it works, but nothing else. No ARD, No server Admin, no SSH, NOTHING... Sometimes it came back... and i can retake control. Sometimes it just don´t come back and i have to restart it manually...
    I have reinstalled OSX, reinstalled Mysql, everything... and the problem continues... The funny thing is that i´m runing the forum with OS X server for more than 2 years. I used to have a Mac mini G4 with no problems... i upgraded to the xserve, and the problem started...
    The site is www.twistedandes.com
    Any idea what can be?
    Thanks
    Mariano Lozano

    Hello Steve
    Thanks for your help. I´m not an expert, but as i can see, today the server have freezed again for about 30 minutes and when it ocurred, the log shows severall times this error:
    Jun 11 08:58:44 Twisted postfix/sendmail[7172]: warning: fork: Resource temporarily unavailable
    If you want i can send you the complete log.
    Thanks
    Mariano

  • Can't get remote cluster machine to encode video - getting 'Media Server application unexpectedly quit'

    Hi
    Using Compressor 4 / Apple QuarterMaster admin etc, I have set up a Cluster and it works well to Share > Export Using Compressor Settings.  That took some doing, and I'm happy that it works.
    If I do all my processing in the foreground, or alternatively in the background on my FCPX computer, ie without running or using any cluster in the background, it all goes well.  Quick, error free. 
    If I activate the cluster and only put my local machine's compressor services into it, and then send my compressor batch to the cluster, it works perfectly well.  But that defeats the point of having a cluster.  I want the remote machine to do all the work so my local machine doesn't slow down.
    Unfortunately, if I add the remote machine's services into the cluster, the encoding always fails with 'Media Server application unexpectedly quit' in the error log.  I know that the cluster is distributing segments of the file to the remote machine - this can be seen in the Share Monitor, but they never get processed and sit there waiting until I get the error message.
    The remote machine is a modern 4G core 2 duo MacBook. It's never been used for this before.  It has Compressor 4 and the Pro Apps Update installed and both appear to work.  Both machines are running 10.6.8.  The remote machine has Compressor services initialised in Apple QMaster sharing.  The QMasterAdmin sees these services.  They are accessible over Bonjour and appear in the Cluster.  Compressor services from both the local and the remote machine are configured exactly the same way.  The same QT codecs exist on both machines.  I've restarted, shift-restarted, etc etc.
    So I am at a loss here.  The remote machine just won't compress anything it is sent. 
    Any ideas?  Must both have FCPX installed?
    Anyone actually got a remote machine in a cluster to work with Compressor 4?  I can't figure it out.
    Chris.

    OK... finally sorted it out.
    It's a bug, as far as I can tell. 
    Any job entered directly into Compressor 4 in the normal Compressor manner will be successfully rendered by any working cluster from any machine that can access the cluster.  That's good.  It means that the underlying distributed processing model works well.
    HOWEVER - any job forwarded to a Compressor 4 cluster that includes non-local compressor services (ie compressor services not resident on the same machine), using Share > Export Using Compressor Settings direct from FCPX will fail.
    To confirm this bug, I made a cluster on a remote machine.  It was a dual core machine, so I enabled 2 compressor services on that machine, and that's all the cluster was.  Simple.
    I then manually entered a video file (ProRess 422 720p) into Compressor on the remote machine.  I did this by physically setting up new job using the compressor user interface.  A bog standard ProRes422 720p file rendered fine this way on the remote machine.  As did anything else I gave it.  Good.
    Then on my main machine, I opened Compressor and made a job based on the same file and settings, and sent it to the remote machine's cluster.  No problem at all!  Great!
    So now I know that both Compressor versions, and the clustering model, are working fine.  In fact I can send all sorts of files to the cluster, from any other version of compressor, and have them processed on the remote machine, and get the result back on my desktop later on.  Excellent.
    But, if I try put this same file into a FMPX timeline, and go Share > Export Using Compressor Settings.... and select a cluster with remote (non-local) compressor services, it does not work.  Rendering the video segments on the remote machine times out and fails, every time.  It doesn't matter what file format I use, it just fails. 
    So it's a bug. 
    From what I can tell, Final Cut Pro X somehow messes up the Share > Export Using Compressor settings where the cluster includes non-local compressor services, causing all jobs to fail.  The same Share > Export Using Compressor Settings will work quite happily if all the services on the cluster are on the same machine as FCPX, or if the job is sent to This Computer in the background.  But any attempt to send files to a cluster using any remote services will fail.
    I hope this saves some people from wasting as much time as I have!
    One workaround is to export to ProRes then put this file manually into Compressor, sending the job to the remote cluster.  This is a two step process with a large intermediary ProRes file.  If one goes Export as QuickTime movie, generating the intermediary file prevents further FCPX work being done. 
    To get the intermediary in the background one could use  Share > Export Using Compressor Settings via either This Computer, or to a cluster using only local services.  Then once complete, manually add it to a compressor job.
    So this is a FCPX bug as far as I can tell.
    Chris.

  • Server Error: Unexpected Error when running Napa SharePoint 2013 App

    I am getting an error "Server Error : Unexpected error" when I try to run a SharePoint 2013 app in Napa Development environment.
    It starts the process normally but after it shows "Uninstalling previous version" it throws the error. This has been happening since yesterday.Someone help

    I have a solution to the problem. I had a folder with a JSON file. On renaming the file to .txt, the app ran normally. I believe .json files are not supported in SharePoint hence the error.

  • TS3854 Media Server application unexpectedly quit

    Hi,
    when i use Final Cut Pro 10.0.6 the below mwssage appears
    i cannot save the project in any format and i have updated all versions
    Media Server application unexpectedly quit
    what does this mean??? and what to do??
    Please Assist

    Well, I'm not sure what exactly is going on yet, but here's what I've done:
    I followed these steps for the "Unable to connect to background process" issue that Compressor sometimes has, even though that wasn't the issue. It sort of made sense to do, though, because when I reinstalled FCP and DVDSP, I did DVDSP4 first, then FCP HD 4.5, which predates DVDSP 4 by a generation (I think). So it was possible that Compressor got screwed up in the install...still hard to tell, though.
    So then I just tried a bunch of videos in Compressor. After several various attempts, it appears that *perhaps, maybe* it was just a bad custom preset. The built-in 150 min 2-Pass is currently working away on the video, and is 10% into it, which is 10% more than the custom preset ever got.
    So, I'm gong to let that encode, and then try to make the preset again, from scratch, and see I can figure anything out. The only thing different between the 150 min 2-Pass preset and my version of it was the addition of a Gamma Correction filter. So, who knows...
    If anyone knows anything else, please make a post.

  • Firefox crashes or freezes unexpected while watching/using flash contents

    Firefox crashes or freezes unexpected while watching/using flash contents. Particularly, when I need any flash content. It freezes up so that the only option will be to force quit the firefox.

    I've noticed the crashing increasing with the newer versions. The worst thing is when I'm writing a long email and then go to a page with flash and ff locks up and then crashes. I use IE now for most flash content or mission critical emailing but IE's interface is poorly laid out so I don't like it. I've tried FF with the plugin container and without it and it crashes either way (more often without the container). I use adblock and firebug. I wonder if ppl experiencing this prob are using those plugins too.

  • Media Server application unexpectedly quit??

    Greetings All,
    I am trying to export from FCPS to compressor using a cluster created with Qmaster. In the cluster there are 2 machines. One computer is set up as services only and the other is set with services and cluster controller. When Batch monitor comes up I get the following Error. Failed: Host [hostname.local] Media Server application unexpectedly quit. Have I set up the cluster wrong? what might cause this error??
    Thanks

    Well, I'm not sure what exactly is going on yet, but here's what I've done:
    I followed these steps for the "Unable to connect to background process" issue that Compressor sometimes has, even though that wasn't the issue. It sort of made sense to do, though, because when I reinstalled FCP and DVDSP, I did DVDSP4 first, then FCP HD 4.5, which predates DVDSP 4 by a generation (I think). So it was possible that Compressor got screwed up in the install...still hard to tell, though.
    So then I just tried a bunch of videos in Compressor. After several various attempts, it appears that *perhaps, maybe* it was just a bad custom preset. The built-in 150 min 2-Pass is currently working away on the video, and is 10% into it, which is 10% more than the custom preset ever got.
    So, I'm gong to let that encode, and then try to make the preset again, from scratch, and see I can figure anything out. The only thing different between the 150 min 2-Pass preset and my version of it was the addition of a Gamma Correction filter. So, who knows...
    If anyone knows anything else, please make a post.

  • What will i do when i received the message of an error is that "your server has unexpectedly termina

    What will I do when I received the messages about the errors?    Here the information was given away :
    "Your server has unexpectedly terminated the connection. Possible causes for this include server problems, network problems, or a long period of inactivity. Subject 'Kindly send a check this week', Account: 'imap.mail.rogers.com', Server: 'smtp.broadband.rogers.com', Protocol: SMTP, Server Response: '552 Message Size exceeded', Port: 587, Secure(SSL): No, Server Error: 552, Error Number: 0x800CCC0F"

    Are you getting this error message on your printer or computer ?
    What kind of printer do you have and what operating system are you using ?
    If I helped you at all it would be great if you clicked the blue kudos star!
    If I solved your post please mark it as solved to help others.
    I'm a printer tech with HP.

  • BO4 - 30270+ Frequent webi processing server crashes/processing server stopped unexpectedly

    Hi ,
    We are seeing relatively frequent 30270 error messages - when check event logs often see them preceded by webi porcessing server stopped unexpectedly messages.
    Have split the aps as per best practice and have 4 webi processing servers ( 2 on each node)
    Any thoughts?
    Faulting application name: WIReportServer.exe, version: 14.0.8.1229, time stamp: 0x525dbf5c
    Faulting module name: ntdll.dll, version: 6.1.7601.17725, time stamp: 0x4ec4aa8e
    Exception code: 0xc0000374
    Fault offset: 0x00000000000c40f2
    Faulting process id: 0x12dc
    Faulting application start time: 0x01cf32eaa201a083
    Faulting application path: C:\bo4\SAP BusinessObjects Enterprise XI 4.0\win64_x64\WIReportServer.exe
    Faulting module path: C:\Windows\SYSTEM32\ntdll.dll
    Report Id: e4a37101-9efd-11e3-9ebb-000c29ccd95d
    30270 message soften preceded by below in event logs (estimate 80% of time)
    [User Name: <username>]
    Server Intelligence Agent: server<server_name>.WebIntelligenceProcessingServer2 stopped unexpectedly.
    Node Name: <node_name>]

    Hi Philip,
    I can feel like few of the heavy webi reports in your environment causing webi processing server down.
    1) first we need to find which reports are causing the issue.
    2) Enable monitoring to know the failure status of WIPC by email
    3) Try to enable audit and capture the reports which are consuming more data and running when WIPS moved to stopped state
    Then you will come to know the report with help of audit .
    I have noticed the similar issue and noticed few reports which are retrieving more no of records and More no input cantrols in the report caused WIPS down.

  • Random server freezes

    Hi!
    I'm using Oracle 10g2 on Centos 5 x64
    Server Dell R900
    Due to database low performance we decided to increase server physical memory from 16G to 22G and mem distribution changed this way:
    Before Oracke 5G (4sga + 1pga), 11G to OS needs
    After Oracle 15G(10sga+5pga), 7G to OS needs.
    I was using 80-20 rule of thumb and decided that 7G must be sufficient since it is even more than 20%.
    Our DB server in dedicated mode and there are about 150 users using database.
    So, after 1 week of monitoring there were several issues with server:
    - Oracle listener went down several times
    - Server has been freezing 2 times so I had to restart it physically (nothing in alert log and system journal too)
    Can it be issue with low memory size left to OS?
    I am new to oracle administration, so, any clue on this would be appreciated much.
    Thanks.
    Edited by: user9339570 on May 1, 2013 7:52 AM

    Thanks for your response. There was tnslsnr segmentation fault in the log message.
    Any thoughts, guys?
    This is the last message before server freeze:
    Apr 30 15:41:44 bittl kernel: BUG: soft lockup - CPU#6 stuck for 10s! [oracle:19152]
    Apr 30 15:41:48 bittl kernel: CPU 6:
    Apr 30 15:41:48 bittl kernel: Modules linked in: nfsd exportfs auth_rpcgss autofs4 hidp nfs lockd fscache nfs_acl rfcomm l2cap bluetooth sunrpc ib_iser rdma_cm ib_cm iw_cm ib_sa ib_mad ib_core ib_addr iscsi_tcp libiscsi scsi_transport_iscsi dm_mirror dm_multipath dm_mod video sbs backlight i2c_ec i2c_core button battery asus_acpi acpi_memhotplug ac ipv6 xfrm_nalgo crypto_api parport_pc lp parport sg shpchp bnx2 serio_raw pcspkr ide_cd cdrom ata_piix libata megaraid_sas sd_mod scsi_mod ext3 jbd uhci_hcd ohci_hcd ehci_hcd
    Apr 30 15:41:48 bittl kernel: Pid: 19152, comm: oracle Not tainted 2.6.18-92.el5 #1
    Apr 30 15:41:48 bittl kernel: RIP: 0010:[<ffffffff80064aa8>] [<ffffffff80064aa8>] spinunlock_irqrestore+0x8/0x9
    Apr 30 15:41:48 bittl kernel: RSP: 0000:ffff81053fc73d98 EFLAGS: 00000202
    Apr 30 15:41:48 bittl kernel: RAX: 00000000ffffffff RBX: ffff81000001f600 RCX: 0000000000000027
    Apr 30 15:41:48 bittl kernel: RDX: ffff8100a420c2a8 RSI: 0000000000000202 RDI: ffff81000001ff80
    Apr 30 15:41:48 bittl kernel: RBP: ffff81053fc73d10 R08: 0000000000000010 R09: 0000000000000000
    Apr 30 15:41:48 bittl kernel: R10: ffff81010af82750 R11: 0000000000000001 R12: ffffffff8005dc8e
    Apr 30 15:41:48 bittl kernel: R13: ffff81010af82750 R14: ffffffff80076f1d R15: ffff81053fc73d10
    Apr 30 15:41:48 bittl kernel: FS: 00002b63960d1c40(0000) GS:ffff81053fc21b40(0000) knlGS:0000000000000000
    Apr 30 15:41:48 bittl kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
    Apr 30 15:41:48 bittl kernel: CR2: 00002b06b9289028 CR3: 0000000134c33000 CR4: 00000000000006e0
    Apr 30 15:41:48 bittl kernel:
    Apr 30 15:41:48 bittl kernel: Call Trace:
    Apr 30 15:41:48 bittl kernel: <IRQ> [<ffffffff80010794>] rotate_reclaimable_page+0xbe/0xcc
    Apr 30 15:41:49 bittl kernel: [<ffffffff80039c98>] end_page_writeback+0x14/0x47
    Apr 30 15:41:49 bittl kernel: [<ffffffff800ca041>] end_swap_bio_write+0x65/0x73
    Apr 30 15:41:49 bittl kernel: [<ffffffff8002cd49>] __end_that_request_first+0x1b3/0x52d
    Apr 30 15:41:49 bittl kernel: [<ffffffff8005bf4e>] blk_run_queue+0x41/0x72
    Apr 30 15:41:49 bittl kernel: [<ffffffff88079fac>] :scsi_mod:scsi_end_request+0x27/0xcb
    Apr 30 15:41:49 bittl kernel: [<ffffffff8807a19e>] :scsi_mod:scsi_io_completion+0x14e/0x324
    Apr 30 15:41:49 bittl kernel: [<ffffffff880a642a>] :sd_mod:sd_rw_intr+0x212/0x23f
    Apr 30 15:41:49 bittl kernel: [<ffffffff8807a433>] :scsi_mod:scsi_device_unbusy+0x67/0x81
    Apr 30 15:41:49 bittl kernel: [<ffffffff80037869>] blk_done_softirq+0x5f/0x6d
    Apr 30 15:41:49 bittl kernel: [<ffffffff80011ed2>] __do_softirq+0x5e/0xd6
    Apr 30 15:41:49 bittl kernel: [<ffffffff8005e2fc>] call_softirq+0x1c/0x28
    Apr 30 15:41:50 bittl kernel: [<ffffffff8006c571>] do_softirq+0x2c/0x85
    Apr 30 15:41:50 bittl kernel: [<ffffffff8005dc8e>] apic_timer_interrupt+0x66/0x6c
    Apr 30 15:41:50 bittl kernel: <EOI> [<ffffffff8000cfb2>] __pagevec_lru_add_active+0xbc/0xda
    Apr 30 15:41:50 bittl kernel: [<ffffffff8000cf86>] __pagevec_lru_add_active+0x90/0xda
    Apr 30 15:41:50 bittl kernel: [<ffffffff8001651a>] __lru_add_drain+0x41/0x80
    Apr 30 15:41:50 bittl kernel: [<ffffffff800478a5>] __pagevec_release+0x9/0x22
    Apr 30 15:41:50 bittl kernel: [<ffffffff800c3ef0>] shrink_active_list+0x389/0x426
    Apr 30 15:41:50 bittl kernel: [<ffffffff80012bc8>] shrink_zone+0xd8/0x11c
    Apr 30 15:41:50 bittl kernel: [<ffffffff800c4f94>] try_to_free_pages+0x197/0x2b9
    Apr 30 15:41:50 bittl kernel: [<ffffffff8000f1e9>] __alloc_pages+0x1cb/0x2ce
    Apr 30 15:41:50 bittl kernel: [<ffffffff80010da7>] do_wp_page+0x303/0x6bd
    Apr 30 15:41:50 bittl kernel: [<ffffffff800093b2>] __handle_mm_fault+0xd62/0xe23
    Apr 30 15:41:50 bittl kernel: [<ffffffff800166a1>] prio_tree_insert+0x148/0x231
    Apr 30 15:41:50 bittl kernel: [<ffffffff8006681f>] do_page_fault+0x4cb/0x830
    Apr 30 15:41:50 bittl kernel: [<ffffffff8001c750>] vma_link+0xd0/0xfd
    Apr 30 15:41:50 bittl kernel: [<ffffffff8000dde2>] do_mmap_pgoff+0x66c/0x7d7
    Apr 30 15:41:50 bittl kernel: [<ffffffff8005dde9>] error_exit+0x0/0x84
    Apr 30 15:41:50 bittl kernel:
    Apr 30 15:44:16 bittl kernel: tnslsnr[7335]: segfault at 0000000000000018 rip 000000351786fabe rsp 00007fff951c6290 error 4
    Apr 30 16:11:59 bittl kernel: hda: irq timeout: status=0xd0 { Busy }
    Apr 30 16:11:59 bittl kernel: ide: failed opcode was: unknown
    Apr 30 16:11:59 bittl kernel: hda: ATAPI reset complete
    Apr 30 17:05:06 bittl syslogd 1.4.1: restart.

  • During Table Import got error ORA-12805: parallel query server died unexpectedly

    Hi,
    I tried to import a single table of size 51 GB which normally imported in 5 hours but last time I got following error after 1.5 hours
    ORA-31693: Table data object "SCHEMA"."TABLE_NAME" failed to load/unload and is being skipped due to error:
    ORA-12805: parallel query server died unexpectedly.
    From the "Alert log" file I found the error is
    ORA-00603: ORACLE server session terminated by fatal error
    ORA-24557: error 1114 encountered while handling error 1114; exiting server process
    ORA-01114: IO error writing block to file 622 (block # 373725)
    ORA-27063: number of bytes read/written is incorrect
    IBM AIX RISC System/6000 Error: 28: No space left on device
    Additional information: -1
    Additional information: 253952
    I checked all the table spaces have more then 100GB free space. No idea why this happened.
    Some mount points of the machine is 100% in used where the table spaces created but in table spaces auto extend is off on every data file and each data file have free space.
    Anyone have idea how to resolve this issue.

    Hi,
    Which filesystem is file 622 in - it's quite a lrge numbered file - is it a tempfile or do you really have that many datafiles?
    Regards,
    Harry
    http://dbaharrison.blogspot.com

  • AQ Apply causes the ORA-12805: parallel query server died unexpectedly erro

    Hi gurus,
    Please help me here and than you. How do I solve this ORA-12805: parallel query server died unexpectedly problem? I have posted this on the streams forum but have not got any answer. Sorry to post it here but I am desperate.
    I followed the samples and created two queue tables of sys.mgw_basic_msg_t and two queues (Source_Q and Dest_Q) on them. I started both of them. Then I added two subscribers of the Dest_Q to the Source_Q. Both Q's are in the same database. I am in 10gR2 enterprise edition.
    DECLARE
    subscriber1 sys.aq$_agent;
    BEGIN
    subscriber1 := sys.aq$_agent('JW1', 'ben.Dest_Q', NULL);
    dbms_aqadm.add_subscriber(
    queue_name => 'ben.Source_Q',
    subscriber => subscriber1,
    queue_to_queue => true
    END;
    DECLARE
    subscriber1 sys.aq$_agent;
    BEGIN
    subscriber1 := sys.aq$_agent('JW2', 'ben.Dest_Q', NULL);
    dbms_aqadm.add_subscriber(
    queue_name => 'ben.Source_Q',
    subscriber => subscriber1,
    queue_to_queue => true
    END;
    Then I set up the schedule,
    BEGIN
    dbms_aqadm.schedule_propagation(
    queue_name => 'ben.Source_Q',
    start_time => sysdate,
    duration => 30,
    next_time => 'sysdate + 30/86400',
    latency => 10
    END;
    And then create and start the apply
    begin
    dbms_apply_adm.create_apply(
    queue_name => 'ben.Dest_Q',
    apply_name => 'mncis_apply',
    message_handler => 'ben.sprocMessageHandler',
    apply_user => 'ben'
    exception
    when others then
    dbms_output.put_line(SQLErrM);
    end;
    begin
    DBMS_APPLY_ADM.START_APPLY(
    apply_name => 'mncis_apply'
    end;
    Then I manually enqueued messages into the Source_Q. It is always successful, but then nothing happens. The propagation from Source_Q to Dest_Q never happens. Querying the dba_jobs shows this,
    select job, last_date, next_date, what from dba_jobs;
    1 09/21/2006 14:36 09/21/2006 14:37
    EMD_MAINTENANCE.EXECUTE_EM_DBMS_JOB_PROCS();
    4001 09/21/2006 08:45 09/21/2006 16:45
    wwv_flow_cache.purge_sessions(p_purge_sess_older_then_hrs => 24);
    4002 09/21/2006 14:27 09/21/2006 14:37
    wwv_flow_mail.push_queue(wwv_flow_platform.get_preference('SMTP_HOST_ADDRESS'),wwv_flow_platform.get
    444 09/21/2006 14:37
    next_date := sys.dbms_aqadm.aq$_propaq(job);
    I noticed that there is never a last_date value for job 444 (this number changes all the time), sys.dbms_aqadm.aq$_propaq(job).
    Query the dba_apply view
    select apply_name, queue_name, status from dba_apply;
    Apply Process Name QUEUE_NAME STATUS
    MNCIS_APPLY DEST_Q ENABLED
    Manually dequeuing is always succssful.
    When I created an APPLY on the source_q with a user-defined message handler, it tries to do the apply, but the operation was aborted with the ORA-12805: parallel query server died unexpectedly error.
    Please tell me what I did wrong. Thank you!
    Ben

    Thanks again.
    Here is what I found from that table.
    I added three subscribers, JW1, JW2 and JW3. The first two were added like this,
    DECLARE
         subscriber1 sys.aq$_agent;
    BEGIN
         subscriber1 := sys.aq$_agent('JW1', 'ben.dest_q', NULL);
         dbms_aqadm.add_subscriber(
              queue_name => 'ben.source_q',
              subscriber => subscriber1,     
              queue_to_queue => true
    END;
    DECLARE
         subscriber2 sys.aq$_agent;
    BEGIN
         subscriber1 := sys.aq$_agent('JW2', 'ben.dest_q', NULL);
         dbms_aqadm.add_subscriber(
              queue_name => 'ben.source_q',
              subscriber => subscriber2,     
              queue_to_queue => true
    END;
    And the third one, JW3 was added like this,
    DECLARE
         subscriber3 sys.aq$_agent;
    BEGIN
         subscriber3 := sys.aq$_agent('JW3', null, NULL);
         dbms_aqadm.add_subscriber(
              queue_name => 'ben.source_q',
              subscriber => subscriber3,     
              queue_to_queue => false
    END;
    the msg_state shows processed for consumer JW3, and ready for consumers J1 and JW2. But I don't know where the message was processed to for JW3. The docs say you can propagate messages from one q to another in the same database. Also when I use dbms_propagation_adm.create_propagation, I got these errors:
    ORA-01422: exact fetch returns more than requested number of rows
    ORA-06512: at "SYS.DBMS_PROPAGATION_INTERNAL", line 372
    ORA-06512: at "SYS.DBMS_PROPAGATION_ADM", line 39
    ORA-06512: at line 2
    Thanks a lot.
    Ben

  • When you encounter ORA-12805 :parallel query server died unexpectedly

    What's the best practice appproach to dealiing with ORA-12805 :parallel query server died unexpectedly?

    $ oerr ora 12805
    12805, 00000, "parallel query server died unexpectedly"
    // *Cause: A parallel query server died unexpectedly, PMON cleaning
    //         up the process.
    // *Action: Check your system for anomalies and reissue the statement.
    //          If this error persists, contact Oracle Support Services.
    //          See trace file for more details.

  • Apply causes ORA-12805: parallel query server died unexpectedly

    Hi gurus,
    I created an apply with a user-defined message handler for a queue. When a message is enqueued, the apply tries to do its work, but then is aborted because a fatal error has occurred: ORA-12805: parallel query server died unexpectedly.
    Could anyone help me with this? I am desperate now.
    Here is what comes from the log:
    Dump file c:\oracle\product\10.2.0\admin\byzz10g\bdump\byzz10g_a002_640.trc
    Fri Sep 22 09:15:05 2006
    ORACLE V10.2.0.1.0 - Production vsnsta=0
    vsnsql=14 vsnxtr=3
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Windows XP Version V5.1 Service Pack 2
    CPU : 1 - type 586
    Process Affinity : 0x00000000
    Memory (Avail/Total): Ph:405M/1014M, Ph+PgF:1795M/2442M, VA:1575M/2047M
    Instance name: byzz10g
    Redo thread mounted by this instance: 1
    Oracle process number: 32
    Windows thread id: 640, image: ORACLE.EXE (A002)
    *** 2006-09-22 09:15:05.366
    *** SERVICE NAME:(SYS$USERS) 2006-09-22 09:15:05.366
    *** SESSION ID:(141.21) 2006-09-22 09:15:05.366
    error 12805 in STREAMS process
    ORA-12805: parallel query server died unexpectedly
    OPIRIP: Uncaught error 447. Error stack:
    ORA-00447: fatal error in background process
    ORA-12805: parallel query server died unexpectedly
    Thank you very much!

    Hi myora9i,
    I saw similar report in MetaLink. (Bugid:3658975)
    It was 9.2.0.5 on Solaris.
    Unfortunately, this problem has left unsolved for 2 years due to luck of information to analyze the situation.
    I couldn't get a detail of problem, but the document says "Apply process abort".
    And error messages are same to yours. So I think your problem is related to the bug.
    Just FYI
    Regards,

Maybe you are looking for