export of database using expdb error

Hi all
I have a weird situation right now. I had a windows 2008 Server oracle 11 g machine running and I run to take backup of one of the two databases running in this machine in the USB drive connected to my PC.
I shared the USB key and gave access to everyone to write. Then map it across to the server.
then I open it as sys and create the directory in oracle and grant read, write permission as below.
sqlplus sys/password@TEST2 as sysdba;
create directory dumpdir as 'U:\dump';
grant read,write on directory dumpdir to system;

expdp system/password@TEST2 DIRECTORY=DUMPDIR DUMPFILE=expfull.dmp FULL=y LOGFILE=expfull.txt
and I get this error...
Export: Release 11.2.0.1.0 - Production on Fri Feb 18 09:47:42 2011

Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.

Connected to: Oracle Database 11g Release 11.2.0.1.0 - 64bit Production
ORA-39002: invalid operation
ORA-39070: Unable to open the log file.
ORA-29283: invalid file operation
ORA-06512: at "SYS.UTL_FILE", line 536
ORA-29283: invalid file operation
Can someone help please...

I thought that this problem is only for UNC paths. Is it same with mapped so readers?

Hmm,
I thought that the reverse is true, i.e. of the UNC works.

Tags: Database

Similar Questions

  • file not created when you use export to database

    I am creating a MAxL script to export the database but for some reason, the text file is empty (manual export works)

    Here is the script I use, any ideas on why it does not export the data

    set the error level.

    / * Connect to Essbase * /.

    Login "user1" 'password' on 'servername ';

    change the database for "Bud". "Budget" start archive file 'test ';

    database export "Bud". "Budget of all the data in the columns of data_file 'D:\\Hyperion\\essbase\\app\\Bud\\BUdtest1.txt '; »


    change the database for "Bud". "Budget of ' complete Archives;

    "exit";

    Not sure why you do the archives begin and end. When you perform an export, it locks the database. It could be the cause of your problems.

  • Upgrade of database using Export/Import

    Hello
    IM upgrading a Database 9i to 10g database
    1 > I created a database to 10g, for ex... ABC10... catproc. SQL, sql, and catalog of scripts run successfully
    2 > I took a full export of Database 9i... .for ex, ABC... using 9i exp utility
    3 > I created tablespaces and users in my new database 10g ABC10, exactly as they are in the 9i database

    I want to import into the database ABC10

    It's my order imp (imp utility of 10g)

    IMP file = xxx.dmp = full zzz.log = log is ignore = y feedback = 10000

    This will create problems or give any error...

    Please let me know the correct steps

    Thank you

    This will create problems or give any error...

    You should be all set. He might try to import SYSTEM objects, that you can ignore.

    Check the Clone has platform independent Db - 273140.1 from Metalink.

    Published by: André on January 15, 2009 10:30

  • On a Mac ios10.10, using the online service export to PDF format, an error message appears, "year error occurred while trying to access services."

    Can you advise steps I might take now?  On a Mac ios10.10, using the online service export to PDF format, an error message appears, "year error occurred while trying to access services."

    Hi Ringdoc,

    Please see this: "Error has occurred when trying to access this service" when you sign in to Acrobat.com

    Let us know how it goes!

    Best,

    Sara

  • Paraller error query server when creating the database using DBCA on UNIX

    Hi all
    I'm trying to create the database on UNIX platform of database 11g R1.
    At the end of the creation of the database using DBCA, I got the error:

    ORA - 12801:error reported in the parallel query P077 Server
    ORA-00018: maximum number of sessions exceeded
    ORA-06512: at "SYS." UTL_RECOMP", line 760
    ORA-06512: at "SYS." UTL_RECOMP", line 773
    ORA-06512: at line 1

    Please suggest what I can do to remove this problem.

    Concerning
    Girish Sharma

    He doesn't have to run in parallel, but it is probably

    Bug 8343487: UTLRP. PARALLEL EXECUTION, REGARDLESS OF THE CONFIGURATION OF SQL

    Werner

  • How to export the database and import the database using sql developer

    Hello

    I need to export the database to a server and import it on another server db using the export function of database under the Tools menu in SQLl developer. How to import it? This is for Oracle database 10g.

    Thank you

    Hello

    I think it generates the file .sql containing all the objects that you are exported. Then you can simply open the target database file and run as a script. Also, there is another forum for sqldeveloper related issues.

    Concerning

  • RCU error: unable to connect to the database using the contact information provided

    Hello

    I am not able to connect to the database using the remote control 11.1.1.10.1 to create patterns. I ran the UCR even a week ago and I managed to connect. My database and listener are up and running and the host and the credentials are correct. I don't know where is the problem. Any help will be appreciated. Attaching the screenshot for reference.

    rcu.PNG

    Concerning

    Oumaima

    Hi Handal

    Thanks for the reply. Looks like someone had blocked the firewall settings, so I was unable to connect to the database using the port.

    Thank you

    Oumaima

  • Oracle cloud virtual image, I was able to create the database using DBCA (virtual image) oracle cloud. I understand with the virtual image, we won't have a lot of tools like on DAAS cloud... But could please at least use us dbconsole?

    On oracle cloud virtual, image I was able to create the database using DBCA (virtual image) oracle cloud. I understand with the virtual image, we won't have a lot of tools like on DAAS cloud. But could please at least use us dbconsole?


    I tried to start dbconsole, and it did not work:

    [oracle@ltutest ~] $ emctl start dbconsole

    OC4J Configuration problem. /U01/app/Oracle/product/11.2.0/dbhome_1/OC4J/J2EE/OC4J_DBConsole_ltutest.compute-aulatrobeu83140.oraclecloud.internal_ORCL not found.


    According to the oracle help doc center - "creating a database on an instance of virtual image service" (http://docs.oracle.com/cloud/latest/dbcs_dbaas/CSDBI/GUID-29290A81-8798-4988-848E-77A1BE0CF08A.htm#GUID-4851560B-D4B6-42...)

    database was created with the option as:

    emConfiguration - NONE - storageType FS


    I guess we have to manually configure the em console, but when I tried to create it, he told me that "' Dbcontrol repository already exists." "

    When I try to start it, it exports the error

    [Oracle@ltutest ~] $ emctl start dbconsole

    OC4J Configuration problem. /U01/app/Oracle/product/11.2.0/dbhome_1/OC4J/J2EE/OC4J_DBConsole_ltutest.compute-aulatrobeu83140.oraclecloud.internal_ORCL not found.

    Could someone could give me help with this problem?


    Thanks Brian. I tried your command, and it works. Now I've encountered another problem, how can I browse the URL?

    I created the access rule for access remote on port 1521 and 1158. but when I try to browse the EM console URL, it does not work. all the configurations that I need to do?

  • Impossible to connect to my database using net service name

    Hello all;

    I'm trying to connect my database using net service_name, but I get the error message.
    I have an entry in tnsnames.ora and listener.ora.
    Please, help me to crack this error.



    SQL > select name from v$ database;

    NAME

    ORCLTEST


    SQL > grant connect, resource to u1 identified by u1;
    Grant succeeded.

    SQL > grant sysdba to u1;
    Grant succeeded.

    SQL > show the passage of parameter;

    VALUE OF TYPE NAME
    Remote_login_passwordfile string EXCLUSIVE

    SQL > shutdown immediate;
    The database is closed.
    The database is dismounted.
    ORACLE instance stops.


    The DBS directory:

    [oracle@linuxserver dbs] $ orapwd file = orapworcltest password = entries asdf1234 = 3


    export ORACLE_SID = orcltest
    [oracle@linuxserver ~] $ sqlplus/nolog

    SQL * more: Release 10.2.0.1.0 - Production on Sat Mar 9 19:24:22 2013

    Copyright (c) 1982, 2005, Oracle. All rights reserved.

    ERROR when you try to connect

    SQL > conn u1/u1@ORCLMYTEST
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux error: 2: no such file or directory


    SQL > conn u1/asdf1234@ORCLMYTEST
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux error: 2: no such file or directory


    Thanks in advance...

    969352 wrote:

    But you should go and get some classes on Oracle OR understand the Oracle documentation otherwise, you won't learn anything ever.

    -Yes. I learn and I work very hard. Few things is not documented ex (even this thread).

    In any case thanks...

    IMO, it's a security risk to allow the connection AS SYSDBA through the network & I never turn on any DB.

  • Creation of the database using DBCA

    Hello

    When I am creating database using DBCA then I get the error
    I use Linux NL2 2.6.18 - 84.el5xen #1 SMP Fri Feb 29 16:42:34 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux.


    [oracle@NL2 ~] $ dbca
    Unsettled DISPLAY.
    Set the DISPLAY environment variable, then run again.

    When

    [oracle@NL2 ~] $ echo $DISPLAY then he gave Virgin...


    I don't know how to set the DISPLAY variable?


    your answer is appericiated.

    Thanks in advance

    Published by: user647572 on Sep 9, 2010 05:58

    Published by: user647572 on Sep 9, 2010 06:02

    Hello

    # export DISPLAY = xx.xx.xx.xx:0.0
    XX - ipaddress

    or simply

    # export DISPLAY =: 0.0

    the above is: zero.zero

    -Pavan Kumar N

    Published by: pounet, Sep 9, 2010 18:42

    Published by: pounet, Sep 9, 2010 18:42

  • ORA-01102: cannot mount database in EXCLUSIVE mode in AIX after you have installed the database using dbca

    Hello!

    I have v7 IBM AIX and cluster HACMP set up two identical nodes included

    I have a head node after the installation of database using dbca I got error with the message:

    ORA-01102: cannot mount database in EXCLUSIVE mode

    Database cannot mount)

    Here is the information from the alert log:

    MON may 25 18:00:07 2015

    Starting ORACLE instance (normal)

    LICENSE_MAX_SESSION = 0

    LICENSE_SESSIONS_WARNING = 0

    SNA system picked latch-free 3

    With the help of LOG_ARCHIVE_DEST_1 parameter value by default as USE_DB_RECOVERY_FILE_DEST

    Autotune undo retention is enabled.

    IMODE = BR

    ILAT = 84

    LICENSE_MAX_USERS = 0

    SYS audit is disabled

    Commissioning:

    Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production

    With the options of partitioning, OLAP, Data Mining and Real Application Testing.

    ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1/

    System name: nodename

    Name of the node: nodename

    Version: 1

    Version: 7

    Machine: 0003F6E5D600

    Using the settings in /u01/app/oracle/product/11.2.0/dbhome_1/dbs/spfiletestdb.ora side Server spfile

    Parameters of the system with default values:

    process = 500

    sessions = 772

    = 18G memory_target

    control_files = "/ ctl1/oradata/testdb/control01.ctl".

    control_files = "/ ctl2/oradata/testdb/control02.ctl".

    control_files = "/ ctl3/oradata/testdb/control03.ctl".

    DB_BLOCK_SIZE = 8192

    compatible = "11.2.0.0.0."

    db_recovery_file_dest = ' / backup/fra.

    db_recovery_file_dest_size = 100G

    undo_tablespace = 'UNDOTBS1.

    Remote_login_passwordfile = "EXCLUSIVE."

    db_domain = «»

    dispatchers = "(PROTOCOL=TCP) (SERVICE = testdbXDB)" "

    audit_file_dest = ' / u01/app/oracle/admin/testdb/adump.

    AUDIT_TRAIL = 'DB '.

    db_name = 'testdb '.

    open_cursors = 300

    diagnostic_dest = ' / u01/app/oracle '.

    MON may 25 18:00:08 2015

    PMON started with pid = 2, OS id = 14418020

    MON may 25 18:00:08 2015

    PSP0 started with pid = 3, OS id = 17891420

    MON may 25 18:00:09 2015

    VKTM started with pid = 4, OS id = 14090348 high priority

    VKTM clocked at (10) precision of milliseconds with DBRM quantum (100) ms

    MON may 25 18:00:09 2015

    GEN0 started with pid = 5, OS id = 9109714

    MON may 25 18:00:09 2015

    DIAG started with pid = 6, OS id = 16449704

    MON may 25 18:00:09 2015

    DBRM started with pid = 7, OS id = 17104928

    MON may 25 18:00:10 2015

    DIA0 started with pid = 8, OS id = 13303950

    MON may 25 18:00:10 2015

    MA started with pid = 9, OS id = 12517522

    MON may 25 18:00:10 2015

    DBW0 started with pid = 10, OS id = 11993232

    MON may 25 18:00:10 2015

    LGWR started with pid = 11, OS id = 15401010

    MON may 25 18:00:10 2015

    CKPT started with pid = 12, OS id = 6619318

    MON may 25 18:00:10 2015

    SMON started with pid = 13, OS id = 16515222

    MON may 25 18:00:10 2015

    RECCE has started with pid = 14, OS id = 13172906

    MON may 25 18:00:10 2015

    MMON started with pid = 15, OS id = 15794324

    commissioning 1 dispatcher (s) for '(ADDRESS =(PARTIAL=YES) (PROTOCOL = TCP))' network address...

    MON may 25 18:00:10 2015

    MMNL started with pid = 16, OS id = 18546742

    commissioning or shared server 1...

    Environment ORACLE_BASE = / u01/app/oracle /.

    MON may 25 18:00:11 2015

    ALTER DATABASE MOUNT

    sculkget: failed to lock /u01/app/oracle/product/11.2.0/dbhome_1//dbs/lkTESTDB exclusive

    sculkget: lock held by PID: 3670226

    ORA-09968: cannot lock file

    IBM AIX RISC System/6000 error: 13: permission denied

    Additional information: 3670226

    ORA-1102 marked during: ALTER DATABASE MOUNT...

    But if I install the darabase even dbca on node secondary, all installed and executed successfully.

    But in the two nodes even permissions, user oracle and oinstall group ID identified the same and $ORACLE_BASE and $ORACLE_HOME user owner oracle and oinstall user group.

    A someone has encountered this problem and solved?

    Thanks in advance!

    Hello

    you are using IBM AIX PowerHA for your database (active/passive) configuration. then you just install the binaries 'once' on one of the nodes. then coordinate with your operating system administrator to configure the fail the test scenarios.

    for your question. before you start the database, make sure that there are no "orphaned" oracle process using the UNIX grep command:

    $ ps - ef | grep ora

    Kill the oracle of the hanging of the process to release the lock on the database file handle:

    $ kill-9

    I hope this helps.

    Kind regards

  • Rendering and export failed with an unknown error because of the color of Lumetri?

    I am rendering & export failures with an 'unknown error' code within Premiere Pro and Media Encoder.  I think that the problem is related to the Lumetri color filter that is widely used in all of the timeline.  There are hundreds of clips and each clip has 2-4 color filters Lumetri applied.  Each clip also has the red giant Cosmo and filter FilmConvert Pro 2.36.1 coming to overlap (visually underneath by order of effects filters Panel) all filters from Lumetri.  The reason why I believe that the problem is related to the Lumetri color filter is that it is the first time that I use.  Previously, I used the filter red giant Colorista III coloring, but last week decided to try using the Lumetri color for the same effect.

    Please let me know if anyone has had similar experiences, what were their solutions, or if someone has some ideas on how to solve this problem.  I would really appreciate the help!

    System details:

    Windows Pro 64-bit 10

    Intel i7 5960 X 8-core 3.0GHz (cooled water and too quick to 4.2 GHz)

    64GB 2133 MHz DRAM (non-ECC)

    2 x Nvidia GTX 980 4 GB GPUs (not in SLI)

    Intel 750 PCIe 400 GB SSD (for BONES)

    SSD Pro 1 TB Samsung 840 (for Adobe Cache)

    SSD Pro 1 TB Samsung 840 (for export)

    Matrix RAID 5 of 48 TB (eight 6 TB HDs with MegaRAID, LSI 9361-8i card) (for media)

    Information on the timeline:

    1920 x 1080 (original video files are MP4 UHD scaled down by 50% in the timeline)

    23.976 fps

    CUDA Mercury Render Engine

    Length of the sequence: 14:30

    I have discovered a workaround of sorts.  I noticed that when rendered in PP he would make progress before a failure (the green line that precedes the timeline would get a little longer).  If I saved this progress and rebooted the system, then tried to make it again, it would make a little further.  I've done this dozens of times for 4 hours make completely a 14:30 long sequence.

    I noticed doing this routine that my CPU was maxxed on all rendered.  Resource monitor reported the use of CPU to 143% continuous (all other indicators RAM, disk speed, etc. were well under their maximums).  This brings me to suspect that maybe there is a problem with overheating of the CPU.  But who would be closed for the entire system, correct?

    Once the entire sequence has been made (all the green lines above clips) I tried export by using the "Use preview files" option enabled.  Failure again.  I tried export uncompressed AVI, Quicktimes and PNG sequences.  All have failed.  I tried to export to PP as well as TEA.  The two have not.  I tried to export with option 'To make maximum quality' is enabled.  Surprisingly, this product the longest time encoding managed (32 minutes before failure).  As by chance, using the option of MRQ kept my CPU loads sawtoothing between 100% and 75%, then maybe there's something to the CPU overheating theory?

    In an ultimate attempt desperate to save my video project (looming deadlines!) I divided the sequence of Assembly in five servings (I cut on the melted white or fade-to-black transitions) and exported to each of them.  This copy export times within 20 minutes.  It worked.

    I noticed this another Adobe Forums thread that seems to speak of the similar difficulties with effects of Lumetri in Creative Cloud 2015.  Perhaps the Lumetri effects are not ready for prime time?

    https://forums.Adobe.com/thread/1236018?start=0 & tstart = 0

    Please let me know if anyone has any ideas on this.  In the meantime, I'll wind up this project and never use Lumetri effects again.

    Hello Kevin,

    Thank you for offering help to solve this problem.

    I was able to export the majority of the sequence with all the Lumetri effects, red giant and FilmConvert mixed in clips.  After the sequence using the tedious method described above I segmented the sequence in the quarterfinals; all exported except one.  I divided it into two; Another exported doesn't have.  I cut half too, once again only half exported without failure.  I finally reduced the embarrassing part until a second sequence clips 35; an interview with green screen with superimposed titles and superposition of b-roll clips.

    I removed all the effects of the Lumetri of these clips and replaced by Red Giant Colorista III effects, which are very similar to the effect of Lumetri in the GUI and application.  The sequence made completely without "unknown error."  Then it was exported successfully (and used about 70% when compared to more CPU activity 110% with the Lumetri to export).

    The difference would be that the effect of color of Lumetri has this YUV icon next to it in the effect controls panel?  Which means that YUV?

    The problem is perhaps not totally related to the color of Lumetri effect (as I said, I was able to export the majority of the 14:30 sequences use, although gradually by segmentation of the sequence into smaller portions), but if the move is a solution then I'll use it.

    I lost a day to fix this.  If this thread is useful to someone else, then it was worthwhile.

  • Unable to connect local database using net service name

    Hello all;


    FYI: This question has been posted in high availability. Now, it has been deleted from there.


    I'm trying to connect my local database using authentication remote.

    but make a mistake. Client & server are on the same server.


    SQL > conn u1/u1@primdb

    ERROR: ORA-12545: Connect failed because target host or object does not exist


    SQL > conn / as sysdba

    Connected.


    SQL > show parameter db_name;

    VALUE OF TYPE NAME

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

    db_name chain primary


    SQL > show parameter service_name.

    VALUE OF TYPE NAME

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

    service name string mydb


    SQL > show parameter db_domain;

    VALUE OF TYPE NAME

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

    db_domain string primary.com


    SQL > show parameter global_name;

    VALUE OF TYPE NAME

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

    global_names boolean FALSE


    SQL > select * from global_name;

    GLOBAL_NAME

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

    PRIMARY

    [oracle@localhost admin] $ lsnrctl start

    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on January 18, 2014 16:32:08

    Copyright (c) 1991, 2005, Oracle.  All rights reserved.

    From /u01/app/oracle/product/10.2.0/db_1/bin/tnslsnr: Please wait...

    TNSLSNR for Linux: Version 10.2.0.1.0 - Production

    System settings file is /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora

    Log messages written to /u01/app/oracle/product/10.2.0/db_1/network/log/listener.log

    Error listening on: (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=oel5.linuxserver) (PORT = 1521)))

    TNS-12545: Connect failed because target host or object does not exist

    AMT-12560: TNS:protocol adapter error

    TNS-00515: Connect failed because target host or object does not exist

    Listening port could start. See the above error messages...


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


    My listener.ora file content:

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (SID_NAME = primary)

    (ORACLE_HOME = u01/app/oracle/product/10.2.0/db_1)

    (GLOBAL_DBNAME = mydb.primary.com)

    )

    )

    LISTENER =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = oel5.linuxserver) (PORT = 1521))

    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC0))

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

    My tnsnames.ora content

    primdb =

    (DESCRIPTION =

    (ADDRESS_LIST =

    (ADDRESS = (PROTOCOL = TCP)(HOST= oel5.linuxserver) (PORT = 1521))

    )

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = mydb)

    )

    )

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

    $ tnsping primdb


    AMT Ping utility for Linux: Version 10.2.0.1.0 - Production on January 18, 2014 16:40:55

    Copyright (c) 1997, 2005, Oracle.  All rights reserved.

    Use settings files:

    TNSNAMES adapter used to resolve the alias

    Try to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (HOST = oel5.linuxserver)(PORT=1521))) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = mydb)))

    TNS-12545: Connect failed because target host or object does not exist

    Thanks in advance...


    SERVICE_NAME =? in tnsnames.ora file should MATCH what is reported by the listener EXACTLY (like one from below)

    > Service 'mydb.primary.com' has 1 instance (s).

    Instance of 'primary', State LOAN, has 1 operation for this service...

    Managers:

    "DEDICATED" set up: 0 denied: 0 status: ready

    LOCAL SERVER

    > Service 'primary.primary.com' has 1 instance (s).

    Instance of 'primary', State LOAN, has 1 operation for this service...

    Managers:

    "DEDICATED" set up: 0 denied: 0 status: ready

    LOCAL SERVER

    > Service 'primary_XPT.primary.com' has 1 instance (s).

  • How to create the database using the command line?

    Hi all

    Win7
    10g or 11g

    I want to create a new database using a script.

    I set up my new SID and oracle_home.

    Then sqlplus / DBA.

    then I execute a common script...
    startup nomount;
    create database PRODB
           logfile group 1 ('z:\oradata\PRODB\redo01.log',
                            'z:\oradata\PRODB\redo01b.log') size 50M,
                   group 2 ('z:\oradata\PRODB\redo02.log',
                            'z:\oradata\PRODB\redo02b.log') size 50M,
                   group 3 ('z:\oradata\PRODB\redo03.log',
                            'z:\oradata\PRODB\redo03b.log') size 50M,
                   group 4 ('z:\oradata\PRODB\redo04.log',
                            'z:\oradata\PRODB\redo04b.log') size 50M
           character set AL32UTF8
           datafile 'z:\oradata\PRODB\sysPRODB.dbf' size 500M
           sysaux datafile 'z:\oradata\PRODB\auxPRODB.dbf' size 300M
           undo tablespace undo
                   datafile 'z:\oradata\PRODB\undoPRODB.dbf' size 100M
           default temporary tablespace temp
                   tempfile 'z:\oradata\PRODB\tempPRODB.dbf' size 150M;
    @/opt/app/oracle/product/10.2.0/db_1/rdbms/admin/catalog.sql;
    @/opt/app/oracle/product/10.2.0/db_1/rdbms/admin/catproc.sql;
    connect system/manager;
    @/opt/app/oracle/product/10.2.0/db_1/sqlplus/admin/pupbld.sql;
    exit;
    
    
    
    SQL> startup nomount;
    ORA-12560: TNS:protocol adapter error
    SQL> create database PRODB
      2         logfile group 1 ('z:\oradata\PRODB\redo01.log',
      3                          'z:\oradata\PRODB\redo01b.log') size 50M,
      4                 group 2 ('z:\oradata\PRODB\redo02.log',
      5                          'z:\oradata\PRODB\redo02b.log') size 50M,
      6                 group 3 ('z:\oradata\PRODB\redo03.log',
      7                          'z:\oradata\PRODB\redo03b.log') size 50M,
      8                 group 4 ('z:\oradata\PRODB\redo04.log',
      9                          'z:\oradata\PRODB\redo04b.log') size 50M
     10         character set AL32UTF8
     11         datafile 'z:\oradata\PRODB\sysPRODB.dbf' size 500M
     12         sysaux datafile 'z:\oradata\PRODB\auxPRODB.dbf' size 300M
     13         undo tablespace undo
     14                 datafile 'z:\oradata\PRODB\undoPRODB.dbf' size 100M
     15         default temporary tablespace temp
     16                 tempfile 'z:\oradata\PRODB\tempPRODB.dbf' size 150M;
    I always hit it

    SQL > startup nomount;
    ORA-12560: TNS:protocol adapter error

    But if I run it on Linux is good.


    Help, please...


    Thank you very much

    zxy

    yxes2013 wrote:

    I want to create a new database using a script.

    Suggestion. DBCA allows to generate the database model and use the option "+ Save as scripts + ' (no need to create the database).

    In the scripts directory, there will be a couple of shell and SQL scripts to create the database. Use them as your CLI model for the creation of a custom database. (I guess that DBCA works the same on Windows as it does on Linux).

    Another option, if you are using Oracle XE, is to copy ORACLE_HOME/bin/createdb.sh (probably a + .cmd on Windows) script and change for use. If you manually add non-XE features to the script (such as the installation of the Java virtual machine) If you want a database of SE or EE. (whereby DBCA scripts are a better answer).

  • Connection to the remote database using Oracle 11 g Builder

    Hi all

    This could me stupid question, but I have installed Oracle Forms and reports 11g on Win 7 machine. I copied the file "tnsnames.ora' on the record ' ORACLE_HOME/Network/Admin". We use Oracle EBS R12 and I want to create a new report using 11 g.

    Using the report wizard after providing a simple query, we need to connect to the database. And even after the entry of TNS, I am getting error connecting to the database, following
    "REP-0501: the specified database can be connected.
    "ORA-12154: TNS: could not resolve the connect identifier specified.

    I am able to connect to the same database using the Report Builder (10.1.2.0). Is there another place where I need to set the TNS entry? How can I solve this error? Please guide...

    Kind regards
    Priyanka

    Hello

    In forms and reports 11g, default defined in tnsnames.ora is: ORACLE_INSTANCE\config.
    Please note that the ORACLE_INSTANCE is not the same as ORACLE_HOME.
    Example:
    ORACLE_HOME = D:\Oracle\Middleware\as_1
    ORACLE_INSTANCE = D:\Oracle\Middleware\instances\asinst_1

    If you set the admin TNS_ADMIN variable in the registry, you can point to a new location for tnsnames.ora

    Kind regards
    Alex

    If someone useful or appropriate please mark accordingly.

Maybe you are looking for

  • Impossible to disable "use system colors".

    I have Firefox 20.0 (binary package) on Gentoo x86_64 Uncheking 'Use system colours' works until Firefox is not closed, then reboot it is checked again. Same behavior setting 'browser.display.use_system_colors' as 'false' in: config. I tried to use a

  • Sign third-party LDAP in the Profile Manager

    Hello We have implemented the LDAP authentication against our OpenLDAP Ubuntu Server that works very well for all services except the Profile Manager. I can't see groups or users in the web UI of PM. Connection under server.local/mydevices does not w

  • My laptop starts to turn on at startup repair and it says tht something's wrong with the C:\ drive

    I have a Sony Vaio laptop and before it worked fine, but then all of a sudden all the applications I turn kept which crashing then crashed the computer laptop everything I restart the laptop everytime that happens and now it only when I turn it on do

  • ojpro 8000 wireless light guard period

    Hello, I have a new printer wireless ojpro 8000 (to replace my previous printer of the same model who died after the warranty). Work on an iMac using the Airport Express Terminal as a router. Printer is connected only wireless. IP address of the prin

  • FRA full and cannot connect to rman

    HelloI have on my FRA database at 100%, I try to connect to the rman delete archivelog (all met before ' sysdate-1' "). But the connection is not established, the prompt is not displayedWhen I try to sqlplus system / *-> ORA-00257: archiver error. Co