Issue while oracle database connect to sybase
[oracle@dbnode admin]$ sqlplus "/as sysdba"
SQL*Plus: Release 12.2.0.1.0 Production on
Copyright (c) 1982, 2016, Oracle. All rights reserved.
Connected to:
Oracle Database 12c EE Extreme Perf Release 12.2.0.1.0 - 64bit Production
SQL> alter session set container=DB1;
Session altered.
SQL> select * from dual@sybase_test1;
select * from dual@sybase_test1
*
ERROR at line 1:
ORA-01017: invalid username/password; logon denied
[Oracle][ODBC Sybase Wire Protocol driver][Sybase ASE]Login Failed. Check for
valid user ID, server name and password. {28000,NativeErr = 4002}
ORA-02063: preceding 2 lines from sybase_test1
root cause:
sybase username password was invalidate which is used to connect to sybase database.
Solution:
1. connect sybase database and see if the user name password is working?
2. if it's not working then reset password.
3. update the password in db link
4. Retest issue
helps you achieve understanding, develop good practices, and operate your team and organization for maximum DevOps awesomeness
Showing posts with label Sybase. Show all posts
Showing posts with label Sybase. Show all posts
Wednesday, November 20, 2019
Thursday, October 10, 2019
Oracle DB Connection with Sybase
Oracle DB Connect to Sybase database steps:
1. Install Oracle Gateway software in Oracle database
2. Configure Sybase server details
$ORACLE_HOME/dg4sybs/admin/initdg4sybs.ora
# This is a customized agent init file that contains the HS parameters
# that are needed for the Database Gateway for Sybase
#
# HS init parameters
#
HS_FDS_CONNECT_INFO=<sybase_server_host_name>:<port>/<schema>
HS_FDS_TRACE_LEVEL=OFF
HS_FDS_RECOVERY_ACCOUNT=RECOVER
HS_FDS_RECOVERY_PWD=RECOVER
HS_KEEP_REMOTE_COLUMN_SIZE = ALL
HS_NLS_LENGTH_SEMANTICS = CHAR
HS_LANGUAGE=AMERICAN_AMERICA.WE8ISO8859P15
3. add below entry into your listener file (if rac then grid home).
(SID_DESC =
(SID_NAME = dg4sybs)
(ORACLE_HOME = /u02/app/oracle/product/12.2.0/dbhome_2)
(PROGRAM = dg4sybs)
)
)
4. create tnsentry into ORACLE_HOME Which will connect to database
ORACLE_TO_SYBASE=
(DESCRIPTION=
(ADDRESS=
(PROTOCOL=TCP)
(HOST=<oracle db host name>)
(PORT=1522)
)
(CONNECT_DATA=
(SID=dg4sybs))
(HS=OK))
5. create database link into oracle database
CREATE PUBLIC DATABASE LINK SYBASE_TO_ORACLE CONNECT TO "sybase_db_username" IDENTIFIED BY "sybase_db_password" USING 'ORACLE_TO_SYBASE';
6. Test database connection
select * from dual@SYBASE_TO_ORACLE;
Subscribe to:
Posts (Atom)
Azure AKS - Diag Logs - KQL
AzureDiagnostics | where Category == "kube-audit" | summarize requests = count() by bin(TimeGenerated, 5m), userAgent_s | orde...
-
How to Install Trivy Image Scanner on Ubuntu (Step-by-Step Guide) Trivy is a popular open-source vulnerability scanner used in DevSecOps ...
-
Logs from the autoconfig file: START: Executing /u01/EBSDEV/fs1/inst/apps/EBSDEV_grcldm/admin/install/txkWfClone.sh -nopromptmsg txkWfC...
-
Install htop in Oracle Linux 7 htop is not default install and it's not part of default repo so when we try to install htop it throw...