Restoring Oracle 10g Using Command Line

OK. I have used Oracle 10g for about 4 hours now, so don't laugh when i ask dumb questions. I have installed Oracle 10g and just can't get the interface to work. So I used SQL in command line and I can connect and diconnnect from the database, I can log into the database as SYSDBA. So from what I can tell the database is working, not the interface though. I get Java Exceptions, URL:null errors and so on.... Can I use the command Prompt to restore a cold backup? I don't know how to use RMAN functions, but if thats the only way i guess i will have to learn. Thanks in advance.

Ok well to detail more....I performed a cold backup on a customer production server and need to restore that cold backup to a test server to check for consistency. So right now I have 2 files in a folder which are the cold backup files and a server with a non functioning Oracle Interface to restore. I can't startup the database in the interface, and when i navigate to the perform restore in the interface it asked me to supply host and database credentials. I did that and it returns a error of something like URL null cant contact agent. I forget what the exact error is and I have already uninstalled oracle hoping to install again to fix problem, but after 4 times I doubt it will. All Oracle Services are running also. The admin accout is part of the ora_dba group as well. Any other permission things I need to check for?

Similar Messages

  • I want to use command line to execute an oracle report?

    Dear all,
    I am using Oracle Application. Does anyone know how to use command line to execute an oracle report?
    I mean execute command from client to server.
    Please advice,
    Amy
    Edited by: amychan60 on Dec 13, 2009 11:33 PM

    Hi,
    Using Oracle Application Server the standard way for a client to request a report is via a HTTP request. This doesn't really lend itself to use directly on a command line on a client however you could use the following:
    explorer "http://your_server/reports/rwservlet?report=report_name.rdf&userid=userid/password@db_sid&paramform=no&destype=FILE&desname=c:\temp\filename.pdf&desformat=pdf"
    This will load explorer and submit that URL for you and request the report. You can change the parameters depending on the report output you require.
    If you need something that is silent (ie doesn't load in explorer) you'll need to investigate other ways of submitting that URL request, perhaps using Java. You could also use SRW.run_report (Event Driven Publishing) to submit the request using SQL.
    Cheers,
    Toby.

  • Oracle VM Manager Command Line Interface

    Can anybody suggest any tool for Oracle VM Manager Command Line Interface?
    Are they free?
    What kind of jobs we can automate using Command line?
    If they are not free is it worth spending money to buy them?

    Try public-yum.oracle.com
    and look at the oracle-addons channel below OEL.
    http://public-yum.oracle.com/repo/EnterpriseLinux/EL5/oracle_addons/i386/
    Regards
    Sebastian

  • OIM11g R1: Exporting Objects using command line utility

    Hi All,
    Is it possible to export/import OIM objects using command line utility (As per my requirement, I am not suppose to use the OIM Deployment Manager from UI)?
    I am looking for something like oimtool if provided OOTB by oracle.
    Regards,
    Sunny
    Edited by: 968494 on Nov 2, 2012 3:35 PM

    Sunny,
    What kind of objects do you want to export/import. I am asking because we have such command tool with Weblogic and OIM. Check this out:
    1-http://itnaf.org/2012/09/23/how-to-import-and-export-metadata-from-oim-mds/
    2-ttp://docs.oracle.com/cd/E14571_01/doc.1111/e14309/utils.htm
    I hope this helps,
    Thiago Leoncio.

  • Running Oracle Scripts from Command Line

    Hi,
    How can i run Oracle scripts from command line.
    Actually i need to run these scripts from MSBuild before running Unit test projects

    C:\>sqlplus @myscript
    That would be the easiest variation
    C:\>sqlplus user/passwd@tns_alias @myscript
    would be an often used variation
    And then there is of course the version with parameter passing:
    C:\>sqlplus user/passwd@tns_alias @myscript param1 ... paramx
    Dunno about MSBuild

  • How to print a specific page from a given PDF document, using command line, please?

    Hello,
    I need your advise, please. My customer requires to print a specfic page from a pdf document they receive, using command line or 3rd party solution.
    Anything you can advise, please? I have seen AcroRD32.exe options, but can only print the whole document.
    Kind Regards

    Not sure if there are any examples. The Acrobat SDK is a must, but it is best treated as documentation to study rather than examples to copy. The examples only illustrate a tiny fraction of the capabiliies.
    (One other note: the solution must involve the client owning Acrobat; Acrobat is not for server use).

  • Error while creating pool using command line

    I am trying to create connection pool using command line as :
    %JAVA_HOME%\bin\java weblogic.Admin -url %serUrl% -username %serUser% -password %serPwd% CREATE_POOL "XXXXXXXX" url=%DB2Url%,driver=com.ibm.db2.jcc.DB2Driver,testConnsOnReserve=true,testTableName=SYSTABLES,initialCapacity=2,maxCapacity=50,capacityIncrement=2,allowShrinking=true,props=user=%DB2Usr%;password=%DB2Pwd%
    This was working fine in 8.1 ,but when i am using same in 9.2 it gives following error in console:
    ======================================================
    <Feb 2, 2007 9:58:11 AM IST> <Error> <Deployer> <BEA-149265> <Failure occured in
    the execution of deployment request with ID '1170390490712' for task 'weblogic.
    deploy.configChangeTask.0'. Error is: 'weblogic.application.ModuleException: '
    weblogic.application.ModuleException:
    at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:268)
    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(Modu
    leListenerInvoker.java:93)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(Depl
    oymentCallbackFlow.java:360)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD
    river.java:26)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(Dep
    loymentCallbackFlow.java:56)
    Truncated. see log file for complete stacktrace
    weblogic.common.resourcepool.ResourceSystemException: Cannot load driver class:
    com.ibm.db2.jcc.DB2Driver
    at weblogic.jdbc.common.internal.JDBCUtil.parseException(JDBCUtil.java:2
    92)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.loadDriver(Connect
    ionEnvFactory.java:77)
    =====================================================
    when i am again trying to start server , its unable to start.
    Anybody have idea why this exception is coming.

    Hi ,
    Please check the FSV (field status variant) for your company code in OBY6 .
    then go to transaction code OB14 --> enter the FSV --> Check if field status group G006(Material account) is maintained there or not.
    if not please maintain it.
    Thanks & Regards
    Anshu

  • How to open url in acrobat reader using command line

    Hi,
    I need to open file from url using command line, but I'm still getting some error (wrong filename).
    I've tried for example this command:
    AcroRd32.exe http://www.adobe.com/devnet/acrobat/pdfs/pdf_open_parameters.pdf
    Can anyone help me and tell me what's wrong?

    You can't use a URL as parameter for AcroRd32.exe.

  • How to duplicate a target and add resources in xcode using command line?

    I am trying to use command line tools to create, add resources, build, archive and export to ipa in xcode. I could do the Build, Archive and Exporting to IPA through the command line tools(xcodebuild). But I also wanted to duplicate the target in the same project,add a new Info.plist to the duplicated target resource through command line itself. How to do it? I could not find any valuable answers by Googling. I could not find any proper documentation also in Apple Sites.
    Is there any tools that can be used to perform these? I don't want to use the UI. Please, help me out.

    The Mac App Store is not appropriate for command line tools. You can use any language you want.

  • Split PDF by pages using command line options

    Hi,
    I am after a product to split a PDF file by pages / bookmark using command line options.  It would be good, if the product comes with functionality to call from VB/.NET SDK.
    I googled and came across many products, out of these following looks good.  Has anyone used this.  Please suggest me.
    www.neeviapdf.com
    www.coherentpdf.com
    Thanks
    Sarav

    You are posting in the wrong forum. This forum is for Acrobat Scripting.

  • Read in file name + path using command line arguments

    Hi guys,
    I am trying to use command line arguments to read in the name of two files. The code below works as long as the files are on the class path.
    public class cmdLineArguments {
         public static void main(String[] args) {
              String xmlFile1 = args[0];
                    String xmlFile2 = args[1];
              System.out.println ("\nXmlFile1: " + args[0] + "\nXmlFile2: " + args[1]);
    }I would like to be able to read files that are not on the class path as well by entering their full path along with their names.
    In other words, It works if I type:
    C:\Documents and Settings\user\workspace\CmdLineArgs\src>java cmdLineArgs file1.xml file2.xmlbut not if I type:
    C:\Documents and Settings\user\workspace\CmdLineArgs\src>java cmdLineArgs c:\Documents and Settings\user\desktop\file1.xml c:\Documents and Settings\user\desktop\file2.xmlWould anyone please explain how I can edit the code to make it work? I guess I could take them both as a String, modify them manually (add a \ to it etc) but is there an easier way to do it? Even a reference to a tutorial, article etc about this would be very much appreciated.
    Also, any idea why a code would compile and run fine in Eclipse but would create an error from command line?
    Thanks a lot.

    You need to learn about cmd.exe which is used to process the command line. The arguments passed to any program is the command line split at white space so your command line arguments of
    c:\Documents and Settings\user\desktop\file1.xml c:\Documents and Settings\user\desktop\file2.xmlis turned into an array of
    "c:\Documents", "and", "Settings\user\desktop\file1.xml", "c:\Documents", "and", "Settings\user\desktop\file2.xml"In other words instead of 2 arguments you actually have 6.
    To get round this the file names need to be quoted
    java cmdLineArgs "c:\Documents and Settings\user\desktop\file1.xml" "c:\Documents and Settings\user\desktop\file2.xml"

  • How can I create a NetBoot image using command line tools?

    Is it possible to create a NetBoot image entirely using command line tools?
    (That is, without using the SystemImageUtility)
    If so, are there reasonable instructions posted somewhere?
    I don't believe I can use SystemImageUtility with my current setup,
    but I would be happy to hear how I could:
    I have a set of Xserve clusternodes but without optical drives or video cards.
    One node acts as the head, running DHCP, DNS, OpenDirectory, Xgrid.
    They are wired to a gigabit switch.
    I have a PowerBook connected on the subnet which has ServerAdmin Tools installed.
    I don't think when I run SystemImageUtility on my PowerBook that I can successfully image one of the clusternodes disks over the network.
    I have tried to start one node in target(Firewire) mode, connect it via Firewire
    to the head node, and run hdiutil from the head node to make a complete disk image of the clusternode's drive.
    But a NetBoot image requires the whole nbi file, right?
    Could I then use copy this disk image to my PowerBook and use SystemImageUtility on my PowerBook to create a NetBoot image from it?
    I really have tried to read the PDFs, but I found the section on System Imaging in the Command Line Reference rather unhelpful.
    Thanks for anyones help.
    dmaus
      Mac OS X (10.4.4)  

    To create a NetBoot image, you could just put the cluster node in target mode and attach it to your PowerBook. Then use SIU to create the NetBoot image.
    If you're trying to create a backup image of the disk, use hdiutil, or put in in target mode and create the image with Disk Utility.

  • How to Create Test Sequence Document in HTML using command line

    How to Create Test Sequence Document  in HTML using command line
    I have lot of sequences and I want to create Test Sequence Documentation in HTML format using Command Line automatically, is there a way to automate this task using .bat file or using   C#  .Net

    If you aren't able to figure out how to call a C++ DLL in .net then there may be another option.  Unfortunately I don't know how to do this off the top of my head and I don't have an example.
    The other option would be to change docgen.seq a little bit to the dialog doesn't display and you just hardcode the options.  Then you can use a command line to call testexec.exe: http://zone.ni.com/reference/en-XX/help/370052K-01/tsfundamentals/infotopics/startup_opt/
    Hope this helps,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • How to call a ODI Job using Command line?

    Hello All,
    Please help me on this..
    How to call an ODI Job using Command line?
    Thanks
    Ravikiran

    Generate a scenario of your package. Then go to <ODI_HOME>/oracledi/agent/bin in command prompt and invoke startscen command .
    startcmd.sh OdiStartScen -SCEN_NAME=scn_load_data -SCEN_VERSION=001 -CONTEXT=GLOBAL -AGENT_CODE=odiSchedAgent001
    Bhabani
    http://dwteam.in

  • Print using command line

    Hello experts,
    As mentioned in http://support.adobe.com/devsup/devsup.nsf/docs/52080.htm we can use command line instruction to open a pdf file in Acrobat Reader and print it.
    Does anyone know if this works both in Windows and in UNIX?
    Thank you.
    Gie Kian Siauw

    Hi Gie,
    On Unix, you can use commandline instruction to create ps files from the pdf files.
    for eg. "acroread -toPostScript -pairs a.pdf a.ps"
    You can also pipe the ps output to a printer.
    for eg: "acroread -toPostScript -pairs a.pdf - | lp -d <Printer Name>
    This is a headless process of printing pdf files without the launching of acroread.
    The file is not opened in the acroread and just printed.
    Regards,
    Rishi

Maybe you are looking for