Connecting as sysdba returns ORA-01017: invalid username/password
SQL Developer on my Win7 x64 Enterprise machine with Oracle 11gR2 Express was working fine until I tried to install the ODAC connectors so I could use Oracle as a data source for C# and VB in Visual Studio 2010.
The connection properties are:
Connection name "/ as sysdba"
Role "default"
Connection Type "basic"
OS Authentication checked
Hostname "localhost"
Port 1521
SID "orcl"
These are the same as when SQL Developer was working.
If I try to log on to SQL*Plus at the user-name prompt with "/ as sysdba", I get "insufficient privileges".
Where and what do I check to fix this?
Thanks.
>
Where would I check for DOMAIN/USER entries?
select username, authentication_type from dba_users;With the prefix, there should be a database user e.g. "OPS$MYDOM\MYUSER" with external identification.
But with Connection type Basic, I assume you would not be able to connect anyway.
Try type TNS to see if that works or changes anything. (That is, if corresponding db user exists for OS authentication.)
Do you have a requirement to use OS authentication? Could you instead use a database user with a password, i.e. uncheck OS Authentication in SQL Developer?
The connections in SQL Developer are the Auto-Generated Local Connections:
/ as sysdbaI've found a few quirks in SQL Developer 3.0.04 with the auto-generated connection named "/ as sysdba". But right now I don't see that its relevant to this case.
Just create your own connection instead. If you need sysdba administrative connection, change Role in connection properties.
>
By the way, the password for SYSMAN will expire in 5 days. How do I update the password?You should separate questions in separate threads and related forums, but lookup the ALTER USER command in the SQL Reference book.
Edited by: orafad on Dec 4, 2011 11:47 PM
Edit:
parenthesis about os auth part
Edited by: orafad on Dec 6, 2011 1:29 AM
Similar Messages
-
ORA-01017: invalid username/password; logon denied in Standby Server
Hello,
In Standby Server , when executing logs applying process it shows an error.
It happens suddenly
Now logs from PRD to standby is not applying.
Error log is as follows:
BR0002I BRARCHIVE 7.00 (42)
BR0006I Start of offline redo log processing: aehrjpck.svd 2012-01-17 08.38.34
BR0484I BRARCHIVE log file: /oracle/PRD/saparch/aehrjpck.svd
BR0280I BRARCHIVE time stamp: 2012-01-17 08.38.34
BR0301W SQL error -1017 at location BrDbConnect-2, SQL statement:
'CONNECT system/********@PRD.WORLD'
ORA-01017: invalid username/password; logon denied
BR0310W Connect to database instance PRD/PRIMARY failed.
BR0338E Applying offline redo log file /oracle/PRD/oraarch/standby/PRDarch1_24090_696018700.dbf failed
BR0338E Applying offline redo log file /oracle/PRD/oraarch/standby/PRDarch1_24091_696018700.dbf failed
BR0016I 0 offline redo log files processed, total size 0.000 MB
BR0280I BRARCHIVE time stamp: 2012-01-17 08.38.36
BR0301W SQL error -1017 at location BrDbConnect-2, SQL statement:
'CONNECT system/********@PRD.WORLD'
ORA-01017: invalid username/password; logon denied
BR0310W Connect to database instance PRD/PRIMARY failed
BR0007I End of offline redo log processing: aehrjpck.svd 2012-01-17 08.38.36
BR0280I BRARCHIVE time stamp: 2012-01-17 08.38.36
BR0005I BRARCHIVE terminated with errors
Standby DB is in mount state
I have checked from v$instance.
# select status from v$instance;
MOUNTED
Logs applying commadt is as follows;
# brarchive -u system/systempwd -c -f -d disk -m 30 -sd
How can i check whether , the status of SYSTEM user?
Since Standby is in mount state, im not allowed to query DBA_USERS
How can i check whether , SYSTEM user is locked or not.
Is it possible to change the password of SYSTEM , while DB is in mount state.
I have tried like this;
#sqlplus
/ as sysdba
<It logon as sys - success>
conn SYSTEM
Enter password: systempwd
ERROR:
ORA-01033: ORACLE Initialization or shutdown in progress
Warning: You are not longer connected to ORACLE
Im not able to connect as SYSTEM user.
What should be the solution for this;
regards,
ZerandibIs it possible to maintain different passwords for users in Standby and PrimaryFor SYSTEM user, you don't need to worry because when you change SYSTEM user password on primary, it will automatically be updated on the standby because password is saved in data dictionary and data dictionary change is also propagated at the standby standby site. More importantly, you will not be able to perform any data change on standby site in any case (password change of any user other than SYSDBA is a "data change" actually)
For SYS password, no you can't have a different password on primary and standby site(s)
Salman -
Could not create pool connection.The DBMS driver exception was:java.sql.SQLException:
ORA-01017: invalid username/password
Even though I could able to connect to Oracle database using correct userid,password
and HostString using OracleClient, I couldnt able to do with connectionpool. Here
is the error message..
<Jan 21, 2003 2:27:50 AM PST> <Notice> <WebLogicServer> <Starting WebLogic Admin
Server "examplesServer" for domain "examples">
Starting Loading jDriver/Oracle .....
---------- LOGIN ERROR CODE: 1017
---------- LOGIN ERROR CODE: 1017
<Jan 21, 2003 2:28:06 AM PST> <Error> <JDBC> <Cannot startup connection pool "or
aclePool" weblogic.common.ResourceException:
Could not create pool connection. The DBMS driver exception was:
java.sql.SQLException: ORA-01017: invalid username/password; logon denied - (Obj
ectel/********@ora8i)
at weblogic.db.oci.OciConnection.getLDAException(OciConnection.java:164)
at weblogic.jdbc.oci.Driver.connect(Driver.java:112)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
nectionEnvFactory.java:193)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
nectionEnvFactory.java:134)
at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllo
cator.java:698)
at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.j
ava:282)
at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
ava:623)
at weblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:107)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
oymentTarget.java:329)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Dep
loymentTarget.java:279)
at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeploy
ments(DeploymentTarget.java:233)
at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(
DeploymentTarget.java:193)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
55)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy45.updateDeployments(Unknown Source)
at weblogic.management.configuration.ServerMBean_CachingStub.updateDeplo
yments(ServerMBean_CachingStub.java:2761)
at weblogic.management.mbeans.custom.ApplicationManager.startConfigManag
er(ApplicationManager.java:370)
at weblogic.management.mbeans.custom.ApplicationManager.start(Applicatio
nManager.java:160)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
55)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy64.start(Unknown Source)
at weblogic.management.configuration.ApplicationManagerMBean_CachingStub
.start(ApplicationManagerMBean_CachingStub.java:480)
at weblogic.management.Admin.startApplicationManager(Admin.java:1180)
at weblogic.management.Admin.finish(Admin.java:590)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:518)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:203)
at weblogic.Server.main(Server.java:35)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
nectionEnvFactory.java:209)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
nectionEnvFactory.java:134)
at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllo
cator.java:698)
at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.j
ava:282)
at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
ava:623)
at weblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:107)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
oymentTarget.java:329)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Dep
loymentTarget.java:279)
at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeploy
ments(DeploymentTarget.java:233)
at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(
DeploymentTarget.java:193)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
55)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy45.updateDeployments(Unknown Source)
at weblogic.management.configuration.ServerMBean_CachingStub.updateDeplo
yments(ServerMBean_CachingStub.java:2761)
at weblogic.management.mbeans.custom.ApplicationManager.startConfigManag
er(ApplicationManager.java:370)
at weblogic.management.mbeans.custom.ApplicationManager.start(Applicatio
nManager.java:160)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
55)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy64.start(Unknown Source)
at weblogic.management.configuration.ApplicationManagerMBean_CachingStub
.start(ApplicationManagerMBean_CachingStub.java:480)
at weblogic.management.Admin.startApplicationManager(Admin.java:1180)
at weblogic.management.Admin.finish(Admin.java:590)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:518)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:203)
at weblogic.Server.main(Server.java:35)
>
<Jan 21, 2003 2:28:14 AM PST> <Notice> <Management> <Application Poller started
for development server.>
<Jan 21, 2003 2:28:19 AM PST> <Notice> <WebLogicServer> <ListenThread listening
on port 7001>
<Jan 21, 2003 2:28:19 AM PST> <Notice> <WebLogicServer> <SSLListenThread listeni
ng on port 7002>
<Jan 21, 2003 2:28:20 AM PST> <Notice> <Management> <Starting discovery of Manag
ed Server... This feature is on by default, you may turn this off by passing -Dw
eblogic.management.discover=false>
<Jan 21, 2003 2:28:20 AM PST> <Notice> <WebLogicServer> <Started WebLogic Admin
Server "examplesServer" for domain "examples" running in Development Mode>URL=jdbc:weblogic:oracle:oracle8i(server)
Driver Classname=weblogic.jdbc.oci.Driver
AClname=weblogic.jdbc.connectionPool.oraclePool
intialcapacity=1
MaximumCapacity=10
Capacity Increment=2
Login Delay Seconds=1sec
Refresh Period=15 Minutes
Supports Local Transaction=No
Allow Shrinking=No
Shrink Period=15
Prepared Statement Cache Size=10
TargetServer=ExamplesServer
Properties
user=Objectel
password=superman
Test table=yes
Test Reserved Connections=yes
Test Released Connections=Yes
I could able to connect to oracledataBase if I use
user=scott
password=tiger
with any other database user Iam getting the following error
Could not create pool connection. The DBMS driver exception was:java.sql.SQLException:
ORA-01017: invalid username/password
"Neo Gigs" <[email protected]> wrote:
By end of the error you shown:
<Jan 21, 2003 2:28:20 AM PST> <Notice> <WebLogicServer> <Started WebLogicAdmin
Server "examplesServer" for domain "examples" running in DevelopmentMode>
You are running the Examples application shipped with WLS, which I guest
the
correct DB to connect with is Cloudscape yet to Oracle, unless you make
changes to the original ConnectionPool in the examples. Anyhow, please
show
us your configuration of the ConnectionPool used when this error pops.
"Raj" <[email protected]> wrote in message
news:[email protected]...
Could not create pool connection.The DBMS driver exceptionwas:java.sql.SQLException:
ORA-01017: invalid username/password
Even though I could able to connect to Oracle database using correctuserid,password
and HostString using OracleClient, I couldnt able to do withconnectionpool. Here
is the error message..
<Jan 21, 2003 2:27:50 AM PST> <Notice> <WebLogicServer> <Starting WebLogicAdmin
Server "examplesServer" for domain "examples">
Starting Loading jDriver/Oracle .....
---------- LOGIN ERROR CODE: 1017
---------- LOGIN ERROR CODE: 1017
<Jan 21, 2003 2:28:06 AM PST> <Error> <JDBC> <Cannot startup connectionpool "or
aclePool" weblogic.common.ResourceException:
Could not create pool connection. The DBMS driver exception was:
java.sql.SQLException: ORA-01017: invalid username/password; logondenied - (Obj
ectel/********@ora8i)
atweblogic.db.oci.OciConnection.getLDAException(OciConnection.java:164)
at weblogic.jdbc.oci.Driver.connect(Driver.java:112)
atweblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
nectionEnvFactory.java:193)
atweblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
nectionEnvFactory.java:134)
atweblogic.common.internal.ResourceAllocator.makeResources(ResourceAllo
cator.java:698)
atweblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.j
ava:282)
atweblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
ava:623)
atweblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:107)
atweblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
oymentTarget.java:329)
atweblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Dep
loymentTarget.java:279)
atweblogic.management.mbeans.custom.DeploymentTarget.updateServerDeploy
ments(DeploymentTarget.java:233)
atweblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(
DeploymentTarget.java:193)
at java.lang.reflect.Method.invoke(Native Method)
atweblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:636)
atweblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
java:621)
atweblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:359)
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
55)
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
atweblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
atweblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy45.updateDeployments(Unknown Source)
atweblogic.management.configuration.ServerMBean_CachingStub.updateDeplo
yments(ServerMBean_CachingStub.java:2761)
atweblogic.management.mbeans.custom.ApplicationManager.startConfigManag
er(ApplicationManager.java:370)
atweblogic.management.mbeans.custom.ApplicationManager.start(Applicatio
nManager.java:160)
at java.lang.reflect.Method.invoke(Native Method)
atweblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:636)
atweblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
java:621)
atweblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:359)
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
55)
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
atweblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
atweblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy64.start(Unknown Source)
atweblogic.management.configuration.ApplicationManagerMBean_CachingStub
start(ApplicationManagerMBean_CachingStub.java:480)
atweblogic.management.Admin.startApplicationManager(Admin.java:1180)
at weblogic.management.Admin.finish(Admin.java:590)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:518)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:203)
at weblogic.Server.main(Server.java:35)
atweblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
nectionEnvFactory.java:209)
atweblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
nectionEnvFactory.java:134)
atweblogic.common.internal.ResourceAllocator.makeResources(ResourceAllo
cator.java:698)
atweblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.j
ava:282)
atweblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
ava:623)
atweblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:107)
atweblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
oymentTarget.java:329)
atweblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Dep
loymentTarget.java:279)
atweblogic.management.mbeans.custom.DeploymentTarget.updateServerDeploy
ments(DeploymentTarget.java:233)
atweblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(
DeploymentTarget.java:193)
at java.lang.reflect.Method.invoke(Native Method)
atweblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:636)
atweblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
java:621)
atweblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:359)
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
55)
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
atweblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
atweblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy45.updateDeployments(Unknown Source)
atweblogic.management.configuration.ServerMBean_CachingStub.updateDeplo
yments(ServerMBean_CachingStub.java:2761)
atweblogic.management.mbeans.custom.ApplicationManager.startConfigManag
er(ApplicationManager.java:370)
atweblogic.management.mbeans.custom.ApplicationManager.start(Applicatio
nManager.java:160)
at java.lang.reflect.Method.invoke(Native Method)
atweblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:636)
atweblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
java:621)
atweblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:359)
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
55)
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
atweblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
atweblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy64.start(Unknown Source)
atweblogic.management.configuration.ApplicationManagerMBean_CachingStub
start(ApplicationManagerMBean_CachingStub.java:480)
atweblogic.management.Admin.startApplicationManager(Admin.java:1180)
at weblogic.management.Admin.finish(Admin.java:590)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:518)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:203)
at weblogic.Server.main(Server.java:35)
>
<Jan 21, 2003 2:28:14 AM PST> <Notice> <Management> <Application Pollerstarted
for development server.>
<Jan 21, 2003 2:28:19 AM PST> <Notice> <WebLogicServer> <ListenThreadlistening
on port 7001>
<Jan 21, 2003 2:28:19 AM PST> <Notice> <WebLogicServer> <SSLListenThreadlisteni
ng on port 7002>
<Jan 21, 2003 2:28:20 AM PST> <Notice> <Management> <Starting discoveryof
Manag
ed Server... This feature is on by default, you may turn this off bypassing -Dw
eblogic.management.discover=false>
<Jan 21, 2003 2:28:20 AM PST> <Notice> <WebLogicServer> <Started WebLogicAdmin
Server "examplesServer" for domain "examples" running in DevelopmentMode> -
Dear All;
I am in the post activities of SAP system refresh.
I restored the system using brtools successfully as you can see below:
then I went with the rest of the steps based on sap recomendations, and reached to SAP sql queries:
CREATE USER "OPS$<DOMAIN>\<SID>ADM" DEFAULT TABLESPACE SYSTEM TEMPORARY TABLESPACE PSAPTEMP IDENTIFIED EXTERNALLY;
CREATE USER "OPS$<DOMAIN>\SAPSERVICE<SID>" DEFAULT TABLESPACE SYSTEM TEMPORARY TABLESPACE PSAPTEMP IDENTIFIED EXTERNALLY;
GRANT CONNECT, RESOURCE, SAPDBA TO "OPS$<DOMAIN>\<SID>ADM";
GRANT CONNECT, RESOURCE, SAPDBA TO "OPS$<DOMAIN>\SAPSERVICE<SID>";
CREATE TABLE "OPS$<DOMAIN>\<SID>ADM".SAPUSER (USERID VARCHAR2(256), PASSWD VARCHAR2(256));
INSERT INTO "OPS$<DOMAIN>\<SID>ADM".SAPUSER VALUES ('SAPSR3', '<Password>');
CREATE SYNONYM "OPS$<DOMAIN>\SAPSERVICE<SID>".SAPUSER FOR "OPS$<DOMAIN>\<SID>ADM".SAPUSER;
CONNECT /
GRANT SELECT, UPDATE ON "OPS$<DOMAIN>\<SID>ADM".SAPUSER TO "OPS$<DOMAIN>\SAPSERVICE<SID>";
CONNECT /as sysdba
GRANT CONNECT, RESOURCE TO "OPS$<DOMAIN>\SAPSERVICE<SID>";
GRANT CONNECT, RESOURCE TO "OPS$<DOMAIN>\<SID>ADM";
I checked if all users are on opened state using select USERNAME,ACCOUNT_STATUS from dba_users;
The database is running file, and it is opened, but when I run R3trans -d it gives me RC 12 and i get this error:
*** ERROR => CONNECT failed with sql error '1017'
set_ocica() -> SQL error code 1017
-->oci_get_errmsg (con=0, rc=1017)
OCIErrorGet -> SQL error code: 1017
ORA-01017: invalid username/password; logon denied
DbSlConnect(con=0) -> orc=0, 99=DBSL_ERR_DB
***LOG BY2=>sql error 1017 performing CON
***LOG BY0=>ORA-01017: invalid username/password; logon denied
I used brconnect -u / -f chpass -o PSAPSR3 -p sap so i can reset the password, but still I am getting the same invalid username or password error.
I checked the listener status, and it is running.
Kindly let me know how I can fix my error
Best Regards
~Amal AlounDear Gaurav;
I am running SAP Kernel 720 64bit unicode PL300
The content of my trans log file is the following:
4 ETW000 r3trans version 6.23 (release 720 - 15.05.12 - 20:12:03).
4 ETW000 unicode enabled version
4 ETW000 ===============================================
4 ETW000
4 ETW000 date&time : 05.08.2014 - 17:50:30
4 ETW000 control file: <no ctrlfile>
4 ETW000 R3trans was called as follows: r3trans -d
4 ETW000 trace at level 2 opened for a given file pointer
4 ETW000 [ dev trc,00000] Tue Aug 05 17:50:30 2014 149 0.000149
4 ETW000 [ dev trc,00000] db_con_init called 27 0.000176
4 ETW000 [ dev trc,00000] set_use_ext_con_info(): rsdb/ssfs_connect not set => ssfs not used 41 0.000217
4 ETW000 [ dev trc,00000] determine_block_commit: no con_hdl found as blocked for con_name = R/3
4 ETW000 28 0.000245
4 ETW000 [ dev trc,00000] create_con (con_name=R/3) 14 0.000259
4 ETW000 [ dev trc,00000] Loading DB library 'dboraslib.dll' ... 44 0.000303
4 ETW000 [ dev trc,00000] DlLoadLib success: LoadLibrary("dboraslib.dll"), hdl 0, addr 000007FEF1650000
4 ETW000 947 0.001250
4 ETW000 [ dev trc,00000] using "E:\usr\sap\TST\SYS\exe\uc\NTAMD64\dboraslib.dll" 18 0.001268
4 ETW000 [ dev trc,00000] Library 'dboraslib.dll' loaded 19 0.001287
4 ETW000 [ dev trc,00000] function DbSlExpFuns loaded from library dboraslib.dll 23 0.001310
4 ETW000 [ dev trc,00000] Version of 'dboraslib.dll' is "720.00", patchlevel (0.215) 242 0.001552
4 ETW000 [ dev trc,00000] function dsql_db_init loaded from library dboraslib.dll 26 0.001578
4 ETW000 [ dev trc,00000] function dbdd_exp_funs loaded from library dboraslib.dll 34 0.001612
4 ETW000 [ dev trc,00000] New connection 0 created 237 0.001849
4 ETW000 [ dev trc,00000] 0: name = R/3, con_id = -000000001, state = DISCONNECTED, tx = NO , bc = NO , hc = NO , perm = YES, reco = NO , frco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO , prog =
4 ETW000 56 0.001905
4 ETW000 [ dev trc,00000] db_con_connect (con_name=R/3) 20 0.001925
4 ETW000 [ dev trc,00000] determine_block_commit: no con_hdl found as blocked for con_name = R/3
4 ETW000 25 0.001950
4 ETW000 [ dev trc,00000] find_con_by_name found the following connection: 16 0.001966
4 ETW000 [ dev trc,00000] 0: name = R/3, con_id = 000000000, state = DISCONNECTED, tx = NO , bc = NO , hc = NO , perm = YES, reco = NO , frco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO , prog =
4 ETW000 36 0.002002
4 ETW000 [ dev trc,00000] -->DbSlConnect(vers=-1, type=0, env='[default env]', userid='[default usr]')
4 ETW000 53 0.002055
4 ETW000 [ dev trc,00000] DIR_CLIENT_ORAHOME is not set as profile nor env. parameter. 574 0.002629
4 ETW000 Assuming using instant client with unspecified location.
4 ETW000 [ dev trc,00000] Register application info. 97 0.002726
4 ETW000 [ dev trc,00000] Oracle client version: 10.2.0.4.0, (dbsl 720 220612, UNICODE[2]) 10033 0.012759
4 ETW000 [ dev trc,00000] Detailed Oracle client (patch) info not available. 30 0.012789
4 ETW000 [ dev trc,00000] Default connection: tnsname ='TST' 73 0.012862
4 ETW000 [ dev trc,00000] -->oci_initialize(con=0, char='UTF16', nchar='AL16UTF16', nls=-1),uc_ln=2
4 ETW000 50 0.012912
4 ETW000 [ dev trc,00000] OCIEnvCreate(mode=16384=OCI_UTF16) returned 0 (for default NLS handle)
4 ETW000 1828 0.014740
4 ETW000 [ dev trc,00000] OCIHandleAlloc(OCI_HTYPE_ERROR, con=0, ErrHp=027944B0) 58 0.014798
4 ETW000 [ dev trc,00000] OCIHandleAlloc(OCI_HTYPE_ERROR, con=0, ErrBt=02796088) 36 0.014834
4 ETW000 [ dev trc,00000] NLS env. settings: lang=41004D00450052004900430041004E00 167 0.015001
4 ETW000 [ dev trc,00000] terr=41004D0045005200490043004100 29 0.015030
4 ETW000 [ dev trc,00000] char=55005400460031003600 22 0.015052
4 ETW000 [ dev trc,00000] Client NLS setting (by OCINlsGetInfo(con=0)): 'AMERICAN_AMERICA.UTF16'
4 ETW000 43 0.015095
4 ETW000 [ dev trc,00000] charset='UTF16', ncharset='AL16UTF16', UNI_ASC=FALSE 19 0.015114
4 ETW000 [ dev trc,00000] Logon as OPS$-user to get SAPSR3's password 28 0.015142
4 ETW000 [ dev trc,00000] Connecting as /@TST on connection 0 (nls 0) ... (dbsl 720 220612, UNICODE[2])
4 ETW000 61 0.015203
4 ETW000 [ dev trc,00000] OCIHandleAlloc(OCI_HTYPE_SVCCTX, con=0, svchp=02795F48) 370 0.015573
4 ETW000 [ dev trc,00000] Allocating server context handle 31 0.015604
4 ETW000 [ dev trc,00000] Attaching to database server TST (con=0, svchp=02795F48, srvhp=0279EFF8)
4 ETW000 74 0.015678
4 ETW000 [ dev trc,00000] Assigning server context 0279EFF8 to service context 02795F48 30008 0.045686
4 ETW000 [ dev trc,00000] OCIHandleAlloc(OCI_HTYPE_SESSION, con=0, usrhp=027ABBE0) 86 0.045772
4 ETW000 [ dev trc,00000] Starting user session: OCISessionBegin(con=0, usr='/', svc=02795F48, srv=0279EFF8, usr=027ABBE0)
4 ETW000 40 0.045812
4 ETW000 [ dev trc,00000] OCISessionBegin(OCI_DEFAULT) failed with -1=OCI_ERROR 28164 0.073976
4 ETW000 [ dev trc,00000] OCISessionBegin(OCI_DEFAULT) failed with SQL error 1017: 95 0.074071
4 ETW000 [ dev trc,00000] ORA-01017: invalid username/password; logon denied
4 ETW000 39 0.074110
4 ETW000 [ dbsloci.,00000] *** ERROR => CONNECT failed with sql error '1017' 38 0.074148
4 ETW000 [ dev trc,00000] set_ocica() -> SQL error code 1017 19 0.074167
4 ETW000 [ dev trc,00000] -->oci_get_errmsg (con=0, rc=1017) 20 0.074187
4 ETW000 [ dev trc,00000] OCIErrorGet -> SQL error code: 1017 57 0.074244
4 ETW000 [ dev trc,00000] ORA-01017: invalid username/password; logon denied
4 ETW000 39 0.074283
4 ETW000 [ dev trc,00000] Info: 99=DBSL_ERR_DB, oerr=1017, try to connect with default password.
4 ETW000 38 0.074321
4 ETW000 [ dev trc,00000] Connecting as SAPSR3/<pwd>@TST on connection 0 (nls 0) ... (dbsl 720 220612, UNICODE[2])
4 ETW000 30 0.074351
4 ETW000 [ dev trc,00000] Assigning username to user session: con=0, usrhp= 027ABBE0 23 0.074374
4 ETW000 [ dev trc,00000] Assigning password to user session: con=0, usrhp=027ABBE0 36 0.074410
4 ETW000 [ dev trc,00000] Starting user session: OCISessionBegin(con=0, usr='SAPSR3', svc=02795F48, srv=0279EFF8, usr=027ABBE0)
4 ETW000 133 0.074543
4 ETW000 [ dev trc,00000] Tue Aug 05 17:50:40 2014 9992977 10.067520
4 ETW000 [ dev trc,00000] OCISessionBegin(OCI_DEFAULT) failed with -1=OCI_ERROR 33 10.067553
4 ETW000 [ dev trc,00000] OCISessionBegin(OCI_DEFAULT) failed with SQL error 1017: 85 10.067638
4 ETW000 [ dev trc,00000] ORA-01017: invalid username/password; logon denied
4 ETW000 37 10.067675
4 ETW000 [ dbsloci.,00000] *** ERROR => CONNECT failed with sql error '1017' 29 10.067704
4 ETW000 [ dev trc,00000] set_ocica() -> SQL error code 1017 19 10.067723
4 ETW000 [ dev trc,00000] -->oci_get_errmsg (con=0, rc=1017) 18 10.067741
4 ETW000 [ dev trc,00000] OCIErrorGet -> SQL error code: 1017 55 10.067796
4 ETW000 [ dev trc,00000] ORA-01017: invalid username/password; logon denied
4 ETW000 52 10.067848
4 ETW000 [ dev trc,00000] DbSlConnect(con=0) -> orc=0, 99=DBSL_ERR_DB 22 10.067870
4 ETW000 [ dblink ,00000] ***LOG BY2=>sql error 1017 performing CON 58 10.067928
4 ETW000 [ dblink ,00000] ***LOG BY0=>ORA-01017: invalid username/password; logon denied 22 10.067950
2EETW169 no connect possible: "DBMS = ORACLE --- dbs_ora_tnsname = 'TST'"
Best Regards
~Amal Aloun -
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....... -
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 - in DB13
Hello,
We have upgraded successfully from SAP 4.7 / Oracle 9i to ECC 6.0/
Oracle 10g but now the jobs from DB13 are failing. Please find the
error details below.
We have followed the correction steps mentioned in notes: 400241,
437648 and 134592. But the same error persists.
Please help us resolve the issue ASAP.
Error Details:
Job started
Step 001 started (program RSDBAJOB, variant &0000000000201, user ID PWCBASIS)
Execute logical command BRCONNECT On host eccdev
Parameters: -u / -jid CHECK20081107160528 -c -f check
BR0801I BRCONNECT 7.00 (32)
BR0805I Start of BRCONNECT processing: cdzezhoc.chk 2008-11-07 16.05.30
BR0484I BRCONNECT log file: /oracle/DEV/sapcheck/cdzezhoc.chk
BR0280I BRCONNECT time stamp: 2008-11-07 16.05.30
BR0301E SQL error -1017 at location db_connect-2,SQL statement:
'CONNECT /'
ORA-01017: invalid username/password; logon denied
BR0310E Connect to database instance DEV failed
BR0280I BRCONNECT time stamp: 2008-11-07 16.05.30
BR0301E SQL error -1017 at location db_connect-2,SQL statement:
'CONNECT /'
ORA-01017: invalid username/password; logon denied
BR0310E Connect to database instance DEV failed
BR0806I End of BRCONNECT processing: cdzezhoc.chk2008-11-07 16.05.30
BR0280I BRCONNECT time stamp: 2008-11-07 16.05.30
BR0804I BRCONNECT terminated with errors
External program terminated with exit code 3
BRCONNECT returned error status E
Job finished
Please help me resolve this issue....
ThanksHi ,
Yes am able to execute brtools from both the users, viz <sid>adm and ora<sid>. And also able to execute all the scripts from there itself.
For your refrence, find the logs form /usr/sap/DEV/DVEBMGS00/work/dev_w0 file.
Thu Nov 20 13:22:34 2008
M kernel runs with dp version 241(ext=110) (@(#) DPLIB-INT-VERSION-241)
M length of sys_adm_ext is 364 bytes
M ***LOG Q01=> ThInit, WPStart (Workproc 0 1 10354) [thxxhead.c 1290]
M ThInit: running on host eccdev
M calling db_connect ...
C Oracle Client Version: '10.2.0.2.0'
C Client NLS settings: AMERICAN_AMERICA.WE8DEC
C Logon as OPS$-user to get SAPPRD's password
C Connecting as /@DEV on connection 0 (nls_hdl 0) ... (dbsl 700 030508)
C Nls CharacterSet NationalCharSet C EnvHp ErrHp ErrHpBatch
C 0 WE8DEC 1 10595f0a0 105966b40 10596a4e8
C Attaching to DB Server DEV (con_hdl=0,svchp=10596a418,srvhp=10596c748)
C Starting user session (con_hdl=0,svchp=10596a418,srvhp=10596c748,usrhp=105967358)
C *** ERROR => OCI-call 'OCISessionBegin' failed with rc=1017
[dboci.c 4532]
C *** ERROR => CONNECT failed with sql error '1017'
[dbsloci.c 11145]
C Try to connect with default password
C Connecting as SAPPRD/<pwd>@DEV on connection 0 (nls_hdl 0) ... (dbsl 700 030508)
C Nls CharacterSet NationalCharSet C EnvHp ErrHp ErrHpBatch
C 0 WE8DEC 1 10595f0a0 105966b40 10596a4e8
C Starting user session (con_hdl=0,svchp=10596a418,srvhp=10596c748,usrhp=105967358)
C
Please suggest,
Kshitiz Goyal -
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.
***************************************************************** -
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 -
ORA-01017: invalid username/password; for Oralce 12c OEM installation
Hi Experts,
Following error Oralce 12c OEM installation ,i have no clue sys user passowrd is correct in response/new_install.rsp file
[oracle@sdp12 OEM_Packages]$ ./runInstaller -silent -responseFile /oracle/oracle8/OEM_Packages/response/new_install.rsp
Starting Oracle Universal Installer...
Checking Temp space: must be greater than 400 MB. Actual 1222 MB Passed
Checking swap space: must be greater than 150 MB. Actual 4000 MB Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2013-02-24_06-22-19PM. Please wait ...[oracle8@sdp38 OEM_Packages]$
ERROR: ERROR:Exception occurred while connecting to database. Check the connection details of the database you specified and retry.
ORA-01017: invalid username/password; logon denied
Unable to connect to the database and validate whether it is a supported database due to one of the following reasons:
(1) Incorrect credentials
(2) Listener may be down
(3) Database may be down
Check the credentials ,the status of the listener and the database and retry.
i am able to connect using same username password
[oracle8@sdp38 response]$ sqlplus sys/sys512@TET1
SQL*Plus: Release 11.2.0.1.0 Production on Sun Feb 24 18:29:15 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL>
From response/new_install.rsp file
DATABASE_HOSTNAME=sdp12
LISTENER_PORT=1521
SERVICENAME_OR_SID=TET1
SYS_PASSWORD=sys512
SYSMAN_PASSWORD=sysman512
SYSMAN_CONFIRM_PASSWORD=sysman512
i have no clue here, any help greatly appropriated
thanksfew things you can check :
a) Is there a password file ? Is the password correct in it ?
b) SYSDBA remote login is disabled. remote_login_passwordfile is not set to EXCLUSIVE in the spfile or init.ora.
Set: remote_login_passwordfile= EXCLUSIVE
Create a password file:
Unix: $
orapwd file=$ORACLE_HOME/dbs/orapw$ORACLE_SID password=sys entries=5
Windows:
C:\> orapwd file=%ORACLE_HOME%\database\pwd%ORACLE_SID% password= sys entries=5
To synchronize the password for sys for normal connections and connections as sysdba connect as a sysdba user and reset the sys password:
$ sqlplus "/ as sysdba" SQL> ALTER USER SYS IDENTIFIED BY change_on_install; -
ORA-01017: invalid username/password; logon denied FOR SYS USER
Hello,
I was usually login through the same password for sys user to log on to the database as sysdba, but last time i used " / as sysdba" to connect using local system administrative account which is connected very well and still connecting in the same way. The initializing parameter file set with the following parameter:
remote_login_passwordfile=EXCLUSIVE
Now if i use to connect the database server remotely using sys user, it gives me "ORA-01017: invalid username/password; logon denied" error and if i use the same login credentials on DB server machine using other local user accounts it is giving me "Insufficient Privilige" error. I can only connect now using local administrator account from DB server machine using " / as sysdba" statement.
Kindly guide me the issue.When you use " / as sysdba" locally on server, you are using OS authentication which will bypass the password file and user/pass authentication.
Looks like you have discrepancy between the password you use and real password. You can login " / as sysdba" and change your SYS password to a new one.
When was last time you successfully login using password? What has changed since then? -
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 -
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; logon denied in 12c database
Hi,
I have created the new user in 12c pdb and granted previliges also,
but i coudnt able to connect that user.
Kindly suggest me.
Steps which i have done.
SQL> alter session set container=TESTPDB1;
Session altered.
SQL> create user test1 identified by welcome;
User created.
SQL> grant connect,resource to test1;
Grant succeeded.
SQL> commit
2 ;
Commit complete.
SQL> conn test1/welcome;
ERROR:
ORA-01017: invalid username/password; logon denied
Warning: You are no longer connected to ORACLE.
Regards
Kumar VDear All,
The issue has been fixed now.
in 12c database we couldnt able to connect the local user in pluggable database.
We have to connect the users like below,
[oracle@dg admin]$ sqlplus sys/welcome@PDBDEV as sysdba
SQL*Plus: Release 12.1.0.2.0 Production on Thu Apr 16 12:56:38 2015
Copyright (c) 1982, 2014, Oracle. All rights reserved.
Connected to:
Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options
SQL> show con_name;
CON_NAME
PDBDEV
SQL> create user kumar identified by kumar;
User created.
SQL> grant connect,resource to kumar;
Grant succeeded.
SQL> commit;
Commit complete.
SQL> conn kumar/kumar;
ERROR:
ORA-01017: invalid username/password; logon denied
Warning: You are no longer connected to ORACLE.
SQL> conn sys as sysdba
Enter password:
Connected.
SQL> show con_name;
CON_NAME
CDB$ROOT
SQL> conn kumar/kumar@PDBDEV
Connected.
SQL> show con_name;
CON_NAME
PDBDEV
SQL> show user;
USER is "KUMAR"
Thanks for the suggestions.
Regards
Kumar
Maybe you are looking for
-
HD Replacement for HP Pavilion dm1z-3000 CTO Entertainment Notebook PC
Hello. I have a HP Pavilion dm1z-3000 CTO Entertainment Notebook PC , Product Number: XL303AV I am having SMART HD monitor failure mensage at startup and the computer is very slow. I just bought a OCZ Vertex V3 SSD 256mb and i want to create a reco
-
Can't connect w/MiFi 4G LTE 4510L - in Las Vegas
Connection was dicey starting yesterday afternoon, and this morning just no connection at all -- even if the mifi has a blinking green light. Connection is fine if I jump on another wireless network... Is anyone else in the LV area having the same is
-
EBS datasource in WebLogic cluster using the EBS dbc file
Hi All Please let me know if someone has successfully created EBS datasource in WebLogic cluster using the EBS dbc file. I have successfully created the datasource with one managed server but I am getting 'OAuth Mashaling Failure' error while adding
-
Hi All, We have requirement to personalization the iproc page. When a requisition is created and goes for approval. And the approver wants to make any changes on the requisition he will hit link 'Edit Requisition'. The changes we want to make is to c
-
Not able to fix permissions after time machine full restore
After doing a full restore from a time machine backup, the permissions of /tmp and /usr/share/derby won't fix. Every time I go into Disk Utility and fix disk permissions these items show up as having incorrect permissions even after stating that they