Linux-UNIX: Disabling Teradata exit
Follow this procedure to disable the Teradata exit library.
Procedure
-
Verify that the “gtwgateway” process is running. Check that the Teradata database is running
with your Teradata Administrator, or by using the UNIX
command:
The response should be:pdestate -a
PDE state is RUN/STARTED. DBS state is 5: Logons are enabled - The system is quiescent
- As root, unload the Teradata Exit library by entering:
/usr/tgtw/bin/gtwcontrol --monitorlib load=no
- Stop the Teradata database:
- Stop the Teradata service:
/etc/init.d/tpa stop /etc/init.d/tgtw stop
- Verify that the Teradata database is stopped with your Teradata Administrator, or by using the
UNIX command:
The response should be:pdestate -a
PDE state: DOWN/HARDSTOP
- Stop the Teradata service:
- If you are never going to enable the library again, delete the directory
site by entering:
rm -f <teradata_install_directory>/tdat/tgtw/site