Skip to main content

Setting a Language variable on TEC's tecad_logfile adapter


Technote (FAQ)


Question

How can we change the Lang and Local variables upon startup on the TEC adapter from default.

Answer

When a user installed non_tme version of the tec adapter, it is not

configured to start up automatically.
But in your environment, it runs when you boot up the machine.
So, auto start function has been configured as below.
------------------------------------------------
# more /etc/rc.tecad_logfile
#Start the Tivoli Enterprise Console Logfile Adapter
if Ý -f /TIVOLI/IBM/tecad/bin/init.tecad_logfile ¨; then
sleep 2
/TIVOLI/IBM/tecad/bin/init.tecad_logfile -s start &
echo "Tivoli Enterprise Console Logfile Adapter started."
fi
--------------------------------------------------
Revise the script as below.
#Start the Tivoli Enterprise Console Logfile Adapter
if Ý -f /TIVOLI/IBM/tecad/bin/init.tecad_logfile ¨; then
sleep 2
export LANG=C
export LC_ALL=C
/TIVOLI/IBM/tecad/bin/init.tecad_logfile -s start &
echo "Tivoli Enterprise Console Logfile Adapter started."
fi

or put these 2 commands in the beginning of the init.tecad_logfile


Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

Tivoli Enterprise Console


Software version:
3.9


Operating system(s):
All Platforms


Software edition:
All Editions


Reference #:
1598761


Modified date:
2012-10-05

Translate my page

Content navigation