Linux IDA Agent

Last post 03-23-2015, 1:44 PM by smcadams107. 14 replies.
Sort Posts: Previous Next
  • Linux IDA Agent
    Posted: 03-19-2015, 1:08 PM

    I am trying to install Linux file system agent and I receive this error wrong version of ksh Linux-glibc.2.3-x86_64/Base0/sh

     

    I am trying to install on opensuse

  • Re: Linux IDA Agent
    Posted: 03-19-2015, 1:12 PM
    • Ali is not online. Last active: 02-22-2019, 10:44 AM Ali
    • Top 10 Contributor
    • Joined on 08-05-2010

    Thanks SMC, could you confirm the Version and SP level of the Simpana enviornment?

  • Re: Linux IDA Agent
    Posted: 03-19-2015, 1:16 PM

    I am on V10 sp9

  • Re: Linux IDA Agent
    Posted: 03-19-2015, 2:19 PM
    • efg is not online. Last active: 05-24-2019, 9:36 AM efg
    • Top 10 Contributor
    • Joined on 02-02-2010
    • CommVault Tinton Falls NJ
    • Expert
    • Points 1,656

    Are you installing from an ISO, Local mount or boostrap download?  If you downloaded the SW, how did you copy it to the Linux server... as a tar file or recursive copy of the files/directories?

    Typically the majority of these errors are the result of corrupted media due to how the software was copied over.

    Can you run the installer using "sh -x: and post the output?

    It would look like this:

    # sh -x ./cvpkgadd


    Ernst F. Graeler
    Senior Engineer III
    Development
  • Re: Linux IDA Agent
    Posted: 03-19-2015, 2:32 PM

    I download the SW and did a recursive copy of the files/directories with no errors when I copied them.

      here is the output

     

     

    sh -x ./cvpkgadd
    + '[' '' = -version -o '' = -script -o '' = -sample-xml ']'
    + echo 'Preparing and updating installer ...'
    Preparing and updating installer ...
    ++ dirname ./cvpkgadd
    + CV_ROOT_DIR=.
    + '[' . = . ']'
    ++ pwd
    + CV_ROOT_DIR=/home/jeremy/Templates/CVDownloads
    + export CV_ROOT_DIR
    + . /home/jeremy/Templates/CVDownloads/detect
    ++ '[' -f /tmp/cvdbg_x ']'
    ++ '[' -f /tmp/cvdbg_vx ']'
    ++ '[' -n '' ']'
    ++ unalias rm
    ++ unalias cp
    ++ unalias mv
    ++ unalias ls
    ++ unalias p
    ++ unalias v
    +++ dirname ./cvpkgadd
    ++ RUNDIR=.
    ++ case "$RUNDIR" in
    +++ pwd
    ++ RUNDIR=/home/jeremy/Templates/CVDownloads
    +++ basename ./cvpkgadd
    ++ PROGRAM=cvpkgadd
    ++ '[' -z '' ']'
    ++ '[' -n '' ']'
    ++ '[' -f /home/jeremy/Templates/CVDownloads/support ']'
    ++ '[' -z '' ']'
    ++ CV_UTILS_DIR=/home/jeremy/Templates/CVDownloads
    ++ . /home/jeremy/Templates/CVDownloads/support
    ++ '[' -f /tmp/install.gz ']'
    ++ case $PROGRAM in
    ++ '[' '' = yes ']'
    ++ case $PROGRAM in
    ++ setPFID
    ++ '[' -z '' ']'
    ++ getPlatformID
    +++ hostname
    ++ HOSTNAME=linux-6p05.site
    ++ '[' -f ../source/makefiles/linux-6p05.site.xcompile ']'
    ++ '[' -n '' ']'
    +++ uname -s
    ++ SYS_NAME=Linux
    ++ case $SYS_NAME in
    +++ uname -r
    ++ SYS_REL=3.16.7-7-desktop
    +++ echo 3.16.7-7-desktop
    +++ sed -e 's/^[^0-9]//' -e 's/^\.//'
    ++ SYS_REL=3.16.7-7-desktop
    +++ echo 3.16.7-7-desktop
    +++ sed 's/\..*//'
    ++ SYS_REL_MAJOR=3
    +++ echo 3.16.7-7-desktop
    +++ sed -e 's/^3//' -e s/-RELEASE//
    ++ SYS_REL_OTHER=.16.7-7-desktop
    ++ PREFIX=
    ++ SUFFIX=
    ++ case $SYS_NAME in
    ++ PREFIX=linux-glibc
    +++ uname -m
    ++ '[' x86_64 = ia64 ']'
    +++ uname -m
    ++ '[' x86_64 = x86_64 ']'
    ++ '[' '' = yes -o -f /tmp/cvpkgadd_unlock_32 ']'
    ++ SUFFIX=-x86_64
    +++ uname -m
    ++ '[' x86_64 = ppc64 ']'
    +++ uname -m
    ++ '[' x86_64 = s390 ']'
    +++ uname -m
    ++ '[' x86_64 = s390x ']'
    ++ unset SYS_REL_MAJOR SYS_REL_OTHER
    +++ grep libc.so
    +++ ldd /bin/ls
    +++ awk '{ print $3 }'
    ++ LIBC_SO=/lib64/libc.so.6
    ++ case "$LIBC_SO" in
    ++ rm -f /tmp/get_glibc_ver_7509
    ++ '[' -x /lib64/libc.so.6 ']'
    ++ ln -s /lib64/libc.so.6 /tmp/get_glibc_ver_7509
    +++ head -1
    +++ /tmp/get_glibc_ver_7509
    ++ h1='GNU C Library (GNU libc) stable release version 2.19 (git 9a869d822025), by Roland McGrath et al.'
    ++ rm -f /tmp/get_glibc_ver_7509
    +++ echo GNU C Library '(GNU' 'libc)' stable release version 2.19 '(git' '9a869d822025),' by Roland McGrath et al.
    +++ sed 's/.*version \([2-9]*\)\.\([0-9]*\).*/\1.\2/'
    ++ LIBC_VER=2.19
    ++ '[' x2.19 = x ']'
    +++ sed 's/.*version \([2-9]*\)\.\([0-9]*\)\.\([0-9]*\)[^(0-9)]*/\3/'
    +++ echo GNU C Library '(GNU' 'libc)' stable release version 2.19 '(git' '9a869d822025),' by Roland McGrath et al.
    ++ LIBC_VER3='GNU C Library (GNU libc) stable release version 2.19 (git 9a869d822025), by Roland McGrath et al.'
    ++ '[' 'xGNU C Library (GNU libc) stable release version 2.19 (git 9a869d822025), by Roland McGrath et al.' = x -o 'xGNU C Library (GNU libc) stable release version 2.19 (git 9a869d822025), by Roland McGrath et al.' = 'xGNU C Library (GNU libc) stable release version 2.19 (git 9a869d822025), by Roland McGrath et al.' ']'
    ++ LIBC_VER3=0
    ++ ge 2.19 2.4
    +++ echo 2.19
    +++ awk -F. '{ print $1 }'
    ++ x1=2
    +++ awk -F. '{ print $2 }'
    +++ echo 2.19
    ++ y1=19
    +++ echo 2.4
    +++ awk -F. '{ print $1 }'
    ++ x2=2
    +++ echo 2.4
    +++ awk -F. '{ print $2 }'
    ++ y2=4
    ++ '[' 2 -gt 2 ']'
    ++ '[' 2 -lt 2 ']'
    ++ '[' 19 -ge 4 ']'
    ++ return 0
    ++ LIBC_VER3=9
    ++ ge 2.2 2.19
    +++ echo 2.2
    +++ awk -F. '{ print $1 }'
    ++ x1=2
    +++ echo 2.2
    +++ awk -F. '{ print $2 }'
    ++ y1=2
    +++ echo 2.19
    +++ awk -F. '{ print $1 }'
    ++ x2=2
    +++ echo 2.19
    +++ awk -F. '{ print $2 }'
    ++ y2=19
    ++ '[' 2 -gt 2 ']'
    ++ '[' 2 -lt 2 ']'
    ++ '[' 2 -ge 19 ']'
    ++ return 1
    ++ '[' 9 -lt 3 ']'
    ++ '[' x2.19 '!=' x ']'
    ++ SYS_REL_MAJOR=2.19
    ++ getMappedSystemID linux-glibc 2.19 '' -x86_64 Linux
    ++ _vcf_OSFLAVOR=Linux
    ++ '[' -z -x86_64 ']'
    +++ echo -x86_64
    +++ sed s/-//
    ++ _vcf_HWFLAVOR=x86_64
    ++ '[' -z '' ']'
    ++ _vcf_RELEASE=2.19
    ++ x=2.19
    +++ awk -F. '{ print $1 }'
    +++ echo 2.19
    ++ xx=2
    +++ echo 2.19
    +++ awk -F. '{ print $2 }'
    ++ xy=19
    ++ '[' Linux = SunOS ']'
    ++ '[' Linux = FreeBSD -o Linux = Darwin ']'
    +++ getSupportReleaseLists linux-glibc -x86_64
    +++ '[' -z -x86_64 ']'
    +++ getPFMatrix
    +++ sed -e s/linux-glibc// -e s/-x86_64//
    +++ awk '-F;' '$6 == "linux-glibc-x86_64" {print $1}'
    +++ cat
    ++ for i in '`getSupportReleaseLists $1 $4`'
    ++ ge 2.3 2.19
    +++ awk -F. '{ print $1 }'
    +++ echo 2.3
    ++ x1=2
    +++ awk -F. '{ print $2 }'
    +++ echo 2.3
    ++ y1=3
    +++ echo 2.19
    +++ awk -F. '{ print $1 }'
    ++ x2=2
    +++ echo 2.19
    +++ awk -F. '{ print $2 }'
    ++ y2=19
    ++ '[' 2 -gt 2 ']'
    ++ '[' 2 -lt 2 ']'
    ++ '[' 3 -ge 19 ']'
    ++ return 1
    ++ for i in '`getSupportReleaseLists $1 $4`'
    ++ ge 2.4 2.19
    +++ echo 2.4
    +++ awk -F. '{ print $1 }'
    ++ x1=2
    +++ echo 2.4
    +++ awk -F. '{ print $2 }'
    ++ y1=4
    +++ echo 2.19
    +++ awk -F. '{ print $1 }'
    ++ x2=2
    +++ awk -F. '{ print $2 }'
    +++ echo 2.19
    ++ y2=19
    ++ '[' 2 -gt 2 ']'
    ++ '[' 2 -lt 2 ']'
    ++ '[' 4 -ge 19 ']'
    ++ return 1
    ++ for i in '`getSupportReleaseLists $1 $4`'
    ++ ge 2.5 2.19
    +++ awk -F. '{ print $1 }'
    +++ echo 2.5
    ++ x1=2
    +++ echo 2.5
    +++ awk -F. '{ print $2 }'
    ++ y1=5
    +++ echo 2.19
    +++ awk -F. '{ print $1 }'
    ++ x2=2
    +++ echo 2.19
    +++ awk -F. '{ print $2 }'
    ++ y2=19
    ++ '[' 2 -gt 2 ']'
    ++ '[' 2 -lt 2 ']'
    ++ '[' 5 -ge 19 ']'
    ++ return 1
    ++ for i in '`getSupportReleaseLists $1 $4`'
    ++ ge 2.6 2.19
    +++ echo 2.6
    +++ awk -F. '{ print $1 }'
    ++ x1=2
    +++ echo 2.6
    +++ awk -F. '{ print $2 }'
    ++ y1=6
    +++ echo 2.19
    +++ awk -F. '{ print $1 }'
    ++ x2=2
    +++ echo 2.19
    +++ awk -F. '{ print $2 }'
    ++ y2=19
    ++ '[' 2 -gt 2 ']'
    ++ '[' 2 -lt 2 ']'
    ++ '[' 6 -ge 19 ']'
    ++ return 1
    ++ for i in '`getSupportReleaseLists $1 $4`'
    ++ ge 2.7 2.19
    +++ awk -F. '{ print $1 }'
    +++ echo 2.7
    ++ x1=2
    +++ echo 2.7
    +++ awk -F. '{ print $2 }'
    ++ y1=7
    +++ echo 2.19
    +++ awk -F. '{ print $1 }'
    ++ x2=2
    +++ echo 2.19
    +++ awk -F. '{ print $2 }'
    ++ y2=19
    ++ '[' 2 -gt 2 ']'
    ++ '[' 2 -lt 2 ']'
    ++ '[' 7 -ge 19 ']'
    ++ return 1
    ++ for i in '`getSupportReleaseLists $1 $4`'
    ++ ge 2.9 2.19
    +++ echo 2.9
    +++ awk -F. '{ print $1 }'
    ++ x1=2
    +++ awk -F. '{ print $2 }'
    +++ echo 2.9
    ++ y1=9
    +++ awk -F. '{ print $1 }'
    +++ echo 2.19
    ++ x2=2
    +++ echo 2.19
    +++ awk -F. '{ print $2 }'
    ++ y2=19
    ++ '[' 2 -gt 2 ']'
    ++ '[' 2 -lt 2 ']'
    ++ '[' 9 -ge 19 ']'
    ++ return 1
    ++ for i in '`getSupportReleaseLists $1 $4`'
    ++ ge 2.11 2.19
    +++ echo 2.11
    +++ awk -F. '{ print $1 }'
    ++ x1=2
    +++ echo 2.11
    +++ awk -F. '{ print $2 }'
    ++ y1=11
    +++ echo 2.19
    +++ awk -F. '{ print $1 }'
    ++ x2=2
    +++ awk -F. '{ print $2 }'
    +++ echo 2.19
    ++ y2=19
    ++ '[' 2 -gt 2 ']'
    ++ '[' 2 -lt 2 ']'
    ++ '[' 11 -ge 19 ']'
    ++ return 1
    ++ for i in '`getSupportReleaseLists $1 $4`'
    ++ ge 2.12 2.19
    +++ echo 2.12
    +++ awk -F. '{ print $1 }'
    ++ x1=2
    +++ awk -F. '{ print $2 }'
    +++ echo 2.12
    ++ y1=12
    +++ echo 2.19
    +++ awk -F. '{ print $1 }'
    ++ x2=2
    +++ echo 2.19
    +++ awk -F. '{ print $2 }'
    ++ y2=19
    ++ '[' 2 -gt 2 ']'
    ++ '[' 2 -lt 2 ']'
    ++ '[' 12 -ge 19 ']'
    ++ return 1
    ++ _vcf_MAPPEDRELEASE=2.12
    +++ echo 2.12
    +++ awk -F. '{ print $1 }'
    ++ xx=2
    +++ echo 2.12
    +++ awk -F. '{ print $2 }'
    ++ xy=12
    ++ '[' Linux = SunOS ']'
    ++ export _vcf_OSFLAVOR _vcf_HWFLAVOR _vcf_RELEASE _vcf_MAPPEDRELEASE
    ++ PLATFORM_ID=linux-glibc2.12-x86_64
    ++ return 0
    ++ return 0
    ++ '[' linux-glibc2.12-x86_64 = NA ']'
    +++ echo linux-glibc2.12-x86_64
    +++ sed 's;2.12;2.19;'
    ++ REALPLAT_ID=linux-glibc2.19-x86_64
    +++ getOsInfoN 2
    +++ awk '-F;' '$1 == "linux-glibc2.12-x86_64" { print $2 }'
    +++ getPFMatrix
    +++ cat
    ++ PACKPLAT_ID=linux-glibc2.3-x86_64
    ++ export PLATFORM_ID REALPLAT_ID PACKPLAT_ID
    ++ '[' '' = -version ']'
    ++ '[' '' = -sample-xml ']'
    ++ '[' '' = -script ']'
    ++ '[' '' = -pkgsize ']'
    ++ KSH=/home/jeremy/Templates/CVDownloads/linux-glibc2.3-x86_64/CVGxBase0/ksh
    ++ set cvpkgadd -x-support -refresh
    ++ shift
    ++ '[' 2 -gt 0 ']'
    ++ case $1 in
    ++ '[' linux-glibc2.12-x86_64 '!=' NA ']'
    ++ shift
    ++ continue
    ++ '[' 1 -gt 0 ']'
    ++ case $1 in
    ++ '[' -f /home/jeremy/Templates/CVDownloads/linux-glibc2.3-x86_64/CVGxBase0/ksh ']'
    ++ verifyPdKsh /home/jeremy/Templates/CVDownloads/linux-glibc2.3-x86_64/CVGxBase0/ksh
    ++ testPdKsh /home/jeremy/Templates/CVDownloads/linux-glibc2.3-x86_64/CVGxBase0/ksh
    +++ /home/jeremy/Templates/CVDownloads/linux-glibc2.3-x86_64/CVGxBase0/ksh -c 'echo $KSH_VERSION'
    ++ '[' x = '@(#)CV PD KSH v5.2.14 12/03/08 [ARRAY EXTENDED TO 16K]x' ']'
    ++ return 1
    ++ echo '*** Wrong version of ksh: /home/jeremy/Templates/CVDownloads/linux-glibc2.3-x86_64/CVGxBase0/ksh.'
    *** Wrong version of ksh: /home/jeremy/Templates/CVDownloads/linux-glibc2.3-x86_64/CVGxBase0/ksh.
    ++ exit 1


  • Re: Linux IDA Agent
    Posted: 03-19-2015, 2:59 PM
    • efg is not online. Last active: 05-24-2019, 9:36 AM efg
    • Top 10 Contributor
    • Joined on 02-02-2010
    • CommVault Tinton Falls NJ
    • Expert
    • Points 1,656

    Can you run this command?:

    # cd /home/jeremy/Templates/CVDownloads/linux-glibc2.3-x86_64/CVGxBase0

    # ./ksh -c 'echo $KSH_VERSION'

    It should look like the following:

    # ./ksh -c 'echo $KSH_VERSION'
    @(#)CV PD KSH v5.2.14 12/03/08 [ARRAY EXTENDED TO 16K]
    #

    Thanks!


    Ernst F. Graeler
    Senior Engineer III
    Development
  • Re: Linux IDA Agent
    Posted: 03-19-2015, 3:08 PM

    /ksh -c 'echo $KSH_VERSION'
    @(#)CV PD KSH v5.2.14 12/03/08 [ARRAY EXTENDED TO 16K]

  • Re: Linux IDA Agent
    Posted: 03-19-2015, 3:26 PM
    • efg is not online. Last active: 05-24-2019, 9:36 AM efg
    • Top 10 Contributor
    • Joined on 02-02-2010
    • CommVault Tinton Falls NJ
    • Expert
    • Points 1,656

    Odd...    according to the script debug output, running that command yields a non-zero return code:

    +++ /home/jeremy/Templates/CVDownloads/linux-glibc2.3-x86_64/CVGxBase0/ksh -c 'echo $KSH_VERSION'
    ++ '[' x = '@(#)CV PD KSH v5.2.14 12/03/08 [ARRAY EXTENDED TO 16K]x' ']'
    ++ return 1
    ++ echo '*** Wrong version of ksh: /home/jeremy/Templates/CVDownloads/linux-glibc2.3-x86_64/CVGxBase0/ksh.'
    *** Wrong version of ksh: /home/jeremy/Templates/CVDownloads/linux-glibc2.3-x86_64/CVGxBase0/ksh.
    ++ exit 1

    What if you run it using the full path?

    # /home/jeremy/Templates/CVDownloads/linux-glibc2.3-x86_64/CVGxBase0/ksh -c 'echo $KSH_VERSION'

    Then run "echo $?" to see the return code...

    # echo $?
    0
    #



    Ernst F. Graeler
    Senior Engineer III
    Development
  • Re: Linux IDA Agent
    Posted: 03-19-2015, 3:30 PM

    Ernst,

     

    I changed the permissions and now I get this error

    it says it is done but nothing gets installed

     

    Simpana            10 (BUILD116)             Linux(x86_64) glibc2.19 using 2.12
    Done

    Thank you for choosing CommVault Systems, Inc. Simpana.

    [LOG INFO] To review the setup, you may find the following logs useful if available:
      (1) logs under /tmp/.gxsetup
      (2) install.log|env and UpdateInfo.log|env under Log Directory
      (3) logs under /var/log/.gxsetup/<time>_<program>_10-116-linux-6p05.site-NA-9972[_f]
      (4) logs under (User home directory)/.gxsetup/<time>_<program>_10-116-linux-6p05.site-NA-9972[_f]

    printf: warning: ignoring excess arguments, starting with '-ctrl=\033[1m'
    -wrap=79


  • Re: Linux IDA Agent
    Posted: 03-19-2015, 3:36 PM
    • efg is not online. Last active: 05-24-2019, 9:36 AM efg
    • Top 10 Contributor
    • Joined on 02-02-2010
    • CommVault Tinton Falls NJ
    • Expert
    • Points 1,656

    Can you run the following command?

    # simpana status

    What output do you get?

     

    Also...  how did you change the permissions?


    Ernst F. Graeler
    Senior Engineer III
    Development
  • Re: Linux IDA Agent
    Posted: 03-19-2015, 3:38 PM

    it says command not found

     

    I used the chmod command

  • Re: Linux IDA Agent
    Posted: 03-19-2015, 4:22 PM
    • efg is not online. Last active: 05-24-2019, 9:36 AM efg
    • Top 10 Contributor
    • Joined on 02-02-2010
    • CommVault Tinton Falls NJ
    • Expert
    • Points 1,656

    OK... so it looks like it didn't install correctly, as a matter of fact, it may have aborted and rolled off.

    Typically after a successful install you will have a "simpana" command which can be used to start and stop the processes.

    When you ran chmod did you run it recursively on the install media path, or on just the ksh directory?

    For example:

    # chmod -R 755 /home/jeremy/Templates/CVDownloads

    If not...  can you give this a try and then try the install again?


    Ernst F. Graeler
    Senior Engineer III
    Development
  • Re: Linux IDA Agent
    Posted: 03-19-2015, 4:30 PM

    After running command

     

    Simpana            10 (BUILD116)             Linux(x86_64) glibc2.19 using 2.12
    Setting Client/Physical Machine Host Name

    printf: warning: ignoring excess arguments, starting with '-ctrl=\033[1m'
    -wrap=79
    Client/Physical Machine Host Name: [linux-6p05]


  • Re: Linux IDA Agent
    Posted: 03-19-2015, 5:15 PM
    • efg is not online. Last active: 05-24-2019, 9:36 AM efg
    • Top 10 Contributor
    • Joined on 02-02-2010
    • CommVault Tinton Falls NJ
    • Expert
    • Points 1,656

    It sounds like the media wasn't copied over correctly to the linux host.   Especially since you had to run chmod to begin with.  This should normally not be needed.   Try this...

    Using the bootstrapper downloader, download the SW for Linux and select the option to create the "tar" file during the download.  This will leave you with an additonal file on your windows workstation where you downloaded the SW.  The file will look like this:  CVDownloads.tar

    Copy that file over to the linux host, and then unpack it locally there using the "tar" command:

    # tar xvf CVDownloads.tar

    This should unpack the media to a CVDownloads directory.  Then "cd" into that directory and run the installer:  "./cvpkgadd"

    Let us know if this works...


    Ernst F. Graeler
    Senior Engineer III
    Development
  • Re: Linux IDA Agent
    Posted: 03-23-2015, 1:44 PM

    That worked

     

    Thanks

The content of the forums, threads and posts reflects the thoughts and opinions of each author, and does not represent the thoughts, opinions, plans or strategies of Commvault Systems, Inc. ("Commvault") and Commvault undertakes no obligation to update, correct or modify any statements made in this forum. Any and all third party links, statements, comments, or feedback posted to, or otherwise provided by this forum, thread or post are not affiliated with, nor endorsed by, Commvault.
Commvault, Commvault and logo, the “CV” logo, Commvault Systems, Solving Forward, SIM, Singular Information Management, Simpana, Commvault Galaxy, Unified Data Management, QiNetix, Quick Recovery, QR, CommNet, GridStor, Vault Tracker, InnerVault, QuickSnap, QSnap, Recovery Director, CommServe, CommCell, SnapProtect, ROMS, and CommValue, are trademarks or registered trademarks of Commvault Systems, Inc. All other third party brands, products, service names, trademarks, or registered service marks are the property of and used to identify the products or services of their respective owners. All specifications are subject to change without notice.
Close
Copyright © 2019 Commvault | All Rights Reserved. | Legal | Privacy Policy