Deployment problem - invalid username/password
I've developed application using UIX/Struts/ADF BC4J technology. This application was developed on JDeveloper 9.0.5.2 in Windows. When I deployed this application to Application Server (9.0.4) on platform AIX it throws exception "Invalid username/password". When I copied entire project to JDeveloper (9.0.5.2) on AIX and deployed from there everything was OK.
So where is problem when I deployed it from Windows?
Thanks, Martin.
Hi!
I looks that you pass the wrong username/password when deploying or that you haven't set up your adminuser and password on the server (set up with your initial "java -jar orions.jar -install" command).
Make sure there is a non-deactivated adminuser in your $J2EE_HOME/config/principals.xml on the OC4J server.
<user username="admin" password="admin">
<description>The default administrator</description>
<group-membership group="administrators" />
<group-membership group="guests" />
<group-membership group="users" />
</user>
Dunno if this is your problem...
Regards
/Stefan Fdgersten, InfoGrator
Similar Messages
-
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 -
IPhone deploy gets Login Error (Invalid username/password). Android works
Hi, we're developing an ADF Mobile app on JDeveloper 11.1.2.3 which does initial authentication against Weblogic.
The login & app works fine on Android, but fails when we deploy the same app to iPhone (iOS 5.0.1, but also 5.1, 6.0 & 6.1 in the Simulator).
Specific message is :
Login Error
Invalid username/password. If the problem persists, please contact your system administrator.
It's definitely on the network and reaching the login server, because when we shut down the server or make the network unavailable, the message reports "The login server is not reachable"
All I can think is it's possibly encrypting the password differently within iOS.
Not having much luck on Google or other searches, so any thoughts are appreciated.
Thanks
PeterI found a bit more information in the Weblogic Managed Server logs proving the login request reaches the server, but gives this error. Not much luck on google so, if this rings any bells for anyone thoughts are appreciated.
FROM : /oracle/product/admin/domains/cdlmobile_domain/servers/cdlmobile_server1/logs/cdlmobile_server1-diagnostic.log
[2013-04-04T17:04:58.426+01:00] [cdlmobile_server1] [WARNING] [] [org.apache.myfaces.trinidadinternal.agent.AgentFactoryImpl] [tid: [ACTIVE].ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: tatmfy] [ecid: 53bd9d60b35a3019:-327732ec:13dcfd76fee:-8000-00000000000029b3,0] [APP: BC040113_Project1_BC040113] The User-Agent "cdlivemobile/1.0 CFNetwork/609.1.4 Darwin/12.3.0" is unknown; creating an agent with "unknown" agent attributes. -
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. -
ORA-01017 invalid username/password on execution of process flow
Hi, there are one or two similar issues mentioned in the foum but none are resolved I think.
Basically we have target repositories setup with a single user (not the schema owner) used for the location credentials eg.
REP1_LOCATION pointing to schema REP1 but username OWBRT
REP2_LOCATION pointing to schema REP2 but also username OWBRT
The user OWBRT is defined as a user within OWB and is also defined as a target repository user.
The objects deploy ok without errors but when running any process flow or mapping we get an ORA-01017 invalid username/password.
If the we set the location details to use the schema owner instead of OWBRT mappings and process flows work for that schema.
Is there any special privileges / grants that need to be setup for the username attached to a location in order for this to work ?
We tried giving DBA privileges as a test (which you would think would work), but it didnt.
Thanks
PaulHi Paul,
under what user you tried to start processflows/mappings? Did you use configuration with spitted design ant runtime OWB repositories (did you use different DB for design and runtime OWB repositories)?
You should start processflows/mappings under OWB user (created/registered in target DB) and
you need register target locations (database and workflow locations) under this OWB user.
Other variant - you can enable preferences options "Persist location password in metadata" and "Share location password during run time" and then register locations under any OWB user.
I had similar problem and resolved it, also look at this thread
Re: Complex condition don't work with variables in OWB 10.2
Regards,
Oleg -
Manually execute mapping - ORA-01017: invalid username/password
Hi Gurus,
I know this is an old thread. But I can't solve this problem anyway.
Environment: OWB 10.2.0.1
I've developed a simple mapping for test purpose. I've deployed it successfully and I can execute the package generated from the mapping in SQL*PLUS without any problem. But when executing this mapping in OWB, I always got this error:
ORA-01017: invalid username/password; logon denied;
I've registered the location for both the source and target location. I've also checked the "Share location password" preference.
What else I'm supposed to do?
JeffreyFinally, I figured out the solution by myself.
It's a bug of OW(even in 11g). The workaround for this is : Set the location schema user password to the same password as the location user.
Edited by: jzhao on Apr 16, 2010 1:20 PM -
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! -
Getting invalid username/password error while trying to create_queue_table
Here is how I get it.
connect / as sysdba
create user aq identified by aq
default tablespace users
temporary tablespace temp
quota unlimited on users;
grant connect,
create type,
create procedure,
aq_administrator_role
to aq;
grant execute on dbms_aq to aq;
grant execute on dbms_aqadm to aq;
begin
dbms_aqadm.grant_system_privilege('ENQUEUE_ANY','AQ',FALSE);
dbms_aqadm.grant_system_privilege('DEQUEUE_ANY','AQ',FALSE);
end;
connect aq/aq
create Type aq.message_typ as object (
subject Varchar2(30), text Varchar2(80)
begin
dbms_aqadm.create_queue_table(
queue_table => 'aq.objmsgs80_qtab',
queue_payload_type => 'aq.Message_typ',
multiple_consumers => true);
end;
Error at line 1:
ORA-01017: invalid username/password; logon denied
ORA-06512: at "SYS.DBMS_AQADM_SYS", line 2934
ORA-06512: at "SYS.DBMS_AQADM", line 58
ORA-06512: at line 2In what version of Oracle?
I see a couple of problems assuming you are working with a currently supported version:
1. Never grant CONNECT to anyone: Ever. Grant CREATE SESSION.
2. GRANT CREATE TABLE to AQ;
Go to Morgan's Library at www.psoug.org and look at AQ Demo 1. You should have no problem cutting and pasting your way to where you are trying to go. -
Hi,on starting firefox which i have used solely as my browser for years i am now getting an error message from java script application that shows my username followed by a message saying; 'username'-Invalid username/password combination.If you keep getting this error,try entering your email address as your username'. I then press the OK button within that error message box and it dissapears and everything seems ok although hover my cursor over the mail(envelope) icon and it says not connected.
I only started having this problem since downloading firefox 4.It also does not tell me where this problem is occuring so i do not know where to log on with this information.I would be most grateful for any help with this matter.Many thanks.Take a look in the Error Console for details about that.
Tools > Error Console <br />
Right-click the message and use '''Copy''' to get that complete message. -
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....... -
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!! -
Every time I start up Firefox, I get the following:
JavaScript Application
"mfernandez1957" Invalid username/password combination. If you continue to get this error, try entering your email address as your username.
What do I do?
Another issue is hang ups, I mean every few seconds it hangs up and I get (Not Responding), which is frustrating when you're entering data or whatever and in the middle it freezes so then you have to go back and retype stuff that never got entered. It even hangs right out the gate, I get (Not Responding), I mean, before Firefox is even fully loaded, it hangs, it even hangs (though considerably less frequently) with all my plug ins currently disabled. So that's another issue.
If y'all can help, I would be grateful.hello, please try to [[Reset Firefox – easily fix most problems|reset firefox]] and see if this can address the issue...
-
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 -
Invalid username/password in case of oracle os authentication
Hi,
I am trying to connect to database using oracle local os authentication. REMOTE_OS_AUTHENT = false
I am using oracle 11g.
here is the code
I am trying in two ways :-
1. OracleDataSource
OracleDataSource ods = new OracleDataSource();
String url = "jdbc:oracle:oci:@";
ods.setURL(url);
ods.setDatabaseName("oradg");
Connection conn = ods.getConnection();
In this case it always connects to the default ORACLE_SID which is set in the environment.
2. Simple JDBC connection
String url = "jdbc:oracle:oci:@oradg";
Connection con = Drivermanager.getconnection(url,props);
in this case it always says "invalid username/password"
Please help me to resolve the problem.
Thanksuser10839503 wrote:
2 using the oracle account for this is a VERY BAD IDEA
i have another os user called demo which has the same issue.
REMOTE_OS_AUTHENT any way i dont want to use.
3 always connecting to the database server is a VERY BAD IDEA
i am not very clear on this can u please elaborate it?
I dont want to use any username and password for os authentication in the code.
The problem is if ORACLE_SID is set in the environment then code works fine. But I want to set the sid in the code itself.
Because if i set in the environment then at a time only one sid will be used.
But why you want to hard code the SID in the first place anywhere? Why not to use the Services ?
Aman....
Maybe you are looking for
-
I keep getting an error message when I try to log into to ExportPDF through my Adobe Reader. "Network error occurred while attempting to sign in". Can anyone help, please?
-
After up grade I can not send mail from road runner account. Message says server needs password, server says it won't support a password. Any thoughts?
-
Web Server 6.0sp9 - Reliable shutdown and restart
We have set the internal cron to rotate the logs nightly at 11:30pm. When tries to restart, there is a stray process left behind and we get this in the errors log. This happens 85% of the time: [11/Oct/2005:23:30:21] info ( 7689): successful server s
-
Hi so I try to connect with my friends through FaceTime and whenever I do so the application starts and then immediately says FaceTime failed its the same problem with every friend ,and they all have the new generation iPod touch . I even tried remak
-
IPhoto 6.0.5 crashes when clicking the Edit button
On some of my albums....not all of them.... When clicking the Edit button or double clicking one of the photos in that album, to make it bigger so you can use the arrows to move throught the pictures, iPhoto crashes. It does this every time with cert