After a good struggle for several hrs below are the step I used to sucessfully install Teradata XML
Bhanu --> Below step will resolve your issue and if your UDF are corrupted and not able to delete or drop from database, login with betq as super user and run below 2 command
DELETE USER SYSXML;
DROP USER SYSXML;
This will drop and clear all corrupted UDF ( as I struggled to drop them when binaries got corrupted)
Download the packages from Teradata Developer exchange based on your system (Linux,MP-RAS,Windows)
Download Perl packages from (www.activestate.com/activeperl/downlaod) community free edition
Unzip all the file downloaded from developer exchange on your local driver
Logon to your Teradata Server/Node and create 2 directories under home/tdatuser (XML and TeradataXML13.00.00.00 make sure to create on each node +HSN) as UDF package dose not create it automatically ( do not run any UDF install from Node)
home/tdatuser # mkdir xml
:/home/tdatuser # chmod 777 xml
:/home/tdatuser # cd xml
:/home/tdatuser/xml # mkdir TeradataXML.13.00.00.00
:/home/tdatuser/xml # chmod 777 TeradataXML.13.00.00.00
:/home/tdatuser/xml # cd TeradataXML.13.00.00.00
5) Once XML and TeradataXML folder created on the nodes go back to your C:/D drive where you have downloaded the package and go to directory lib and copy 4 files (.so) to /home/tdauser/TeradataXML13.00.00.00 directory
(These file does not get copied/created by UDF and it will give you error while compilations of UDF)
:/home/tdatuser/xml/TeradataXML.13.00.00.00
libxalan-c.so
libxalanMsg.so
libxerces-c.so
libxmludfs.so
Change permission on the (4) file to 777 on all the nodes
Once above 5 steps done, go back to your desktop/machine where the packages you have extracted and go to bin directory and run command --> perl installudfs.pl
Check the log file and report .html file for any errors
hope this help enjoy
↧