Announcement

Collapse
No announcement yet.

Imunify stuck in scanning

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Imunify stuck in scanning

    Hello,

    The Imunify is stuck in scanning 0 total objects. And it shows the error:
    package imunify-antivirus is not installed when installing Imunify.

    How to fix this error, please?

    Thanks
    Last edited by maromania; 01-17-2023, 03:31 PM.

  • #2
    Hello,

    The Imunify is stuck in scanning 0 total objects.​
    After activating the scan there are two stages, the first will require enumerating files and preparing a list. While at this stage, the scanning total object may remain 0. It is possible that enumerating files is taking too long, for example in some cache paths. It is possible to check this assumption with du and find commands. The values should be within the expected range for the site. Otherwise, it is recommended to drop the cache.

    There also might be issues with the scanner, for example, while reading a shared library:
    https://cloudlinux.zendesk.com/hc/en...file-too-short

    Although, a more precise guess can be made based on:
    Code:
    tail -n10 /var/imunify360/aibolit/run/*/err_file
    If the scan is finished and the total amount of scanned files remains 0, there might be other issues such as:
    Files with an owner ID lower than the minimal UID are excluded, and often Stand-alone Malware scans and exclude patterns should be double-checked.

    And it shows the error: package imunify-antivirus is not installed when installing Imunify.​
    I am not sure whether you are using the Imunify360 package and on what environment or a web panel. It is possible that the deploy log states that before installing Imunfy360, the installation script whether any of the Imunify packages are currently installed. If you have service statuses as active:
    Code:
    systemctl -l | grep -e imunify -e ossec
    Then you probably can ignore this message.

    Please check the above articles and feel free to provide more details.
    Last edited by mchernyavsky; 01-17-2023, 05:03 PM.

    Comment


    • #3
      Hello,

      I use ImunifyAV on cPanel and Almalinux 8.
      Error after installing ImunifyAV:

      The following error was returned: The log file contained the following information: [2023-01-17 16:30:15] Created symlink /etc/systemd/system/sockets.target.wants/imunify-antivirus.socket → /usr/lib/systemd/system/imunify-antivirus.socket. [2023-01-17 16:30:15] Created symlink /etc/systemd/system/sockets.target.wants/imunify-antivirus-user.socket → /usr/lib/systemd/system/imunify-antivirus-user.socket. [2023-01-17 16:30:15] Created symlink /etc/systemd/system/sockets.target.wants/imunify-antivirus-sensor.socket → /usr/lib/systemd/system/imunify-antivirus-sensor.socket. [2023-01-17 16:30:15] [2023-01-17 16:30:32] sed: can't read /etc/cagefs/cagefs.mp: No such file or directory [2023-01-17 16:30:32] Adding ImunifyAV to CSF exceptions.../opt/alt/python38/share/imunify360/scripts/csf_tool: line 32: /etc/csf/imunify_allow.conf: No such file or directory [2023-01-17 16:30:32] Restarting CSF to apply pignore changes [2023-01-17 16:30:32] OK [2023-01-17 16:30:32] '/usr/bin/imunify360-agent' -> '/usr/bin/imunify-antivirus' [2023-01-17 16:30:32] [2023-01-17 16:30:33] Verifying : ai-bolit-1:31.10.2-1.el8.x86_64 1/2 [2023-01-17 16:30:36] Verifying : imunify-antivirus-6.9.1-2.noarch 2/2Error: Transaction failed [2023-01-17 16:30:36] [2023-01-17 16:30:36] [2023-01-17 16:30:36] Installed: [2023-01-17 16:30:36] imunify-antivirus-6.9.1-2.noarch [2023-01-17 16:30:36] Failed: [2023-01-17 16:30:36] ai-bolit-1:31.10.2-1.el8.x86_64 [2023-01-17 16:30:36] [2023-01-17 16:30:36] Package imunify-antivirus was not installed.
      Last edited by maromania; 01-18-2023, 07:37 AM.

      Comment

      Working...
      X