Symantec Access Management

 View Only
  • 1.  Web agent installation is detected at the given location -RedHat Linux6

    Posted Apr 17, 2018 04:18 PM

    How to Configure Apache-based Agents on UNIX or Linux - CA Single Sign-On - 12.52 SP1 - CA Technologies Documentation 

     

    I have followed steps specified in above document but still not able to Upgrade CA SSO Webagent to 12.52 SP01 CRO08(ca-wa-12.52-sp01-cr08-linux-x86-64.bin) on Red Hat Enterprise Linux Server release 6.9 (Santiago).

     

     

     

    ===============================================================================
    Choose Install Location
    -----------------------

    Specify a location for the Web Agent. If the path does not contains the word
    "webagent," the installation program will create a folder called "webagent"
    and appends it to the end of your path.

    Where would you like to install?

    Default Install Folder: /root/CA/webagent

    ENTER AN ABSOLUTE PATH, OR PRESS <ENTER> TO ACCEPT THE DEFAULT
    : /opt/netegrity/pro1/siteminder/webagent

    INSTALL FOLDER IS: /opt/netegrity/pro1/siteminder/webagent
    IS THIS CORRECT? (Y/N): y

     

    ===============================================================================
    Web agent installation is detected at the given location.
    ---------------------------------------------------------

    Please source the environment script
    /opt/netegrity/pro1/siteminder/webagent/ca_wa_env.sh or
    /opt/netegrity/pro1/siteminder/webagent/nete_wa_env.sh and re-start the
    installer.

    PRESS <ENTER> TO ACCEPT THE FOLLOWING (OK):
    [user@hostname webagent]$

     

    I am running web agent installer script with sudo as root

     

    Please find ca_wa_env.sh script

     

    [user@host ~]$ cat /opt/netegrity/pro1/siteminder/webagent/ca_wa_env.sh
    #!/bin/sh


    NETE_WA_ROOT=/opt/netegrity/pro1/siteminder/webagent
    export NETE_WA_ROOT
    NETE_WA_PATH=${NETE_WA_ROOT}/bin
    export NETE_WA_PATH


    CAPKIHOME=/opt/netegrity/pro1/siteminder/webagent/CAPKI
    export CAPKIHOME


    LD_LIBRARY_PATH=${NETE_WA_ROOT}/bin:${NETE_WA_ROOT}/bin/thirdparty:${LD_LIBRARY_PATH}
    export LD_LIBRARY_PATH


    PATH=${NETE_WA_ROOT}:${NETE_WA_PATH}:${CAPKIHOME}:${PATH}
    export PATH


    #LD_PRELOAD=${NETE_WA_PATH}/libbtunicode.so
    #uncomment the 'export' line below if the line above is uncommented.
    #export LD_PRELOAD



  • 2.  Re: Web agent installation is detected at the given location -RedHat Linux6

    Posted Apr 17, 2018 04:45 PM

    Did you actually source the ca_wa_env.sh into your user environment before running the script?  The agent installer is looking for the environment variables in the user environment.



  • 3.  Re: Web agent installation is detected at the given location -RedHat Linux6

    Posted Apr 17, 2018 05:03 PM

    Sourced file ca_wa_env.sh

     

    I am sourcing ca_wa_env.sh file as a Normal User and running installer script as a sudo (root) user

     

    [user@hostname ~]$ echo $PATH
    /opt/rh/php54/root/usr/bin:/opt/rh/php54/root/usr/sbin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/DoaminName/user/bin
    [user@hostname ~]$
    [user@hostname ~]$
    [user@hostname ~]$ source /opt/netegrity/pro1/siteminder/webagent/ca_wa_env.sh
    [user@hostname ~]$ echo $PATH
    /opt/netegrity/pro1/siteminder/webagent:/opt/netegrity/pro1/siteminder/webagent/bin:/opt/netegrity/pro1/siteminder/webagent/CAPKI:/opt/rh/php54/root/usr/bin:/opt/rh/php54/root/usr/sbin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/DoaminName/user/bin

    [user@hostname ~]$ echo $NETE_WA_ROOT
    /opt/netegrity/pro1/siteminder/webagent
    [user@hostname ~]$ echo $NETE_WA_PATH
    /opt/netegrity/pro1/siteminder/webagent/bin
    [user@hostname ~]$ echo $CAPKIHOME
    /opt/netegrity/pro1/siteminder/webagent/CAPKI
    [user@hostname ~]$ echo $LD_LIBRARY_PATH
    /opt/netegrity/pro1/siteminder/webagent/bin:/opt/netegrity/pro1/siteminder/webagent/bin/thirdparty:
    [user@hostname ~]$ echo $PATH
    /opt/netegrity/pro1/siteminder/webagent:/opt/netegrity/pro1/siteminder/webagent/bin:/opt/netegrity/pro1/siteminder/webagent/CAPKI:/opt/rh/php54/root/usr/bin:/opt/rh/php54/root/usr/sbin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/DoaminName/user/bin
    [user@hostname ~]$
    [user@hostname ~]$ sudo /export/software/pmi/Linux/ca-wa-12.52-sp01-cr08-linux-x86-64.bin^C
    [user@hostname ~]$ cd /opt/netegrity/pro1/siteminder/webagent

     

    [user@hostname webagent]$ sudo /export/software/pmi/Linux/ca-wa-12.52-sp01-cr08-linux-x86-64.bin
    Preparing to install
    Extracting the JRE from the installer archive...
    Unpacking the JRE...
    Extracting the installation resources from the installer archive...
    Configuring the installer for this system's environment...

    Launching installer...


    Graphical installers are not supported by the VM. The console mode will be used instead...

    ===============================================================================
    CA SiteMinder Web Agent (created with InstallAnywhere)
    -------------------------------------------------------------------------------

    Preparing CONSOLE Mode Installation...

     


    ===============================================================================
    Introduction
    ------------

    InstallAnywhere will guide you through the installation of CA SiteMinder Web
    Agent.

    It is strongly recommended that you quit all programs before continuing with
    this installation.

    Respond to each prompt to proceed to the next step in the installation. If
    you want to change something on a previous step, type 'back'.

    You may cancel this installation at any time by typing 'quit'.

    PRESS <ENTER> TO CONTINUE:

     

    ===============================================================================



  • 4.  Re: Web agent installation is detected at the given location -RedHat Linux6

    Posted Apr 19, 2018 06:39 PM

    Try using the -E command to preserve the environment with the sudo command.

        -E          The -E (preserve environment) option indicates to the secuâ
                     rity policy that the user wishes to preserve their existing
                     environment variables.  The security policy may return an
                     error if the -E option is specified and the user does not
                     have permission to preserve the environment.