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 :)

Tags: Database

Similar Questions

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

    Hi all

    I need your help.

    I have installed Oracle Audit Vault Server Release 10.2.3.2 in agent collection and Linux system in Windows system. Adding and start collecting DBAUD went fine however adding AGAIN collector back return errors when executing command avorcldb add_collector as follows

    [oracle@avsrv ~] $

    [oracle@avsrv ~] $ avorcldb add_collector - SrcName orcl nom_agent - avagent01 - colltype REDO - av Lugaopc:1521:orcl

    collector REDO_Collector for orcl source already exists

    the initialization of the REDO Collector

    ERROR: could not get by using jdbc connection AV source user:oracle:oci:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Lugaopc)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=orcl)))

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

    [oracle@avsrv ~] $

    Here are the contents of the avorcldb.log file

    09/09/13 16:58:44 [INFO] command add_collector treatment

    09/09/13 16:58:44 [INFO] treatment arg - FromName = orcl

    09/09/13 16:58:44 [INFO] treatment arg - nom_agent = avagent01

    09/09/13 16:58:44 [INFO] treatment arg - colltype = REDO

    09/09/13 16:58:44 [INFO] treatment arg - av = Lugaopc:1521:orcl

    09/09/13 16:58:44 [INFO] connect information: Lugaopc:1521:orcl

    09/09/13 16:58:45 [INFO] connecting administration AV got using jdbc:oracle:oci:@AVDB

    09/09/13 16:58:45 [INFO] execution SQL like [ADM@AV] select s.host |': ' | A1.num_value |': ' | avsys.av A2.char_value $attrvalue a1, a2 avsys.av$ attrvalue, avsys.av$ s source, avsys.av$ attrdef ad1, ad2 avsys.av$ attrdef where source_name =: 1 and a1.inst_id = s.source_id and a2.inst_id = s.source_id and a1.attr_id = ad1.attr_id and ad1.attr_name = 'PORT' and a2.attr_id = ad2.attr_id and ad2.attr_name = 'DB_SERVICE. '

    09/09/13 16:58:45 [INFO] using bind value orcl

    09/09/13 16:58:45 [INFO] Return value = Lugaopc:1521:orcl

    09/09/13 16:58:45 [INFO] connect information: Lugaopc:1521:orcl

    09/09/13 16:58:45 [INFO] execution SQL like [ADM@AV] select to_char (source_id) in the avsys.av$ source where source_name =: 1

    09/09/13 16:58:45 [INFO] using bind value orcl

    09/09/13 16:58:45 [INFO] return value = 1

    09/09/13 16:58:46 [INFO] got the source user connection using jdbc:oracle:oci:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Lugaopc)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=orcl)))

    09/09/13 16:58:46 [INFO] executing SQL in [ADM@AV] select decode (c.status, 1, 'active', 0, 'fallen', null) of avsys.av$ collector c, avsys.av$ s source where source_name =: 1 and collector_name =: 2 and c.source_id = s.source_id

    09/09/13 16:58:46 [INFO] using bind value orcl

    09/09/13 16:58:46 [INFO] bind Using REDO_Collector value

    09/09/13 16:58:46 [INFO] Return value = active

    09/09/13 16:58:46 [MESG] collector REDO_Collector for orcl source already exists

    09/09/13 16:58:46 [INFO] executing SQL in [ADM@AV] select decode (c.status, 1, 'active', 0, 'fallen', null) of avsys.av$ collector c, avsys.av$ s source where source_name =: 1 and collector_name =: 2 and c.source_id = s.source_id

    09/09/13 16:58:46 [INFO] using bind value orcl

    09/09/13 16:58:46 [INFO] bind Using REDO_Collector value

    09/09/13 16:58:46 [INFO] Return value = active

    09/09/13 16:58:46 [MESG] initialization REDO Collector

    09/09/13 16:58:46 [INFO] execution SQL like [ADM@AV] select the username of avsys.av$ source where source_name =: 1

    09/09/13 16:58:46 [INFO] using bind value orcl

    09/09/13 16:58:46 [INFO] Return value = AVSRCUSR1

    09/09/13 16:58:46 [INFO] as [ADM@AV] SQL execution {? = call avsys.dbms_audit_vault.reset_source_user (?)}

    09/09/13 16:58:46 [INFO] adding user password mask

    09/09/13 16:58:46 [INFO] execution SQL like [USR@SRC] select table_name from user_tables where upper (table_name) = upper(:1)

    09/09/13 16:58:46 [INFO] bind Using STREAMS_HEARTBEAT value

    09/09/13 16:58:46 [INFO] Return value = STREAMS_HEARTBEAT

    09/09/13 16:58:46 [INFO] execution as [USR@SRC] SQL drop table streams_heartbeat

    09/09/13 16:58:46 [INFO] execution as [USR@SRC] SQL create table streams_heartbeat (src_dbname varchar2 (4000), job_number number, heartbeat_time timestamp)

    09/09/13 16:58:46 [INFO] execution SQL like [USR@SRC] declare dbs_name varchar2 (4000); start selecting rename in dbs_name from global_name; insert into streams_heartbeat values (dbs_name, 0, SYSTIMESTAMP); end;

    09/09/13 16:58:46 [INFO] SQL execution as [USR@SRC] create or replace procedure update_heartbeat IS start update streams_heartbeat set heartbeat_time = (select systimestamp from double); commit; end;

    09/09/13 16:58:46 [INFO] execution SQL like [USR@SRC] select table_name from user_tables where upper (table_name) = upper(:1)

    09/09/13 16:58:46 [INFO] bind Using CAPTURE_RULES value

    09/09/13 16:58:46 [INFO] Return value = CAPTURE_RULES

    09/09/13 16:58:46 [INFO] execution as [USR@SRC] SQL drop table capture_rules

    09/09/13 16:58:46 [INFO] execution as [USR@SRC] SQL create table capture_rules (nom_regle varchar2 (50), rule_scope varchar2 (6), rule_type VARCHAR2 (3), obj_name varchar2 (100))

    09/09/13 16:58:46 [INFO] execution SQL like [ADM@AV] select Rename global_name

    09/09/13 16:58:46 [INFO] Return value is AVDB. AVSRV

    09/09/13 16:58:46 [INFO] execution SQL like [USR@SRC] select db_link in user_db_links where db_link =: 1

    09/09/13 16:58:46 [INFO] Using AVDB bind value. AVSRV

    09/09/13 16:58:46 [INFO] Return value is AVDB. AVSRV

    09/09/13 16:58:46 [INFO] the Execute SQL as database link [USR@SRC] drop "AVDB. AVSRV ".

    09/09/13 16:58:46 [INFO] execution SQL like [USR@SRC] select the version of v$ instance

    09/09/13 16:58:46 [INFO] Return value = 11.2.0.1.0

    09/09/13 16:58:46 [INFO] creating DB link using AVDB. AVSRV, AVSRCUSR1, {avsrcusr_pwd}, Lugaopc, 1521, orcl

    09/09/13 16:58:46 [INFO] login as srcuser_ora01 to @(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=Lugaopc) (PORT = 1521)) (CONNECT_DATA = (SERVICE_NAME = orcl)))

    09/09/13 16:58:46 [INFO] output of SQLPlus

    09/09/13 16:58:46 [INFO]

    09/09/13 16:58:46 [INFO] Package created.

    09/09/13 16:58:46 [INFO]

    09/09/13 16:58:46 [INFO] no error.

    09/09/13 16:58:47 [INFO]

    09/09/13 16:58:47 [INFO] package body created.

    09/09/13 16:58:47 [INFO]

    09/09/13 16:58:47 [INFO] no error.

    09/09/13 16:58:47 [INFO]

    09/09/13 16:58:47 [INFO] Package created.

    09/09/13 16:58:47 [INFO]

    09/09/13 16:58:47 [INFO] no error.

    09/09/13 16:58:47 [INFO]

    09/09/13 16:58:47 [INFO] package body created.

    09/09/13 16:58:47 [INFO]

    09/09/13 16:58:47 [INFO] no error.

    09/09/13 16:58:47 [INFO] execution SQL like [USR@SRC] select distinct name of user_errors, whose name =: 1

    09/09/13 16:58:47 [INFO] bind Using DBMS_SRC_STREAMS_COLLECTOR value

    09/09/13 16:58:47 [INFO] Return value = null

    09/09/13 16:58:47 [ERROR] could not get by using jdbc connection AV source user:oracle:oci:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Lugaopc)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=orcl)))

    09/09/13 16:58:47 [ERROR] ORA-01017: name of user and password invalid. connection refused

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

    at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:765)

    at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:414)

    to oracle.jdbc.driver.PhysicalConnection. < init > (PhysicalConnection.java:546)

    to oracle.jdbc.driver.T2CConnection. < init > (T2CConnection.java:162)

    at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:53)

    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:521)

    at java.sql.DriverManager.getConnection(DriverManager.java:525)

    at java.sql.DriverManager.getConnection(DriverManager.java:140)

    to oracle.av.avca.jdbc.JdbcConnection. < init > (JdbcConnection.java:87)

    at oracle.av.orcldb.DAO.initConnection(DAO.java:79)

    to oracle.av.orcldb.DAO. < init > (DAO.java:64)

    at oracle.av.orcldb.commands.AddCollector.setupCollector(AddCollector.java:746)

    at oracle.av.orcldb.commands.AddCollector.execute(AddCollector.java:230)

    at oracle.av.orcldb.Command.process(Command.java:89)

    at oracle.av.orcldb.Main.process(Main.java:118)

    at oracle.av.orcldb.Main.main(Main.java:132)

    I searched the forum at my best level without clear solution

    Concerning

    Sadik

    avorcldb add_collector - REDO SrcName orcl nom_agent - avagent01 - colltype - av Lugaopc:1521:orcl

    Specify the connection string to the Vault check server not in the source database



  • New installation of XE on Linux 5 - ORA-01017 connection error

    This is an image of Linux VM on Win 7.
    The listener is in place and the database seems to be upward.
    I, ' su - oracle ' and the various env vars are defined.
    I installed the groupid and oracle is a member of them.
    I also made one, "ssh systemname", in order to verify the login passwd file.
    Oracle is in the file of sudo.
    I uninstalled and installed several times.
    Reboot the kernel image Linux seems to start to Oracle and the TNS listener.
    I tried sqlplus connection with oracle, sys, system as sysdba. I checked my group id and it contains: oracle, dba, oper, oinstall.
    The files have all 755 and owned by oracle: dba.
    I searched all over the web and I was not able to find anything that helps.
    Any help would be great!

    If I,
    sqlplus/nolog
    Conn sys/passwd@xe

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

    ----
    sqlplus / as sysdba
    ERROR:
    ORA-01031: insufficient privileges

    Edited by: 982515 January 17, 2013 09:39

    Hi Tom,

    uniq-d will be only taken as of the values that are adjacent, but not if they are separated by an another value (s).

    That's right, thanks for pointing that out! I took the wrong line of my history of the shell. The last command I tested with resembled

    cut -f1 /etc/group -d ":" | sort | uniq -d
    

    and of course, you could grep for dba, but I think you should check all entries of group duplicates.

    -Udo

    P. S.: thank you for tagging messages! It should be possible to remove the useful marker, but I'm not sure that it (still) works since the last update the forum software. Of course, you can use this message with the chain set for checking for duplicates.

  • 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

  • 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

  • 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.

  • 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 >

  • get ORA-01017 on step 1 to configure MW

    I know that this issue has been addressed before, but there is a subtle difference.

    I work through a 11.5.10 R12 upgrade and click on this issue:
    =================
    And verify that the distance EOF_HOME is only a directory name, and not a trace...
    ERROR:
    ORA-01017: name of user and password invalid. connection refused


    SP2-0640: not connected
    SP2-0670: internal number conversion failed
    =================

    I'm on 2.18 and it comes to the race 3 attempts, the first 2 runs failed both times with questions of my own making but this step completed successfully.

    The third race through it gives this error twice, then it locks the account MW.

    I can connect to sqlplus as system and reset the account and reset once I can also connect to sqlplus as account with the original password, with what I put up MW.

    Is it possible to let the automated scripts to find out what the users MW password is again?

    Thank you

    Simon

    What is the first character of the password that you use for MW - if it is a number from 0-9, it will fail to successfully install.

    Please upload the log file mw_install_0910211411.log - your date and time stamp will be different

  • ORA-01017 encountered during execution of shell scripts

    Hello

    During execution of the backup script for one of my databases, the script contains a login section which breaks down as shown below

    Section login script:

    sqlplus / < < END > /tmp/$PROGRAM.tmp


    Error generatedf in the log file:

    SQL * more: Production release 11.2.0.3.0 on sea Apr 10 11:32:06 2013

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

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


    Two points to note:
    1) there are two other databases on the same server and they have no problem
    (2) I am able to connect to this database as ' / '.
    (3) I am able to connect to the database as sysdba from another server
    (4) the script runs successfully when I change like: sqlplus / as sysdba < < END > /tmp/$PROGRAM.tmp

    Hi, for the use of this you must create a user authenticated externally then it will work... Check other databases where you are using the sqlplus / connection for your refrence command

  • ORA-01017 when you add the name of the service

    Hello

    In short, I can connect locally with "sqlplus USER/pass. However, I can not connect with "sqlplus USER/pass@zabbix" or I can't connect externally using thin client:


    PS C:\ > sqlplus USER/pass@zabbix
    SQL * more: version 11.1.0.7.0 - Production on Tue Mar 12 10:35:21 2013
    Copyright (c) 1982, 2008, Oracle. All rights reserved.
    ERROR:
    ORA-01017: name of user and password invalid. connection refused


    How can I solve this? I can connect to the outside as SYS as SYSDBA. Will there be a privilege to allow users to connect to a particular database?

    -----

    I create the user like this:

    CREATE A USER
    IDENTIFIED BY PASS
    DEFAULT TABLESPACE USERS
    TEMPORARY TEMP TABLESPACE
    DEFAULT PROFILE
    RELEASE OF ACCOUNT;
    GRANT ALTER USER SESSION;
    GRANT CREATE SESSION FOR THE USER;
    GRANT CONNECT TO THE USER;
    ALTER USER DEFAULT ROLE USER;

    -----
    tnsnames.ora:

    ZABBIX =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = a.dom.b.com) (PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = zabbix)
    )
    )


    -----

    PS C:\ > lsnrctl status

    LSNRCTL for 64-bit Windows: Version 11.1.0.7.0 - Production on March 12, 2013 10:18:34

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

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP (PORT = 1)(HOST=a.dom.b.com)
    STATUS of the LISTENER
    ------------------------
    Alias LISTENER
    TNSLSNR for Windows 64-bit version: Version 11.1.0.7.0 - Production
    Start date March 1, 2013 16:15:25
    Uptime 10 days 17 HR. 3 min. 24 sec.
    Draw level off
    Security ON: OS Local Authentication
    SNMP OFF
    D:\...\listener.ora Listener parameter file
    D:\...\Log.XML log listener
    Summary of endpoints listening...
    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=a.dom.b.com) (PORT = 1521)))
    Summary of services...
    Service 'zabbix' has 1 instance (s).
    Instance 'zabbix' READY State, has 1 operation for this service...

    -----


    PS C:\ > tnsping zabbix

    AMT Ping Utility for 64-bit Windows: Version 11.1.0.7.0 - Production on March 12, 2013 10:18:15

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

    Use settings files:
    d:\...\sqlnet.ora


    TNSNAMES adapter used to resolve the alias
    Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = a.dom.b.com) (PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = zabbix)))
    OK (0 msec)

    Edited by: 970022 March 12, 2013 08:35

    Edited by: 970022 March 12, 2013 08:51

    Edited by: 970022 March 12, 2013 08:54

    970022 wrote:
    I agree with your chances. The answer may be as simple as associate an account with a database. I posted the way in which the user was created. The user has been created through SQLPLUS SYS as SYSDBA user. I can't find any documentation that describes how to link a user to a database.

    sqlplus USER/pass@zabbix

    you are "assuming" happens above to a specific database.
    What evidence do you have that you REALLY get to the DB where you know what USER/pass are?

  • ORA-01017: OS authentication on Linux Red Hat 6.2 and Oracle 11 g 2

    Hello

    I try to rockers of authentication OS on Oracle installed 11.2.0.3 on a Red Hat Linux Server 6.2 and it just doesn't work. When I try to connect I always get the error ORA-01017: name of user and password invalid. connection refused

    I put the following Oracle parameters:
    REMOTE_OS_AUTHENT = TRUE
    os_authent_prefix = OPS$

    and I created a linux 'oracle' user and the Oracle user "OPS$ oracle."

    I know that the setting of remote_os_authent in 11g is depricated but I thought that it should still work, just an error messages takes place so I start the database, but it works as usual, only the authentication of the BONE doesn't seem to work.

    Does anyone know where would be the problem?
    Oracle said that remote_os_authent is depricated because it's risky, I know, but my database is in a secure environment without any internet connection. What other way is there without using remote_os_authent?

    Thank you very much for your help.
    Bernhard cordially

    Please check:
    http://www.Oracle-base.com/articles/Misc/OS-authentication.php

  • 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

  • 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.

  • ORA-01017 logging in OEM as sysdba but not as usual

    I have a 10,2.0.4 database of area B which was created from a cold backup of a database on the box has (Solaris 10).  The agent is 11.1.0.1 as the database on area C (Linux) with the OEM repository.

    I created a (fs) user that has sysdba privileges in the 10.2.0.4 database on box A.  Since the creation of a cold backup of database box A box B database, the user exists with the same privileges and password.

    OEM, when I connect to the database on the box, I can connect with fs user, password and then in the drop-down menu, select sysdba and I connect.  When I try to log in using the OEM for the database on the zone B, I enter the user as fs, give the password, click the menu drop down and assign sysdba and the connection fails and ORA-01017.  I tried to retype the password and it has not yet.  I've logged in area B, connected with fs as sysdba in sqlplus and had no problems.  I went back to the OEM and tried again with the error 1017.

    Here's the weird thing: if I try to connect as fs in OEM to database of area B, but leave it as 'normal', the connection works fine.  It only fails when I try to open a session using fs as sysdba and who fails only OEM.

    Someone at - he already seen this before?

    Hello

    have you copied the orapwd file?

    Check on the box A and box B select * from V$ PWFILE_USERS;

    Are the results the same?

    Best regards

    Kuba

  • ORA-01017 with database link

    Hi all

    I have a small problem, but I can't find the solution yet.

    I created a DB1 databaselink: "create public database GO_TO_DB link

    connect to TEMP identified by PW_TEMP

    using DB2; »

    On DB2 I have the TEMP user with password PW_TEMP thanks to subsidies for the TEST table.

    In DB2, there is a table "TEST";

    I'm logged into DB1 and do: SELECT * FROM TEST;  I get: "ora-01017 name username/password invalid; connection refused

    ORA-02063 previous line of GO_TO_DB'

    messages.

    I can connect to DB2 with the TEMP of the user and can select: no problem.

    Also, I tried to connect with sqlplus and user TEMP on DB2: no problem.

    Connect to DB1 in sqlplus and don't select it * test, I get ora messages too.

    Do I did wrong or what I forgot?

    Greetz, Cees

    This error message means that you have provided the wrong username and password for the database that the DB connection is connected to.

    If the password is case-sensitive, you must put quotation marks when you create the DB link.

    The name of DB that you provided when you create the DB link could also be referring to a different database than the one you expect. You should check your tnsnames.ora file (or files) to verify this. You can also specify definitively the DB using the syntax ' host: port / SID "instead of a TNS name.

Maybe you are looking for