EMCA: invalid username/password for sys

Hi All,
Recently i have restored a database from another host A to Host B.
Now when i am trying to reconfiure the Dbconsole using " emca -deconfig dbcontrol db -repos drop ", for sys account its throwing 'Invalid username or password'.
Password file configured correctly and confirmed by checking the time stamp after altering the password. Change is updating the password file.
Thanks in Advance,
Regards,
Jishar

user585870 wrote:
Hi,
Already tried recreating the password file.
like removed the file manually and with Orapwd created the password file.
Password file format : PWD%SID%.oraThat is depend your OS version if this is windows than yes else if unix/linux must be orapw<SID>

Similar Messages

  • Emca Continually Shows "Invalid username/password" for the DBSNMP User

    Hi,
    During configure dbconsole DBSNMP user is giving invalid password whereas i am able to connect dbsnmp using sqlplus as below.
    SQL> conn dbsnmp/dbsnmp@UAT
    Connected.
    while i m tryin to configure dbconsole got below error
    emca -config dbcontrol db -repos create
    $emca -config dbcontrol db -repos create
    STARTED EMCA at May 29, 2010 4:29:31 PM
    EM Configuration Assistant, Version 10.2.0.1.0 Production
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Enter the following information:
    Database SID: UAT
    Listener port number: 1521
    Password for SYS user:
    Password for DBSNMP user:
    Invalid username/password.
    Password for DBSNMP user:
    Invalid username/password.
    Password for DBSNMP user:
    Thanks

    Hi,
    Ok i will do in future.
    I did as you said but issue is still coming.Now the error is bit different in the log file For this same error i found solution in meta doc id 337260.1 for exact error In the solution i have to to set the value as below but it has already same value.
    Error:
    CONFIG: SQLEngine created successfully and connected
    May 29, 2010 5:03:06 PM oracle.sysman.emcp.DatabaseChecks validateUserCredential
    CONFIG: Failed to update account status.
    oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-01034: ORACL
    E not available
    Solution:
    In order to fix the Invalid username/password message
    Check the profile limit for the users SYSMAN, DBSNMP and MGMT_VIEW
    select u.username, u.profile, p.resource_name, p.limit
    from dba_profiles p, dba_users u
    where p.profile=u.profile
    and u.username in ('SYS', 'SYSMAN','DBSNMP','MGMT_VIEW')
    and p.resource_type = 'PASSWORD'
    order by u.username, p.resource_name;
    If the value of LIMIT for PASSWORD_VERIFY_FUNCTION is not NULL:
    Change the password so that it meets the function requirements.
    If the value of LIMIT for PASSWORD_REUSE_MAX is not UNLIMITED:
    Change the password so that it is different from a password that has already been used the number of times set in PASSWORD_REUSE_MAX.
    Or
    Change the value of LIMIT for PASSWORD_REUSE_MAX to UNLIMITED for the profile.
    Below output of 1st query:
    USERNAME     PROFILE     RESOURCE_NAME     LIMIT
    DBSNMP     DEFAULT     FAILED_LOGIN_ATTEMPTS     UNLIMITED
    DBSNMP     DEFAULT     PASSWORD_GRACE_TIME     UNLIMITED
    DBSNMP     DEFAULT     PASSWORD_LIFE_TIME     UNLIMITED
    DBSNMP     DEFAULT     PASSWORD_LOCK_TIME     .0006
    DBSNMP     DEFAULT     PASSWORD_REUSE_MAX     UNLIMITED
    DBSNMP     DEFAULT     PASSWORD_REUSE_TIME     UNLIMITED
    DBSNMP     DEFAULT     PASSWORD_VERIFY_FUNCTION     NULL
    SYS     DEFAULT     FAILED_LOGIN_ATTEMPTS     UNLIMITED
    SYS     DEFAULT     PASSWORD_GRACE_TIME     UNLIMITED
    SYS     DEFAULT     PASSWORD_LIFE_TIME     UNLIMITED
    SYS     DEFAULT     PASSWORD_LOCK_TIME     .0006
    SYS     DEFAULT     PASSWORD_REUSE_MAX     UNLIMITED
    SYS     DEFAULT     PASSWORD_REUSE_TIME     UNLIMITED
    SYS     DEFAULT     PASSWORD_VERIFY_FUNCTION     NULL
    Thanks

  • Emca invalid username/password error on -repos create for recovered DB on new server

    11.2.0.4 on Windows Server 2012 64 bit (new server)
    database install without db create went fine.
    restore of two backup databases went fine.
    reconfig of Apex on new server went fine
    cannot get dbcontrol configured.
    emca -repos create  works fine with sysman et al dropped
    but when I try
    emca -config dbcontrol db
    I get an invallid username/password error
    the log file indicates that it is initSqlEngineLoacly failing with a null value for user
    and returning the ORA-01017 invalid username/password error.
    why is it not using the sys user for this connection?  I don't see a user parameter in the emca help.
    Any suggestions? Do zi need to install the 32 bit Oracle client?

    error in log file is :
    Apr 22, 2015 10:46:01 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
    CONFIG: SQLEngine connecting with SID: prodtp, oracleHome: F:\app\Oracle\product\11.2.0\dbhome_1, and user:
    Apr 22, 2015 10:46:04 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
    WARNING: ORA-01017: invalid username/password; logon denied
    Apr 22, 2015 10:46:04 AM oracle.sysman.emcp.DatabaseChecks throwDBUnavailableException
    SEVERE:
    Database instance is unavailable. Fix the ORA error thrown and run EM Configuration Assistant again.
    Note that the user is NULL and logon is denied
    How do I configure emca to connect using SYS for this?  That appears to be the problem at this point.

  • ORA-01017: invalid username/password;  for  Oralce 12c OEM  installation

    Hi Experts,
    Following error Oralce 12c OEM installation ,i have no clue sys user passowrd is correct in response/new_install.rsp file
    [oracle@sdp12 OEM_Packages]$ ./runInstaller -silent -responseFile /oracle/oracle8/OEM_Packages/response/new_install.rsp
    Starting Oracle Universal Installer...
    Checking Temp space: must be greater than 400 MB. Actual 1222 MB Passed
    Checking swap space: must be greater than 150 MB. Actual 4000 MB Passed
    Preparing to launch Oracle Universal Installer from /tmp/OraInstall2013-02-24_06-22-19PM. Please wait ...[oracle8@sdp38 OEM_Packages]$
    ERROR: ERROR:Exception occurred while connecting to database. Check the connection details of the database you specified and retry.
    ORA-01017: invalid username/password; logon denied
    Unable to connect to the database and validate whether it is a supported database due to one of the following reasons:
    (1) Incorrect credentials
    (2) Listener may be down
    (3) Database may be down
    Check the credentials ,the status of the listener and the database and retry.
    i am able to connect using same username password
    [oracle8@sdp38 response]$ sqlplus sys/sys512@TET1
    SQL*Plus: Release 11.2.0.1.0 Production on Sun Feb 24 18:29:15 2013
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL>
    From response/new_install.rsp file
    DATABASE_HOSTNAME=sdp12
    LISTENER_PORT=1521
    SERVICENAME_OR_SID=TET1
    SYS_PASSWORD=sys512
    SYSMAN_PASSWORD=sysman512
    SYSMAN_CONFIRM_PASSWORD=sysman512
    i have no clue here, any help greatly appropriated
    thanks

    few things you can check :
    a) Is there a password file ? Is the password correct in it ?
    b) SYSDBA remote login is disabled. remote_login_passwordfile is not set to EXCLUSIVE in the spfile or init.ora.
    Set: remote_login_passwordfile= EXCLUSIVE
    Create a password file:
    Unix: $
    orapwd file=$ORACLE_HOME/dbs/orapw$ORACLE_SID password=sys entries=5
    Windows:
    C:\> orapwd file=%ORACLE_HOME%\database\pwd%ORACLE_SID% password= sys entries=5
    To synchronize the password for sys for normal connections and connections as sysdba connect as a sysdba user and reset the sys password:
    $ sqlplus "/ as sysdba" SQL> ALTER USER SYS IDENTIFIED BY change_on_install;

  • ORA-01017: invalid username/password; logon denied from EM 12c

    Hi:
    I saw one of our databases in the EM 12c has red arrow. When I clicked on the database, on top of the screen says "ORA-01017: invalid username/password; logon denied". I have checked dbsnmp and it was blocked so I unblocked it and reset the password. The system password is good. Would you please some one tell me what is the problem?

    870765 wrote:
    Hi:
    I saw one of our databases in the EM 12c has red arrow. When I clicked on the database, on top of the screen says "ORA-01017: invalid username/password; logon denied". I have checked dbsnmp and it was blocked so I unblocked it and reset the password. The system password is good. Would you please some one tell me what is the problem?Please see these docs.
    EM 12c DBSNMP Failed Login Attempt constantl Reported (ORA-01017) by Audit Software [ID 1524694.1]
    Grid Control shows Metric Collection Error ORA-1017 for Database Target [ID 300912.1]
    Eoblem: Database Metric Collections Fail With Ora-1017 Errors In emagent.trc [ID 272556.1]
    EMCA 11g Fails With Error "ORA-01017: invalid username/password; logon denied" and "invalid username/password; For DBSNMP or SYSMAN User" [ID 741530.1]
    How to Set Credentials in Grid Control 12c for E-Business Suite Plug-in [ID 1490884.1]
    Thanks,
    Hussein

  • DAC Physical Data Source password change - invalid username/password

    We are using DAC/Informatica for loading Peoplesoft data into the warehouse. The password for the peoplesoft source was changed recently. I changed the password in DAC under setup, Type source for the Peoplesoft DB. When I select 'Test Connection' I receive the message connection established successfully. When I restart the execution plan I still get the same error - invalid username/password for obi_infa_ps, which is the account we use for accessing the Peoplesoft DB. All of the DAC and Informatica services on the server have been shutdown and restarted - still getting the invalid username/password error.
    Do I need to rebuild the execution plan? If I do, can I manually put in the needed refresh dates?

    You will also need to update the username/password in the Informatica Workflow Manager.
    Under Connections > Relational
    EDIT: First post, welcome to BI Apps!
    Edited by: birchy on Nov 17, 2011 9:00 AM

  • Invalid username/password  when running VSM1.3

    Hi, I have the issue of invalid username/password when running VSM 1.3.
    When I ran authentication.java , I got the error as follow:
    oracle: Exception thrown from getService method of ServiceLocator class: Lookup error:javax.naming.AuthenticationException:Invalid username/password for current-workspace-app(admin);nested exception is: javax.naming.AuthenticationException:Invalid username/password for current-workspace-app(admin)
    When running the web app, I got same message "Invalid username/password ".
    I checked the database. There are 4 records for admin,apparelowner,electowner and guest.
    My oracle db has japanese character set.
    I have read all the threads about the topic of VSM.
    But unfortunately I didn't find a clear conclusion and solution for this issue.
    Is it an issue of locale? Really appreciate your reply.
    Leon

    Was this working before? If yes, any changes been done recently?
    Was the dbc file recreated recently?
    Please see these docs/links.
    After Cloning Oracle Applications And Resetting APPS Password, Discoverer 10g/11g Fails With Error: Unable To Connect To Oracle Applications Database (afscpgcs) [ID 788706.1]
    Apps User Logging Into Discoverer Plus/Viewer Get Error "A connection error has occurred. -Unable to connect to Oracle Applications database: Your password has expired." [ID 871384.1]
    Getting Invalid Username/Password While Running Adupdeul On E-Business Suite R12 [ID 562876.1]
    Attempting to Import Discoverer EUL through adupdeul, returns the error "Failed to connect to database - Unable to connect to Oracle Applications database: invalid username/password" [ID 1243866.1]
    https://forums.oracle.com/forums/search.jspa?threadID=&q=%27Unable+to+connect+to+Oracle+Applications+database%27&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • Invalid username/password connecting to deployed session EJB (to OAS)

    Hello,
    OAS version : 9.0.4.0.0
    JDeveloper version : 10.1.2.0.0 (Build 1811)
    I have generated a very simple session EJB with the EJB
    Diagram : business logic is only a method returning a
    "hello world" String (no DB connection).
    Next i have generated a "New Sample Java Client" to test
    that, first connecting to the Embedded OC4J and it worked
    very well.
    Then i wanted to deploy this small example to my OAS
    server, so i created a new session EJB deployment profile.
    Deployment worked very well too.
    To test this, i generated another "New Sample Java
    Client", but that time i choosed "Connect to Remote App
    Server", with adequate J2EE application and App Server
    Connection names.
    I took note of the new context lines. Login/password
    strings were automatically filled with the ones i use to
    connect to OEM Website (lets say the_login/the_password).
    But unfortunately, when i launch the client, it doesn't
    work. Here is the error stack :
    C:\jdev1012\jdk\bin\javaw.exe -ojvm -classpath C:\dev\jdev\mywork\DarkWork\DarkProject\classes;C:\jdev1012\jdev\lib\jdev-rt.jar;C:\jdev1012\j2ee\home\lib\activation.jar;C:\jdev1012\j2ee\home\lib\ejb.jar;C:\jdev1012\j2ee\home\lib\jaas.jar;C:\jdev1012\j2ee\home\lib\jaxp.jar;C:\jdev1012\j2ee\home\lib\jcert.jar;C:\jdev1012\j2ee\home\lib\jdbc.jar;C:\jdev1012\j2ee\home\lib\jms.jar;C:\jdev1012\j2ee\home\lib\jndi.jar;C:\jdev1012\j2ee\home\lib\jnet.jar;C:\jdev1012\j2ee\home\lib\jsse.jar;C:\jdev1012\j2ee\home\lib\jta.jar;C:\jdev1012\j2ee\home\lib\mail.jar;C:\jdev1012\j2ee\home\lib\servlet.jar;C:\jdev1012\j2ee\home\oc4j.jar;C:\jdev1012\opmn\lib\optic.jar;C:\jdev1012\lib\xmlparserv2.jar;C:\jdev1012\lib\xmlcomp.jar mypackage1.SessionEJBClient
    javax.naming.NamingException: Lookup error: javax.naming.AuthenticationException: Invalid username/password for DarkEJB (the_login); nested exception is:
         javax.naming.AuthenticationException: Invalid username/password for DarkEJB (the_login) [Root exception is javax.naming.AuthenticationException: Invalid username/password for DarkEJB (the_login)]
         at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:168)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
         at mypackage1.SessionEJBClient.main(SessionEJBClient.java:18)
    Caused by: javax.naming.AuthenticationException: Invalid username/password for DarkEJB (the_login)
         at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2523)
         at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2339)
         at com.evermind.server.rmi.RMIConnection.lookup(RMIConnection.java:1781)
         at com.evermind.server.rmi.RMIServer.lookup(RMIServer.java:663)
         at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:149)
         ... 2 more
    Process exited with exit code 0.
    Do you know what i can do to solve this problem ?
    I saw several posts on this forum about that problem,
    mostly in 2003, so perhaps it has been solved now.
    I tried the solutions and workarounds mentioned in those
    post, but the error is still there...
    Thank you for your help ! :-)

    When you are connecting through a hotels WiFi like this they may occasionally require you to login via a home web page, this is quite normal. In many cases the password for this will be provided at checkin and with this being the case it would be worth speaking with the front desk to see if they can assist you with this.
    What are your thoughts about this forum? Let us know by doing this short survey.
     - Official Sony Xperia Support Staff
    If you're new to our forums make sure that you have read our Discussion guidelines.
    If you want to get in touch with the local support team for your country please visit our contact page.

  • Invalid username/password to call a remote session bean

    I am having a problem accessing a remote session bean,
    javax.naming.NamingException: Lookup error: javax.naming.AuthenticationException: Invalid username/password for default (admin); nested exception is:
         javax.naming.AuthenticationException: Invalid username/password for default (admin) [Root exception is javax.naming.AuthenticationException: Invalid username/password for default (admin)]
         at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:168)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
    Ejb is delpoyed into an OC4J instance on an application server,
    Tried all username, password, still invalid,
    I am using url as the following:
    env.put(Context.PROVIDER_URL, "ormi://hostname:12401/");
    Does the OC4J instance config affect the url, or url is only related with ip and port?
    Any idea? Thanks a lot.

    When you install OC4J 10.1.3 and run the command "java -jar %J2EE_HOME%\j2ee\home\oc4j.jar", the system will ask for password for the oc4jadmin user.
    I do not recall 10.1.2 version having this feature.
    If you were able to create new user in administrator group, make sure that orion-application.xml contains the following entries.
    <namespace-access>
              <read-access>
                   <namespace-resource root="">
                        <security-role-mapping name="&lt;jndi-user-role&gt;">
                             <group name="Administrator" />
                        </security-role-mapping>
                   </namespace-resource>
              </read-access>
              <write-access>
                   <namespace-resource root="">
                        <security-role-mapping name="&lt;jndi-user-role&gt;">
                             <group name="Administrator" />
                        </security-role-mapping>
                   </namespace-resource>
              </write-access>
         </namespace-access>
    This will allow RMI access to remote users.

  • ORA-01017: invalid username/password; logon denied FOR SYS USER

    Hello,
    I was usually login through the same password for sys user to log on to the database as sysdba, but last time i used " / as sysdba" to connect using local system administrative account which is connected very well and still connecting in the same way. The initializing parameter file set with the following parameter:
    remote_login_passwordfile=EXCLUSIVE
    Now if i use to connect the database server remotely using sys user, it gives me "ORA-01017: invalid username/password; logon denied" error and if i use the same login credentials on DB server machine using other local user accounts it is giving me "Insufficient Privilige" error. I can only connect now using local administrator account from DB server machine using " / as sysdba" statement.
    Kindly guide me the issue.

    When you use " / as sysdba" locally on server, you are using OS authentication which will bypass the password file and user/pass authentication.
    Looks like you have discrepancy between the password you use and real password. You can login " / as sysdba" and change your SYS password to a new one.
    When was last time you successfully login using password? What has changed since then?

  • WorkflowCA: [SYS] ORA-01017: invalid username/password; logon denied

    Hi,
    Please help me, I get below error when I configure Workflow Configuration Assistant 2.6.4.0.0 - Linux
    Workflow Configuration Assistant 2.6.4.0.0 - Linux
    WFCA Version: : WorkflowCA.java 26.106 2005/06/29 04:33
    WorkflowCA:
    WorkflowCA: Workflow Configuration in progress...
    WorkflowCA: Tue Feb 16 21:08:57 GMT+05:30 2010
    WorkflowCA:
    WorkflowCA: Screen width -1024-, screen height -768-
    WorkflowCA:
    WorkflowCA: Graphics User Interface mode
    WorkflowCA:
    WorkflowCA:
    WorkflowCA: Start testing connection, which takes less than 3 minutes.
    WorkflowCA:
    WorkflowCA: Account connection test for SYS
    WorkflowCA: [SYS] ORA-01017: invalid username/password; logon denied
    WorkflowCA: Unable to connect to jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=abc.d.com)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=PROD)))
    java.lang.Exception: Invalid connection
         at oracle.apps.fnd.wf.install.db.WorkflowCA.createJDBCConnection(WorkflowCA.java:4806)
         at oracle.apps.fnd.wf.install.db.WorkflowCA.createSYSConnection(WorkflowCA.java:4902)
         at oracle.apps.fnd.wf.install.db.WorkflowCA.schemaCreation(WorkflowCA.java:1039)
         at oracle.apps.fnd.wf.install.db.WfFrame.actionPerformed(WfFrame.java:2051)
         at oracle.ewt.button.PushButton.processActionEvent(Unknown Source)
         at oracle.ewt.lwAWT.LWButton.processActionEvent(Unknown Source)
         at oracle.ewt.button.PushButton.processEventImpl(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
         at oracle.ewt.button.PushButton.activate(Unknown Source)
         at oracle.ewt.lwAWT.AbstractButton.processMouseReleased(Unknown Source)
         at oracle.ewt.lwAWT.AbstractButton.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Component.java:5266)
         at java.awt.Container.processEvent(Container.java:1966)
         at oracle.ewt.lwAWT.LWComponent.processEventImpl(Unknown Source)
         at oracle.ewt.button.PushButton.processEventImpl(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Component.java:3968)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
         at java.awt.Container.dispatchEventImpl(Container.java:2010)
         at java.awt.Window.dispatchEventImpl(Window.java:1778)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    WorkflowCA: Tue Feb 16 21:09:19 GMT+05:30 2010
    WorkflowCA: java.lang.Exception: Invalid connection (0)
    WorkflowCA: Terminating...
    Regard's
    Rerry

    Hi,
    please check ur using password file or not,if ur not using then create a passwordfile,if ur using password file then check its is corrupted or not by connecting to database using below string
    sys/xxx@TWO_TASK as sysdba
    for creating password file follow below document
    dont forget to set remote_login_passwordfile = exclusive in initSID.ora file
    ORA-01994: GRANT failed: password file missing or disabled [ID 392027.1]      
    dont forget to grant sysdba to sys in database and change the sys password in order to get it added in password file then check with below connection string
    sys/xxx@TWO_TASK as sysdba
    Regards
    Edited by: Ahmed@hungry_dba on Feb 16, 2010 8:13 PM

  • Error when starting Firefox 3.6. "Javascript Application error. Invalid username/password combination. If you continue to get this error, try entering your email address as your username." Any suggestions on what to look for to resolve this?

    When starting Mozilla Firefox 3.6, I get an error window which opens up additionally overtop my browser windows stating:
    "Javascript Application"
    followed with :
    "Invalid username/password combination. If you continue to get this error, try entering your email address as your username."
    Obviously it is happening with one of my email addresses/usernames & password combinations of which I know the username for (which I choose not to post here) and I'm not sure where to begin looking for a resolution to this problem.

    I was able to resolve this by disabling (under Tools - Add-ons) Yahoo! Mail Notifier
    Hope this helps some of you also!

  • Invalid username/password logon

    Hi to all:
    I am installing ECC in AIX with RDBMS Oracle 10.2.0.2 in Productive System in HA mode with HAMP. When balancing the services Cluster I have problems starting SAP.
    I have executed the R3trans –x and this is the log file:
    4 ETW000 R3trans version 6.14 (release 700 - 15.06.07 - 15:50:00).
    4 ETW000 unicode enabled version
    4 ETW000 ===============================================
    4 ETW000
    4 ETW000 date&time   : 16.03.2008 - 00:43:05
    4 ETW000 control file: <no ctrlfile>
    4 ETW000 R3trans was called as follows: R3trans -x
    4 ETW000  trace at level 2 opened for a given file pointer
    4 ETW000  [dev trc     ,00000]  Sun Mar 16 00:43:05 2008                              71  0.000071
    4 ETW000  [dev trc     ,00000]  db_con_init called                                    28  0.000099
    4 ETW000  [dev trc     ,00000]  create_con (con_name=R/3)                             46  0.000145
    4 ETW000  [dev trc     ,00000]  Loading DB library '/usr/sap/PRD/SYS/exe/run/dboraslib.o' ...
    4 ETW000                                                                              66  0.000211
    4 ETW000  [dev trc     ,00000]  load shared library (/usr/sap/PRD/SYS/exe/run/dboraslib.o), hdl 0
    4 ETW000                                                                           13557  0.013768
    4 ETW000  [dev trc     ,00000]  Library '/usr/sap/PRD/SYS/exe/run/dboraslib.o' loaded
    4 ETW000                                                                              44  0.013812
    4 ETW000  [dev trc     ,00000]  function DbSlExpFuns loaded from library /usr/sap/PRD/SYS/exe/run/dboraslib.o
    4 ETW000                                                                              52  0.013864
    4 ETW000  [dev trc     ,00000]  Version of '/usr/sap/PRD/SYS/exe/run/dboraslib.o' is "700.08", patchlevel (0.107)
    4 ETW000                                                                              81  0.013945
    4 ETW000  [dev trc     ,00000]  function dsql_db_init loaded from library /usr/sap/PRD/SYS/exe/run/dboraslib.o
    4 ETW000                                                                              48  0.013993
    4 ETW000  [dev trc     ,00000]  function dbdd_exp_funs loaded from library /usr/sap/PRD/SYS/exe/run/dboraslib.o
    4 ETW000                                                                              74  0.014067
    4 ETW000  [dev trc     ,00000]  New connection 0 created                              31  0.014098
    4 ETW000  [dev trc     ,00000]  0: name = R/3, con_id = -000000001 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
    4 ETW000                                                                              56  0.014154
    4 ETW000  [dev trc     ,00000]  db_con_connect (con_name=R/3)                         47  0.014201
    4 ETW000  [dev trc     ,00000]  find_con_by_name found the following connection for reuse:
    4 ETW000                                                                              45  0.014246
    4 ETW000  [dev trc     ,00000]  0: name = R/3, con_id = 000000000 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
    4 ETW000                                                                              52  0.014298
    4 ETW000  [dev trc     ,00000]  Got LIBPATH=/usr/lib:/lib:/usr/sap/PRD/SYS/exe/run:/oracle/PRD/102_64/lib from environment
    4 ETW000                                                                             358  0.014656
    4 ETW000  [dev trc     ,00000]  Oracle Client Version: '10.2.0.2.0'                   60  0.014716
    4 ETW000  [dev trc     ,00000]  -->oci_initialize (con_hdl=0)                         30  0.014746
    4 ETW000  [dev trc     ,00000]  Client NLS settings: AMERICAN_AMERICA.UTF8          3826  0.018572
    4 ETW000  [dev trc     ,00000]  Logon as OPS$-user to get SAPSR3's password           38  0.018610
    4 ETW000  [dev trc     ,00000]  Connecting as /@PRD on connection 0 (nls_hdl 0) ... (dbsl 700 250407)
    4 ETW000                                                                              48  0.018658
    4 ETW000  [dev trc     ,00000]  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
    4 ETW000                                                                              52  0.018710
    4 ETW000  [dev trc     ,00000]    0 UTF8                                                      1 0x110f9a780 0x110fb2bf8 0x110fb24a8
    4 ETW000                                                                              62  0.018772
    4 ETW000  [dev trc     ,00000]  Allocating service context handle for con_hdl=0       38  0.018810
    4 ETW000  [dev trc     ,00000]  Allocating server context handle                      31  0.018841
    4 ETW000  [dev trc     ,00000]  Attaching to DB Server PRD (con_hdl=0,svchp=0x110fb5d98,srvhp=0x110fb5fb8)
    4 ETW000                                                                              97  0.018938
    4 ETW000  [dev trc     ,00000]  Assigning server context 0x110fb5fb8 to service context 0x110fb5d98
    4 ETW000                                                                           41433  0.060371
    4 ETW000  [dev trc     ,00000]  Allocating user session handle                        89  0.060460
    4 ETW000  [dev trc     ,00000]  Starting user session (con_hdl=0,svchp=0x110fb5d98,srvhp=0x110fb5fb8,usrhp=0x110fa2560)
    4 ETW000                                                                              58  0.060518
    4 ETW000  [dev trc     ,00000]  Assigning user session 0x110fa2560 to service context 0x110fb5d98
    4 ETW000                                                                           11081  0.071599
    4 ETW000  [dev trc     ,00000]         BEGIN DBMS_APPLICATION_INFO.SET_MODULE (:A0, :A1); END;                                                              
    4 ETW000                                                                              83  0.071682
    4 ETW000  [dev trc     ,00000]         BEGIN DBMS_APPLICATION_INFO.SET_CLIENT_INFO (:A0); END;                                                              
    4 ETW000                                                                             212  0.071894
    4 ETW000  [dev trc     ,00000]  Now '/@PRD' is connected (con_hdl 0, nls_hdl 0).
    4 ETW000                                                                            1018  0.072912
    4 ETW000  [dev trc     ,00000]         ALTER SESSION SET NLS_SORT = BINARY                                                                               
    4 ETW000                                                                              58  0.072970
    4 ETW000  [dev trc     ,00000]         SELECT USERID, PASSWD FROM SAPUSER WHERE USERID IN (:A0, :A1)                                                        
    4 ETW000                                                                             417  0.073387
    4 ETW000  [dev trc     ,00000]  OCI-call failed with -1=OCI_ERROR                    960  0.074347
    4 ETW000  [dev trc     ,00000]     SQL error 942: 'ORA-00942: table or view does not exist'
    4 ETW000                                                                              48  0.074395
    4 ETW000  [dbsloci.    ,00000]  *** ERROR => ORA-942 when accessing table SAPUSER
    4 ETW000                                                                              53  0.074448
    4 ETW000  [dev trc     ,00000]     set_ocica() -> OCI or SQL return code 942          28  0.074476
    4 ETW000  [dev trc     ,00000]  Disconnecting from connection 0 ...                   87  0.074563
    4 ETW000  [dev trc     ,00000]  Rolling back transaction ...                          34  0.074597
    4 ETW000  [dev trc     ,00000]  Closing user session (con_hdl=0,svchp=0x110fb5d98,usrhp=0x110fa2560)
    4 ETW000                                                                             187  0.074784
    4 ETW000  [dev trc     ,00000]  Now I'm disconnected from ORACLE                     486  0.075270
    4 ETW000  [dev trc     ,00000]  Try to connect with default password                  29  0.075299
    4 ETW000  [dev trc     ,00000]  Connecting as SAPSR3/<pwd>@PRD on connection 0 (nls_hdl 0) ... (dbsl 700 250407)
    4 ETW000                                                                              48  0.075347
    4 ETW000  [dev trc     ,00000]  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
    4 ETW000                                                                              51  0.075398
    4 ETW000  [dev trc     ,00000]    0 UTF8                                                      1 0x110f9a780 0x110fb2bf8 0x110fb24a8
    4 ETW000                                                                              63  0.075461
    4 ETW000  [dev trc     ,00000]  Assigning username to user session 0x110fa2560        30  0.075491
    4 ETW000  [dev trc     ,00000]  Assigning password to user session 0x110fa2560        43  0.075534
    4 ETW000  [dev trc     ,00000]  Starting user session (con_hdl=0,svchp=0x110fb5d98,srvhp=0x110fb5fb8,usrhp=0x110fa2560)
    4 ETW000                                                                              52  0.075586
    4 ETW000  [dboci.c     ,00000]  *** ERROR => OCI-call 'OCISessionBegin' failed with rc=1017
    4 ETW000                                                                           22605  0.098191
    4 ETW000  [dbsloci.    ,00000]  *** ERROR => CONNECT failed with sql error '1017'
    4 ETW000                                                                              48  0.098239
    4 ETW000  [dev trc     ,00000]     set_ocica() -> OCI or SQL return code 1017         29  0.098268
    4 ETW000  [dblink      ,00431]  ***LOG BY2=>sql error 1017   performing CON [dblink#3 @ 431]
    4 ETW000                                                                             141  0.098409
    4 ETW000  [dblink      ,00431]  ***LOG BY0=>ORA-01017: invalid username/password; logon denied [dblink#3 @ 431]
    4 ETW000                                                                              47  0.098456
    2EETW169 no connect possible: "DBMS = ORACLE                           --- dbs_ora_tnsname = 'PRD'"
    In node 2 of a Cluster System I have the Test instance. The solution that we proposed is with two instances of RDBMS Oracle (one in Node 1, and other in Node 2) for productive system. In Node 2, we have 2 instances of Oracle in Node 2.
    listener.ora:
    epsbgst:oraprd 12> cat listener.ora
    Filename......: listener.ora
    Created.......: created by SAP AG, R/3 Rel. >= 6.10
    Name..........:
    Date..........:
    @(#) $Id: //bc/700-1_REL/src/ins/SAPINST/impl/tpls/ora/ind/LISTENER.ORA#4 $
    ADMIN_RESTRICTIONS_LISTENER = on
    LISTENER =
      (ADDRESS_LIST =
            (ADDRESS =
              (PROTOCOL = IPC)
              (KEY = PRD.WORLD)
            (ADDRESS=
              (PROTOCOL = IPC)
              (KEY = PRD)
            (ADDRESS =
              (COMMUNITY = SAP.WORLD)
              (PROTOCOL = TCP)
              (HOST = epsbgst)
              (PORT = 1537)
    STARTUP_WAIT_TIME_LISTENER = 0
    CONNECT_TIMEOUT_LISTENER = 10
    TRACE_LEVEL_LISTENER = OFF
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PRD)
          (ORACLE_HOME = /oracle/PRD/102_64)
    tnsnames.ora:
    epsbgst:oraprd 13> cat tnsnames.ora
    Filename......: tnsnames.ora
    Created.......: created by SAP AG, R/3 Rel. >= 6.10
    Name..........:
    Date..........:
    @(#) $Id: //bc/700-1_REL/src/ins/SAPINST/impl/tpls/ora/ind/TNSNAMES.ORA#4 $
    PRD.WORLD=
      (DESCRIPTION =
        (ADDRESS_LIST =
            (ADDRESS =
              (COMMUNITY = SAP.WORLD)
              (PROTOCOL = TCP)
              (HOST = epsbgst)
              (PORT = 1537)
        (CONNECT_DATA =
           (SID = PRD)
           (GLOBAL_NAME = PRD.WORLD)
    sqlnet.ora:
    epsbgst:oraprd 15> cat sqlnet.ora
    Filename......: sqlnet.ora
    Created.......: created by SAP AG, R/3 Rel. >= 6.10
    Name..........:
    Date..........:
    @(#) $Id: //bc/700-1_REL/src/ins/SAPINST/impl/tpls/ora/ind/SQLNET.ORA#4 $
    AUTOMATIC_IPC = ON
    TRACE_LEVEL_CLIENT = OFF
    NAMES.DEFAULT_DOMAIN = WORLD
    05.01.06 unsorported parameter now
    #NAME.DEFAULT_ZONE = WORLD
    05.01.06 set the default to 10
    SQLNET.EXPIRE_TIME = 10
    05.01.06 set to default
    #TCP.NODELAY=YES
    05.01.06 set to 32768
    DEFAULT_SDU_SIZE=32768
    How I can see with what user and password the R3trans try to connect to database??
    I have read the following notes:
    Note 400241
    Note 50088
    Note 361641
    I am trying with this script that I have readed in NOTE 361641 :
    sqlplus /NOLOG @?/rdbms/admin/oradbusr.sql SAPPRD UNIX PRD X;
    But these throw No Match. I think the problem is that I have not filled the fields with correct values.
    If I executed this script:
    SELECT OWNER FROM DBA_TABLES WHERE TABLE_NAME = 'T000';
    The result is:
    SAPSR3
    The SAP System ID (SAPSID) = PRD
    Database ID (DBSID) = PRD
    Thanks you very much in advance!!!

    I have executed the R3trans -x with oraprd user.
    The answer to your query is:
    SQL> select owner from dba_tables where table_name='SAPUSER';
    OWNER
    OPS$PRDADM
    I have executed the R3trans also with prdadm, this is the result:
    epsbgst:prdadm 7> cat trans.log
    4 ETW000 R3trans version 6.14 (release 700 - 15.06.07 - 15:50:00).
    4 ETW000 unicode enabled version
    4 ETW000 ===============================================
    4 ETW000
    4 ETW000 date&time   : 16.03.2008 - 15:44:23
    4 ETW000 control file: <no ctrlfile>
    4 ETW000 R3trans was called as follows: R3trans -x
    4 ETW000  trace at level 2 opened for a given file pointer
    4 ETW000  [dev trc     ,00000]  Sun Mar 16 15:44:23 2008                              76  0.000076
    4 ETW000  [dev trc     ,00000]  db_con_init called                                    28  0.000104
    4 ETW000  [dev trc     ,00000]  create_con (con_name=R/3)                             49  0.000153
    4 ETW000  [dev trc     ,00000]  Loading DB library '/usr/sap/PRD/SYS/exe/run/dboraslib.o' ...
    4 ETW000                                                                              69  0.000222
    4 ETW000  [dev trc     ,00000]  load shared library (/usr/sap/PRD/SYS/exe/run/dboraslib.o), hdl 0
    4 ETW000                                                                            5735  0.005957
    4 ETW000  [dev trc     ,00000]  Library '/usr/sap/PRD/SYS/exe/run/dboraslib.o' loaded
    4 ETW000                                                                              45  0.006002
    4 ETW000  [dev trc     ,00000]  function DbSlExpFuns loaded from library /usr/sap/PRD/SYS/exe/run/dboraslib.o
    4 ETW000                                                                              50  0.006052
    4 ETW000  [dev trc     ,00000]  Version of '/usr/sap/PRD/SYS/exe/run/dboraslib.o' is "700.08", patchlevel (0.107)
    4 ETW000                                                                             207  0.006259
    4 ETW000  [dev trc     ,00000]  function dsql_db_init loaded from library /usr/sap/PRD/SYS/exe/run/dboraslib.o
    4 ETW000                                                                              48  0.006307
    4 ETW000  [dev trc     ,00000]  function dbdd_exp_funs loaded from library /usr/sap/PRD/SYS/exe/run/dboraslib.o
    4 ETW000                                                                              75  0.006382
    4 ETW000  [dev trc     ,00000]  New connection 0 created                              35  0.006417
    4 ETW000  [dev trc     ,00000]  0: name = R/3, con_id = -000000001 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
    4 ETW000                                                                              56  0.006473
    4 ETW000  [dev trc     ,00000]  db_con_connect (con_name=R/3)                         48  0.006521
    4 ETW000  [dev trc     ,00000]  find_con_by_name found the following connection for reuse:
    4 ETW000                                                                              44  0.006565
    4 ETW000  [dev trc     ,00000]  0: name = R/3, con_id = 000000000 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
    4 ETW000                                                                              53  0.006618
    4 ETW000  [dev trc     ,00000]  Got LIBPATH=/usr/lib:/lib:/usr/sap/PRD/SYS/exe/run:/oracle/client/10x_64/instantclient from environment
    4 ETW000                                                                             391  0.007009
    4 ETW000  [dev trc     ,00000]  Oracle Client Version: '10.2.0.2.0'                   73  0.007082
    4 ETW000  [dev trc     ,00000]  -->oci_initialize (con_hdl=0)                         30  0.007112
    4 ETW000  [dev trc     ,00000]  Client NLS settings: AMERICAN_AMERICA.UTF8          2073  0.009185
    4 ETW000  [dev trc     ,00000]  Logon as OPS$-user to get SAPSR3's password           40  0.009225
    4 ETW000  [dev trc     ,00000]  Connecting as /@PRD on connection 0 (nls_hdl 0) ... (dbsl 700 250407)
    4 ETW000                                                                              48  0.009273
    4 ETW000  [dev trc     ,00000]  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
    4 ETW000                                                                              54  0.009327
    4 ETW000  [dev trc     ,00000]    0 UTF8                                                      1 0x110f990c0 0x110fb1538 0x110fb0de8
    4 ETW000                                                                              61  0.009388
    4 ETW000  [dev trc     ,00000]  Allocating service context handle for con_hdl=0       38  0.009426
    4 ETW000  [dev trc     ,00000]  Allocating server context handle                      32  0.009458
    4 ETW000  [dev trc     ,00000]  Attaching to DB Server PRD (con_hdl=0,svchp=0x110fb46d8,srvhp=0x110fb48f8)
    4 ETW000                                                                              86  0.009544
    4 ETW000  [dboci.c     ,00000]  *** ERROR => OCI-call 'OCIServerAttach' failed with rc=12541
    4 ETW000                                                                            4950  0.014494
    4 ETW000  [dbsloci.    ,00000]  *** ERROR => CONNECT failed with sql error '12541'
    4 ETW000                                                                              49  0.014543
    4 ETW000  [dev trc     ,00000]     set_ocica() -> OCI or SQL return code 12541        29  0.014572
    4 ETW000  [dev trc     ,00000]  Try to connect with default password                  86  0.014658
    4 ETW000  [dev trc     ,00000]  Connecting as SAPSR3/<pwd>@PRD on connection 0 (nls_hdl 0) ... (dbsl 700 250407)
    4 ETW000                                                                              49  0.014707
    4 ETW000  [dev trc     ,00000]  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
    4 ETW000                                                                              50  0.014757
    4 ETW000  [dev trc     ,00000]    0 UTF8                                                      1 0x110f990c0 0x110fb1538 0x110fb0de8
    4 ETW000                                                                              51  0.014808
    4 ETW000  [dev trc     ,00000]  server_detach(con_hdl=0,stale=0,svrhp=0x110fb48f8)
    4 ETW000                                                                              46  0.014854
    4 ETW000  [dev trc     ,00000]  Detaching from DB Server (con_hdl=0,svchp=0x110fb46d8,srvhp=0x110fb48f8)
    4 ETW000                                                                              46  0.014900
    4 ETW000  [dev trc     ,00000]  Deallocating server context handle 0x110fb48f8        32  0.014932
    4 ETW000  [dev trc     ,00000]  Allocating server context handle                      31  0.014963
    4 ETW000  [dev trc     ,00000]  Attaching to DB Server PRD (con_hdl=0,svchp=0x110fb46d8,srvhp=0x110fb48f8)
    4 ETW000                                                                              53  0.015016
    4 ETW000  [dboci.c     ,00000]  *** ERROR => OCI-call 'OCIServerAttach' failed with rc=12541
    4 ETW000                                                                            2022  0.017038
    4 ETW000  [dbsloci.    ,00000]  *** ERROR => CONNECT failed with sql error '12541'
    4 ETW000                                                                              47  0.017085
    4 ETW000  [dev trc     ,00000]     set_ocica() -> OCI or SQL return code 12541        28  0.017113
    4 ETW000  [dblink      ,00431]  ***LOG BY2=>sql error 12541  performing CON [dblink#3 @ 431]
    4 ETW000                                                                             140  0.017253
    4 ETW000  [dblink      ,00431]  ***LOG BY0=>ORA-12541: TNS:no listener [dblink#3 @ 431]
    4 ETW000                                                                              46  0.017299
    2EETW169 no connect possible: "DBMS = ORACLE                           --- dbs_ora_tnsname = 'PRD'"
    The listener are running with oraprd user.
    Can you help me??
    Thanks you very much in advance!!

  • Db link - invalid username/password error

    hi
    i created a connected user public db link, when i try to use it i get error message invalid username/password
    here is my set up:
    tnsnames.ora
    --remote db
    DWHTEST=
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = dwhtest.be)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = bise1db)
    ---local db
    BISE1DBLOCAL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = mydb.local)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = bise1db)
    i used the following query to create a link:
    logged on in local db as sys as sysdba
    CREATE PUBLIC DATABASE LINK dwhtest
    CONNECT TO CURRENT_USER
    USING 'DWHTEST';
    link gets created;
    the remote db has been cloned, so locally i have the identical db; all users /passwords are the same (was not even changing that, but they got updated with the remote users/passwords)
    i connect to a user in local db, which also exist in remote db:
    when i try to do select from remote db
    select * from all_views@dwhtest
    i receive error message: invalid username/password
    i can create connections to this user both locally and remotely via sql developer using the same username/password, just a different tns name;
    what am i missing that this is not working?
    thanks in advance for any tips
    rgds

    hi
    thank you for your answer;
    what you suggest is fixing the password for the current user; however via this public link i want to connect to 2 different users in a remote db; passwords for these 2 users are different (and i cannot change that, as this is in remote db like that)
    so i dont think i can follow your tip (which password would i be entering)
    as temporary fix i created fixed links for 2 users that i need to connect to in remote db and it works fine;
    however id like to make the global link for a 'current user' work; so that i could use 2 links, not 4 links (in fact i have 2 remote db, qas and prod, and each time 2 users i need to connect to remotely, all from my local dev db);
    thanks
    rgds
    Edited by: UserMB on Aug 17, 2011 1:02 AM

  • Cannot drop queue objects - invalid username/password

    Folks - I'm having an issue where I cannot drop the user that owns my AQ/streams objects from an 11g database.
    SYS@bwapepd1> drop user streams cascade;
    drop user streams cascade
    ERROR at line 1:
    ORA-24008: queue table STREAMS.LB_SUBS_SOURCE_QT must be dropped first
    So then I try to drop the queue -
    SYS@bwapepd1> execute dbms_aqadm.drop_queue('STREAMS.LB_SUBS_SOURCE_Q');
    BEGIN dbms_aqadm.drop_queue('STREAMS.LB_SUBS_SOURCE_Q'); END;
    ERROR at line 1:
    ORA-01017: invalid username/password; logon denied
    ORA-06512: at "SYS.DBMS_AQADM_SYS", line 3472
    ORA-06512: at "SYS.DBMS_AQADM", line 167
    ORA-06512: at line 1
    So, next I tried to drop the queue table with a force -
    SYS@bwapepd1> BEGIN
    dbms_aqadm.drop_queue_table(
    queue_table => 'STREAMS.LB_SUBS_SOURCE_QT',
    force => TRUE);
    END;
    BEGIN
    ERROR at line 1:
    ORA-01017: invalid username/password; logon denied
    ORA-06512: at "SYS.DBMS_AQADM_SYS", line 4215
    ORA-06512: at "SYS.DBMS_AQADM", line 197
    ORA-06512: at line 2
    I've tried as both SYS and the STREAMS owner and both get the same invalid username/password error.
    Any help is much appreciated.
    Thx!
    rb

    There is insufficient information here to help you but my recommendation would be:
    1. Stop the queue
    2. Drop the queue
    3. Drop the queue table
    4. Drop the user with cascade
    If you are getting an insufficient privs message when logged on as SYS then you need to make sure that you are where you think you are: You are not. Perhaps you have a remote connection, for example.
    PS: Is this Windows and are you using the joke that is remote desktop? That is one example of not being where you think you are.

Maybe you are looking for