DBMS_SCHEDULER OPERATION GETS ORA-2800 ON A VIRTUAL SERVER (VMWARE)

Hi everyone,
We just installed Oracle 11G on a VM machine (VMWARE).
When I try to run a job (any job) in Enterprise Manager 11g Grid Control, I receive this error:
java.sql.SQLException: ORA-02800: Requests timed out ORA-06512: at "SYS.DBMS_ISCHED", line 154 ORA-06512: at "SYS.DBMS_SCHEDULER", line 450 ORA-06512: at line 2
Don't know if it is related to the virtual env. or not.
I search these error in any log file under the ORACLE_BASE folder but found nothing.
Can someone shed some light on this?
Regards.
Carl
Message was edited by:
plhtyuk

It is apprently not an Enterprise Manager 11g Grid Control problem.
SQL> exec dbms_scheduler.run_job('GEN_BD', FALSE)
BEGIN dbms_scheduler.run_job('GEN_BD', FALSE); END;
ERROR at line 1:
ORA-02800: Requests timed out
ORA-06512: at "SYS.DBMS_ISCHED", line 154
ORA-06512: at "SYS.DBMS_SCHEDULER", line 450
ORA-06512: at line 1
SQL> exec dbms_scheduler.run_job('GEN_BD', TRUE)
PL/SQL procedure successfully completed.
I'll post it in another forum.
Regards.
Carl

Similar Messages

  • ACE: Virtual Server (VMWARE) running on ACE

    Hello,
    I have 2 servers to do loadbalance. they are running VMWARE, they have 4 servers inside of real server. each vmware server only has 1 port connected to Switch, if I want to balance one of them? how do I do?
    Best Regards

    It shouldn't make any difference whether the servers are real or virtual. The ACE works on IP addresses and VLANs. How you configure the context will depend on your network. You may need to use source NAT or you might be able to just use the network as is. It all depends on how you have configured your network.
    You'll need to balance across real physical servers to maximise resilience though.
    HTH
    Cathy

  • Archlinux on Microsoft Virtual Server - installs but doesn't boot

    Hi all,
    I'm trying to sneak Arch into our organization, but as we're very Windows-focussed it may take some time. I thought I would be able to install it as a virtual machine on our Virtual Server, but I haven't had any luck.
    The system seemed to install fine, but when I restart the machine and take out the virtual CD it just sits there with a blank screen, but using 97% CPU.
    Here's how I installed the system:
    Physical machine: Core II Duo 2GHz running Windows Vista 32-bit, with 2GB memory and a 120GB IDE drive.
    1) Setup a virtual machine - it has 256MB memory, and a 100GB dynamically-expanding IDE virtual hard disk.
    2) Attached the Don't Panic 2007.08 BASE ISO to the Virtual Machine, and started her up.
    3) Started the installer with arch ide-legacy. This is because I've run through this install a few times now and without this option it complains that it can't read from /dev/null a lot and that it has trouble writing to VHD.
    4) Did an auto-prepare and selected all of the defaults to partition the virtual hard disk.
    5) Selected all of the base packages and installed them.
    6) Did the "configure system", and left everything as the defaults except setting the root password.
    7) Installed the kernel, again leaving the defaults in the config file.
    8) Installed the bootloader. Last time I used GRUB, but it sat there saying it was installing for over 2 hours. This time I tried LILO and it installed in less than a few seconds.
    After all that was done I exited the installer and did a reboot. Now it sits at 97% CPU usage constantly and shows nothing but a blank screen. Using ALT+F1-F5 shows nothing.
    Microsoft Virtual Server has support for the Red Hat and other distributions so I would have expected ArchLinux to work. Has anyone else had success in getting Arch to run on Virtual Server? And is there anything I did wrong in my installation?
    Cheers,
    Paul

    Well, according to this virtual pc 2004 supports archlinux 0.7.1 and 0.7.2 .
    They claim virtual server 2005 uses the same core as virtual pc 2004 , so it should work.
    Try installing with one of the previous isos, see ftp://ftp.archlinux.org/iso .

  • Jsp on virtual server

    Hi
    I am trying to get jsp working on a virtual server i have on iplanet web server 6.0 sp 4. i assume i have to enable java for the virtual server in order for it to serve jsp files. when i try to do this, i get an error saying "abnormal program termination". nothing is logged in the error log. i am running winnt sp 6, jdk13_01.
    Any ideas?
    Thanks,
    Joaquin

    Hi Joaquin,
    Please refer the section "What the server needs to run Servlets and JSPs" in the following link.
    http://docs.sun.com/source/816-5682-10/esprgrm.htm#20875
    Hope this helps.
    Regards
    Srinivasan

  • App Server 9 - virtual server listener

    Problem - getting 'Already bound: 80' if virtual server using 2 IP's
    Yes, I know the answer to the question is...
    There MUST be something else bound to port 80 - but there ISN'T.
    Pretty 'basic' stuff. But, after 2 days work, I am
    unable to configure with 2 different IP's - I know it
    'should work' - but curious if anyone can confirm it DOES work?
    fresh install OS & Application Server
    Sparc Solars 11/06, Sun V210
    Java Aplication Platform SDK-5 Update 3
    DNS: (x's are valid IP address)
    x.x.x.34 -> web30.domainabc.com - machine primary IP bge0
    x.x.x.35 -> www.domaindef.com - 2nd IP bge0:1
    ======== WORKS ==== (listens to all IP's)
    listeners...
    admin-listener true 0.0.0.0 8444 __asadmin
    http-listener-2 true 0.0.0.0 443 server
    http-listener-1 true 0.0.0.0 80 server
    virtual servers...
    server http-listener-1,http-listener-2
    __asaadmin admin-listener
    domaindef http-listener-1
    ======== DOES NOT WORK ====
    listeners...
    admin-listener true x.x.x.34 8444 __asadmin
    http-listener-2 true 0.0.0.0 443 server
    http-listener-1 true x.x.x.34 80 server
    http-domaindef true x.x.x.35 80 domaindef
    virtual servers...
    server http-listener-1,http-listener-2
    __asaadmin admin-listener
    domaindef http-domaindef
    netstat -a ONLY shows domainabc.com using port 80
    NOTHING else is using port 80
    Server will not restart - server log shows:
    grizzlyHttpProtocol.endpoint.initerror
    java.net.BindException: Already bound: 80
    WHILE in Admin, if 'Enable' listener http-domaindef
    it WORKS - but netstat shows the server 'clobbered' the x.x.x.34:80
    and is only running the x.x.x.35:80 listener instead
    [#|2007-04-16T17:09:44.261-0400|SEVERE|sun-appserver9.1|org.apache.catalina.core.StandardService|_ThreadID=22;_ThreadName=httpWorkerThread-8444-1;_RequestID=ea8003f3-d4df-40bd-a403-558f4f6928a2;|Connector.initialize
    LifecycleException: PWC3985: Protocol handler initialization failed: java.net.BindException: Already bound: 80
    at org.apache.coyote.tomcat5.CoyoteConnector.initialize(CoyoteConnector.java:1592)

    You are mixing version.
    EJB 2.0 is part of J2EE 1.3.
    EJB 2.1 is part of J2EE 1.4.
    Oracle Application Server 9.0.4 supports J2EE 1.3
    There is also a preview of the J2EE 1.4 version.
    Both can be found here:
    http://www.oracle.com/technology/tech/java/oc4j/index.html

  • Getting "ORA-12534: TNS:operation not supported" connecting as sysdba

    Hi,
    We are getting "ORA-12534: TNS:operation not supported" error, while connecting as sysdba.
    bash-2.03$ sqlplus '/as sysdba'
    SQL*Plus: Release 10.2.0.4.0 - Production on Thu Feb 23 10:16:16 2012
    Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
    ERROR:
    ORA-12534: TNS:operation not supported
    Enter user-name:
    I can able to connect to database using tns entry without any issue.
    SQLNET.ORA Contents:
    ====================
    bash-2.03$ cat /var/opt/oracle/sqlnet.ora
    ENCRYPTION_WALLET_LOCATION=(SOURCE=(METHOD=FILE)(METHOD_DATA=(DIRECTORY=/dboracle/orabase/product/10.2.0/dbs/wallet/)))
    SQLNET.WALLET_OVERRIDE = TRUE
    SSL_CLIENT_AUTHENTICATION = FALSE
    SSL_VERSION = 0
    I am not aware of wallet. Please help me out to resolve this issue.
    Thank you.
    Regards,
    Dasarath

    >
    SQLNET.ORA Contents:
    ====================
    bash-2.03$ cat /var/opt/oracle/sqlnet.ora
    ENCRYPTION_WALLET_LOCATION=(SOURCE=(METHOD=FILE)(METHOD_DATA=(DIRECTORY=/dboracle/orabase/product/10.2.0/dbs/wallet/)))
    SQLNET.WALLET_OVERRIDE = TRUE
    SSL_CLIENT_AUTHENTICATION = FALSE
    SSL_VERSION = 0
    >
    You may want to replace ENCRYPTION_WALLET_LOCATION keyword with just WALLET_LOCATION in your sqlnet.ora file.
    EWL is used only for TDE but if you want to use external password store, you will have to use WALLET_LOCATION rather than ENCRYPTION_WALLET_LOCATION. However if you are going to use both TDE and external password respository, then make sure your sqlnet.ora file has both entries ENCRYPTION_WALLET_LOCATION as well as WALLET_LOCATION
    Regards
    Venkat

  • Requesting help-On a report Getting ora-00920 invalid relational operator.

    Hi everyone,
    I am having a report region with the following query:
    select CASE
    WHEN ISITRECENTADDENDUM(meckey_fk,code)
    THEN
    '<a href="javascript:popUp2('''
                   || 'f?p=&APP_ID.:61:&SESSION.::NO::P61_MECKEY_FK:'
                   || &P60_MECKEY.
                   || ''', 700, 700);">'
    || '<img src="#IMAGE_PREFIX#gobut.gif">'
    || '</a>'
    ELSE NULL
    END EditAddendum,
    '<a href="javascript:popURL('''
                   ||'&REPORTS_URL.keynewmec&P_1=&P60_MECNUM.'
                   || ''', 700, 700);">'
    || '<img src="#WORKSPACE_IMAGES#printer.jpg">'
    || '</a>'
    PrintMEC,
    "CODE",
    "MECKEY_FK",
    "ADDENDUM",
    "WHO_CREATED",
    "WHEN_CREATED"
    from "C_ADDENDUMS"
    where "MECKEY_FK" = v('P60_MECKEY')
    And my function returning boolean is as follows:
    create or replace FUNCTION "ISITRECENTADDENDUM"
    (meckeyi in number,
    codei in varchar2)
    return Boolean
    is
    x varchar2(1);
    begin
    select max(code) into x from c_addendums where meckey_fk = meckeyi;
    if x = codei then
    return true;
    else
    return false;
    end if;
    exception
    when others then
    return FALSE;
    end;
    But I am getting ORA-00920 invalid relational operator. Can anyone please help me out? I am not knowing where the error is. When I run the function by itself I am getting "False" returned as expected. Appreciate any advice on this.
    Rgds,
    Suma.

    Suma,
    It looks like what you are trying to do is display a link for the record with the highest value in the Code column, and nothing for the other records.
    If that is the case, you can eliminate the function and just use a SQL query like this:
    (not tested)
    select CASE
              WHEN code = Max(code) over (partition by meckey_fk)
                 THEN
                   '<a href="#">'
                   || ' '
                   || '< img class="TargetAlertIcon" src="chrome://targetalert/content/skin/internal.png"></a>'
              ELSE NULL
           END EditAddendum,
           '<a href="#">'
           || ' '
           || '< img class="TargetAlertIcon" src="chrome://targetalert/content/skin/internal.png"></a>' PrintMEC,
           "CODE", "MECKEY_FK", "ADDENDUM", "WHO_CREATED", "WHEN_CREATED"
      from "C_ADDENDUMS"
    where "MECKEY_FK" = :P60_MECKEYIs that what you're trying to do?
    Doug

  • Getting ORA-32700 while creating database

    I am getting following error when creating the database :
    ORA-32700 error occurred in DIAG Group Service
    The error description is as follows :
    Cause: An unexpected error occurred while performing a DIAG Group Service operation.
    Action: Verify that the DIAG process is still active. Also, check the Oracle DIAG trace files for errors.
    The setup is as follows :
    Database : Oracle 9i Rel 2.
    OS : IBM AIX 4.3.3
    We are trying to create the database from sqlplus/dbca. It seems that in the database creation process it is throwing the error while it is trying to create the control files.
    listener.ora :
    LSNR_TSEDMDB2 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = prcsmbk1)(PORT = 1522))
    TNSNAMES.ORA
    LISTENER_TSEDMDB2 =
    (ADDRESS = (PROTOCOL = TCP)(HOST = prcsmbk1)(PORT = 1522))
    We have IBM HACMP Cluster setup on 3 machines. This machine (prcsmbk1) on which I am getting the error while creating the database is part of that HACMP cluster. While installing the Oracle database software also it gave me a list of the 3 machines which are in HACMP cluster. We are not planning to setup RAC, but still it seems like while creating the database control files Oracle is trying to perform some group service operation.
    Alert log :
    Sat Jan 3 03:31:18 2004
    Starting ORACLE instance (normal)
    Sat Jan 3 03:31:18 2004
    Global Enqueue Service Resources = 64, pool = 4
    Sat Jan 3 03:31:18 2004
    Global Enqueue Service Enqueues = 128
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    GES IPC: Receivers 1 Senders 1
    GES IPC: Buffers Receive 1000 Send 530 Reserve 300
    GES IPC: Msg Size Regular 432 Batch 2048
    SCN scheme 3
    Using log_archive_dest parameter default value
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    Starting up ORACLE RDBMS Version: 9.2.0.4.0.
    System parameters with non-default values:
    processes = 150
    timed_statistics = TRUE
    shared_pool_size = 117440512
    large_pool_size = 16777216
    java_pool_size = 117440512
    control_files = /u01/app/oracle/oradata/TSEDMDB2/control01.ctl
    db_block_size = 8192
    db_cache_size = 33554432
    compatible = 9.2.0.0.0
    db_file_multiblock_read_count= 16
    fast_start_mttr_target = 300
    undo_management = AUTO
    undo_tablespace = UNDOTBS1
    undo_retention = 10800
    remote_login_passwordfile= EXCLUSIVE
    db_domain =
    instance_name = TSEDMDB2
    dispatchers = (PROTOCOL=TCP) (SERVICE=TSEDMDB2XDB)
    local_listener = LISTENER_TSEDMDB2
    job_queue_processes = 10
    hash_join_enabled = TRUE
    background_dump_dest = /u01/app/oracle/admin/TSEDMDB2/bdump
    user_dump_dest = /u01/app/oracle/admin/TSEDMDB2/udump
    core_dump_dest = /u01/app/oracle/admin/TSEDMDB2/cdump
    sort_area_size = 524288
    db_name = TSEDMDB2
    open_cursors = 300
    star_transformation_enabled= FALSE
    query_rewrite_enabled = FALSE
    pga_aggregate_target = 25165824
    aq_tm_processes = 1
    Sat Jan 3 03:31:19 2004
    clUster interconnect IPC version:Oracle UDP/IP
    IPC Vendor 1 proto 2 Version 1.0
    PMON started with pid=2
    DIAG started with pid=3
    LMON started with pid=4
    LMD0 started with pid=5
    DBW0 started with pid=6
    LGWR started with pid=7
    CKPT started with pid=8
    SMON started with pid=9
    RECO started with pid=10
    CJQ0 started with pid=11
    QMN0 started with pid=12
    Sat Jan 3 03:31:24 2004
    starting up 1 shared server(s) ...
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    Sat Jan 3 03:31:25 2004
    Create controlfile reuse set database TSEDMDB2
    MAXINSTANCES 1
    MAXLOGHISTORY 1
    MAXLOGFILES 50
    MAXLOGMEMBERS 5
    MAXDATAFILES 100
    Datafile
    '/u01/app/oracle/oradata/TSEDMDB2/cwmlite01.dbf' ,
    '/u01/app/oracle/oradata/TSEDMDB2/drsys01.dbf' ,
    '/u01/app/oracle/oradata/TSEDMDB2/example01.dbf' ,
    '/u01/app/oracle/oradata/TSEDMDB2/indx01.dbf' ,
    '/u01/app/oracle/oradata/TSEDMDB2/odm01.dbf' ,
    '/u01/app/oracle/oradata/TSEDMDB2/system01.dbf' ,
    '/u01/app/oracle/oradata/TSEDMDB2/tools01.dbf' ,
    '/u01/app/oracle/oradata/TSEDMDB2/undotbs01.dbf' ,
    '/u01/app/oracle/oradata/TSEDMDB2/users01.dbf' ,
    '/u01/app/oracle/oradata/TSEDMDB2/xdb01.dbf'
    LOGFILE GROUP 1 ('/u01/app/oracle/oradata/TSEDMDB2/redo01.log') SIZE 102400K,
    GROUP 2 ('/u01/app/oracle/oradata/TSEDMDB2/redo02.log') SIZE 102400K,
    GROUP 3 ('/u01/app/oracle/oradata/TSEDMDB2/redo03.log') SIZE 102400K RESETLOGS
    Sat Jan 3 03:31:25 2004
    ORA-1503 signalled during: Create controlfile reuse set database TSEDMDB2
    MAX...
    Sat Jan 3 03:32:28 2004
    Restarting dead background process QMN0
    QMN0 started with pid=15
    Sat Jan 3 03:32:28 2004
    Shutting down instance (abort)
    License high water mark = 3
    Instance terminated by USER, pid = 47128
    Diag trace file :
    /u01/app/oracle/admin/TSEDMDB2/bdump/tsedmdb2_diag_49754.trc
    Oracle9i Enterprise Edition Release 9.2.0.4.0 - 64bit Production
    With the Partitioning, Real Application Clusters, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.4.0 - Production
    ORACLE_HOME = /u01/app/oracle/product/9.2.0
    System name: AIX
    Node name: prcsmbk1
    Release: 3
    Version: 4
    Machine: 0002599F4C00
    Instance name: TSEDMDB2
    Redo thread mounted by this instance: 0 <none>
    Oracle process number: 0
    49754
    Number of Serviceable Networks detected is less than 2
    Disabling Transparent Network Failover Feature.
    *** SESSION ID:(2.1) 2004-01-03 03:31:19.886
    kjzcprt:rcv port created
    kjzmreg2: slos err[1 19 [HA_GS_CONNECT_FAILED] sskgxn_gs_in 19]
    [kjzmreg2]: Error [category=1] is encountered
    Node monitor problem:[32700][kjzmreg2]
    Membership is lost in DIAG group
    Any help is appreciated. Thanks in advance.

    Thanks a lot for all your responses. We found the issue. The issue was that when we installed 9i we selected Enterprise option which installed RAC also. And after that when we were trying to create database Oracle was thinking that we are trying to create database in RAC env. and most likely it was trying to create/sync the control files on all the machines in the cluster.
    The sequence of events were as below :
    1. We have 8i installed on this machine
    2. We installed 9i (9.2.0.1.0) using the same ORACLE_BASE but different ORACLE_HOME. We didn't select "Custom Install". We selected "Enterprise install" option
    3. We installed new installer (2.2.0.18.0 ) and then 9i patch (9.2.0.4.0)
    4. While creating the database (manually & through DBCA) we were getting ORA-32700
    5. We tried to uninstall (using OUI 2.2.0.18.0) 9i (including the patch) completely but it never succeeded. We noticed that when we started uninstall it did show progress for about 20 minutes and after that it didn't show any progress. It was not taking any CPU cycles and It was not writing to the log file either. Basically we were never able to cleanly uninstall 9i. We tried almost 2 to 3 times.
    6. Then we installed 9i using a new ORACLE_BASE and this time we selected "Custom Install" and we did not install RAC. This is successful
    7. Then we installed new installer (2.2.0.18.0 ) and we tried to install the 9i patch (9.2.0.4.0) using this new installer but it never succeeded. Then we tried to install the 9i patch (9.2.0.4.0) using the old installer version (2.2.0.11.0) and it was also successful.
    8. Then we tried to create database using DBCA and it was successful and then we dropped the database which was created using DBCA and then we created it manually through SQLPLUS and this was fine too.
    So basically what we learned from this exercise is that if we are installing 9i on a machine which is part of a cluster and if we don't plan to setup RAC then we shouldn't install RAC and we should do a custom install. I wish there was a option in create database stmt to tell Oracle that though we are creating database on a machine which is part of a cluster environment but we don't intend to setup RAC.
    And other thing which is still a mystery is that why does the uninstall never completes successfully. One question on this : We were using the installer version 2.2.0.18.0 to uninstall the 9i software. Do we need to use the older version (2.2.0.11.0) of the OUI?

  • VMM is unable to perform this operation without a connection to a Virtual Machine Manager management server.

    Hi,
    I'm running SCOM and VMM integration. For the most part everything is working. However I get lots of alerts generated in regards to my scvmm server.
    This is a the guide I used:
    https://technet.microsoft.com/en-ca/library/hh882396.aspx
    SCOM + VMM 2012r2 Ur4
    One of the Errors(which appears to be root issue):
    The PowerShell script failed with below
    exception
    System.Management.Automation.CmdletInvocationException: VMM is
    unable to perform this operation without a connection to a Virtual Machine
    Manager management server. (Error ID: 1615)
    Use the Get-VMMServer cmdlet
    or the -VMMServer parameter to connect to a Virtual Machine Manager management
    server. For more information, type at the command prompt: Get-Help Get-VMMServer
    -detailed.At line:109 char:12
    + $vmm = Get-SCVMMServer $VMMServer -Credential
    $cred;
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    at
    System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object
    input, Hashtable errorResults, Boolean enumerate)
    at
    System.Management.Automation.PipelineOps.InvokePipeline(Object input, Boolean
    ignoreInput, CommandParameterInternal[][] pipeElements, CommandBaseAst[]
    pipeElementAsts, CommandRedirection[][] commandRedirections, FunctionContext
    funcContext)
    at
    System.Management.Automation.Interpreter.ActionCallInstruction`6.Run(InterpretedFrame
    frame)
    at
    System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame
    frame)
    at
    System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame
    frame)
    Script Name:
    GetStorageSubsystemPerfScript
    One or more workflows were affected by
    this.
    Workflow name:
    Microsoft.SystemCenter.Advisor.StorageSubsystem.Performance.PerfCollection
    Instance
    name: SCVMM01.Domain.com
    Instance ID:
    {B5175EAC-D64D-2553-D567-F19B5C864BBD}
    Management group: OMGRP82

    Can you connect from powershell? get-vmmserver <VMMServerComputerName>
    If this doesn't work it's likely that your VMM server doesn't work. Check Application log to see if there are errors related to VMM service.
    You can also collect traces as described
    here and attach them to this thread.
    Are you using a domain administrator account?  (this is the default allowed after SCVMM is installed - until other users are added).
    also try restarting VMM server or VMM services once.
    this occur if the SQL database owner is indicated as NULL.  Try adding the SQL SA account as db owner.
    refer this once -
    https://social.technet.microsoft.com/Forums/en-US/a4199cb2-ccbf-4bb0-96c1-7a640143f81b/error-id-1615-vmm-is-unable-to-perform-this-operation?forum=virtualmachingmgrhyperv
    Thanks, S K Agrawal

  • Create image server operating system with Hyper-V and virtual machines

    Friends,
    Need to replicate the environment they currently have, but wanted to optimize this operation by creating an image of windows server with Hyper-V and virtual servers already installed, what tool do I use? Can someone guide ???
    Dreyher

    I recommend you separate the task of protecting the host from the task of protecting the guest VMs. 
    By "replicate the environment", do you mean backup the VMs in a recoverable state? or do you intend on migrating the VMs to another environment like another physical location? How much down time can you tolerate if any?
    To backup the VMs use a VSS based backup solution. There's plenty out there, including Windows Server backup, Altaro, DPM, Veeam, and many more. This does not require installing agent on any of the VMs, and will not down the VMs during backup. Here's an
    example Powershell script to backup all VMs on the local host:
    Install-WindowsFeature -Name Windows-Server-Backup
    $BackupTarget = "\\server\share"
    $WbTarget = New-WBBackupTarget -NetworkPath $BackupTarget
    $WBPolicy = New-WBPolicy
    Add-WBBackupTarget -Policy $WBPolicy -Target $WbTarget
    Add-WBVirtualMachine -Policy $WBPolicy -VirtualMachine (Get-WBVirtualMachine) # Add all VMs on localhost
    Start-WBBackup -Policy $WBPolicy -Async
    If the intent is VM migration from one location to another, there are plenty of tools to do so with minimal or no down time. Just bing it..
    Sam Boutros, Senior Consultant, Software Logic, KOP, PA http://superwidgets.wordpress.com (Please take a moment to Vote as Helpful and/or Mark as Answer, where applicable) _________________________________________________________________________________
    Powershell: Learn it before it's an emergency http://technet.microsoft.com/en-us/scriptcenter/powershell.aspx http://technet.microsoft.com/en-us/scriptcenter/dd793612.aspx

  • Help!! iternmittently getting ORA-12560. Here is a snipset..

    Hello..
    i have MS com+ objects which are calling stored procedures simultaneously and rapidly and
    intermittently getting ORA-12560. TNS Protocol Adapter
    error. here is a snippset of trace log..
    please give me comments to solve this problem
    =========================================================
    (6600) nigini: entry
    (6600) nigini: Count in NI global area now: 1
    (6600) nigini: Count in NI global area now: 1
    (6600) nrigbi: entry
    (6600) nrigbni: entry
    (6600) nrigbni: Unable to get data from navigation file tnsnav.ora
    (6600) nrigbni: exit
    (6600) nrigbi: exit
    (6600) nigini: exit
    (6600) niqname: Hst is already an NVstring.
    (6600) niqname: Inserting CID.
    (6600) niotns: entry
    (6600) niotns: niotns: setting up interrupt handler...
    (6600) snsbitini_ts: entry
    (6600) snsbitini_ts: normal exit
    (6600) snsbitcl_ts: entry
    (6600) snsbitcl_ts: normal exit
    (6600) snsbitini_ts: entry
    (6600) snsbitini_ts: normal exit
    (6600) niotns: Not trying to enable dead connection detection.
    (6600) niotns: Calling address: (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.99.117)(PORT=1521)))(CONNECT_DATA=(SID=ESCROW0)(SERVICE_NAME=ESCROW0)(CID=(PROGRAM=C:\WINNT\system32\dllhost.exe)(HOST=MATDEV)(USER=Administrator))))
    (6600) nscall: entry
    (6600) nsmal: entry
    (6600) nsmal: 164 bytes at 0x319fba8
    (6600) nsmal: normal exit
    (6600) nscall: connecting...
    (6600) nladini: entry
    (6600) nladini: exit
    (6600) nladget: entry
    (6600) nladget: exit
    (6600) nsc2addr: entry
    (6600) nttbnd2addr: entry
    (6600) nttgetport: entry
    (6600) nttgetport: port resolved to 1521
    (6600) nttgetport: exit
    (6600) nttbnd2addr: using host IP address: 192.168.99.117
    (6600) nttbnd2addr: exit
    (6600) nsc2addr: normal exit
    (6600) nsopen: entry
    (6600) nsmal: entry
    (6600) nsmal: 492 bytes at 0x3197008
    (6600) nsmal: normal exit
    (6600) nsopenmplx: entry
    (6600) nsmal: entry
    (6600) nsmal: 2348 bytes at 0x3194f30
    (6600) nsmal: normal exit
    (6600) snsbitini_ts: entry
    (6600) snsbitini_ts: normal exit
    (6600) snsbitts_ts: entry
    (6600) snsbitts_ts: acquired the bit
    (6600) snsbitts_ts: normal exit
    (6600) snsbitcl_ts: entry
    (6600) snsbitcl_ts: normal exit
    (6600) nsopenmplx: normal exit
    (6600) nsopen: opening transport...
    (6600) nttcon: entry
    (6600) nttcon: toc = 1
    (6600) nttcnp: entry
    (6600) ntvlin: entry
    (6600) ntvllt: entry
    (6600) ntvllt: tcp.validnode_checking not turned on
    (6600) ntvllt: exit
    (6600) ntvlin: exit
    (6600) nttcnp: Validnode Table IN use; err 0x0
    (6600) nttcnp: creating a socket.
    (6600) nttcnp: exit
    (6600) nttcni: entry
    (6600) nttcni: trying to connect to socket 10093.
    (6600) ntt2err: entry
    (6600) ntt2err: soc 10093 error - operation=1, ntresnt[0]=530, ntresnt[1]=93, ntresnt[2]=0
    (6600) ntt2err: exit
    (6600) nttcni: exit
    (6600) nttcon: exit
    (6600) nserror: entry
    (6600) nserror: nsres: id=0, op=65, ns=12560, ns2=0; nt[0]=530, nt[1]=93, nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=0
    (6600) snsbitts_ts: entry
    (6600) snsbitts_ts: acquired the bit
    (6600) snsbitts_ts: normal exit
    (6600) snsbitcl_ts: entry
    (6600) snsbitcl_ts: normal exit
    (6600) nsopen: unable to open transport
    (6600) snsbitts_ts: entry
    (6600) snsbitts_ts: acquired the bit
    (6600) snsbitts_ts: normal exit
    (6600) snsbitcl_ts: entry
    (6600) snsbitcl_ts: normal exit
    (6600) snsbittrm_ts: entry
    (6600) snsbittrm_ts: normal exit
    (6600) snsbitts_ts: entry
    (6600) snsbitts_ts: acquired the bit
    (6600) snsbitts_ts: normal exit
    (6600) snsbitcl_ts: entry
    (6600) snsbitcl_ts: normal exit
    (6600) nsbfr: entry
    (6600) nsbfr: normal exit
    (6600) nsbfr: entry
    (6600) nsbfr: normal exit
    (6600) nsmfr: entry
    (6600) nsmfr: 2348 bytes at 0x3194f30
    (6600) nsmfr: normal exit
    (6600) nsmfr: entry
    (6600) nsmfr: 492 bytes at 0x3197008
    (6600) nsmfr: normal exit
    (6600) nsopen: error exit
    (6600) nsclose: entry
    (6600) nsclose: normal exit
    (6600) nladget: entry
    (6600) nladget: exit
    (6600) nsmfr: entry
    (6600) nsmfr: 164 bytes at 0x319fba8
    (6600) nsmfr: normal exit
    (6600) nladtrm: entry
    (6600) nladtrm: exit
    (6600) nscall: error exit
    (6600) nioqper: error from nscall
    (6600) nioqper: nr err code: 0
    (6600) nioqper: ns main err code: 12560
    (6600) nioqper: ns (2) err code: 0
    (6600) nioqper: nt main err code: 530
    (6600) nioqper: nt (2) err code: 93
    (6600) nioqper: nt OS err code: 0
    (6600) niomapnserror: entry
    (6600) niqme: entry
    (6600) niqme: reporting NS-12560 error as ORA-12560
    (6600) niqme: exit
    (6600) niomapnserror: returning error 12560
    (6600) niomapnserror: exit
    (6600) niotns: Couldn't connect, returning 12560
    (6600) niotns: exit
    (6600) snsbittrm_ts: entry
    (6600) snsbittrm_ts: normal exit
    (6600) snsbittrm_ts: entry
    (6600) snsbittrm_ts: normal exit
    (6600) nsbfrfl: entry
    (6600) nsbfrfl: normal exit
    (6600) nigtrm: Count in the NI global area is now 0
    (6600) nrigbd: entry
    (6600) nrigbd: exit
    (6600) nigtrm: Count in the NL global area is now 0

    which version of oracle are you using?
    If you are using, 8.1.6 , then you would be hitting bug.892253.
    For more info. read metalink Note:21490.1.

  • Getting ORA-12560: TNS:protocol adapter on server

    Hi,
    We have a server on Windows, Oracle version 10.2.0.4.
    It was working fine, but all of a sudden we have started getting "ORA-12560: TNS:protocol adapter" when trying to connect as SYS.
    What could be the possible reason. Nothing new has been done on the server.
    Thanks.

    A-K wrote:
    Hi,
    We have a server on Windows, Oracle version 10.2.0.4.
    It was working fine, but all of a sudden we have started getting "ORA-12560: TNS:protocol adapter" when trying to connect as SYS.
    What could be the possible reason. Nothing new has been done on the server.Is the database service started when you get this error? I presume you are setting ORACLE_SID prior to this operation.

  • ASM diskgroups unmounting, getting ORA-01157: cannot identify/lock data fil

    All,
    We've recently purchased a RAMSAN device for better throughput. I created the initial diskgroup with the following syntax:
    CREATE DISKGROUP EMTPRD0X_SSD01 NORMAL REDUNDANCY
    FAILGROUP RS1 DISK '/dev/rdsk_ramsan_primary' NAME ssd_prim
    FAILGROUP RS2 DISK '/dev/rdsk_ramsan_backup' NAME ssd_bkup;
    and then created a temporary tablespace on top of that diskgroup:
    create temporary tablespace temp04 tempfile '+EMTPRD0X_SSD01' size 25g, '+EMTPRD0X_SSD01' size 25g, '+EMTPRD0X_SSD01' size 25g, '+EMTPRD0X_SSD01' size 25g, '+EMTPRD0X_SSD01' size 25g;
    Everything seemed fine at first and then end users started seeing the following errors in the alert log:
    SUCCESS: diskgroup EMTPRD0X_SSD01 was mounted
    SUCCESS: diskgroup EMTPRD0X_SSD01 was dismounted
    SUCCESS: diskgroup EMTPRD0X_SSD01 was mounted
    SUCCESS: diskgroup EMTPRD0X_SSD01 was dismounted
    Tue Oct 12 16:12:51 2010
    Errors in file /opt/oracle/oradump/emtprd02/udump/emtprd02_ora_11578.trc:
    ORA-01157: cannot identify/lock data file 3009 - see DBWR trace file
    ORA-01110: data file 3009: '+EMTPRD0X_SSD01/emtprd0x/tempfile/temp04.256.732210281'
    After talking with Oracle support I was told that the only workaround for diskgroups unmounting themselves is to put a control file/redo log/dummy tablespace inside of that diskgroup and continually write/read from it.
    Does that make sense?
    They pointed me to note 603204.1 - Why FRA Diskgroup Gets Mounted/Dismounted.
    The system is a 3 node Oracle 10.2.0.4 rac running on ASM Solaris x86 64bit.
    Any ideas?
    Thanks,
    Brian

    Post Operating System (OS) name & version for DB server system.
    Post results of
    SELECT * from v$version
    My db is not in archivelog mode poor choice
    and no backup was taken. Worse choise
    Is there any way I can recover this db? Recover as in no data loss?
    Very doubtful.
    Possible to open with data loss.
    01157, 00000, "cannot identify/lock data file %s - see DBWR trace file"
    // *Cause:  The background process was either unable to find one of the data
    //         files or failed to lock it because the file was already in use.
    //         The database will prohibit access to this file but other files will
    //         be unaffected. However the first instance to open the database will
    //         need to access all online data files. Accompanying error from the
    //         operating system describes why the file could not be identified.
    // *Action: Have operating system make file available to database. Then either
    //         open the database or do ALTER SYSTEM CHECK DATAFILES.What exactly cause this mess?
    Edited by: sb92075 on Jan 7, 2010 8:59 PM

  • Not closing ResultSet, but not getting ORA-01000

    I have an application that is generating the familiar ORA-01000 error.
    Whilst investigating the problem, I wrote a small test program. In the test program I tried to get the ORA-01000, but I don't get it (has anyone ever complained about not getting ORA-01000 before?!)
    connection = DriverManager.getConnection("<connection string>");
    String sql = "SELECT c1 FROM pdtab2 WHERE Id>=? AND Id<=?";
    PreparedStatement ps = connection.prepareStatement(sql);
    for (int i = 1; i <= 30000; ++i)
        ps.setInt(1, i-1);
        ps.setInt(2, i+1);
        if (i % 100 == 0)
            System.out.println("i=" +i);
            System.out.println("getCurrentOpenCursors(connection)="
                               +getCurrentOpenCursors(connection));
        try
            rs = ps.executeQuery();
            while (rs.next())
                result = rs.getInt(1);
        catch (SQLException e2)
            e2.printStackTrace();
        finally
            // Do nothing! Do not close the result set
    }getCurrentOpenCursors does:
    select count(*) AS COUNT from v$open_cursor where user_name like 'me'
    I have reduced OPEN_CURSORS down from 300 to 100, but getCurrentOpenCursors always returns less that what it is set to. Suggesting that OPEN_CUSRORS is not a limit, but rather a pool size?
    The result set returns more than one record, I never close the result set, yet I do not get an ORA-01000 error. I have tried auto-commit true and false on the connection. Is the prepared statement closing its previous result set on each new iteration of the loop, hence stopping me getting a problem?
    I am using Oracle version 10.2.0.1, the corresponding ojdbc14.jar, and Java 1.4.
    Thanks,
    Paul

    Here is a program that does that for you.
    To fix the program, un-comment the line 24 of the code and run again.
    C:\> type TestCursors.java
    import java.lang.* ;
    import java.util.* ;
    import java.sql.* ;
    import oracle.jdbc.* ;
    public class TestCursors
        public static void main(String[] args) throws SQLException, ClassNotFoundException
            Class.forName("oracle.jdbc.driver.OracleDriver");
            Connection connection = DriverManager.getConnection("jdbc:oracle:oci:@localhost:1521:ORCL");
            ResultSet rs ;
            PreparedStatement ps ;
            for (int i = 1; i <= 30000; ++i)
                String sql = "SELECT 20 FROM scott.emp WHERE deptno = ?";
                ps = connection.prepareStatement(sql);
                ps.setInt(1, 10);
                try
                    rs = ps.executeQuery();
                    rs.close() ;
                    //ps.close() ;
                catch (SQLException e2)
                    System.out.println("The value if i is " + i) ;
                    throw e2 ;
    C:\> javac TestCursors.java
    C:\> java TestCursors
    The value if i is 301
    Exception in thread "main" java.sql.SQLException: ORA-01000: maximum open cursors exceeded
            at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:111)
            at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:671)
            at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:597)
            at oracle.jdbc.driver.T2CPreparedStatement.executeForDescribe(T2CPreparedStatement.java:570)
            at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1030)
            at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1123)
            at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3284)
            at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3328)
            at TestCursors.main(TestCursors.java:22)
    C:\>

  • While trying to change password getting ora-00600 [4842] - Plz help

    while trying to change password getting ora-00600 [4842] - Plz help
    database : 9.2.0.4
    o/s : Linux

    Hi,
    when getting an ORA-600 you always should contact Oracle support please ;-)
    To diagnose an ORA-600 the stack trace will be necessary - see the trace file mentioned in the alert.log when the ORA-600 did happen.
    But FIRST OF ALL you should definitely apply patch set 9.2.0.8 and see if this error happens again (metalink.oracle.com ==> PATCHES ==> Quick Links ==> <your platform>). Support will ask you to do the same before they start diagnosing anything in this case.
    And please keep in mind that 9.2.0 has reached end of Premier Support more than 1 year ago.
    Kind regards
    Mike

Maybe you are looking for

  • Pre-Filled Selection Criteria in Transaction CKMLCP Report CKML_RUN_STATUS

    Dear ABAP Specialists, i am actually searching for the origin of the data provided as costing run number while running the report via transaction in foreground. If i try to start the same report via background on SE38, i always get the information co

  • IOS 5 camera feature help

    Hi. Does anyone know how to get that quick access button to the camera app on the lock screen for the new iOS 5 update?

  • "Reusing" LUKS password for several instances

    Is it possible to "reuse" the same password for multiple luks partitions so that only one password has to be entered during boot time? Does something similar to  /lib/cryptsetup/scripts/decrypt_derived in Debian exist in Arch?

  • Version in BPS

    Hello Gurus. There is a concept of version in BPS. Q1. What is the purpose of having version? Q2. Where do we define version? For ex: i want to plan on version 001,002,003 for different levels. Do i need to upload the version data from flat file or d

  • Error -5000 when trying to backup/update iphone

    what is the error? and any advice on how to fix it?