Plan rman script in Windows 2003

Oracle 10.2. I wrote an rman script and tried to plan the autorun in Windows 2003 server. I got this error:

RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-00554: initialization of the package manager internal collection failed
RMAN-04005: target database error:
ORA-12560: TNS:protocol adapter error

The package file name: rman_backup.bat
content: rman target / cmdfile rman_backup.rcv log rman_backup.log

Here's how I set up:
go to control panel > scheduled tasks > add task scheduled, find rman_backup.bat, the timing of the execution and finish it. When you ask for username and password, I provide the user located in the oracle dba group.

But when he run, he just produced the above error and will not work.

Please notify

S.



in SQLnet.log

fatal OR connect error 12560, connect to:
(DESCRIPTION = (ADDRESS = (PROTOCOL = DOB (ARGV0 = oracleORCL))(PROGRAM=oracle) (ARGS = '(DESCRIPTION =(LOCAL=YES) (ADDRESS = (PROTOCOL = DOB)))')) (CONNECT_DATA = (SID = ORCL) (CID = (PROGRAM = D:\oracle\product\10.2.0\db_1\bin\rman.exe)(HOST=W3TY5Z203)(USER=WELC)))

VERSION INFORMATION:
AMT for 32-bit Windows: release 10.2.0.4.0 - Production
Oracle bequeath Protocol adapter for 32-bit Windows NT: release 10.2.0.4.0 - Production
Time: March 30, 2010 11:27
Tracing not lit.
AMT error struct:
NS main err in code: 12560
AMT-12560: TNS:protocol adapter error
NS secondary err code: 0
NT main err in code: 530
AMT-00530: Protocol adapter error
NT secondary err code: 2
NT OS err code: 0

ski123 wrote:
No, I don't set up oracle_sid and oracle_home
S.

There is your problem. Any process that requires a connection to an oracle database must be able to tell what database, it wants to connect to. If you are on the same box that the database, which is done by setting the ORACLE_SID environment variable. And this oracle process (in your case rman, but it also applies to sqlplus on a remote client) needs to know where to find its own components, which is done by setting ORACLE_HOME.

Tags: Database

Similar Questions

  • the upgrade of windows 2003 standard edition to enterprise edition

    Hello

    Currently, we are conducting 32-bit essbase in windows 2003 standard edition 32 - bit os. We are planning to upgrade to windows 2003 enterprise edition 32-bit os (or) windows 2003 standard edition 64-bit operating system...

    so in this scenario

    1 > my current essbase applications will have no effect (or). ???

    2 > if aplications get impact what could be the possbilities for this scenario...?

    Published by: 854925 on April 26, 2011 22:26

    With Essbase you should not all the problems of your switch/bet far Win 2003 Enterprise Edition.

    If you are moving to x 64 Win Server you will probably have to do a full install on a new machine in which case you will just be transfer (.otl) schema files, etc. for the Essbase Essbase Server to the new. So no effect as long as you install more Essbase on x 64 don't box correctly.

  • SQL Server 2005 unattended install using the script fails on Windows 2003 Cluster

    We strive to perform the installation without SQL Server 2005 via the script assistance, but the installation fails on Windows 2003 Cluster, we use Windows 2008 with HyperV running a DC with two nodes (all Win 2003). Script is...

    Start/wait setup.exe/qb VS = INSTALLVS SQLTEST = SQL_Engine INSTANCENAME = SQL123 ADDLOCAL = SQL_Engine ADDNODE = sqlnode-1, sqlnode-2 GROUP = SQL1 IP = 192.168.1.85, SQLNetwork ADMINPASSWORD = Windows8! SAPWD = Windows8! INSTALLSQLDIR=%ProgramFiles%\Microsoft SQL Server\ INSTALLSQLDATADIR = G:\SQLDATADIR\ SQLACCOUNT = SQLPASSWORD lab\sql_svc = Windows8! AGTACCOUNT = lab\sql_svc = Windows8 AGTPASSWORD! SQLBROWSERACCOUNT = SQLBROWSERPASSWORD = Windows8 lab\sql_svc! SQLCLUSTERGROUP = "lab\sql_grp" AGTCLUSTERGROUP = "lab\sql_grp" FTSCLUSTERGROUP = "lab\sql_grp" ERRORREPORTING = 1 SQMREPORTING = 1 SQLCOLLATION = SQL_Latin1_General_CP1_CI_AS

    Errors on the nodes:

    SQLSetup0008_SQLNODE1_Core (Local)

     Running: InstallSqlAction to the: 4/14/2012 22:56:39

    Installation: sql on target: SQLNODE1

    Waiting for remote setup (s) to prepare

    Remote Setup (s) is ready

    Problem of determining the State of the virtual server for the package: '1' because of the exception of data store:

    Source the name of the file: datastore\cachedpropertycollection.cpp

    Compiler timestamp: Fri 29 Jul 01:13:49 2005

    Function name: CachedPropertyCollection::findProperty

    The source line number: 63

    ----------------------------------------------------------

    Could not find the property 'VsDataPath' {'PackageIdStateScope', ' ', '1'} in the cache.

    Source the name of the file: datastore\packageidstatescopecollector.cpp

    Compiler timestamp: Wed Aug 24 13:40:04 2005

    Function name: PackageIdStateScopeCollector::collectProperty

    The source line number: 115

    ----------------------------------------------------------

    dataPathValue is empty

    Cluster functionality detected: SQL_Engine

    Loaded DLL:C:\Program SQL Server\90\Setup Bootstrap\sqlsval.dll Version: 2005.90.1399.0

    Source the name of the file: datastore\cachedpropertycollection.cpp

    Compiler timestamp: Fri 29 Jul 01:13:49 2005

    Function name: CachedPropertyCollection::findProperty

    The source line number: 130

    ----------------------------------------------------------

    Unable to find property 'IPResources' {"VirtualServerInfo", "", "SQLTEST"} in the cache

    Source the name of the file: datastore\cachedpropertycollection.cpp

    Compiler timestamp: Fri 29 Jul 01:13:49 2005

    Function name: VirtualServerInfo.IPResources

    The source line number: 113

    ----------------------------------------------------------

    Could not collect the property 'IPResources' {"VirtualServerInfo", "", "SQLTEST"}

    Transact package threw an exception.

    Error code: 0x8007000d (13)

    Windows error text: these data are incorrect.

    Source the name of the file: sqlchaining\highlyavailablepackage.cpp

    Compiler timestamp: Mon Aug 29 01:18:42 2005

    Function name: sqls::HighlyAvailablePackage:manageVsResources

    The source line number: 490

    ---- Context -----------------------------------------------

    SQLs::HighlyAvailablePackage:preInstall

    SQLs::HighlyAvailablePackage:manageVsResources

    m_dataDirPath is empty

    Cluster API threw an exception during operations of virtualization.

    Package first notify: 13

    Error code: 0x8007000d (13)

    Windows error text: these data are incorrect.

    Source the name of the file: sqlchaining\highlyavailablepackage.cpp

    Compiler timestamp: Mon Aug 29 01:18:42 2005

    Function name: sqls::HighlyAvailablePackage:manageVsResources

    The source line number: 490

    ---- Context -----------------------------------------------

    SQLs::HighlyAvailablePackage:preInstall

    SQLs::HighlyAvailablePackage:manageVsResources

    m_dataDirPath is empty

    Cluster API threw an exception during operations of virtualization.

    SQLSetup0008_SQLNODE2_Core (Local)

     

    Local configuration can complement

    Running: InstallSqlAction at: 4/2012/14 23:23:57

    Installation: sql on target: SQLNODE2

    Informs the package is ready to start: 0

    Waiting for notification start installation

    Local configuration can begin installation

    Error code: 0x8007000d (13)

    Windows error text: these data are incorrect.

    Source the name of the file: remotepackageengine\remotepackageinstallersynch.cpp

    Compiler timestamp: Wed Aug 24 13:40:17 2005

    Function name: sqls::RemotePackageInstallerSynch:preInstall

    The source line number: 128

    ---- Context -----------------------------------------------

    SQLs::InstallPackageAction: perform

    SQLs::RemotePackageInstallerSynch:preInstall

    Abandonment of the package: "sql", due to an error from the configuration of the host: 13

    Notify all ready to commit: 13

    Notify all ready to put end to: 13

    Waiting for notification complete installation

    Local configuration can complement

    Packaging return code: 13

    Complete: InstallSqlAction at: 4/2012/14 23:23:59, returned false

    Error: The 'InstallSqlAction' Action failed during execution.  Error during execution information:

    Target collection includes the local machine.

    -----------------------------------------------

    Error: The 'UninstallForRS2000Action' Action failed during execution.  Error during execution information:

    Action: "UninstallForRS2000Action" will be marked as failed due to the following condition:

    The condition 'rs has been correctly upgraded level.' returned false.

    Package installation: 'patchRS2000' failed due to a precondition.

    Running: ReportChainingResults at: 4/2012/14 23:24:1

    Error: Action "ReportChainingResults" threw an exception during execution.

    One or more packages could not be installed. See logs for details of the error. : 13

    Error code: 0x8007000d (13)

    Windows error text: these data are incorrect.

    Source the name of the file: sqlchaining\sqlchainingactions.cpp

    Compiler timestamp: 1 Thu Sep 22:23:05 2005

    Name of the function: sqls::ReportChainingResults: perform

    The source line number: 3097

    Please notify.

    Assani

    Hello

    The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the TechNet Forums. You can follow the link to your question:

    http://TechNet.Microsoft.com/en-us/WindowsServer/bb512923

    Hope this information helps.

  • Member not found error when trying to add the generic script in the windows 2003 cluster

    I tried to add a generic script in the cluster windows 2003, I've already done a script with the extension .vbs, but when I tried to add the path of the script file its gives me an error indicating that the Member could not be found. Can you help me about this error?

    Hello ishuvbaidhya,

    Your question may be the best answer in the forum TechNet for Windows Server.

    Please transfer your question in forum Windows Server below.
    http://social.technet.Microsoft.com/forums/en-us/winserverManagement/threads

    They will be better able to help with your problem.

    Sincerely,

    Marilyn

  • The size of the heap of planning 11.1.1.3 on Windows 2003, tomcat

    Hello
    How can I increase the size of the heap of planning 11.1.1.3 on Windows 2003, tomcat?
    In 9.3.x it used to be at HKEY_LOCAL_MACHINE\SOFTWARE\Hyperion Solutions\HyperionPlanning\HyS9Planning
    Search - Is Xmx512m under JVMOption7
    but in 11.x, it's somewhere else.
    Thank you.

    Hello

    It is still under HKEY_LOCAL_MACHINE\SOFTWARE\Hyperion Solutions\HyperionPlanning\HyS9Planning in JVMOption9

    If it's 64-bit windows, it is under HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Hyperion Solutions\HyperionPlanning\HyS9Planning

    Ok?

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Need help in the migration of windows 2003 server Oracle database server 2012

    Hello

    My environment is oracle database 9i in windows server 2003, we want to move to Windows 2012 since the end of support for windows 2003.

    Please give me a plan, what no need to make the first database upgrade or upgrade of windows, what are the things will have to be considered at the level of Oracle database?

    Any help would be appreciated.

    Thank you

    Lherault

    Hello

    Given the version of your database is 9.2.0.8 and you want to upgrade to 11.2.0.4 and 9i database is running with log mode archive

    I have plan.

    (1) your database 9i working with the log mode archive Server 2003

    (2) you can take backup of Database 9i with RMAN

    (3) you can restore the backup to the base in 2008 (by using 11.2.0.4 software)

    (4) when the recovery is complete, you can open the database with resetlogs option upgrade.

    change the upgrade of open database resetlog.

    (5) once the database is open, you can run 'Upgrade PROCESS'

    (6) it should complete your upgrade in 2008

    If you think, restoration and recovery will take time, so you can install physics Eve with 11.2.0.4 version in 2008 for the Database 9i.

    During failover, you can recreate the controlfile and open the database ' change the upgrade of database open resetlog. "

    you will need to check the compatibility with the help from under documents

    Reference list Oracle database upgrade (Doc ID 730365.1)

    Note 551141.1 : Server Upgrade/Downgrade Compatibility matrix data base

  • installation of Windows 2003 server on machine existing windows7

    IAM planning to install Windows 2003 server OS on the machine having windows7
    I would like to have a dual-boot setup where I can start/start any one of the
    operating system and start work
    Please note that I will not disturb existing OS i.e, windows7
    Please suggest...

    Assuming you want to install Windows Server 2003 on an empty hard disk or a partition:

    You can start the installation from the installation of Windows Server 2003 to start media. When you are done, follow the steps in this article to repair the boot sector: Windows startup is no longer after you install an earlier version of the operating system in a dual-boot configuration

    For additional tips for Windows Server, please post in Forum Windows Server.  Thank you!

    Carey Frisch

  • Using the Scheduler to run the rman script directly stored in the recovery catalog

    Hi everyone, I usually automate my backups rman, using either cron or dbms_scheduler to call my stored in a sh file NIX rman scripts.  Everything works fine but anyone know how / if it is possible to call a stored in the recovery catalog rman script. Let's say I have create a script in the catalog:

    RMAN > create script showall

    Comment "just one example of demonstration."

    {

    VIEW ALL;

    }

    Can I use dbms_scheduler to call this script directly? If Yes, how and if not then how can we plan for this or a stored script stored in the rman catalog catalog.  Been looking all over the place, but everything seems to indicate leaving Oracle to call .sh or .bat file.

    Kind regards

    Dave

    Well, let us know the result.

    The link you supplied refers to 12 c Scheduler improvements it seems, it may not be applicable to lower versions of Oracle.

  • understanding the order of the commands in the RMAN script

    I just started working at a new job and prior s/n had left until I'm there. I'm looking at the RMAN script to back up the database of the single instance 11 GR 2 and I do not understand what is the need of two commands 'backup duplication "? Would it not be prudent to also have a command of "overlap of the archivelog backup all ' as well? In addition, what is the point of having the command "Restore database overview" in the daily backup script?


    run
    {
    cross-checking of backup;
    retrieve the copy of the database with the tag "ORA OEM_LVL1_ILANDB_PRIM$ ' until ' SYSDATE-1';
    backup incremental level 1 to retrieve the copy with the tag "ORA$ OEM_LVL1_ILANDB_PRIM" database more archivelog delete all entries;
    delete noprompt obsolete;
    Overview of database restore;
    cross-checking of backup;
    }

    Hello again;

    These jump out of me.

    CONFIGURE REDUNDANCY 1 RETENTION STRATEGY; (too low would set to minus 2 and would consider higher)
    CONFIGURE EXCLUDE THEM FOR TABLESPACE "WEBTASK_DATA"; (Consider removing unless you have good reasons for maintaining)
    CONFIGURE THE NONE ARCHIVELOG DELETION POLICY; (Review based on your configuration - for Data Guard may be different)

    STRATEGY OF RETENTION may be based on redundancy or a window of recovery. For redundancy, I like 2 or 3, for recovery window I like 7.

    Best regards

    mseberg

  • Windows 2003 comments CustomizeVM_task

    Hello

    I'm trying to customize a windows 2003 guest using the perl API and I get following error:

    SOAP fault:

    -


    Error string: cannot complete customization.

    Lack of details: CustomizationFault everything to customize for winvm1

    I installed vcenter server on a system running windows 2008 and somehow none of the newspapers last updated it. I was trying to see if the logs contain a detailed error message.

    I have attached the script in case someone wants to take a look.

    Any comments/suggestions would be appreciated.

    OK I see what you're doing, I did not personally this before use case, but he expected to work. This assumes that the guestOS is up and running and you have VMware Tools installed and running?

    Out of curiosity, you copied the way appropriate to the server vCenter under the sysprep directory, your Win2k3 Installer files correct?

    =========================================================================

    William Lam

    VMware vExpert 2009

    Scripts for VMware ESX/ESXi and resources at: http://engineering.ucsb.edu/~duonglt/vmware/

    Twitter: @lamw

    repository scripts vGhetto

    Introduction to the vMA (tips/tricks)

    Getting started with vSphere SDK for Perl

    VMware Code Central - Scripts/code samples for developers and administrators

    VMware developer community

    If you find this information useful, please give points to "correct" or "useful".

  • How VM Windows 2003 can I make it work with the following equipment

    Hi guys,.

    Suppose that I buy the server below. How VM Windows 2003 I can ru without performance issues. With resource allocation obv.

    PowerEdge R610 Rack chassis for up to 6 x 2.5 "hard drives

    |

    Catalogusnummer:

    SV4R610REL 282823

    Module

    Tricky

    ProductCode

    (verbergen).

    SKU

    (verbergen).

    ID

    (verbergen).

    Base

    PowerEdge R610 Rack chassis for up to 6 x 2.5 "hard drives

    205064

    1

    Additional processor

    No additional processor

    205078

    2

    Geheugen

    32 GB memory for 2 CPUs, DDR3 1066 MHz (8X4Go RDIMMS)

    205192

    3

    Economic stations

    16 X DVD +/-RW SATA Drive ROM

    205109

    16

    Shipping documents

    R610 shipping Documents EMEA1 (English/French/German/Spanish/Russian/Hebrew)

    205065

    21

    Basic warranty

    1 jaar basisgarantie - next business day

    206049

    29

    Ondersteuningsdiensten

    Basic 3 year - next business day warranty

    206123

    30

    Installation services

    You have chosen not to take the Dell PowerEdge installation service

    76588

    32

    Systeembeheer

    DVD of the System Documentation and Dell OpenManage electronic for PowerEdge R610

    205116

    49

    Rackmontage voor rails

    Not included the racks

    11433

    88

    Order information

    PowerEdge order - Belgium

    32377

    111

    Processor

    Intel® Xeon® E5540, 2.53 Ghz Cache 8 MB, 5.86 GT/s QPI, Turbo, HT, 1066 MHz Max Memory

    205495

    146

    Power cable

    Power cord, PDU (Rack)

    5605

    207

    2nd hard drive

    (4) 300 GB, SAS, 2. 5 - inch, 10 K rpm additional hard drive (Hot Plug)

    205590

    217

    1 RAID - SCSI-controllerkaart

    6iR SAS internal RAID controller card

    212046

    278

    In of fabriek voorgeïnstalleerd besturingssysteem

    Not included

    8007

    285

    OMLIJSTING vooraan

    R610 Rack bezel

    205115

    669

    RAID-connectiviteit

    CFI: RAID 5 + spare. Min 4 HDD

    274642

    1009

    As

    Power output high, not redundant (1 power supply), 717W, BIOS Performance parameter

    205113

    1015

    1 hard drive

    300 GB, SAS, 2. 5 inch, 10 K RPM Hard Drive (Hot Plug)

    205569

    1209

    TCP/IP Offload Engine Enablement

    Ethernet embedded Broadcom Gigabit LOM with TOE 4 p

    77384

    1310

    Serverbeheerkaarten

    iDRAC6 Express Server Management Card

    205619

    1314

    > Why should I the extra CPU?

    UH... because you ask how much Windows 2003 virtual machine, you can run... I GUESS that means more out... That more CPU more the better overall performance of ESX, VM and ESX operating system are designed to work on ALL hearts, so the more hearts of better performance.

    In your config version right now, I wouldn't go above 20 VM.  as you plan to use only 1 hard drive?

    If you use 1 disc, you realize that you have only 1 disc do all the work... right?

  • Can I install weblogic32bit on a Windows 2003 R2 64 bit computer?

    To avoid configuration problems 'manully', I want to install weblogic32bit on Windows 2003 R2 64-bit computer, but all other Hyperion - Essbase, APS, ADM, planning, EPMA, shared services, smart view components, work space, etc., are all products of 64-bit. And I hope that when I have set up, I can choose the automatic configuration of the weblogic. Can I do this?

    Hello

    On a windows OS currently EAS is the 64-bit using an application such as weblogic server, I'm sure that we were no longer present, a few times.
    In any case, if you install the 32-bit web logic on a 64-bit computer, you should be ok for autodeploy pieces of 32-bit web app, I've done it before.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Windows 2003 server ASM backup

    Hello

    (New in ASM). I want to use ASM to manage the database on a Windows 2003 server. I looked on the information and understand I need to partition disks to raw spaces, name them, and then during the installation of Oracle, I have Oracle get all that disk space.

    Now, my question is: what should I use for a backup? RMAN? Export?

    Any ideas?

    Thank you

    VIC

    You can use FRA for RMAN backup. Create a separate FRA diskgroup and store RMAN backups, archivelogs and also flashback logs. If you are able to store your backups in the Storage Manager, you can then run RMAN backups in Storage Manager.

  • Hyperion 11.1.3 sustained environment - Windows 2003 64-bit

    We plan our Windows 2003 SP1 32 bit with Hyperion 9.3.1 migration to Windows 2003 64-bit (and whatever the SP is supported) with Hyperion 11.1.3

    By examining the oracle support doc that I fell on the exceptions to the use of Windows 64 bit with 11

    1. NOT taken in CHARGE FOR: Data Integration Management, reports Teradata Engine Production.
    2 EXCEPTION: Relationship management and FDM data do not support Oracle Access Manager, Oracle Application Server Single Sign-On and Oracle Identity Manager.
    3. 32-BIT BINARY ONLY FOR: data relationship management, EPM Workspace Services, FDM, Financial Reporting Services, Interactive Reporting Services, Shared Services (service native embedded OpenLDAP directory), smart lookup and Strategic Finance.
    4 FDM and strategic Finance cannot be deployed on the same computer where the Performance Management architect (64-bit) and financial management (64 bit) are deployed.


    I'm more concerned about #3. Does that mean that those services may not run on the 64-bit computer, OR they can run on 64-bit and 32-bit mode only

    JTS

    Hello

    This means that they are only binary 32 bits, but they work in a 64-bit environment.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • HP officejet d155xi - need driver for windows 2003

    Hi all

    I need your help.

    I have a hp printer officejet d155xi and need to install it in the Windows 2003 operating system but, unfortunately, theres no driver available for Win 2003.

    Are you able to provide me with that. Your help is really appreciated.

    Thank you

    lgeood03

    This problem is already solved. Simply download the Windows XP driver and it works to Windows 2003. Thank you all...

Maybe you are looking for

  • Why Firefox 4 for mac crash when you try to manage add-ons?

    Downloaded firefox 4 for mac yesterday. Work very well until I started to add add-ons/extensions. Since then, any attempt to manage extensions or add-ons blocks Firefox and requires a force quite. Help?

  • IOMEGA 1 TB USB 2.0 EGO

    I have lost the power of this backup drive, IOMEGA 1 TB USB 2.0 eGO. I have a SEAGATE PSU rated at 2 amps but the IOMEGA is rated at 1.5 amps. Can the power of the amp SEAGATE 2.0 be used? If not, where can I get a replacement power supply for 1.5 am

  • How can I allow installation archives unknown Publisher

    Tengo wont jdownloader y al try abrirlo me appears a mrnsaje than NSN's can run for being unknown Publisher Como hago para no Permite abrirlo

  • __how to troubleshoot my laptop?

    I need help... my computer shuts down in the middle of hands on? What am I I'm going to do to get rid of this... I'll wait for your reply... hope you can give me more advice about my request... Thank you very much!

  • How to open a .flv file

    music How can I open it (.flv)