question

nawraj avatar image
nawraj asked nawraj answered

Invalid command name "av::dputs" is seen while executing avalanche script in Linux

This issue is seen in customer setup. As per customer, there are no error logs created. Sharing the details as provided by customer. Avalnche Version: 4.37 TCL used : 8.4 [ravikishore@bng-apgt-shell1 Project_sapee-Test_0001]$ tclsh test.tcl --------- ERROR -------------------- invalid command name "av::dputs" [ravikishore@bng-apgt-shell1 Project_sapee-Test_0001]$ [ravikishore@bng-apgt-shell1 Project_sapee-Test_0001]$ echo $LD_LIBRARY_PATH /volume/labtools/lib/Spirent/Spirent_TestCenter_4.37/Layer_4_7_Application_Linux/STC [ravikishore@bng-apgt-shell1 Project_sapee-Test_0001]$ echo $JAVA_HOME /volume/labtools/lib/Spirent/jre1.6.0_14/bin [ravikishore@bng-apgt-shell1 Project_sapee-Test_0001]$ echo $SPIRENT_TCLAPI_ROOT /volume/labtools/lib/Spirent/Spirent_TestCenter_4.37/Layer_4_7_Application_Linux/TclAPI [ravikishore@bng-apgt-shell1 Project_sapee-Test_0001]$ [ravikishore@bng-apgt-shell1 Project_sapee-Test_0001]$ echo $PATH /volume/labtools/lib/Spirent/jre1.6.0_14/bin:/volume/labtools/lib/Spirent/ActiveTcl-8.4/bin: /volume/perl/bin:/usr/bin:/bin:/sbin:/usr/sbin:/usr/ucb:/usr/X11R6/bin:/usr/X11R6/lib:/usr/X11R6/lib/X11: ~/bin:/usr/local/bin:/volume/labtools/snmptest/bin:/volume/labtools/lib: /volume/labtools/bin:/homes/ravikishore:/usr/lib/perl5/5.8.8/IPC [ravikishore@bng-apgt-shell1 Project_sapee-Test_0001]$ Attached are the scripts.[link text][1] [1]: /storage/temp/3816-\project_sapee-test_0001.tar.gz
Avalancheautomationsapeetclsh
2 comments
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Yaseen avatar image Yaseen ♦ commented ·
Could you please enter into the Tcl Interpreter and then try to invoke the Avalanche package. Just type tclsh in the terminal and then try the below command, [ravikishore@bng-apgt-shell1 Project_sapee-Test_0001]$ tclsh %package require av This should return the Avalanche version. Also, please check the exact Tcl version by using the command, %info patchlevel Based on the Av 4.37 release notes, the support Tcl versions are 8.5.11 and 8.4.19
1 Like 1 ·
Yaseen avatar image Yaseen ♦ commented ·
Could you please share with us the below information, 1. Avalanche Version 2. Complete error log 3. Tcl Version Kindly have a look at the below KB article providing solution for similar issue, http://docid.spirent.com/FAQ11730 Thanks!
0 Likes 0 ·
nawraj avatar image
nawraj answered
Hi ericnute, Currently we are seeing below issue in same setup. [root@uhlin4 ~]# cd /home [root@uhlin4 home]# ls -l total 16 drwx------ 4 juniper juniper 4096 Nov 18 2010 juniper drwx------ 14 regress regress 4096 Apr 7 15:24 regress drwxrwxrwx 3 root root 4096 Apr 7 15:25 Spirent [root@uhlin4 home]# [root@uhlin4 Project_sapee-Test_0001]# tclsh % info patchlevel 8.4.20 % package require av can't find package av % lappend auto_path /root/Layer_4_7_Auto_Linux_4.37/Layer_4_7_Application_Linux/TclAPI /opt/ActiveTcl-8.4/lib/tcl8.4 /opt/ActiveTcl-8.4/lib /usr/lib /opt/ActiveTcl-8.4/lib/vfs1.4.2/template /opt/ActiveTcl-8.4/lib/tklib0.6 /opt/ActiveTcl-8.4/lib/tcllib1.15 /root/Layer_4_7_Auto_Linux_4.37/Layer_4_7_Application_Linux/TclAPI % package require av 4.37.1316 % av::login root -workspace Temp (protocol_exception) AblLimitedException:Cannot start ABL server. Maximum of attempts to start ABL is reached. % Regards, Nawraj
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

nawraj avatar image
nawraj answered ericnute commented
This seems to be issue with TCLLIBPATH, However we are seeing different issue with SessionManagerLauncher while running script for which i am initating new thread.
1 comment
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

ericnute avatar image ericnute commented ·
@nawraj, did you solve this problem? was it a TCLLIBPATH problem?
0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.