IMP-00058: ORACLE error 1017 met ORA-01017: invalid username/passwo

I want to run the Import tool with the user's system, I do not see as you see below script:
D:\TÖÖ\exp_ddl.dmp>sqlplus system/[email protected] as sysdba

SQL*Plus: Release 10.2.0.1.0 - Production on Mon Oct 4 16:40:58 2010

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


Connected to:
Personal Oracle Database 10g Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options

SQL> ALTER USER "SYSTEM" IDENTIFIED BY VALUES 'a';

User altered.

SQL> quit;
Disconnected from Personal Oracle Database 10g Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options

D:\TÖÖ\exp_ddl.dmp>imp userid=system/[email protected] file=exp_cas_ddl.dmp log=exp_ca
s_ddl.log full=y

Import: Release 10.2.0.1.0 - Production on Mon Oct 4 16:41:31 2010

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


IMP-00058: ORACLE error 1017 encountered
ORA-01017: invalid username/password; logon deniedUsername: system
Password:

IMP-00058: ORACLE error 1017 encountered
ORA-01017: invalid username/password; logon deniedUsername: SYSTEM
Password:

IMP-00058: ORACLE error 1017 encountered
ORA-01017: invalid username/password; logon denied
IMP-00005: all allowable logon attempts failed
IMP-00000: Import terminated unsuccessfully

D:\TÖÖ\exp_ddl.dmp>sqlplus system/[email protected] as sysdba

SQL*Plus: Release 10.2.0.1.0 - Production on Mon Oct 4 16:41:53 2010

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


Connected to:
Personal Oracle Database 10g Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options

SQL> select sysdate from dual;

SYSDATE
---------
04-OCT-10

SQL> quit;
Disconnected from Personal Oracle Database 10g Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options

D:\TÖÖ\exp_ddl.dmp>sqlplus system/[email protected]

SQL*Plus: Release 10.2.0.1.0 - Production on Mon Oct 4 16:46:13 2010

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

ERROR:
ORA-01017: invalid username/password; logon denied


Enter user-name:
I read the following thread:
Re: how to use sys as sysdba to import the database
That did not help much either i think.
I want is to have a single command that works "Imp" and gives the name tns-database as an input parameter and the user_id parameter must be in pramaters. I can run this way Import?

What about:

alter user system identified by A;

I guess that the command "change user identified byvalues '" is the command to settig the encrypted password.
Only, it will be useful carry passwords of a database to another, but do not for the definition of passwords initially.

Edited by: hartmutm the 04.10.2010 07:22

Tags: Database

Similar Questions

  • Cannot connect through the ORA-01017 Invalid Username/Password database link

    Hello

    I have two virtual machines with Oracle 11 g 2 and one with Oracle 12 c installed on RHEL 6

    I wanted to install a dblink between the 2, but after you have created the dblink I get error: ORA - 01017 Invalid username/password

    Now, I know, the error is clear enough but when I try to connect using netmgr it works

    So just to summarize, Oracle 12 c, I'm trying to connect to Oracle 11 g using a DBLINK but I get ORA-01017

    Since Oracle 12 c, I created a new service so that I have the remote db alias in tnsname.ora and at the end of the process, when they ask for test connection, I can connect successfully to remote db

    Then I created a dblink according to the following:

    SQL > CREATE PUBLIC DBLINK LINK DATABASE to CONNECT to

    "hr""" IDENTIFIED BY ' password ' with the HELP of 'REMOTEDB ';

    If I then select * from employees@dblink, I get the error

    What I've noticed, it is that in the 11g (the target machine) I can not connect with OS authentication, don't know if its related

    If i: sqlplus / as sysdba I get ORA-01031 insufficient become

    I have to connect to the Linux box as user 'oracle', who is a member of the groups oinstall dba

    Am I missing something?

    Thank you!

    CHRI$ says:

    SQL > CREATE PUBLIC DATABASE LINK DBLINK TO CONNECT TO

    'hr' IDENTIFIED BY 'password' with the HELP of "REMOTEDB";

    You will probably have to create the link without containing the user name and the word in double quotes.

  • Getting ORA-01017: invalid username/password error only with specific tools

    Hello
    I'm still a Junior DBA familiar with Oracle. I have difficulties to access one of my databases with tools of TOAD and SQLDetective. When I try to connect to my database using these tools, I get the error:

    ORA - 01017: name of user and password invalid. connection refused

    Even if the password and user name is correct.

    I can correctly connect through other tools like SQLTools and sqlplus. I searched on this problem and I've seen people with the same problems, but I could not find a solution. The strange thing is, I can use TOAD and SQLDetective to connect to other databases with no problems. It seems to be present a specific database.

    My database is a database 11g on linux machine. I have clients 9i and 10 g installed on my machine. All my applications use the 9i on my machine home tnsnames.

    Any help on this would be greatly appreciated. Thank you.

    RGS,
    Rob

    Published by: rgilligan on April 16, 2010 02:11

    Hello, if it is 11g, look at the sec_case_sensitive_logon parameter. This default is true, which makes the case-sensitive password. Some tools/applications do a HIGHER or LOWER on the password and so what can the reason for the error

    Henner

  • Session beginning of OGG-00664 OIC error (status = 1017-ORA-01017: invalid)

    All,

    I make a problem while doing the initial load process.

    ENV-
    OEL32, 11.2.0.2 - SOURCE AND TARGET db TIME on a machine.
    -------


    GGSCI (localhost) 7 > discovers the eini13 report


    2011-10-31 16:49:51 INFO OGG-01017 Wildcard resolution IMMEDIATE value because SOURCEISTABLE is used.

    ***********************************************************************
    Oracle GoldenGate Capture for Oracle
    Version 11.1.1.1 OGGCORE_11.1.1_PLATFORMS_110421.2040
    Linux, x 86, 32-bit (optimized), Oracle 11 g on April 30, 2011 22:35:14

    Copyright (C) 1995, 2011, Oracle and/or its affiliates. All rights reserved.


    From 2011-10-31 16:49:51
    ***********************************************************************

    Version of the operating system:
    Linux
    Version #1 SMP kills Jan 4 07:23:44 this version of 2011, 2.6.18 - 238.0.0.0.1.el5
    Node: localhost.localdomain
    Machine: i686
    limit software
    Address space size: unlimited unlimited
    Heap size: unlimited unlimited
    File size: unlimited unlimited
    Time CPU: unlimited unlimited

    Process ID: 4845

    Description:

    ***********************************************************************
    * In the course of a run with the following parameters *.
    ***********************************************************************
    EXTRACT EINI13
    WEST OF USERNAME, PASSWORD *.

    Context of the source:
    SourceModule: [ggdb.ora.sess]
    SourceID: [/ scratch/sganti/view_storage/sganti_core_lin32/oggcore/OpenSys/src/gglib/ggdbora /]
    ocisess.c]
    SourceFunction: [OCISESS_try]
    SourceLine: [500]
    ThreadBacktrace: [12] elements
    : [/ apps/oracle/product/gg_amer/extract (CMessageContext::AddThreadContext () + 0 x 26) [0]
    x 8289366]]
    : [/ apps/oracle/product/gg_amer/extract (CMessageFactory::CreateMessage (CSourceContex]
    t *, unsigned int,...) (+0x817) [0x827fae7]]
    : [/ apps/oracle/product/gg_amer/extract (_MSG_ERR_ORACLE_OCI_ERROR_WITH_DESC (CSourceC]
    [(ONTEXTE *, int, const char *, const char *, CMessageFactory::MessageDisposition) + 0x8b) [0x824230b]]
    : [/ apps/oracle/product/gg_amer/extract (OCISESS_try (int, OCISESS_context_def *, char))]
    const *,...) (+0x376) [0x81cd156]]
    : [/ apps/oracle/product/gg_amer/extract (OCISESS_logon (OCISESS_context_def *, con char))]
    [(St *, const char *, const char *, int, int, int) + 0x8b4) [0x81ce604]]
    : [/ apps/oracle/product/gg_amer/extract (DBOCI_init_connection_logon (const char *, cha))]
    [(const r *, const char *, int, int, int, char *) + 0 x 58) [0x81bdce8]]
    : [apps/oracle/product/gg_amer/extract [0x81c23da]]
    : [/ apps/oracle/product/gg_amer/extract (gl_odbc_param (const char *, const char *, char))]
    [)) + 0 x 36) [0x81c29b6]]
    : [apps/oracle/product/gg_amer/extract [0x814bfec]]
    : [apps/oracle/product/gg_amer/extract(main+0x1dc) [0x81529cc]]
    : [lib/libc.so.6(__libc_start_main+0xdc) [0x476e9c]]
    : [apps/oracle/product/gg_amer/extract(__gxx_personality_v0+0x1c5) [0 x 8120491]]

    Beginning session 2011-10-31 16:49:51 OGG - 00664 OIC error (status = 1017-ORA-01017: invalid user name)
    / Password; connection refused).

    2011-10-31 16:49:51 ERROR OGG-01668 PROCESS ABENDING.


    GGSCI (localhost) 8 >

    Name of user and password invalid.

    Your GoldenGate database user named West (and whatever your password)? Also, check the correct cases 11g password is case-sensitive default passwords.

  • IMP-00003: ORACLE error 959

    Hi all

    Am import of production dump in our UAT environment.

    Import failed with the below error:


    IMP-00003: ORACLE error 959

    ORA-00959: tablespace "TMEDX11" does not exist

    This means that the import was stopped with this error? or it will continue after this error?... am tracking this... import don't move any more than that.objects after that have useful, likely created in the target DB tablespaces?...

    Do I have to kill this process and continue to import all the items again?


    Please notify

    10.2.0.4 on solaris


    Kai

    If the target table is partitioned in the same way as the source, put IGNORE = o
    in your import command.

  • Error in ODI, ORA-01747: invalid column, table.column, or user.table.column specification

    ODI-1227: SrcSet0 (load) task fails on the source of ORACLE STAGING_YYY connection.

    Caused by: java.sql.SQLSyntaxErrorException: ORA-01747: invalid column, table.column, or user.table.column specification

    We get the above error whenever we run an ODI interface,
    This interface is straight forrwad a mapping update incremental IKM Oracle, although we have identified the problem but do not know how it could be fixed

    Source table that contains two columns that are generally identified as the key of DB

    NAME

    / / DESC

    the target too has the same columns. If we disable these mappings to columns from the Active maps the interface works very well, however, with the latter, it fails. We will not be able to change the name of the column in the target because it is a table of Oracle products and has several dependencies to the breast.

    Please suggest an alternative and also if our understanding is correct.

    Thanks in advance.

    Jay

    HI Jay

    change the column as DESC and put "DESC" in the name, and save it for all the source concerned target and remapping to remove the column from the interface

    Thank you

    P

  • SQL * Loader - rejected records - error on table ORA-01722: invalid number

    Get the following errors:

    Please tell me where I'm wrong?
    The log file and extracts the data file with the control file is attached.
    Also guide me please how I can download 4900 files at once?

    -------------------------------------
    SQL * Loader: release 11.1.0.7.0 - Production on Fri 14 Oct 03:06:06 2011

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

    Control file: sample.ctl
    Data file: Cities.csv
    Bad leadership: Cities.bad
    Discard File: none is specified

    (Allow all releases)

    Number of loading: ALL
    Number of jump: 0
    Authorized errors: 50
    Link table: 64 lines, maximum of 256000 bytes
    Continuation of the debate: none is specified
    Path used: classics

    Table CITY, loaded from every logical record.
    Insert the option in effect for this table: INSERT

    Column Position Len term Encl. Datatype name
    ------------------------------ ---------- ----- ---- ---- ---------------------
    FIRST ID *, CHARACTER
    35. ACCORDING TO NAME, ' CHARACTER
    COUNTRYCODE 3, ' CHARACTER
    THE NEXT POPULATION * CHARACTER WHT

    Sheet 1: Rejected - error on the table CITY, POPULATION column.
    ORA-01722: invalid number

    Sheet 2: Rejected - error on the table CITY, POPULATION column.
    ORA-01722: invalid number

    Sheet 3: Rejected - error on the table CITY, POPULATION column.
    ORA-01722: invalid number

    Folder 4: Rejected - error on the table CITY, POPULATION column.
    ORA-01722: invalid number

    Sheet 5: Rejected - error on the table CITY, POPULATION column.
    ORA-01722: invalid number

    Sheet 6: Rejected - error on the table CITY, POPULATION column.
    ORA-01722: invalid number

    Sheet 7: Rejected - error on the table CITY, POPULATION column.
    ORA-01722: invalid number

    Sheet 8: Rejected - error on the table CITY, POPULATION column.
    ORA-01722: invalid number

    File 9: Rejected - error on the table CITY, POPULATION column.
    ORA-01722: invalid number

    Case 10: Rejected - error on the table CITY, POPULATION column.
    ORA-01722: invalid number

    Factsheet 11: Rejected - error on the table CITY, POPULATION column.
    ORA-01722: invalid number

    Sheet 12: Rejected - error on the table CITY, POPULATION column.
    ORA-01722: invalid number

    File 13: Rejected - error on the table CITY, POPULATION column.
    ORA-01722: invalid number

    Fact sheet 14: Rejected - error on the table CITY, POPULATION column.
    ORA-01722: invalid number

    Fact sheet 15: Rejected - error on the table CITY, POPULATION column.
    ORA-01722: invalid number

    Sheet 16: Rejected - error on the table CITY, POPULATION column.
    ORA-01722: invalid number

    File 17: Rejected - error on the table CITY, POPULATION column.
    ORA-01722: invalid number

    Sheet 18: Rejected - error on the table CITY, POPULATION column.
    ORA-01722: invalid number

    File 19: Rejected - error on the table CITY, POPULATION column.
    ORA-01722: invalid number

    Sheet 20: Rejected - error on the table CITY, POPULATION column.
    ORA-01722: invalid number

    Sheet 21: Rejected - error on the table CITY, POPULATION column.
    ORA-01722: invalid number

    Account 22: rejected - error on the table CITY, POPULATION column.
    ORA-01722: invalid number

    Sheet 23: Rejected - error on the table CITY, POPULATION column.
    ORA-01722: invalid number

    Record number of 24: rejected - error on the table CITY, POPULATION column.
    ORA-01722: invalid number

    Sheet 25: Rejected - error on the table CITY, POPULATION column.
    ORA-01722: invalid number

    Fact sheet 26: Rejected - error on the table CITY, POPULATION column.
    ORA-01722: invalid number

    Fact sheet 27: Rejected - error on the table CITY, POPULATION column.
    ORA-01722: invalid number

    Record 28: Rejected - error on the table CITY, POPULATION column.
    ORA-01722: invalid number

    Record 29: rejected - error on the table CITY, POPULATION column.
    ORA-01722: invalid number

    Record 30: Rejected - error on the table CITY, POPULATION column.
    ORA-01722: invalid number

    Record of 31: rejected - error on the table CITY, POPULATION column.
    ORA-01722: invalid number

    • Statement 32: Rejected - error on the table CITY, POPULATION column.
    ORA-01722: invalid number

    Record 33: Rejected - error on the table CITY, POPULATION column.
    ORA-01722: invalid number

    Page 34: Rejected - error on the table CITY, POPULATION column.
    ORA-01722: invalid number

    Record 35: Rejected - error on the table CITY, POPULATION column.
    ORA-01722: invalid number

    Record 36: Rejected - error on the table CITY, POPULATION column.
    ORA-01722: invalid number

    Record 37: Rejected - error on the table CITY, POPULATION column.
    ORA-01722: invalid number

    Record 38: Rejected - error on the table CITY, POPULATION column.
    ORA-01722: invalid number

    Sheet 39: Rejected - error on the table CITY, POPULATION column.
    ORA-01722: invalid number

    Record 40: Rejected - error on the table CITY, POPULATION column.
    ORA-01722: invalid number

    Sheet 41: Rejected - error on the table CITY, POPULATION column.
    ORA-01722: invalid number

    Page 42: Rejected - error on the table CITY, POPULATION column.
    ORA-01722: invalid number

    Record 43: Rejected - error on the table CITY, POPULATION column.
    ORA-01722: invalid number

    Sheet 44: Rejected - error on the table CITY, POPULATION column.
    ORA-01722: invalid number

    Record 45: Rejected - error on the table CITY, POPULATION column.
    ORA-01722: invalid number

    • Statement 46: Rejected - error on the table CITY, POPULATION column.
    ORA-01722: invalid number

    Record 47: Rejected - error on the table CITY, POPULATION column.
    ORA-01722: invalid number

    Record 48: Rejected - error on the table CITY, POPULATION column.
    ORA-01722: invalid number

    Record 49: Rejected - error on the table CITY, POPULATION column.
    ORA-01722: invalid number

    Page 50: Rejected - error on the table CITY, POPULATION column.
    ORA-01722: invalid number

    Record 51: Rejected - error on the table CITY, POPULATION column.
    ORA-01722: invalid number


    NUMBER of MAXIMUM ERRORS EXCEEDED - above the statistics reflect partial performance.

    CITY table:
    0 rows successfully loaded.
    51 lines not filled due to data errors.
    0 rows not loading because all WHEN clauses were failed.
    0 rows not populated because all fields are null.


    The space allocated to bind table: 35840 bytes (64 lines)
    Bytes of read buffer: 1048576

    Total logical records ignored: 0
    Total logical records read: 64
    Total rejected logical records: 51
    Total logical records ignored: 0

    Run started on Fri 14 Oct 03:06:06 2011
    Run finished Fri Oct 14 03:06:12 2011

    Time was: 00:00:06.18
    Time processor was: 00:00:00.03



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

    my control file (sample.ctl):

    Load data infile 'Cities.csv '.
    in the town of table
    fields completed by «,»
    (external id integer,
    char (35) name box by ' ', '
    CountryCode tank (3) box by ' ', '
    external population integer terminated by '\n '.
    )

    my data (Cities.csv) file (it contains 4900 documents, but I show here just 4 records for ease)

    3830, "Virginia Beach", "USA", 425257
    3831, 'Atlanta', 'USA', 416474
    3832, "Sacramento", "USA", 407018
    3833, 'Oakland', 'USA', 399484


    Thanks in advance!

    Watch when I have a little change your database as follows

    1,'Kabul','AFG',1780000
    2,'Qandahar','AFG','237500'
    3,'Herat','AFG','186800'  
    

    I got the same error (last 2 rows rejected for the same number invalid error)

    mhouri > select * from cities;
    
            ID NAME                                COU POPULATION
    ---------- ----------------------------------- --- ----------
             1 Kabul                               AFG    1780000
    
    SQL*Loader: Release 10.2.0.3.0 - Production on Fri Oct 14 10:38:06 2011
    
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    
    Control File:   cities.ctl
    Data File:      cities.dat
      Bad File:     cities.bad
      Discard File:  none specified
    
     (Allow all discards)
    
    Number to load: ALL
    Number to skip: 0
    Errors allowed: 50
    Bind array:     64 rows, maximum of 256000 bytes
    Continuation:    none specified
    Path used:      Conventional
    
    Table CITIES, loaded from every logical record.
    Insert option in effect for this table: INSERT
    
       Column Name                  Position   Len  Term Encl Datatype
    ------------------------------ ---------- ----- ---- ---- ---------------------
    ID                                  FIRST     *   ,       CHARACTER
    NAME                                 NEXT    35   ,    '  CHARACTER
    COUNTRYCODE                          NEXT     3   ,    '  CHARACTER
    POPULATION                           NEXT     *  WHT      CHARACTER            
    
    Record 4: Rejected - Error on table CITIES, column ID.
    Column not found before end of logical record (use TRAILING NULLCOLS)
    Record 2: Rejected - Error on table CITIES, column POPULATION.
    ORA-01722: invalid number
    
    Record 3: Rejected - Error on table CITIES, column POPULATION.
    ORA-01722: invalid number
    
    Table CITIES:
      1 Row successfully loaded.
      3 Rows not loaded due to data errors.
      0 Rows not loaded because all WHEN clauses were failed.
      0 Rows not loaded because all fields were null.
    
    Space allocated for bind array:                  35840 bytes(64 rows)
    Read   buffer bytes: 1048576
    
    Total logical records skipped:          0
    Total logical records read:             4
    Total logical records rejected:         3
    Total logical records discarded:        0
    
    Run began on Fri Oct 14 10:38:06 2011
    Run ended on Fri Oct 14 10:38:06 2011
    
    Elapsed time was:     00:00:00.23
    CPU time was:         00:00:00.09
    

    Value of the population within the data file must be a number

    Best regards

    Mohamed Houri

  • Error ORA-01017

    Hello

    I am a part-time student / full-time systems admin. Ive worked on a sale to oracle using express request and sql more, express 11 g version.
    Everything was going perfectly until tonight when I tried to login as myself (user mcgrath) and I got the message ORA-01017 invalid username and password.
    This account was perfect. I can connect to specific request without problem with the same user name. I even changed my password is sql express and retried liked.
    As I began to work on the security I have created a new workspace (College user) so I can work on grants and revokes them. I can connect to sql more with this account without problem. somewhere along the way I blocked myself.
    When I select the username, account_status from dba_users it says user mcgrath is open.

    Any ideas.

    Thank you

    Malcolm

    984629 wrote:
    Hello

    I am a part-time student / full-time systems admin. Ive worked on a sale to oracle using express request and sql more, express 11 g version.
    Everything was going perfectly until tonight when I tried to login as myself (user mcgrath) and I got the message ORA-01017 invalid username and password.
    This account was perfect. I can connect to specific request without problem with the same user name. I even changed my password is sql express and retried liked.
    As I began to work on the security I have created a new workspace (College user) so I can work on grants and revokes them. I can connect to sql more with this account without problem. somewhere along the way I blocked myself.
    When I select the username, account_status from dba_users it says user mcgrath is open.

    Any ideas.

    Can you put an exact version number - the value returned by V$ VERSION, assuming you have access?

    You can connect using Apex but not SQL * PLUS, even after changing the password.

    Apex users/passwords reflect those of Oracle but do not duplicate them. Change a password by Apex Apex should have no effect. If you have access to an Apex user with DBA privilege, you can change the password of another account using the Oracle SQL tool.

    In addition, 11g database schema password is case sensitive.

    If you have access to a log of account inside DBA in SQL * PLUS and use it to change the password by using ALTER USER some IDENTIFIED BY new_password. If you are not security-conscious to do the password for name in the Apex and Oracle be the same if you do not have to remember the 2 different passwords :)

  • avctl start_collector - java.sql.SQLException: ORA-01017: name of user and password invalid. connection refused

    Hi all

    I was hoping you could help me.  After a server restart scheduled that I tried to start my fundraiser, when I did, I got the following error:

    09/29/14 10:19:36       Error executing command start_collector
    Internal Error
            at oracle.av.common.AuditException.toAuditException(AuditException.java:253)
            at oracle.av.management.impl.HttpManagementAdaptor.getData(HttpManagementAdaptor.java:259)
            at oracle.av.management.impl.HttpManagementAdaptor.getData(HttpManagementAdaptor.java:291)
            at oracle.av.management.impl.HttpManagementAdaptor.startCollector(HttpManagementAdaptor.java:434)
            at oracle.av.management.impl.ManagementServiceImpl.startCollector(ManagementServiceImpl.java:651)
            at oracle.av.management.impl.ManagementServiceImpl.startCollector(ManagementServiceImpl.java:696)
            at oracle.av.management.impl.ManagementServiceImpl.startCollector(ManagementServiceImpl.java:707)
            at oracle.av.avca.control.StartCollectorTask.executeTask(StartCollectorTask.java:82)
            at oracle.av.avca.backend.BaseTask.execute(BaseTask.java:104)
            at oracle.av.avca.Avctl.startCTL(Avctl.java:180)
            at oracle.av.avca.Avctl.main(Avctl.java:213)
    Nested Exception:
    java.sql.SQLException: ORA-28001: the password has expired
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:67)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:522)
            at oracle.av.common.AuditException.toAuditException(AuditException.java:250)
            at oracle.av.management.impl.HttpManagementAdaptor.getData(HttpManagementAdaptor.java:259)
            at oracle.av.management.impl.HttpManagementAdaptor.getData(HttpManagementAdaptor.java:291)
            at oracle.av.management.impl.HttpManagementAdaptor.startCollector(HttpManagementAdaptor.java:434)
            at oracle.av.management.impl.ManagementServiceImpl.startCollector(ManagementServiceImpl.java:651)
            at oracle.av.management.impl.ManagementServiceImpl.startCollector(ManagementServiceImpl.java:696)
            at oracle.av.management.impl.ManagementServiceImpl.startCollector(ManagementServiceImpl.java:707)
            at oracle.av.avca.control.StartCollectorTask.executeTask(StartCollectorTask.java:82)
            at oracle.av.avca.backend.BaseTask.execute(BaseTask.java:104)
            at oracle.av.avca.Avctl.startCTL(Avctl.java:180)
            at oracle.av.avca.Avctl.main(Avctl.java:213)
    
    

    So I checked the database of Audit Vault and of course, uses that have expired there, Audit Vault users expire after 180 days.

    SELECT username, account_status, expiry_date
      FROM dba_users
    WHERE account_status = 'EXPIRED';
    
    

    I had a user "AGENT_BW3", which has expired. I also had the SYSAV & AVREPORTUSER that have expired.  So I changed my profile and then reset the password for these uses to the same than what have been before

    Now when I try to restart the collector, I get the following:

    09/29/14 10:36:02       Error executing command start_collector
    Internal Error
            at oracle.av.common.AuditException.toAuditException(AuditException.java:253)
            at oracle.av.management.impl.HttpManagementAdaptor.getData(HttpManagementAdaptor.java:259)
            at oracle.av.management.impl.HttpManagementAdaptor.getData(HttpManagementAdaptor.java:291)
            at oracle.av.management.impl.HttpManagementAdaptor.startCollector(HttpManagementAdaptor.java:434)
            at oracle.av.management.impl.ManagementServiceImpl.startCollector(ManagementServiceImpl.java:651)
            at oracle.av.management.impl.ManagementServiceImpl.startCollector(ManagementServiceImpl.java:696)
            at oracle.av.management.impl.ManagementServiceImpl.startCollector(ManagementServiceImpl.java:707)
            at oracle.av.avca.control.StartCollectorTask.executeTask(StartCollectorTask.java:82)
            at oracle.av.avca.backend.BaseTask.execute(BaseTask.java:104)
            at oracle.av.avca.Avctl.startCTL(Avctl.java:180)
            at oracle.av.avca.Avctl.main(Avctl.java:213)
    Nested Exception:
    java.sql.SQLException: ORA-01017: invalid username/password; logon denied
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:67)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:522)
            at oracle.av.common.AuditException.toAuditException(AuditException.java:250)
            at oracle.av.management.impl.HttpManagementAdaptor.getData(HttpManagementAdaptor.java:259)
            at oracle.av.management.impl.HttpManagementAdaptor.getData(HttpManagementAdaptor.java:291)
            at oracle.av.management.impl.HttpManagementAdaptor.startCollector(HttpManagementAdaptor.java:434)
            at oracle.av.management.impl.ManagementServiceImpl.startCollector(ManagementServiceImpl.java:651)
            at oracle.av.management.impl.ManagementServiceImpl.startCollector(ManagementServiceImpl.java:696)
            at oracle.av.management.impl.ManagementServiceImpl.startCollector(ManagementServiceImpl.java:707)
            at oracle.av.avca.control.StartCollectorTask.executeTask(StartCollectorTask.java:82)
            at oracle.av.avca.backend.BaseTask.execute(BaseTask.java:104)
            at oracle.av.avca.Avctl.startCTL(Avctl.java:180)
            at oracle.av.avca.Avctl.main(Avctl.java:213)
    
    

    Now of course I went on this issue the wrong way, is - that someone has encountered this problem before?

    Just to add, I tried to connect with the same passwords for all users of Audit Vault in sqlplus and all work fine, its only the "start_collector" that has the problem.

    Kind regards.

    I fixed it by following these steps.

    When the audit Vault database is created all users will see the profile by DEFAULT, it is a grace expires 180 days.  I needed to reset user passwords that I did.  The part that missed me, was that even if I put the passwords for what they had been before the expiry I still need to change the portfolio.

    sqlplus SYSAVDVA/xx

    -User AV_ADMIN

    ALTER USER SYSAV IDENTIFIED BY xx;

    -Server wallet

    CD $ORACLE_HOME/network/admin/avwallet

    AVCA create_credential - wrl. dbalias - av - usr SYSAV/xx

    sqlplus SYSAVDVA/xx

    -User AV_AGENT

    ALTER USER IDENTIFIED BY AGENT_BW3 xx.

    -Portfolio Officer

    CD $ORACLE_HOME/network/admin/avwallet

    AVCA create_credential - wrl. dbalias - av - usr AGENT_BW3/xx

    This fixed the problem.

  • ORA-01017: username/password invalid name - OS authentication failure

    Hi all

    Oracle 11G 11.2.0.3.0 running on Windows 2008R2 64-bit

    I am trying to get Windows authentication to work, local to the database server, but I continue to turn in the error ORA-01017.

    C:\Users\xxx>sqlplus /
    SQL*Plus: Release 11.2.0.3.0 Production on Thu Aug 14 09:00:29 2014
    Copyright (c) 1982, 2011, Oracle.  All rights reserved.
    ERROR:
    ORA-01017: invalid username/password; logon denied
    

    When I connect as SYS, here are the parameter values of os_auth (os_authent_suffix must be ' ' due to a requirement of the application.) We strive to connect an application to a remote server by using the windows credentials (IE DOMAIN\APPSVC)

    C:\Users\xxx>sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.3.0 Production on Thu Aug 14 09:01:26 2014
    Copyright (c) 1982, 2011, Oracle.  All rights reserved.
    
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> show parameter os_auth;
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    os_authent_prefix                    string      ""
    remote_os_authent                    boolean     FALSE
    

    Here's my tnsnames file:

    # tnsnames.ora Network Configuration File: C:\app\Oracle11G\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    ORACLR_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
        )
        (CONNECT_DATA =
          (SID = CLRExtProc)
          (PRESENTATION = RO)
        )
      )
    ORCL =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = CGYORADEV02.corp.DOMAIN.com)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = orcl.corp.DOMAIN.com)
        )
      )
    

    Here's my sqlnet.ora file:

    # sqlnet.ora Network Configuration File: C:\app\Oracle11G\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    # This file is actually generated by netca. But if customers choose to 
    # install "Software Only", this file wont exist and without the native 
    # authentication, they will not be able to connect to the database on NT.
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    

    I created the user as below:

    SQL> select * from all_users;
    USERNAME                          USER_ID CREATED
    ------------------------------ ---------- ---------
    DOMAIN\XXX               98 14-AUG-14
    

    So the first step, what I'm trying to prove that the database server can accept and allow the windows credentials and then I take the next step in trying to test authentication remotely to this database server using authentication Windows/OS

    Any help appreciated, thanks in advance

    You seem to have put the os_authent_prefix to a pair of double quotes. This is not going to work! You must erase it completely, the use of quotes twosingle. Like this:

    orclz >

    orclz > alter system set os_authent_prefix = "scope = spfile;

    Modified system.

    orclz > force boot

    ORACLE instance started.

    Total System Global Area 784998400 bytes

    Bytes of size 2407584 fixed

    327156576 variable size bytes

    448790528 of database buffers bytes

    Redo buffers 6643712 bytes

    Mounted database.

    Open database.

    orclz > sho setting pref

    VALUE OF TYPE NAME

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

    asm_preferred_read_failure_groups string

    os_authent_prefix string

    orclz >

  • ORA-01017

    Hello, I am trying to log in as OWBSYS, and I get this error message: ORA - 01017: invalid username / password. Logon denied.

    The account has been locked in time, but I've unlocked it. Could someone tell me what I would do, because I'm a little amateur.

    Is it possible that I can see the users password;

    OS: Windows XP.

    Software: Oracle Enterprise Edition 11 GR 2.

    Thank you in advance.

    931546 wrote:

    Hello, I am trying to log in as OWBSYS, and I get this error message: ORA - 01017: invalid username / password. Logon denied.

    The account has been locked in time, but I've unlocked it. Could someone tell me what I would do, because I'm a little amateur.

    Is it possible that I can see the users password;

    OS: Windows XP.

    Software: Oracle Enterprise Edition 11 GR 2.

    Thank you in advance.

    ALTER USER OWBSYS IDENTIFIED BY NEW_PASSWORD ACCOUNT UNLOCK;

  • ORA-01017 when duplicate RMAN database active

    Hello, ORACLE guru!

    I have some difficulties trying to reproduce DB via RMAN duplicate from active database.

    The script is simple:

     run
     {
     allocate channel ch1 device type disk;
     allocate auxiliary channel aux1 device type disk;
     duplicate target database to mydb from active database;
     }
    
    

    The problem is in this summary:

    Starting backup at 15-JAN-14
    channel ch1: starting datafile copy
    copying current control file
    Oracle instance started
    
    
    Total System Global Area   10689474560 bytes
    
    
    Fixed Size                     2237776 bytes
    Variable Size               4227861168 bytes
    Database Buffers            6442450944 bytes
    Redo Buffers                  16924672 bytes
    
    
    contents of Memory Script:
    {
       sql clone "alter system set  db_name =
    ''mydb'' comment=
    ''Reset to original value by RMAN'' scope=spfile";
       sql clone "alter system reset  db_unique_name scope=spfile";
       shutdown clone immediate;
    }
    executing Memory Script
    
    
    sql statement: alter system set  db_name =  ''mydb'' comment= ''Reset to original value by RMAN'' scope=spfile
    
    
    sql statement: alter system reset  db_unique_name scope=spfile
    
    
    Oracle instance shut down
    released channel: ch1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 01/15/2014 12:16:07
    RMAN-05501: aborting duplication of target database
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-03009: failure of backup command on ch1 channel at 01/15/2014 12:15:57
    ORA-17629: Cannot connect to the remote database server
    ORA-17627: ORA-01017: invalid username/password; logon denied
    ORA-17629: Cannot connect to the remote database server
    
    
    RMAN>
    RMAN>
    

    check and see the differences:

    The database with RMAN duplicate

  • ORA-01017: name of user and password invalid when using the TNS Alias

    Friends,

    I have this strange problem in 11 G R2. When I use tnsalias and connect using sqlplus username/password@TNS it shows ORA-01017: name of user and password invalid. But the same works with ORACLE_SID. See below.
    -bash-3.00$ uname -a
    SunOS ibs-ash-sr147 5.10 Generic_144489-06 i86pc i386 i86pc
    -bash-3.00$ env | grep ORACLE
    ORACLE_SID=DB1
    ORACLE_BASE=/project/oracle/orabase
    ORACLE_HOME=/project/oracle/orabase/product/11.2.0/dbhome_1
    -bash-3.00$ tnsping DB
    
    TNS Ping Utility for Solaris: Version 11.2.0.1.0 - Production on 17-JUN-2011 12:23:12
    
    Copyright (c) 1997, 2009, Oracle.  All rights reserved.
    
    Used parameter files:
    /project/oracle/orabase/product/11.2.0/dbhome_1/network/admin/sqlnet.ora
    
    
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = crs-scan)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = DB)))
    OK (0 msec)
    -bash-3.00$ sqlplus IRES_USER@DB
    
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Jun 17 12:30:22 2011
    
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    
    Enter password:
    
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
    Data Mining and Real Application Testing options
    
    SQL> show parameter sec_case_sensitive_logon
    
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    sec_case_sensitive_logon             boolean     TRUE
    
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
    Data Mining and Real Application Testing options
    -bash-3.00$ sqlplus IRES_USER/U9$bvs#ir@DB
    
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Jun 17 12:34:30 2011
    
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    
    ERROR:
    ORA-01017: invalid username/password; logon denied
    
    
    Enter user-name: ^C
    My understanding is that both connections use a TNS alias, but then does not work. Any help is appreciated.

    Thanks in advance,
    SSN

    Published by: SSNair on June 17, 2011 05:43

    After sqlplus apostrophes and try

    http://download.Oracle.com/docs/CD/B28359_01/server.111/b28320/initparams211.htm

  • Duplicate database RMAN 11 GR 2 ORA-17627 ORA-01017 RMAN-03009 ORA-17628

    Hello

    I'm getting ORA-17627: ORA-01017: name of user and password invalid. connection refused when using the RMAN duplicate on the same host using the account Oracle DBA. The system is Linux Oracle and Oracle 11.2.0.1 5.5

    I tested the connectivity and passwords and everything works fine. What could be the reason of this problem please?

    Details below:

    Thank you.


    H3. Summary of the solution:

    A big thank you to all who responded! The problem is solved finally :-)

    The ORA-17627: ORA-01017 has been corrected using the connection string to connect to the target database, instead of target rman / in the command prompt
    $ rman
    RMAN> connect target sys/password@orcl
    RMAN> connect auxiliary sys/password@clonedb
    RMAN> duplicate target database to clonedb from active database;
    However, there was still another question:
    channel ORA_DISK_1: starting datafile copy
    input datafile file number=00001 name=+DATA/orcl/datafile/system.256.737564331
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 12/29/2010 14:40:21
    ORA-17628: Oracle error 19505 returned by remote Oracle server
    continuing other job steps, job failed will not be re-run
    The alert.log to the auxiliary database (clonedb) shows:

    Errors in the /u01/app/oracle/diag/rdbms/clonedb/clonedb/trace/clonedb_ora_6129.trc file:
    ORA-19505: impossible to identify the file ' / scratch/oradata/clonedb/datafile/orcl/datafile/system.256.737564331 '.
    ORA-27040: create file error, cannot create the file
    Linux-x86_64 error: 2: no such file or directory

    I fixed the problem by changing the following text in the settings of the clonedb instance file:

    * .db_file_name_convert =('+Data/ORCL/','/Scratch/oradata/clonedb/')
    * .log_file_name_convert =('+Data/ORCL/onlinelog/','/Scratch/oradata/clonedb/logfile/')

    Thank you!





    H3. Problem:
    [orcl@ol55]$ rman target /
    
    Recovery Manager: Release 11.2.0.1.0 - Production on Tue Dec 28 21:40:25 2010
    
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    
    connected to target database: ORCL (DBID=1265345286)
    
    RMAN> connect auxiliary sys/test@clonedb
    
    connected to auxiliary database: CLONEDB (not mounted)
    
    RMAN> duplicate target database to clonedb from active database;
    
    Starting Duplicate Db at 28-DEC-10
    using target database control file instead of recovery catalog
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID=19 device type=DISK
    
    contents of Memory Script:
    {
       sql clone "create spfile from memory";
    }
    executing Memory Script
    
    sql statement: create spfile from memory
    
    contents of Memory Script:
    {
       shutdown clone immediate;
       startup clone nomount;
    }
    executing Memory Script
    
    Oracle instance shut down
    
    connected to auxiliary database (not started)
    Oracle instance started
    
    Total System Global Area     839282688 bytes
    
    Fixed Size                     2217992 bytes
    Variable Size                645924856 bytes
    Database Buffers             188743680 bytes
    Redo Buffers                   2396160 bytes
    
    contents of Memory Script:
    {
       sql clone "alter system set  db_name = 
     ''ORCL'' comment=
     ''Modified by RMAN duplicate'' scope=spfile";
       sql clone "alter system set  db_unique_name = 
     ''CLONEDB'' comment=
     ''Modified by RMAN duplicate'' scope=spfile";
       shutdown clone immediate;
       startup clone force nomount
       backup as copy current controlfile auxiliary format  '/scratch/oradata/clonedb/controlfile/control01.ctl';
       restore clone controlfile to  '/scratch/oradata/clonedb/controlfile/control02.ctl' from 
     '/scratch/oradata/clonedb/controlfile/control01.ctl';
       alter clone database mount;
    }
    executing Memory Script
    
    sql statement: alter system set  db_name =  ''ORCL'' comment= ''Modified by RMAN duplicate'' scope=spfile
    
    sql statement: alter system set  db_unique_name =  ''CLONEDB'' comment= ''Modified by RMAN duplicate'' scope=spfile
    
    Oracle instance shut down
    
    Oracle instance started
    
    Total System Global Area     839282688 bytes
    
    Fixed Size                     2217992 bytes
    Variable Size                645924856 bytes
    Database Buffers             188743680 bytes
    Redo Buffers                   2396160 bytes
    
    Starting backup at 28-DEC-10
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=35 device type=DISK
    channel ORA_DISK_1: starting datafile copy
    copying current control file
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 12/28/2010 21:42:08
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 12/28/2010 21:42:08
    ORA-17629: Cannot connect to the remote database server
    ORA-17627: ORA-01017: invalid username/password; logon denied
    ORA-17629: Cannot connect to the remote database server
    H3. Configuration

    H4. Listener and Tnsnames

    H3. Note: (UR = A) clause in tnsnames.ora is intended to operate with a dynamically
    Manager recorded for the SERVICE_NAME against SID is preferable. (ID 362656.1)

    $ cat /u01/app/oracle/product/11.2.0/grid/network/admin/listener.ora
    
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = ol55.example.com)(PORT = 1521))
        )
      )
    
    SID_LIST_LISTENER =
       (SID_LIST =
           (SID_DESC =
              (ORACLE_HOME= /u01/app/oracle/product/11.2.0/db)
              (SID_NAME = clonedb)
              (GLOBAL_DBNAME= clonedb.example.com)
           )
        )
    
    
    
    
    ADR_BASE_LISTENER = /u01/app/oracle
    
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER = ON
    
    
    $ cat tnsnames.ora
    # tnsnames.ora Network Configuration File: /u01/app/oracle/product/11.2.0/db/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    
    CLONEDB =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = ol55.example.com)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = clonedb.example.com)
          (UR = A)
        )
      )
    
    
    $ lsnrctl status
    
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 28-DEC-2010 21:35:54
    
    Copyright (c) 1991, 2009, Oracle.  All rights reserved.
    
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    ------------------------
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date                26-DEC-2010 02:59:35
    Uptime                    2 days 18 hr. 36 min. 18 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u01/app/oracle/product/11.2.0/grid/network/admin/listener.ora
    Listener Log File         /u01/app/oracle/diag/tnslsnr/ol55/listener/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ol55.example.com)(PORT=1521)))
    Services Summary...
    Service "+ASM" has 1 instance(s).
      Instance "+ASM", status READY, has 1 handler(s) for this service...
    Service "clonedb.example.com" has 2 instance(s).
      Instance "clonedb", status UNKNOWN, has 1 handler(s) for this service...
      Instance "clonedb", status BLOCKED, has 1 handler(s) for this service...
    Service "orcl.example.com" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orclXDB.example.com" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "test.example.com" has 1 instance(s).
      Instance "test", status READY, has 1 handler(s) for this service...
    Service "testXDB.example.com" has 1 instance(s).
      Instance "test", status READY, has 1 handler(s) for this service...
    The command completed successfully
    H4. pFile and spfile
    $ cat initclonedb.ora
    clonedb.__db_cache_size=192937984
    clonedb.__java_pool_size=4194304
    clonedb.__large_pool_size=4194304
    clonedb.__oracle_base='/u01/app/oracle'
    clonedb.__pga_aggregate_target=339738624
    clonedb.__sga_target=503316480
    clonedb.__shared_io_pool_size=0
    clonedb.__shared_pool_size=293601280
    clonedb.__streams_pool_size=0
    *.audit_file_dest='/u01/app/oracle/admin/clonedb/adump'
    *.audit_trail='db'
    *.backup_tape_io_slaves=TRUE
    *.compatible='11.2.0.0.0'
    *.control_files='/scratch/oradata/clonedb/controlfile/control01.ctl','/scratch/oradata/clonedb/controlfile/control02.ctl'
    *.db_block_checking='full'
    *.db_block_checksum='full'
    *.db_block_size=8192
    *.db_create_file_dest='/scratch/oradata/clonedb'
    *.db_domain='example.com'
    *.db_name='clonedb'
    *.db_recovery_file_dest='+FRA'
    *.db_recovery_file_dest_size=12884901888
    *.log_archive_dest='/scratch/oradata/clonedb/archivelog'
    *.diagnostic_dest='/u01/app/oracle'
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=clonedbXDB)'
    *.memory_target=843055104
    *.open_cursors=300
    *.processes=150
    *.remote_login_passwordfile='EXCLUSIVE'
    *.undo_tablespace='UNDOTBS1'
    *.db_file_name_convert=('+DATA','/scratch/oradata/clonedb/datafile')
    *.log_file_name_convert=('+DATA','/scratch/oradata/clonedb/logifle')
    
    $ sqlplus / as sysdba
    
    SQL*Plus: Release 11.2.0.1.0 Production on Tue Dec 28 21:26:41 2010
    
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    
    Connected to an idle instance.
    
    SQL> startup nomount pfile='$ORACLE_HOME/dbs/initclonedb.ora'
    ORACLE instance started.
    
    Total System Global Area  839282688 bytes
    Fixed Size              2217992 bytes
    Variable Size            641730552 bytes
    Database Buffers       192937984 bytes
    Redo Buffers              2396160 bytes
    SQL> 
    H4. Password file and the connection test
    $ orapwd file=$ORACLE_HOME/dbs/orapwclonedb password='test'
    
    $ sqlplus 'sys/test@clonedb as sysdba'
    
    SQL*Plus: Release 11.2.0.1.0 Production on Tue Dec 28 19:58:14 2010
    
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    
    Connected to an idle instance.
    Published by: Dude on December 29, 2010 06:37

    Hi guy,
    Please configure the tnsnames and auditor of the target and auxiliary.
    That set the script to use OIC to connect in both instances like this:

    connect target sys/test@orcl
    connect auxiliary sys/test@clonedb

    Please after the release.
    Kind regards
    Tycho

  • sdo_util code error ORA-01722: invalid number in Oracle 11 g R2

    Dear everyone,
    Greetings.

    Hello. As mentioned in the title, I encountered a strange problem when I was trying to extrude 2D to 3D objects. The error code says ORA-01722: invalid number. Then, to eliminate the possibility that the code would be bad, I took the code example for the ORACLE document on sdo_util.extrude
    http://download.Oracle.com/docs/CD/E11882_01/AppDev.112/e11830/sdo_util.htm#SPATL1230

    the same error appeared. However, I tried the same code through the SQLDeveloper under Linux (the 11 g R2 where) to do the same thing in my database in windows server 2008 where 11 g R1 has been installed. Works very well.

    Y at - it a particular configuration I need to do or that I did wrong. Any knows, please help. Thank you.


    Jun

    Hi, -.
    Please use without setting for output 11.2.0.1.0 'FALSE':

    SELECT SDO_UTIL. EXTRUDE)
    SDO_GEOMETRY)
    2003,
    NULL,
    NULL,
    SDO_ELEM_INFO_ARRAY (1,1003,1),
    SDO_ORDINATE_ARRAY (5, 1,8,1,8,6,5,7,5,1));
    SDO_NUMBER_ARRAY (0,0,0,0,0),
    SDO_NUMBER_ARRAY (5,10,10,5,5),
    0.005) twice;

    In 11.1.0.7 release, you must use the parameter 'FALSE ':

    SELECT SDO_UTIL. EXTRUDE)
    SDO_GEOMETRY)
    2003,
    NULL,
    NULL,
    SDO_ELEM_INFO_ARRAY (1,1003,1),
    SDO_ORDINATE_ARRAY (5, 1,8,1,8,6,5,7,5,1));
    SDO_NUMBER_ARRAY (0,0,0,0,0),
    SDO_NUMBER_ARRAY (5,10,10,5,5),
    'FALSE. '
    0.005) twice;

    We have fixed this confusion for future releases so that the two interfaces can be used
    and the 'FALSE' parameter is ignored.

    Best regards
    Baris

Maybe you are looking for