ORA-01017: invalid username/password after DB copy
I am trying in my DR server. i am getting the following error ORA-01017: invalid username/password.
I have install SAP 4.7, windows 2000 adv , Oracle 9.2 (same as my Productin). then copied only the control files and the data files to the new location. both systems are the same the only diffreance is the production system is in domain and DR is not on the Domain
I cannot put the DR in domain as the name, SID, Noumber are the same as production. how can change this and get the DR server up and working ?
Is there a better way for this ?
Hi Rehan,
If everything is identical on both servers, and the only difference is in the domain, then you are probably hitting an OPS$ issue.
The OPS$ usernames in the DB should look like
- In the primary host (included in the domain)
OPS$DOMAIN\<SID>ADM
OPS$DOMAIN\SAPSERVICE<SID>
- In the DR host (out of the domain)
OPS$<SID>ADM
OPS$SAPSERVICE<SID>
I assume the OS users (sidadm and sapservicesid) are also identical on both hosts.
Good luck
Alfonso
Similar Messages
-
Hi
I did an oracle Upgrade from Oracle Upgrade 9.2.06 to 10.2 as per SAP Documentation.
and after the upgrade was successful i changed the password of SAPABT (sapowner)
and now it is giving an error in work folder <b>dev_wo</b>
while connecting can any one help please ?
Tue Feb 06 18:55:20 2007
C Client NLS settings: AMERICAN_AMERICA.WE8DEC
C Logon as OPS$-user to get SAPABT's password
C Connecting as /@ABT on connection 0 (nls_hdl 0) ... (dbsl 640 110706)
C Nls CharacterSet NationalCharSet C EnvHp ErrHp ErrHpBatch
C 0 WE8DEC 1 044FAB58 045000D4 044FF95C
C Attaching to DB Server ABT (con_hdl=0,svchp=044FF8A8,svrhp=04503F14)
C Starting user session (con_hdl=0,svchp=044FF8A8,srvhp=04503F14,usrhp=08C48D68)
C Now '/@ABT' is connected (con_hdl 0, nls_hdl 0).
C Got SAPABT's password from OPS$-user
C Disconnecting from connection 0 ...
C Close user session (con_hdl=0,svchp=044FF8A8,usrhp=08C48D68)
C Now I'm disconnected from ORACLE
C Connecting as SAPABT/<pwd>@ABT on connection 0 (nls_hdl 0) ... (dbsl 640 110706)
C Nls CharacterSet NationalCharSet C EnvHp ErrHp ErrHpBatch
C 0 WE8DEC 1 044FAB58 045000D4 044FF95C
C Starting user session (con_hdl=0,svchp=044FF8A8,srvhp=04503F14,usrhp=08C48D68)
C *** ERROR => OCI-call 'OCISessionBegin' failed: rc = 1017
[dboci.c 4473]
C *** ERROR => CONNECT failed with sql error '1017'
[dbsloci.c 11297]
B ***LOG BY2=> sql error 1017 performing CON [dbsh#3 @ 1204] [dbsh 1204 ]
B ***LOG BY0=> ORA-01017: invalid username/password; logon denied [dbsh#3 @ 1204] [dbsh 1204 ]
B ***LOG BY2=> sql error 1017 performing CON [dblink#2 @ 419] [dblink 0419 ]
B ***LOG BY0=> ORA-01017: invalid username/password; logon denied [dblink#2 @ 419] [dblink 0419 ]
M ***LOG R19=> tskh_init, db_connect ( DB-Connect 000256) [thxxhead.c 1284]SQL> connect / as sysdba
Connected.
SQL> SELECT OWNER FROM DBA_TABLES WHERE TABLE_NAME = 'SAPUSER';
OWNER
OPS$CTSINTCOSNW5\ABTADM
SQL> SELECT OWNER, TABLE_OWNER, TABLE_NAME FROM DBA_SYNONYMS WHERE SYNONYM_NAME
= 'SAPUSER';
OWNER TABLE_OWNER
TABLE_NAME
OPS$CTSINTCOSNW5\SAPSERVICEABT OPS$CTSINTCOSNW5\ABTADM
SAPUSER
SQL>
Followed the note 400241 Problems with ops$ or sapr3 connect to Oracle
Problem got solved via the
Updating BR * Tools
brconnect -u / -c -f stats -t all -f collect -p 4 in Oracle Database Guide 4.3.6 BRCONNECT
Call BRTOOLS, Select Additional Functions --> Change password for database user.
in my case it is sapabt user
Thanks for the quick reply -
System copy : ORA-01017: invalid username/password; logon denied
Hello SAPiens,
I have to perform a system copy of Bank analyzer 6, NW7.1, ABAP stack only on AIX 5.3, MCOD oracle 10.2.0.4 DB. I'm arriving to the sapinst parameters screen asking for the securestore key. The key is accepted, then it asks for the JAVA components DVD. An issue occurs after this step (JVM is uncompressed then tries to access the DB). Here is th UTL_load_usage :
cat UTL_load_usages.log
<!--LOGHEADER[START]/-->
<!--HELP[Manual modification of the header may cause parsing problem!]/-->
<!--LOGGINGVERSION[1.5.7.1006]/-->
<!--NAME[UTL_load_usages.log]/-->
<!--PATTERN[UTL_load_usages.log]/-->
<!--FORMATTER[com.sap.tc.logging.TraceFormatter(%24d %7s: %m)]/-->
<!--ENCODING[UTF8]/-->
<!--LOGHEADER[END]/-->
Aug 20, 2010 5:51:50 PM Info : Successfully parsed!
Aug 20, 2010 5:51:50 PM Info : Executing command Export...
Aug 20, 2010 5:51:50 PM Info : Establishing DB connection...
Aug 20, 2010 5:51:53 PM Path : Exception : The DataBase is down or the connection parameters are wrong: -sid=BA3 -dsn=jdbc/pool/BA3 -ssprops=/usr/sap/BA3/SYS/global/security/data/SecStore.properties -ssk=/usr/sap/BA3/SYS/global/security/data/SecStore.key -keyphrase=null
java.lang.Exception
at com.sap.exception.BaseExceptionInfo.traceAutomatically(BaseExceptionInfo.java:1230)
at com.sap.exception.BaseExceptionInfo.<init>(BaseExceptionInfo.java:457)
at com.sap.exception.BaseException.<init>(BaseException.java:303)
at com.sap.sl.ut.infoprovider.exceptions.UTInfoException.<init>(UTInfoException.java:99)
at com.sap.sl.ut.manager.persistence.db.DataBaseInfoFactory.connect(DataBaseInfoFactory.java:373)
at com.sap.sl.ut.manager.persistence.db.DataBaseInfoFactory.constructSystemInfo(DataBaseInfoFactory.java:776)
at com.sap.sl.ut.manager.command.Export.executeExportKDB(Export.java:57)
at com.sap.sl.ut.manager.command.Export.execute(Export.java:81)
at com.sap.sl.ut.manager.command.Command.exec(Command.java:88)
at com.sap.sl.ut.manager.UtlMain.exec(UtlMain.java:59)
at com.sap.sl.ut.manager.UtlMain.main(UtlMain.java:55)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:161)
Caused by: java.sql.SQLException: ORA-01017: invalid username/password; logon denied
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:283)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:278)
at oracle.jdbc.driver.T4CTTIoauthenticate.receiveOauth(T4CTTIoauthenticate.java:790)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:362)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:420)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
at com.sap.sql.connect.factory.DriverPooledConnectionFactory.createVendorConnection(DriverPooledConnectionFactory.java:50)
at com.sap.sql.connect.factory.DriverPooledConnectionFactory.getPooledConnection(DriverPooledConnectionFactory.java:37)
at com.sap.sql.connect.datasource.DBDataSourceImpl.createPooledConnection(DBDataSourceImpl.java:677)
at com.sap.sql.connect.datasource.DBDataSourceImpl.newPooledConnection(DBDataSourceImpl.java:626)
at com.sap.sql.connect.datasource.DBDataSourceImpl.getConnection(DBDataSourceImpl.java:105)
at com.sap.sql.connect.OpenSQLDataSourceImpl.getConnection(OpenSQLDataSourceImpl.java:202)
at com.sap.sl.ut.manager.persistence.db.DBConnection.connectViaSecureStore(DBConnection.java:159)
at com.sap.sl.ut.manager.persistence.db.DBConnection.connect(DBConnection.java:171)
at com.sap.sl.ut.manager.persistence.db.DataBaseInfoFactory.connect(DataBaseInfoFactory.java:371)
at com.sap.sl.ut.manager.persistence.db.DataBaseInfoFactory.constructSystemInfo(DataBaseInfoFactory.java:776)
at com.sap.sl.ut.manager.command.Export.executeExportKDB(Export.java:57)
at com.sap.sl.ut.manager.command.Export.execute(Export.java:81)
at com.sap.sl.ut.manager.command.Command.exec(Command.java:88)
at com.sap.sl.ut.manager.UtlMain.exec(UtlMain.java:59)
at com.sap.sl.ut.manager.UtlMain.main(UtlMain.java:55)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:161)
Aug 20, 2010 5:51:53 PM Info : Severe (database) error. Return code: 64
I guess sapinst retreives the connection data from the securestore, but fails using it...
The DB is up and running. I checked Oracle users, none of them are locked.
Can anyone kindly advice or provide a search path for shooting this issue ?
Thank you already,
EricHello Kiran,
Thank you for your advice.
the password is correct :
#/sapmnt/BA3/global/sltools> ./checkKeyPhrase.sh -f /sapmnt/BA3/global/security/data/SecStore.properties
INFO: Loading tool launcher...
INFO: [OS: AIX] [VM vendor: SAP AG] [VM version: 5.1.015] [VM type: SAP Java 64-Bit Server VM]
INFO: Main class to start: "com.sap.inst.checkKeyPhrase.CheckKeyPhrase"
INFO: Loading 27 JAR files: [./sharedlib/checkKeyPhrase.jar, ./sharedlib/jdbc.jar, ./sharedlib/jload.jar, ./sharedlib/jload_core.jar, ./sharedlib/jperflib.jar, ./sharedlib/jsizecheck.jar, ./sharedlib/sap.com~sl.ut.infoprovider_lib.jar, ./sharedlib/sap.com~sl.ut.manager.offline.jar, ./sharedlib/sap.com~tc~antlr.jar, ./sharedlib/sap.com~tc~bl~iqlib~impl.jar, ./sharedlib/sap.com~tc~bl~jdsr~jdsr.jar, ./sharedlib/sap.com~tc~bl~offline_launcher~impl.jar, ./sharedlib/sap.com~tc~bl~opensql~implStandalone.jar, ./sharedlib/sap.com~tc~bl~sl~utility.jar, ./sharedlib/sap.com~tc~dd~db~dictionarydatabase~implDictionaryDatabase.jar, ./sharedlib/sap.com~tc~exception.jar, ./sharedlib/sap.com~tc~je~configtool.jar, ./sharedlib/sap.com~tc~je~offlineconfiguration~impl.jar, ./sharedlib/sap.com~tc~logging~java~impl.jar, ./sharedlib/sap.com~tc~sapxmltoolkit~sapxmltoolkit.jar, ./sharedlib/sap.com~tc~sdt~cvl~impl.jar, ./sharedlib/sap.com~tc~sec~secstorefs~java~core.jar, ./../security/lib/tools/iaik_jce.jar, ./../security/lib/tools/iaik_jsse.jar, ./../security/lib/tools/iaik_smime.jar, ./../security/lib/tools/iaik_ssl.jar, ./../security/lib/tools/w3c_http.jar]
INFO: Start
Key phrase::::::::::::
The key phrase is correct.
I guess sapinst is retrieving the DB password from the securestore, tries to connect but gives back the incorrect password error message. But how can that DB password be incorrect if the system is up and running?
What is the DB user name sapinst retreives from the securestore ?
Kind regards,
Eric -
ORA-01017: invalid username/password; how to find out orapwd files 's pwd
Hi, gurus,
I have this error after I copied primary db orapwd files over to standby instance and tried to log in sys as sysdba :
ORA-01017: invalid username/password; logon denied
Is this means the sys password I provided is not the one generated as per orapwd utility?
however I can log in to sys/password as sysdba if I set the oracle sid environemnt to that db.
Anybody help here?
Thanks.Hello;
In that case you would have to change the SYS password at the Primary ( so you know it ) and then do the copy and rename again.
Don't forget to stop apply on the standby and then shutdown and restart on the new password file. ( or you will have issues )
Proof :
Re: Transport service doesn't work with error ORA-16191
Best Regards
mseberg
Double check of my notes
ORA-01017
Change the sys password in the primary database using the alter system command, it updates the password file in the ORACLE_HOME of the primary database, it doesn't update password file in the standby database.
In Oracle 10 you can create a password file. In Oracle 11 you must move a new copy to the standby.
Edited by: mseberg on Jul 6, 2012 6:30 AM -
ORA-01017: invalid username/password; logon denied
Hello colleagues,
in TCode SM21 we've got a lot of following errors, that were repeated very often:
10:25:09 BTC 010 BY 2 Database error 1017 at CON
10:25:09 BTC 010 BY 0 > ORA-01017: invalid username/password; logon denied
10:25:09 BTC 010 BY 2 Database error 1017 at CON
10:25:09 BTC 010 BY 0 > ORA-01017: invalid username/password; logon denied
10:25:09 BTC 010 R1 9 Initialization DB-Connect Failed, Return Code 000256
10:25:09 BTC 010 Q0 2 Stop Workproc10, PID 3549
Background processes only affected and seems to be restarted after every attempt for connection into database.
After restart fo system (DB + ABAP) problem still persists, but does not occur that often. In productive system approximately once in every 2 hours, but is still there.
System environment:
DB: Oracle Release 10.2.0.2.0
OS: HP-UX
SAP: SAP ECC 6.0
Listener is up and running:
oraqxs 499 1 0 10:15:31 ? 0:01 /oracle/QXS/102_64/bin/tnslsnr LISTENER_QXS -inherit
R3trans working as well:
mucsx032:qxsadm 29> R3trans -d -v
This is R3trans version 6.14 (release 700 - 10.09.07 - 09:57:00).
R3trans finished (0000).
Below is extract from WP tracefile.
trc file: "dev_w10", trc level: 1, release: "700"
ACTIVE TRACE LEVEL 1
ACTIVE TRACE COMPONENTS all, MJ
M sysno 02
M sid QXS
M systemid 274 (HP (IA-64) with HP-UX)
M relno 7000
M patchlevel 0
M patchno 133
M intno 20050900
M make: single threaded, ASCII, 64 bit, optimized
M pid 3549
M
M
M Wed May 6 10:25:09 2009
M kernel runs with dp version 232(ext=109) (@(#) DPLIB-INT-VERSION-232)
M length of sys_adm_ext is 364 bytes
M ThInit: running on host ciqxs02
M calling db_connect ...
C Oracle Client Version: '10.2.0.1.0'
C Client NLS settings: AMERICAN_AMERICA.WE8DEC
C Logon as OPS$-user to get SAPDAT's password
C Connecting as /@QXS on connection 0 (nls_hdl 0) ... (dbsl 700 250407)
C Nls CharacterSet NationalCharSet C EnvHp ErrHp ErrHpBatch
C 0 WE8DEC 1 600000000299f0a0 60000000029a6a20 60000000029aa408
C Attaching to DB Server QXS (con_hdl=0,svchp=60000000029aa338,srvhp=60000000029ac688)
C Starting user session (con_hdl=0,svchp=60000000029aa338,srvhp=60000000029ac688,usrhp=60000000029a7238)
C *** ERROR => OCI-call 'OCISessionBegin' failed with rc=1017
[dboci.c 4532]
C *** ERROR => CONNECT failed with sql error '1017'
[dbsloci.c 11044]
C Try to connect with default password
C Connecting as SAPDAT/<pwd>@QXS on connection 0 (nls_hdl 0) ... (dbsl 700 250407)
C Nls CharacterSet NationalCharSet C EnvHp ErrHp ErrHpBatch
C 0 WE8DEC 1 600000000299f0a0 60000000029a6a20 60000000029aa408
C Starting user session (con_hdl=0,svchp=60000000029aa338,srvhp=60000000029ac688,usrhp=60000000029a7238)
C *** ERROR => OCI-call 'OCISessionBegin' failed with rc=1017
[dboci.c 4532]
C *** ERROR => CONNECT failed with sql error '1017'
[dbsloci.c 11044]
B ***LOG BY2=> sql error 1017 performing CON [dbsh#2 @ 1204] [dbsh 1204 ]
B ***LOG BY0=> ORA-01017: invalid username/password; logon denied [dbsh#2 @ 1204] [dbsh 1204 ]
B ***LOG BY2=> sql error 1017 performing CON [dblink#5 @ 431] [dblink 0431 ]
B ***LOG BY0=> ORA-01017: invalid username/password; logon denied [dblink#5 @ 431] [dblink 0431 ]
M ***LOG R19=> ThInit, db_connect ( DB-Connect 000256) [thxxhead.c 1435]
M in_ThErrHandle: 1
M *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c 10377]
M
M Info for wp 10
M
M stat = WP_RUN
M waiting_for = NO_WAITING
M reqtype = DP_RQ_BTCWP
M act_reqtype = DP_RQ_BTCWP
M rq_info = 8576
M tid = -1
M mode = 255
M len = 24
M rq_id = 1055
M rq_source = FROM_WP_CA
M last_tid = 10
M last_mode = 0
M semaphore = 0
M act_cs_count = 0
M csTrack = 0
M csTrackRwExcl = 0
M csTrackRwShrd = 0
M mode_cleaned_counter = 0
M control_flag = 0
M int_checked_resource(RFC) = 0
M ext_checked_resource(RFC) = 0
M int_checked_resource(HTTP) = 0
M ext_checked_resource(HTTP) = 0
M report = > <
M action = 0
M tab_name = > <
M req.vm = no VM
M attachedVm = no VM
M PfStatDisconnect: disconnect statistics
M Entering TH_CALLHOOKS
M ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
M *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c 724]
M *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c 259]
M Entering ThSetStatError
M ThIErrHandle: do not call ThrCoreInfo (no_core_info=0, in_dynp_env=0)
M Entering ThReadDetachMode
M call ThrShutDown (1)...
M ***LOG Q02=> wp_halt, WPStop (Workproc10 3549) [dpuxtool.c 259]
Do you have an idea how to get rid of this error? Did you experienced the same problem before? We will be thankful for any ideas.
Thank you all in advance.Hi,
You did not mention abt the kerneleveland DB/SAP version details.
Chk the note 623242.
Regards....... -
ORA-01017 (invalid username/password) using globally authenticated account
Kris and team,
Having a hard time believing no one else has encountered this already. But searching on 1017 and "globally" and "identified" in the forum yields nothing useful.
New corporate policy has all our DBAs, developers and QA logging into globally authenticated (against OID) accounts. Oracle docs call these accounts "global users". They are able to do so just fine using SQL*Plus, TOAD and PL/SQL Developer. But when we attempt the same in SQL Developer, different rules seem to be applied, and the user is told their username/password is invalid, which is not correct.
We have several hundred developers ready to use their new accounts in SQL Developer, but cannot. Would appreciate quick reply or patch on this.
btw, when I say "global user", I'm referring to accounts that are created in Oracle using the "identified globally as" syntax.
Am I missing something?
Edited by: chromedome on Aug 9, 2010 1:49 PMThank you, this was helpful in that it caused me to try the other connection methods: Basic, TNS (as you mentioned on your blog), LDAP and Advanced, both with regular accounts and with global users, both with thin and thick drivers employed.
In all cases, using a normal Oracle account, I was able to connect.
But using a global user, with the thick/OCI client forced, I get the "Status: Failure -Test failed: oracle.jdbc.driver.T2Connection.t2cCreateState([BI[BI[BI[BI[BISI[S[B[BZ)I" message. And with the thin driver used, I get the "ORA-01017: invalid username/password; logon denied" message. The possibility I have the password incorrect is non-existent as I'm both typing it in manually, and copying and pasting it, from successful global user connections in PL/SQL Developer and TOAD into SQL Developer.
SQL Developer 2.1.1.64 is not working using InstantClient 11.2 when attempting to login with a global user.
Sue/Kris, due I use "the site formerly known as Metalink" to log a bug, or are you already tackling this internally? We really need this patched soon. -
ORA-01017: invalid username/password;
Hi there,
I have set up an Inbound Data Exchange Session so that my program can send alerts to be displayed on OEM(Oracle Enterprise Manager), as specified in http://download-uk.oracle.com/docs/cd/B16240_01/doc/em.102/b32521/em_data_ex.htm.
I have succesfully create an Outbound Data Exchange Session where my program receives new alerts from OEM, but im encountering an issue when i send alerts to OEM. I have checked the emoms.trc file and its complaining about an invalid username and password for the database, but when i set up the Outbound Data Exchange Session, there is nowhere i can specify the database credentials!
Is there anyway i could change the database so it can be accessed without password? I have copy pasted the emoms.trc file below.
2008-03-03 10:44:41,202 [JobWorker 3265:Thread-31] ERROR jobs.ReceiveMetricDataViaJms validateMsgsAndInsertEvents.561 - Cannot insert alert for oem-winxp.int-link.com : ORA-01017: invalid username/password; logon denied
2008-03-03 10:44:41,468 [JobWorker 3265:Thread-31] ERROR genericImpl.Authentication_State executeUsing.104 - Authentication_State::executeUsing(ExecutionContext ec, InputEvent ie) >> ORA-01017: invalid username/password; logon denied
2008-03-03 10:44:41,468 [JobWorker 3265:Thread-31] FATAL consumingExternalAlerts.InboundEventProcessor notify.115 - class oracle.sysman.emWebservices.inbound.consumingExternalAlerts.InboundEventProcessor::notify(Alert) >> An exception occured while processing alert. Alert details below, followed by exception stack dump:
PRODUCER_ID=
KEY1=
KEY2=
KEY3=
KEY4=
KEY5=
TARGET_TYPE=host
TARGET_NAME=oem-winxp.int-link.com
CATEGORY=
METRIC_NAME=
VALUE=
SEVERITY=Critical
MESSAGE=NEW ALERT TEST!!!
TIMESTAMP=null
oracle.sysman.emWebservices.inbound.finiteStateMachineFramework.StateExecutionException: oracle.sysman.emWebservices.inbound.finiteStateMachineFramework.genericImpl.AuthenticationException: ORA-01017: invalid username/password; logon denied
at oracle.sysman.emWebservices.inbound.finiteStateMachineFramework.genericImpl.Authentication_State.executeUsing(Authentication_State.java:105)
at oracle.sysman.emWebservices.inbound.finiteStateMachineFramework.Machine.executeUsing(Machine.java:31)
at oracle.sysman.emWebservices.inbound.consumingExternalAlerts.InboundEventProcessor.notify(InboundEventProcessor.java:102)
at oracle.sysman.eml.bam.jobs.ReceiveMetricDataViaJms.validateMsgsAndInsertEvents(ReceiveMetricDataViaJms.java:558)
at oracle.sysman.eml.bam.jobs.ReceiveMetricDataViaJms.executeCommand(ReceiveMetricDataViaJms.java:240)
at oracle.sysman.emdrep.jobs.JobWorker.runCommand(Dispatcher.java:825)
at oracle.sysman.emdrep.jobs.JobWorker.run(Dispatcher.java:708)
at oracle.sysman.util.threadPoolManager.WorkerThread.run(Worker.java:260)
Caused by: oracle.sysman.emWebservices.inbound.finiteStateMachineFramework.genericImpl.AuthenticationException: ORA-01017: invalid username/password; logon denied
... 8 more
2008-03-03 10:44:41,468 [JobWorker 3265:Thread-31] ERROR jobs.ReceiveMetricDataViaJms validateMsgsAndInsertEvents.561 - Cannot insert alert for oem-winxp.int-link.com : ORA-01017: invalid username/password; logon denied
Many thanks,
Mo.Do you have write the preferred credentials for the target database?
you must select PREFERENCES --> CREDENTIALS and write the credentials for:
agent
host
database
The trc of emoms show that you dont have credentials for the database of repository. Any action of grid control that is executed in automatic mode need that you introduced the credentials for the targets
My suggestion is that write and test the credentials for all the targets
Regards -
ORA-01017: invalid username/password; logon denied from wallet
Hi,
i am getting logon denied error whille using wallet
OS : windows 7
Client Version :10.2.0.3
C:\>sqlplus /@ding
SQL*Plus: Release 10.2.0.3.0 - Production on Tue Mar 13 20:21:55 2012
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
ERROR:
ORA-01017: invalid username/password; logon denied
Enter user-name:
ERROR:
ORA-12560: TNS:protocol adapter error
Enter user-name:
ERROR:
ORA-12560: TNS:protocol adapter error
SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
C:\>
C:\>sqlplus system/manager@ding
SQL*Plus: Release 10.2.0.3.0 - Production on Tue Mar 13 20:22:17 2012
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Production
With the Partitioning, Automatic Storage Management, OLAP, Data Mining
and Real Application Testing options
WELCOME TO VM6 SYSTEM@DING
SYSTEM@ding> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Production
With the Partitioning, Automatic Storage Management, OLAP, Data Mining
and Real Application Testing options
C:\>sqlplus -version
SQL*Plus: Release 10.2.0.3.0 - ProductionYou need to connect using sysdba privilege
Example
sqlplus /@ding as sysdba -
ORA-01017: invalid username/password; running step: 1-Complete configuratio
While executing the step: 1-Complete configuration of Maintenance Wizard (Required)
I encounter the following error below. I have checked that apps and system passwords for the source database are correct. The MW user password is also correct:
Checking that Remote EOF_HOME is only a directory name, not a path...
ERROR:
ORA-01017: invalid username/password; logon denied
SP2-0640: Not connected
SP2-0670: Internal number conversion failed
Usage: { EXIT | QUIT } [ SUCCESS | FAILURE | WARNING | n |
<variable> | :<bindvariable> ] [ COMMIT | ROLLBACK ]
** ERROR!!! **
** Project node configuration has FAILED with the problem(s) below:!!! **
** Invalid value for REMOTE_EOF_HOME.
** Solution: Remove all slashes in the value for REMOTE_EOF_HOME.
** The value must be a simple directory name, not a path.
** Please have the Project Administrator return to the Modify Project
** screen, change the value for REMOTE_EOF_HOME and re-run Step
** 1 of the Configuration category.
*******************************************************************************Thanks for your response. I read the documents that you recommended. This looks like the same issue described in bug 6650342 which was fixed in v. 2.08 when 10g iAS was still being used. Could the same thing be happening with EPG? The MW account got locked after I retried the operation multiple times. The runtime details shows '$EOF_COMMON/buildftp.sh' as the script being run.
Here is the error message that I received:
Checking that Remote EOF_HOME is only a directory name, not a path...
ERROR:
ORA-28000: the account is locked
SP2-0640: Not connected
SP2-0670: Internal number conversion failed
Usage: { EXIT | QUIT } [ SUCCESS | FAILURE | WARNING | n |
<variable> | :<bindvariable> ] [ COMMIT | ROLLBACK ]
** ERROR!!! **
** Project node configuration has FAILED with the problem(s) below:!!! **
** Invalid value for REMOTE_EOF_HOME.
** Solution: Remove all slashes in the value for REMOTE_EOF_HOME.
** The value must be a simple directory name, not a path.
** Please have the Project Administrator return to the Modify Project
** screen, change the value for REMOTE_EOF_HOME and re-run Step
** 1 of the Configuration category.
***************************************************************** -
ORA-01017: invalid username/password; logon denied on Weblogic 9.0 cluster
I am experiencing the following exception in Weblogic 9.0 server cluster environment. The same code works fine in non-cluster environment. The problem happens every now and then and would go away temporarily after recycling the domains. The Oracle database that the backend system connects to is 9.0.2.6. I am using the ocjdbc14.jar jdbc driver that comes with the Weblogic 9.0 on the client side to connect. I really appreciate any help or clue.
Ashkan
Error on dequeuing requests
org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLException: ORA-01017: invalid username/password; logon denied
java.sql.SQLException: ORA-01017: invalid username/password; logon denied
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
at oracle.jdbc.ttc7.O3log.receive2nd(O3log.java:496)
at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java:278)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:346)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:468)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:314)
at java.sql.DriverManager.getConnection(Ljava.lang.String;Ljava.util.Properties;Ljava.lang.ClassLoader;)Ljava.sql.Connection;(Unknown Source)
at java.sql.DriverManager.getConnection(Ljava.lang.String;Ljava.util.Properties;)Ljava.sql.Connection;(Unknown Source)
at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:291)
at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:277)
at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:259)
at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:241)
at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:111)
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:77)
at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:810)
at org.springframework.jdbc.core.JdbcTemplate.call(JdbcTemplate.java:857)
at org.springframework.jdbc.object.StoredProcedure.execute(StoredProcedure.java:102)
at com.rwi.wam.dao.serviceprovider.ServiceProviderDequeue.dequeue(ServiceProviderDequeue.java:32)
at com.rwi.wam.dao.serviceprovider.ServiceProviderDAO.dequeueRequest(ServiceProviderDAO.java:48)
at com.rwi.wam.ejb.WAMRequestMessageBean.onMessage(WAMRequestMessageBean.java:168)
at weblogic.ejb20.internal.MDListener.execute(MDListener.java:425)
at weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.java:332)
at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:288)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:3069)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:2989)
at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:3448)
at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)Hi, I can tell you that you're not using any WebLogic
JDBC code. You're getting a connection directly from
the Oracle drive, and you can change the vesion of the
drive if you want by changing the ojdbc14.jar in the
weblogic server\lib directory.
However, I believe the problem is an inherent weakness
at the DBMS. The DBMS listener process can sometimes
be temporarily swamped if it gets too many connection
requests at one time, and will fail some of them even if
they are all identical and correct.
This is one of the major reasons you should use WebLogic
connection pools so you always get already-made and
tested connections.
Another huge danger is that you are using DriverManager
calls. These are very bad in multithreaded applications
like WebLogic, because all DriverManager calls (including
some internal ones that all JDBC drivers call all the time,
are class-synchronized! This means that one call to
getConnection() will probably bolock all other running
JDBC in the whole JVM. If you can change the springframework
code to use WebLogic DataSources to pools, you'll be much
better off.
Joe
Ashkan Gholam-Zadeh wrote:
I am experiencing the following exception in Weblogic 9.0 server cluster environment. The same code works fine in non-cluster environment. The problem happens every now and then and would go away temporarily after recycling the domains. The Oracle database that the backend system connects to is 9.0.2.6. I am using the ocjdbc14.jar jdbc driver that comes with the Weblogic 9.0 on the client side to connect. I really appreciate any help or clue.
Ashkan
Error on dequeuing requests
org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLException: ORA-01017: invalid username/password; logon denied
java.sql.SQLException: ORA-01017: invalid username/password; logon denied
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
at oracle.jdbc.ttc7.O3log.receive2nd(O3log.java:496)
at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java:278)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:346)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:468)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:314)
at java.sql.DriverManager.getConnection(Ljava.lang.String;Ljava.util.Properties;Ljava.lang.ClassLoader;)Ljava.sql.Connection;(Unknown Source)
at java.sql.DriverManager.getConnection(Ljava.lang.String;Ljava.util.Properties;)Ljava.sql.Connection;(Unknown Source)
at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:291)
at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:277)
at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:259)
at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:241)
at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:111)
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:77)
at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:810)
at org.springframework.jdbc.core.JdbcTemplate.call(JdbcTemplate.java:857)
at org.springframework.jdbc.object.StoredProcedure.execute(StoredProcedure.java:102)
at com.rwi.wam.dao.serviceprovider.ServiceProviderDequeue.dequeue(ServiceProviderDequeue.java:32)
at com.rwi.wam.dao.serviceprovider.ServiceProviderDAO.dequeueRequest(ServiceProviderDAO.java:48)
at com.rwi.wam.ejb.WAMRequestMessageBean.onMessage(WAMRequestMessageBean.java:168)
at weblogic.ejb20.internal.MDListener.execute(MDListener.java:425)
at weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.java:332)
at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:288)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:3069)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:2989)
at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:3448)
at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:179) -
ORA-01017: invalid username/password - on RAC
Hi,
I have a RAC with two nodes.
From time to time i am getting the follwoing error message:
ORA-01017: invalid username/password; logon denied
$ echo $ORACLE_BASE
/u01/app/oracle
$ echo $ORACLE_HOME
/u01/app/oracle/product/11.2.0.3/dbhome_1 Then i am SUCCESSFULLY connecting as sysdba :
$ sqlplus sys/xxxx@psdwh as sysdba
SQL*Plus: Release 11.2.0.3.0 Production on Sun Jul 29 20:25:11 2012
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, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
SQL> exit IMMEDIATLY after that , connection is FAILED , due to : ORA-01017: invalid username/password .
Any suggestion ?
$ sqlplus sys/xxxx@psdwh as sysdba
SQL*Plus: Release 11.2.0.3.0 Production on Sun Jul 29 20:25:15 2012
Copyright (c) 1982, 2011, Oracle. All rights reserved.
ERROR:
ORA-01017: invalid username/password; logon denied Edited by: Yoav on 10:45 29/07/2012Hi,
[/u01/app]$ find . -name sqlnet.ora
./oracle/product/11.2.0.3/dbhome_1/network/admin/samples/sqlnet.ora <<<== not relevant
./11.2.0.3/grid/network/admin/sqlnet.ora <<<== on grid home and not rdbms home[u01/app]$ cat ./11.2.0.3/grid/network/admin/sqlnet.ora
# sqlnet.ora.dm01db01 Network Configuration File: /u01/app/11.2.0.3/grid/network/admin/sqlnet.ora.dm01db01
# Generated by Oracle configuration tools.
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
ADR_BASE = /u01/app/oracle
SQLNET.EXPIRE_TIME=10 -
ERROR: ORA-01017: invalid username/password; logon denied
Hi all
I need your kind help.
I have installed Oracle Audit Vault Server Release 10.2.3.2 in Linux system and collection agent in Windows system. Adding and starting DBAUD collector went fine however adding REDO collector return back errors when executing avorcldb add_collector command as follow
[oracle@avsrv ~]$
[oracle@avsrv ~]$ avorcldb add_collector -srcname orcl -agentname avagent01 -colltype REDO -av Lugaopc:1521:orcl
collector REDO_Collector for source orcl already exists
initializing REDO Collector
ERROR: could not get AV source user connection using jdbc:oracle:oci:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Lugaopc)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=orcl)))
ERROR: ORA-01017: invalid username/password; logon denied
[oracle@avsrv ~]$
Here is the contents of avorcldb.log file
09-09-13 16:58:44 [INFO ] Processing command add_collector
09-09-13 16:58:44 [INFO ] Processing arg -srcname = orcl
09-09-13 16:58:44 [INFO ] Processing arg -agentname = avagent01
09-09-13 16:58:44 [INFO ] Processing arg -colltype = REDO
09-09-13 16:58:44 [INFO ] Processing arg -av = Lugaopc:1521:orcl
09-09-13 16:58:44 [INFO ] Connect info : Lugaopc:1521:orcl
09-09-13 16:58:45 [INFO ] Got AV admin connection using jdbc:oracle:oci:@AVDB
09-09-13 16:58:45 [INFO ] Executing SQL as [ADM@AV] select s.host||':'||a1.num_value||':'||a2.char_value from avsys.av$attrvalue a1, avsys.av$attrvalue a2, avsys.av$source s, avsys.av$attrdef ad1, avsys.av$attrdef ad2 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 info : Lugaopc:1521:orcl
09-09-13 16:58:45 [INFO ] Executing SQL as [ADM@AV] select to_char(source_id) from 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 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 as [ADM@AV] select decode(c.status, 1, 'active', 0, 'dropped', null) from avsys.av$collector c, avsys.av$source s 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 ] Using bind value REDO_Collector
09-09-13 16:58:46 [INFO ] Return value = active
09-09-13 16:58:46 [MESG ] collector REDO_Collector for source orcl already exists
09-09-13 16:58:46 [INFO ] Executing SQL as [ADM@AV] select decode(c.status, 1, 'active', 0, 'dropped', null) from avsys.av$collector c, avsys.av$source s 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 ] Using bind value REDO_Collector
09-09-13 16:58:46 [INFO ] Return value = active
09-09-13 16:58:46 [MESG ] initializing REDO Collector
09-09-13 16:58:46 [INFO ] Executing SQL as [ADM@AV] select username from 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 ] Executing SQL as [ADM@AV] {? = call avsys.dbms_audit_vault.reset_source_user(?)}
09-09-13 16:58:46 [INFO ] Adding mask for user password
09-09-13 16:58:46 [INFO ] Executing SQL as [USR@SRC] select table_name from user_tables where upper(table_name) = upper(:1)
09-09-13 16:58:46 [INFO ] Using bind value STREAMS_HEARTBEAT
09-09-13 16:58:46 [INFO ] Return value = STREAMS_HEARTBEAT
09-09-13 16:58:46 [INFO ] Executing SQL as [USR@SRC] drop table streams_heartbeat
09-09-13 16:58:46 [INFO ] Executing SQL as [USR@SRC] create table streams_heartbeat( src_dbname varchar2(4000), job_number number, heartbeat_time timestamp)
09-09-13 16:58:46 [INFO ] Executing SQL as [USR@SRC] declare dbs_name varchar2(4000); begin select global_name into dbs_name from global_name; insert into streams_heartbeat values (dbs_name, 0, SYSTIMESTAMP); end;
09-09-13 16:58:46 [INFO ] Executing SQL as [USR@SRC] create or replace procedure update_heartbeat IS begin update streams_heartbeat set heartbeat_time=(select systimestamp from dual); commit; end;
09-09-13 16:58:46 [INFO ] Executing SQL as [USR@SRC] select table_name from user_tables where upper(table_name) = upper(:1)
09-09-13 16:58:46 [INFO ] Using bind value CAPTURE_RULES
09-09-13 16:58:46 [INFO ] Return value = CAPTURE_RULES
09-09-13 16:58:46 [INFO ] Executing SQL as [USR@SRC] drop table capture_rules
09-09-13 16:58:46 [INFO ] Executing SQL as [USR@SRC] create table capture_rules( rule_name varchar2(50), rule_scope varchar2(6), rule_type varchar2(3), obj_name varchar2(100))
09-09-13 16:58:46 [INFO ] Executing SQL as [ADM@AV] select global_name from global_name
09-09-13 16:58:46 [INFO ] Return value = AVDB.AVSRV
09-09-13 16:58:46 [INFO ] Executing SQL as [USR@SRC] select db_link from user_db_links where db_link = :1
09-09-13 16:58:46 [INFO ] Using bind value AVDB.AVSRV
09-09-13 16:58:46 [INFO ] Return value = AVDB.AVSRV
09-09-13 16:58:46 [INFO ] Executing SQL as [USR@SRC] drop database link "AVDB.AVSRV"
09-09-13 16:58:46 [INFO ] Executing SQL as [USR@SRC] select version from 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 ] Connecting 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 from 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 errors.
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 errors.
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 errors.
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 errors.
09-09-13 16:58:47 [INFO ] Executing SQL as [USR@SRC] select distinct name from user_errors where name = :1
09-09-13 16:58:47 [INFO ] Using bind value DBMS_SRC_STREAMS_COLLECTOR
09-09-13 16:58:47 [INFO ] Return value = null
09-09-13 16:58:47 [ERROR] could not get AV 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:47 [ERROR] ORA-01017: invalid username/password; logon denied
java.sql.SQLException: ORA-01017: invalid username/password; logon denied
at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:765)
at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:414)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:546)
at 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)
at oracle.av.avca.jdbc.JdbcConnection.<init>(JdbcConnection.java:87)
at oracle.av.orcldb.DAO.initConnection(DAO.java:79)
at 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 have searched the forum to my level best without clear solution
Regards
SadockHi gurus
I don't believe if this is missing solution from oracle community. I have decided to installed the collction agent and source database in linux system, so now both auditt vault server and collction agent are running in Linux system (but separately)
I am wondering, avorcldb add_collector -srcname ORCL -agentname avagent01 -colltype DBAUD and avorcldb add_collector -srcname ORCL -agentname avagent01 -colltype OSAUD -orclhome /u01/app/oracle/product/11.2.0/dbhome_1 are working fine and I am able to start these collectors
The avorcldb verify -src Lugaosrv:1521:ORCL.LUGAOSRV -colltype ALL command also return good results
[oracle@avsrv ~]$ avorcldb verify -src Lugaosrv:1521:ORCL.LUGAOSRV -colltype ALL
Enter Source user name: srcuser_ora01
Enter Source password:
source ORCL.LUGAOSRV verified for OS File Audit Collector collector
source ORCL.LUGAOSRV verified for Aud$/FGA_LOG$ Audit Collector collector
source ORCL.LUGAOSRV verified for REDO Log Audit Collector collector
[oracle@avsrv ~]$
The problem still I am facing is when attempting to add REDO collector. In fact the collector is added successful and i can see it even on EM console.
[oracle@avsrv ~]$ avorcldb add_collector -srcname ORCL -agentname avagent01 -colltype REDO -av Lugaosrv:1521:ORCL.LUGAOSRV
source ORCL verified for REDO Log Audit Collector collector
Adding collector...
Collector added successfully.
remember the following information for use in avctl
Collector name (collname): REDO_Collector
initializing REDO Collector
ERROR: could not get AV source user connection using jdbc:oracle:oci:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Lugaosrv)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=ORCL.LUGAOSRV)))
ERROR: ORA-01017: invalid username/password; logon denied
[oracle@avsrv ~]$
Any help will be appreciated
Sadock -
ORA-01017: invalid username/password; logon denied - Database Link
Hi Guys,
Could you help me, I have a problem connecting to another database using the database link:
*1. I added in tnsnanes.ora of "client" database DEV2*
DEV =
+(DESCRIPTION =+
+(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.100.85)(PORT = 1521))+
+(CONNECT_DATA =+
+(SID = DEVDB)+
+)+
+)+
*2. I tested my connection using tnsping*
oracle@dev> tnsping dev
TNS Ping Utility for Linux: Version 10.2.0.1.0 - Production on 10-JUL-2010 14:35:35
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Used parameter files:
+/opt/oracle/product/10.2/db_1/network/admin/sqlnet.ora+
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.100.85)(PORT = 1521)) (CONNECT_DATA = (SID = DEVDB)))
OK (0 msec)
oracle@dev>
*3. In SQLPLUS of DEV2 I connect to my database using the tnsnames entry*
SQL> conn devuser/pwd001@dev
Connected.
*4. I then create a database link.*
SQL> Create Database Link dev_Link
+2 Connect to devuser+
+3 identified by pwd001+
+4 using 'DEV';+
Database link created.
SQL>
*5. When I try to connect to the database using the database link I get an error, but I am very sure the username ans password are ok.*
SQL> select * from global_name@dev_link;
select * from global_name@dev_link
*+
ERROR at line 1:
ORA-01017: invalid username/password; logon denied
ORA-02063: preceding line from DEV_LINK
SQL>
What could be wrong......??4. I then create a database link.
SQL> Create Database Link dev_Link
2 Connect to devuser
3 identified by pwd001
4 using 'DEV';create DATABASE LINK USING <connect-string>
your sid is DEVDB so create dblink using oracle_sid
If you specify only the database name, then Oracle Database implicitly appends the database domain to the connect string to create a complete service name. Therefore, if the database domain of the remote database is different from that of the current database, then you must specify the complete service name.
Edited by: rajeysh on Jul 10, 2010 7:28 PM -
Deployment error: ORA-01017: invalid username/password; logon denied
Hi,
I created a new target schema against an existing runtime owner user id and runtime access user id.
But deploying the mapping now gives error as follows:
<<ORA-01017: invalid username/password; logon denied>>
Can you please guide where the problem is?
Thanks & Regards,
LeninHi,
Just to add some more informations about this topic. I created one extra target schema for the same runtime user id/runtime access user. And then tried to deploy the mapping and got the above error. And again, I removed the older target schema by using "OWB Runtime Assistant". And then tried to deploy mapping again and got the same error again.
Can you please help me out in this case?
Thanks & Regards,
Lenin -
OCI ORA-01017: invalid username/password;logon denied
I am attempting to connect to the database through OCI, and am receiving this error:
OCI ORA-01017: invalid username/password;logon denied
I know the username and password I am using is correct. Is there some setting in the init.ora file that needs to be configured to logon through OCI?
Please Advise
Thanks,
MikeThe Entreprise manager agent trace file (emagent.trc)
contains following error. Any idea what and where to
fix this?
2007-12-31 02:21:57 Thread-316441 WARN vpxoci: OCI
Error -- ErrorCode(1017): ORA-01017: invalid
username/password; logon denied
SQL = "
CISessionBegin"...
LOGIN =
ods/<PW>@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL
=TCP)(HOST=longines)(PORT=1521)))(CONNECT_DATA=(SERVIC
E_NAME=iasdb.com)))
2007-12-31 02:21:57 Thread-316441 ERROR vpxoci:
ORA-01017: invalid username/password; logon denied
2007-12-31 02:21:57 Thread-316441 WARN vpxoci: Login
0x1587ba8 failed, error=ORA-01017: invalid
username/password; logon denied
2007-12-31 02:21:57 Thread-316441 ERROR engine:
[oracle_ldap,iasdb.longines.com_LDAP,OIDserverSecRefSu
LoginSuccCC] : nmeegd_GetMetricData failed :
ORA-01017: invalid username/password; logon denied
ThanksGo to the agent setup pages, update the Metric Collection settings for that target.
Maybe you are looking for
-
What's the right memory module for an iMac G4 Flat panel 15-inch?
Hello! A new program I've recently bought requires me to expand my iMac's memory, which is currently 256 MB. After searching the Apple Store web site, I think I've come to the conclusion that what I need is an Apple memory module called "512MB DDR266
-
How to upgrade to os x lion if i bought my mac in time?
how to upgrade to os x lion if i bought my mac in time?
-
Can somebody list out the steps to be done to create a Global security profiles. Is any document available. Please let me know. Tks.
-
Anyone know what happened to NuFile?
NuFile was a great contextual menu plug-in for quickly creating a new document. I really miss it. Although I have gone several years without it. I sure would like to be reacquainted with it or a good substitute. Anyone have any ideas of NuFile for
-
Is it possible to add a JPanel to a JMenuItem? If so how would you do this. What I'm trying to do is add a JPanel that has a bunch of JButtons added to the panel and then add the JPanel to the JMenuItem. This allows you to have more items added to on