Return the license keys to your IBM Rational account through the IBM Rational License Key Center, the online license management tool. For more information about moving or returning licenses, see Moving or removing license keys on a UNIX system server.
cd /opt/rational/config ./start_lmgrd_on_server stop
rational_dir/base/cots/flexlm.version/platform/lmdown -c [port@host |licnse-file]
Examples of the lmdown command using /opt/rational for rational-dir, 7.0f for version, and sun4_solaris2 for platform:
# lmdown specifying port@host:
/opt/rational/base/cots/flexlm.7.0f/sun4_solaris2/lmdown -c 27000@pluto
# lmdown specifying the license file:
/opt/rational/base/cots/flexlm.7.0f/sun4_solaris2/lmdown -c /opt/rational/config/rational.dat
% ps -e | grep lmgrd #
Returns: 331 ? 0:15 lmgrd
% kill 311 where 311 is the process ID of lmgrd.
% ps -e | grep lmgrd #
Returns: 331 ? 0:15 lmgrd
Assuming the lmgrd process is still running:
% kill -9 311
To remove the lock and control files created by the kill -9 pid command:
rm -fr /usr/tmp/lock* /usr/tmp/.flexlm
cd rational-dir/base/cots/flexlm.version/platform
rm -fr rational_dir/base/cots/flexlm.version/platform
rm -fr rational_dir/base/cots/flexlm.version
Examples using /opt/rational for rational-dir, 7.0f for version, and sun4_solaris2 for platform:
One platform: rm -fr /opt/rational/base/cots/flexlm.7.0f/sun4_solaris2
All platforms: rm -fr /opt/rational/base/cots/flexlm.7.0f
All versions and platforms: rm -fr /opt/rational/base/cots/flexlm.*