sybase logo

How to uninstall SAP ASE – Sybase 16 from linux

In this post, I am going to demonstrate step by step approach to remove SAP Adaptive Server Enterprise ( Sybase ) 16 from Linux host.

As a part of prerequisites kindly Stop all ASE services before instantiate uninstall.

Login as SYBASE user in order to uninstall sybase:

[root@Centsrv01 ASESuite]# su - sybase

Change directory to ‘/opt/sybase/sybuninstall/ASESuite’ and instantiate ‘uninstall’ as below. And follow the instruction and provide the inputs as needed in order to remove SAP ASE.

Uninstallation logs are as follows:

-bash-4.1$ cd /opt/sybase/sybuninstall/ASESuite
-bash-4.1$ ./uninstall

Graphical installers are not supported by the VM. The console mode will be used instead...

===============================================================================
SAP Adaptive Server Enterprise (created with InstallAnywhere)
-------------------------------------------------------------------------------

Preparing CONSOLE Mode Uninstallation...
===============================================================================
Uninstall SAP Adaptive Server Enterprise
----------------------------------------

About to uninstall...

SAP Adaptive Server Enterprise 16.0 GA PL01

This will remove features installed by InstallAnywhere. It will not remove
files and folders created after the installation.

PRESS  TO CONTINUE:

===============================================================================
Uninstall Options
-----------------

ENTER THE NUMBER FOR YOUR CHOICE, OR PRESS  TO ACCEPT THE DEFAULT:

->1- Completely remove all features and components.
2- Choose specific features that were installed by InstallAnywhere.

Please choose one of the following options:: 1

===============================================================================
Pre-Uninstall Summary
---------------------

SAP Adaptive Server Enterprise will be uninstalled from the following location:

/opt/sybase

with the following features:

Adaptive Server Enterprise
Additional ASE Language Modules
Open Client
DB-Library
Embedded SQL/C
Embedded SQL/Cobol
XA Interface Library for ASE Distributed Transaction Manager
Additional Connectivity Language Modules
ASE Extension Module for Python
ASE Database Driver for PERL
ASE Extension Module for PHP
jConnect 16.0 for JDBC
Interactive SQL
QPTune
SySAM License Utilities
SySAM License Server
SAP Control Center

PRESS  TO CONTINUE:

Remote Command and Control Agent for Adaptive Server
Management User Interface for SAP Adaptive Server
SNMP Support for Adaptive Server
ASE ODBC Driver
OData Server for ASE
PRESS  TO CONTINUE:

===============================================================================
Uninstalling ESQL/C 16.0 PL02...Success
Uninstalling SySAM License Server 2.3...Success
Uninstalling ASE Extension Module for PHP 16.0 PL02...Success
Uninstalling XA Interface Library for ASE Distributed Transaction Manager 16.0
PL02...Success
Uninstalling ESQL/Cobol 16.0 PL02...Success
Uninstalling Adaptive Server Enterprise Additional Language Modules 16.0 GA
PL01...Success
Uninstalling QPTune 3.0...Success
Uninstalling ASE Database Driver for PERL 16.0 PL02...Success
Uninstalling Management User Interface for SAP Adaptive Server Enterprise
3.3...Success
Uninstalling OData Server for ASE 16.0 GA...Success
Uninstalling ASE Extension Module for Python 16.0 PL02...Success
Uninstalling Additional Connectivity Language Modules 16.0 PL02...Success
Uninstalling Interactive SQL 16.0 PL01...Success
Uninstalling SAP Adaptive Server Enterprise 16.0 GA PL01...Success
Uninstalling DB-Library 16.0 PL02...Success
Uninstalling SAP ASE ODBC Driver 16.0 PL02...Success
Uninstalling Install/Extract Java 16.0 GA PL01...Success
Uninstalling SAP CT-DBCAPI 16.0 PL02...Success
Uninstalling SySAM License Utilities 2.3...Success
Uninstalling SAP jConnect 16.0 PL01...Success
Uninstalling Open Client 16.0 PL02...Success
Uninstalling Shared Library 1.0.0.5...Success
Uninstalling Connectivity Language Modules 16.0 PL02...Success
Uninstalling SCC - Remote Command and Control Agent for Adaptive Server 16.0 GA
PL01...Success
Uninstalling Language Modules 16.0 GA...Success
Uninstalling SCC - SNMP Support for Adaptive Server 2.0.0.8...Success
Uninstalling SAP Control Center Management Server 3.3...Success
Uninstalling SAP Java Runtime Environment 7.1.011...Success

===============================================================================
Uninstalling...
---------------
...*
*
*************************
*************************
*************************
************************
...*
*
*************************
*************************
*************************
************************

===============================================================================
Delete User Files
-----------------

The uninstaller has successfully uninstalled items created during installation.
However, the following files still exist in the install directory. These files
were created outside of the installer.

/opt/sybase/SYBASE.csh
/opt/sybase/interfaces
/opt/sybase/SCC-3_3/log/repository.log
/opt/sybase/SCC-3_3/log/gateway-stats.log
/opt/sybase/SCC-3_3/log/alert-server.log
/opt/sybase/SCC-3_3/log/gateway.log
/opt/sybase/SCC-3_3/log/collection-stats.log
/opt/sybase/SCC-3_3/log/agent.log
/opt/sybase/install/sample_response.txt
/opt/sybase/install/sysam_utilities/bin/sysamcap
/opt/sybase/install/sysam_utilities/bin/cpuinfo
/opt/sybase/install/sysam_utilities/bin/lmutil
/opt/sybase/install/sysam_utilities/locales/unicode/sylapi/ja_JP/sylapi.lcu
/opt/sybase/install/sysam_utilities/locales/unicode/sylapi/th_th/sylapi.lcu
/opt/sybase/install/sysam_utilities/locales/unicode/sylapi/pt_PT/sylapi.lcu
/opt/sybase/install/sysam_utilities/locales/unicode/sylapi/es_ES/sylapi.lcu
/opt/sybase/install/sysam_utilities/locales/unicode/sylapi/zh_cn/sylapi.lcu
/opt/sybase/install/sysam_utilities/locales/unicode/sylapi/pl_pl/sylapi.lcu
/opt/sybase/install/sysam_utilities/locales/unicode/sylapi/es_es/sylapi.lcu
/opt/sybase/install/sysam_utilities/locales/unicode/sylapi/pl_PL/sylapi.lcu
/opt/sybase/install/sysam_utilities/locales/unicode/sylapi/fr_fr/sylapi.lcu
/opt/sybase/install/sysam_utilities/locales/unicode/sylapi/fr_FR/sylapi.lcu
/opt/sybase/install/sysam_utilities/locales/unicode/sylapi/pt_pt/sylapi.lcu
/opt/sybase/install/sysam_utilities/locales/unicode/sylapi/de_de/sylapi.lcu
/opt/sybase/install/sysam_utilities/locales/unicode/sylapi/de_DE/sylapi.lcu
/opt/sybase/install/sysam_utilities/locales/unicode/sylapi/ja_jp/sylapi.lcu
/opt/sybase/install/sysam_utilities/locales/unicode/sylapi/zh_CN/sylapi.lcu
/opt/sybase/install/sysam_utilities/locales/unicode/sylapi/ko_KR/sylapi.lcu
/opt/sybase/install/sysam_utilities/locales/unicode/sylapi/en_us/sylapi.lcu
/opt/sybase/install/sysam_utilities/locales/unicode/sylapi/th_TH/sylapi.lcu
/opt/sybase/install/sysam_utilities/locales/unicode/sylapi/ko_kr/sylapi.lcu
/opt/sybase/install/sysam_utilities/locales/unicode/sylapi/en_US/sylapi.lcu
/opt/sybase/install/setup.bin
/opt/sybase/install/archives/ie_java_mm/ie_java.iam.zip
/opt/sybase/install/archives/ie_java_mm/archives/version.txt
/opt/sybase/install/archives/ie_java_mm/archives/comp_size.properties
/opt/sybase/install/archives/version.txt
/opt/sybase/install/archives/ase_agent_mm/ase_agent.iam.zip
/opt/sybase/install/archives/ase_agent_mm/archives/version.txt
/opt/sybase/install/archives/ase_agent_mm/archives/comp_size.properties
/opt/sybase/install/archives/open_client_mm/archives/version.txt
/opt/sybase/install/archives/open_client_mm/archives/comp_size.properties
/opt/sybase/install/archives/open_client_mm/open_client.iam.zip
/opt/sybase/install/archives/conn_perl_mm/conn_perl.iam.zip
/opt/sybase/install/archives/conn_perl_mm/archives/version.txt
/opt/sybase/install/archives/conn_perl_mm/archives/comp_size.properties
/opt/sybase/install/archives/ase_snmp_agent_mm/archives/version.txt
/opt/sybase/install/archives/ase_snmp_agent_mm/archives/comp_size.properties
/opt/sybase/install/archives/ase_snmp_agent_mm/ase_snmp_agent.iam.zip
/opt/sybase/install/archives/dbisql_mm/archives/version.txt
/opt/sybase/install/archives/dbisql_mm/archives/comp_size.properties
/opt/sybase/install/archives/dbisql_mm/dbisql.iam.zip
/opt/sybase/install/archives/jconnect16_mm/archives/version.txt
/opt/sybase/install/archives/jconnect16_mm/archives/comp_size.properties
/opt/sybase/install/archives/jconnect16_mm/jconnect.iam.zip
/opt/sybase/install/archives/sysam_util_mm/sysam_util.iam.zip
/opt/sybase/install/archives/sysam_util_mm/archives/version.txt
/opt/sybase/install/archives/sysam_util_mm/archives/comp_size.properties
/opt/sybase/install/archives/sybpsu
/opt/sybase/install/archives/shared_lib_mm/archives/version.txt
/opt/sybase/install/archives/shared_lib_mm/archives/comp_size.properties
/opt/sybase/install/archives/shared_lib_mm/shared_lib.iam.zip
/opt/sybase/install/archives/SYBASE_ASE_XE.lic
/opt/sybase/install/archives/esqlc_mm/archives/version.txt
/opt/sybase/install/archives/esqlc_mm/archives/comp_size.properties
/opt/sybase/install/archives/esqlc_mm/esqlc.iam.zip
/opt/sybase/install/archives/asemanifest.mf
/opt/sybase/install/archives/sylapi/libsylapij.so
/opt/sybase/install/archives/esqlcobol_mm/esqlcobol.iam.zip
/opt/sybase/install/archives/esqlcobol_mm/archives/version.txt
/opt/sybase/install/archives/esqlcobol_mm/archives/comp_size.properties
/opt/sybase/install/archives/ase_mm/archives/version.txt
/opt/sybase/install/archives/ase_mm/archives/comp_size.properties
/opt/sybase/install/archives/ase_mm/ase.iam.zip
/opt/sybase/install/archives/dbcapi_mm/archives/version.txt
/opt/sybase/install/archives/dbcapi_mm/archives/comp_size.properties
/opt/sybase/install/archives/dbcapi_mm/dbcapi.iam.zip
/opt/sybase/install/archives/dblib_mm/dblib.iam.zip
/opt/sybase/install/archives/dblib_mm/archives/version.txt
/opt/sybase/install/archives/dblib_mm/archives/comp_size.properties
/opt/sybase/install/archives/lang_mm/lang.iam.zip
/opt/sybase/install/archives/lang_mm/archives/version.txt
/opt/sybase/install/archives/lang_mm/archives/comp_size.properties
/opt/sybase/install/archives/odbc_mm/archives/version.txt
/opt/sybase/install/archives/odbc_mm/archives/comp_size.properties
/opt/sybase/install/archives/odbc_mm/odbc.iam.zip
/opt/sybase/install/archives/ase_add_lm_mm/archives/version.txt
/opt/sybase/install/archives/ase_add_lm_mm/archives/comp_size.properties
/opt/sybase/install/archives/ase_add_lm_mm/ase_add_lm.iam.zip
/opt/sybase/install/archives/sysam_server_mm/sysam_server.iam.zip
/opt/sybase/install/archives/sysam_server_mm/archives/version.txt
/opt/sybase/install/archives/sysam_server_mm/archives/comp_size.properties
/opt/sybase/install/archives/SySAMLicenseInfo.xml
/opt/sybase/install/archives/conn_add_lm_mm/conn_add_lm.iam.zip
/opt/sybase/install/archives/conn_add_lm_mm/archives/version.txt
/opt/sybase/install/archives/conn_add_lm_mm/archives/comp_size.properties
/opt/sybase/install/archives/odata_mm/odata.iam.zip
/opt/sybase/install/archives/odata_mm/archives/version.txt
/opt/sybase/install/archives/odata_mm/archives/comp_size.properties
/opt/sybase/install/archives/SYBASE_ASE_DE.lic
/opt/sybase/install/archives/sapjre71_mm/archives/version.txt
/opt/sybase/install/archives/sapjre71_mm/archives/comp_size.properties
/opt/sybase/install/archives/sapjre71_mm/sapjre71.iam.zip
/opt/sybase/install/archives/conn_lm_mm/conn_lm.iam.zip
/opt/sybase/install/archives/conn_lm_mm/archives/version.txt
/opt/sybase/install/archives/conn_lm_mm/archives/comp_size.properties
/opt/sybase/install/archives/conn_php_mm/conn_php.iam.zip
/opt/sybase/install/archives/conn_php_mm/archives/version.txt
/opt/sybase/install/archives/conn_php_mm/archives/comp_size.properties
/opt/sybase/install/archives/conn_python_mm/archives/version.txt
/opt/sybase/install/archives/conn_python_mm/archives/comp_size.properties
/opt/sybase/install/archives/conn_python_mm/conn_python.iam.zip
/opt/sybase/install/archives/asemap_mm/archives/version.txt
/opt/sybase/install/archives/asemap_mm/archives/comp_size.properties
/opt/sybase/install/archives/asemap_mm/asemap.iam.zip
/opt/sybase/install/archives/xa_mm/xa.iam.zip
/opt/sybase/install/archives/xa_mm/archives/version.txt
/opt/sybase/install/archives/xa_mm/archives/comp_size.properties
/opt/sybase/install/archives/qptune_mm/archives/version.txt
/opt/sybase/install/archives/qptune_mm/archives/comp_size.properties
/opt/sybase/install/archives/qptune_mm/qptune.iam.zip
/opt/sybase/install/archives/scc_server_mm/scc_server.iam.zip
/opt/sybase/install/archives/scc_server_mm/archives/version.txt
/opt/sybase/install/archives/scc_server_mm/archives/comp_size.properties
/opt/sybase/install/archives/locales/unicode/sylapi/ja_JP/sylapi.lcu
/opt/sybase/install/archives/locales/unicode/sylapi/th_th/sylapi.lcu
/opt/sybase/install/archives/locales/unicode/sylapi/pt_PT/sylapi.lcu
/opt/sybase/install/archives/locales/unicode/sylapi/es_ES/sylapi.lcu
/opt/sybase/install/archives/locales/unicode/sylapi/zh_cn/sylapi.lcu
/opt/sybase/install/archives/locales/unicode/sylapi/pl_pl/sylapi.lcu
/opt/sybase/install/archives/locales/unicode/sylapi/es_es/sylapi.lcu
/opt/sybase/install/archives/locales/unicode/sylapi/pl_PL/sylapi.lcu
/opt/sybase/install/archives/locales/unicode/sylapi/fr_fr/sylapi.lcu
/opt/sybase/install/archives/locales/unicode/sylapi/fr_FR/sylapi.lcu
/opt/sybase/install/archives/locales/unicode/sylapi/pt_pt/sylapi.lcu
/opt/sybase/install/archives/locales/unicode/sylapi/de_de/sylapi.lcu
/opt/sybase/install/archives/locales/unicode/sylapi/de_DE/sylapi.lcu
/opt/sybase/install/archives/locales/unicode/sylapi/ja_jp/sylapi.lcu
/opt/sybase/install/archives/locales/unicode/sylapi/zh_CN/sylapi.lcu
/opt/sybase/install/archives/locales/unicode/sylapi/ko_KR/sylapi.lcu
/opt/sybase/install/archives/locales/unicode/sylapi/en_us/sylapi.lcu
/opt/sybase/install/archives/locales/unicode/sylapi/th_TH/sylapi.lcu
/opt/sybase/install/archives/locales/unicode/sylapi/ko_kr/sylapi.lcu
/opt/sybase/install/archives/locales/unicode/sylapi/en_US/sylapi.lcu
/opt/sybase/install/sysam_setup/sample_response.txt
/opt/sybase/install/sysam_setup/setup.bin
/opt/sybase/install/sysam_setup/archives/sysam_util_mm/sysam_util.iam.zip
/opt/sybase/install/sysam_setup/archives/sysam_util_mm/archives/comp_size.prope
rties
/opt/sybase/install/sysam_setup/archives/sysam_server_mm/sysam_server.iam.zip
/opt/sybase/install/sysam_setup/archives/sysam_server_mm/archives/comp_size.pro
perties
/opt/sybase/install/ThirdPartyLegal/FreeDownloadTermsMasterList.pdf
/opt/sybase/install/ThirdPartyLegal/FreeDownloadComponentList.CSI.2.9_M5_And_Ab
ove.pdf
/opt/sybase/install/ThirdPartyLegal/FreeDownloadComponentList.jConnect.16.0.pdf
/opt/sybase/install/ThirdPartyLegal/FreeDownloadComponentList.SDK.16.0.pdf
/opt/sybase/install/ThirdPartyLegal/FreeDownloadComponentList.SQLAnywhereODBCDr
iverManager.11.0.1.pdf
/opt/sybase/install/ThirdPartyLegal/FreeDownloadComponentList.ASE.16.0.pdf
/opt/sybase/install/ThirdPartyLegal/FreeDownloadComponentList.SCC.3.3.pdf
/opt/sybase/SYBASE.env
/opt/sybase/interf.old
/opt/sybase/SYBASE.sh
/opt/sybase/SYSAM-2_0/licenses/SYBASE.opt
/opt/sybase/SYSAM-2_0/licenses/SYBASE_ASE_DE.lic
/opt/sybase/ASE-16_0/sybase01.013
/opt/sybase/ASE-16_0/sybase01.018
/opt/sybase/ASE-16_0/sybase01.015
/opt/sybase/ASE-16_0/sybase01.krg
/opt/sybase/ASE-16_0/sybase01.019
/opt/sybase/ASE-16_0/sybase01.007
/opt/sybase/ASE-16_0/sybase01.001
/opt/sybase/ASE-16_0/install/RUN_sybase01_BS
/opt/sybase/ASE-16_0/install/sybase01.log
/opt/sybase/ASE-16_0/install/RUN_sybase01
/opt/sybase/ASE-16_0/install/sybase01_BS.log
/opt/sybase/ASE-16_0/sybase01.011
/opt/sybase/ASE-16_0/sybase01.cfg
/opt/sybase/ASE-16_0/sybase01.002
/opt/sybase/ASE-16_0/sybase01.016
/opt/sybase/ASE-16_0/init/logs/srvbuild1024.001-sybase01.rs
/opt/sybase/ASE-16_0/init/logs/configASELog.log
/opt/sybase/ASE-16_0/init/logs/configBSLog.log
/opt/sybase/ASE-16_0/init/logs/srvbuild1024.001
/opt/sybase/ASE-16_0/init/logs/srvbuild1024.002-sybase01_BS.rs
/opt/sybase/ASE-16_0/init/logs/srvbuild1024.002
/opt/sybase/ASE-16_0/sybase01.014
/opt/sybase/ASE-16_0/sybase01.017
/opt/sybase/ASE-16_0/sybase01.012
/opt/sybase/ASE-16_0/sysam/SYBASE.properties
/opt/sybase/ASE-16_0/sysam/SYB.properties
/opt/sybase/ASE-16_0/sysam/CENTSRV01.properties
/opt/sybase/ASE-16_0/sysam/sybase01.properties
/opt/sybase/ASE-16_0/sysam/sysam.properties.template
/opt/sybase/ASE-16_0/sybase01.bak
/opt/sybase/ASE-16_0/sybase01.005
/opt/sybase/ASE-16_0/sybase01.010
/opt/sybase/ASE-16_0/sybase01.004
/opt/sybase/ASE-16_0/sybase01.008
/opt/sybase/ASE-16_0/sybase01.009
/opt/sybase/ASE-16_0/sybase01.006
/opt/sybase/ASE-16_0/sybase01.003
/opt/sybase/.bash_history
/opt/sybase/ODATA-16_0/bin64/dbosrv16.ini
/opt/sybase/DBISQL-16_0/bin/dbisql.ini
/opt/sybase/DBISQL-16_0/bin/dbisql.000
/opt/sybase/DBISQL-16_0/bin/dbisql_64.rep
/opt/sybase/dir/sysprocs.dat
/opt/sybase/dir/sybsysdb.dat
/opt/sybase/dir/master.dat
/opt/sybase/dir/tempdbdev.dat

Do you want to delete all of these files? (Y/N): Y

===============================================================================
Uninstall Complete
------------------

Some items could not be removed.

-bash-4.1$

Note:

Remove additional files manually that you have created or modified after Sybase installation.

In my case, I have created “sybase” directory in /var/ and /opt/.

 -bash-4.1$ cd /opt/
 -bash-4.1$ rm -rf sybase/
 -bash-4.1$ cd /var/
 -bash-4.1$ rm -rf sybase/

 

Congratulations! SAP ASE is now completely removed from Linux host.

Thanks,

Stay Tune. 🙂