Imperva Cyber Community

communities_1.jpg
 View Only
  • 1.  Error running imperva agent installation on an oracle linux 8 server

    Posted 04-23-2023 21:18
    Edited by Orlando Sánchez 04-23-2023 21:21

    Hi,

    Please can they help me with your experiences in installing the Imperva agent on an Oracle Linux 8?

    I am trying to install the agent, run which_ragent, the data it showed me was the following:

    [root@l agent]# ./which_ragent_package_0270.sh -v 14.0.0
    OS:RHEL
    Version: 8
    Platform: x86_64
    Kernel: SMP
    Latest DAM Agent package is: Imperva-ragent-RHEL-v8-kSMP-px86_64-b14.6.0.20.0.632803.tar.gz
    Latest Big Data Agent package is: Imperva-ragent-bigdata-RHEL-kSMP-px86_64-b14.6.0.30.0.633732.tar.gz

    When I running the install.sh displays the following:
    [root@l agent]# sudo ./install.sh -k kabi_0081.txt -b
    Checking if the Remote Agent should be installed or upgraded:

    SELF EXTRACTING INSTALLER

    PACKAGE CONFIGURATION
    Version: 4.6.0.50.0
    Release: 635580
    OS: Linux
    OS Version: 4.1
    Platform: x86_64
    Kernel Patch Level: 262412
    Maximum # of permitted CPUs: 8192
    Root Dir:
    Required Disk Space: 63607K
    Ignored Tests:
    Installation Extra Flags:

    SYSTEM CONFIGURATION
    OS: Linux
    OS Version: 5.15.0-3.60.5.1.el8uek.x86_64
    Platform: x86_64
    Kernel Patch Level:
    Maximum # of permitted CPUs: 8192 8192 8192 8192
    User ID: uid=0(root) gid=0(root) groups=0(root) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
    Available Disk Space: 0K
    Zone: global

    VERIFYING CONFIGURATION
    Test 1: Root Permissions. passed
    Test 2: OS Compatibility. passed
    Test 3: Platform Compatibility. passed
    Test 4: Necessary OS Commands. passed
    All tests passed.

    Remote Agent is not installed. Installing Remote Agent.
    Usage:
       -h Print this help.
       -d <dir> Package root directory.
       -u Upgrade from a previous version. this option implies -n. this option cannot be used with -d.
       -c Run check install script and exit. this option implies -n.
       -f Do not check free space before installing.
       -i Do not perform checksum validation.
       -n Do not run cli init script and approve changes need to be made to configuration file(s) on your system(s).
       -s Start the Agent service after upgrade. this option can only be used with -u.
       -j Do not start the Agent service after upgrade. this option can only be used with -u.
    Debug Options:
       -v Run installation with verbose prints.
       -t Run installation with xtrace prints.
       -b Ignore the Secure Boot pre-installation test.
       -g Install using a custom temporary directory.
       -o Force monitoring mode using kernel

    Failed to install the Remote Agent.





    Thanks


    #DatabaseActivityMonitoring
    #ImpervaAgent

    ------------------------------
    Orlando
    ------------------------------



  • 2.  RE: Error running imperva agent installation on an oracle linux 8 server

    Posted 04-24-2023 09:00

    Hi Orlando,

    Firstly, read on the link below what you should consider for non-windows environment. 


    https://docs.imperva.com/bundle/v14.7-dam-administration-guide/page/7338.htm

    In addition to this, you must check the Secure Boot.

    Have a look on the link below:

    https://docs.imperva.com/bundle/v14.7-dam-administration-guide/page/70139.htm

    After checking the steps above regarding the Secure Boot, check if the file you have for installation is executable or not and start installation of the agent.

    Let me know if this will help you.

    Kind Regards,



    ------------------------------
    Olgerta Prendi
    Cyber Security Specialist
    S&T AG
    Tirana
    ------------------------------



  • 3.  RE: Error running imperva agent installation on an oracle linux 8 server

    Posted 04-24-2023 09:27
    Edited by Cezmi Cal 04-24-2023 09:29

    Hi Orlando,

    Could you check the disk space of the related server? By default agent is installed under /opt partition.

    SYSTEM CONFIGURATION
    OS: Linux
    OS Version: 5.15.0-3.60.5.1.el8uek.x86_64
    Platform: x86_64
    Kernel Patch Level:
    Maximum # of permitted CPUs: 8192 8192 8192 8192
    User ID: uid=0(root) gid=0(root) groups=0(root) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
    Available Disk Space: 0K
    Zone: global



    ------------------------------
    Cezmi Cal
    technical support engineer
    Barikat Internet Guvenligi Bilisim Ticaret A.S.
    Ankara
    ------------------------------



  • 4.  RE: Error running imperva agent installation on an oracle linux 8 server

    Posted 04-24-2023 11:42

    HI,

    I think that is the problem with privileges.
    The agent unzips files in the TEMP folder and tries to run the installation from there.
    RHEL could be hardened, and running any applications from TEMP may be impossible.



    ------------------------------
    Karol Gruszczynski
    IT Security Expert
    Trafford IT Sp. z o.o.
    Warsaw
    ------------------------------