Error en instalación SPL

Buenos días Saludos 

Me está saliendo el siguiente error al hacer instalación en un sistema Linux Debian

This software is governed by the terms and conditions of a licence agreement with Sophos Limited

Performing pre-installation checks to verify whether SPL can be installed on this machine
ERROR: SPL installation will fail as it requires groupadd to be installed on this server

Quedo atento gracias



Added tags
[edited by: Gladys at 11:02 AM (GMT -8) on 6 Mar 2024]
  • Hi,

    You need to install groupadd to be able to use SPL.

    Thanks,

    Douglas.

  • Hi Mauricio,

    Thanks for reaching out to the Sophos Community Forum. 

    You try running the following command to generate verbose install logs for SPL? Once you have the logs, please use the "Insert > Code" function when posting the logs. This makes the logs easier to parse.
    export DEBUG_THIN_INSTALLER=1; bash -x ./SophosSetup.sh 2>&1 | tee install.log

    I'd also suggest using the "groupadd" command to see if you can manually create groups on the system. Try doing the following. 
    - groupadd --help
    - groupadd test
    - groupdel test

    Are you using the "root" user account when installing? 


    Gracias por comunicarse con el foro de la comunidad de Sophos.

    ¿Intenta ejecutar el siguiente comando para generar registros de instalación detallados para SPL? Una vez que tenga los registros, utilice la función "Insertar > Código" al publicar los registros. Esto hace que los registros sean más fáciles de analizar.
    export DEBUG_THIN_INSTALLER=1; bash -x ./SophosSetup.sh 2>&1 | tee install.log

    También sugeriría usar el comando "groupadd" para ver si puede crear grupos manualmente en el sistema. Intente hacer lo siguiente.
    - groupadd --help
    - groupadd test
    - groupdel test

    ¿Está utilizando la cuenta de usuario "root" durante la instalación?

    Kushal Lakhan
    Team Lead, Global Community Support
    Connect with Sophos Support, get alerted, and be informed.
    If a post solves your question, please use the "Verify Answer" button.
    The New Home of Sophos Support Videos!  Visit Sophos Techvids
  • Saludos Amigos 

    Solucionado

    Pues no se bien como pudo solucionarse, pero lo que hice fue lo siguiente 

    1. Ejecute el comando indicado y verifique donde fallaba y si era en el Groupadd

    + BIN=bin
    ++ ps -p 1 -o comm=
    + [[ systemd == \s\y\s\t\e\m\d ]]
    + verify_installed_packages
    + required_packages=("bash" "systemctl" "grep" "getent" "groupadd" "useradd" "usermod")
    + for package in "${required_packages[@]}"
    ++ which bash
    + [[ -z /usr/bin/bash ]]
    + for package in "${required_packages[@]}"
    ++ which systemctl
    + [[ -z /usr/bin/systemctl ]]
    + for package in "${required_packages[@]}"
    ++ which grep
    + [[ -z /usr/bin/grep ]]
    + for package in "${required_packages[@]}"
    ++ which getent
    + [[ -z /usr/bin/getent ]]
    + for package in "${required_packages[@]}"
    ++ which groupadd
    + [[ -z '' ]]
    + failure 30 'ERROR: SPL installation will fail as it requires groupadd to be installed on this server'
    + code=30
    + removeinstall=1
    + [[ -n '' ]]
    + [[ 0 == 0 ]]
    + removeinstall=0
    + echo 'ERROR: SPL installation will fail as it requires groupadd to be installed on this server'
    ERROR: SPL installation will fail as it requires groupadd to be installed on this server
    + [[ -s /logs/base/suldownloader.log ]]
    + [[ 0 -eq 1 ]]
    + cleanup_and_exit 30

    2. Validar si esta instalado Groupadd, se valido y parecia que no

    bash: groupadd: orden no encontrada

    3. ejecute el comando con sudo groupadd -h y OKOK

    Modo de uso: groupadd [opciones] GRUPO

    Opciones:
    -f, --force termina si el grupo ya existe, y cancela -g
    si el GID ya se está en uso
    -g, --gid GID utiliza GID para el nuevo grupo
    -h, --help muestra este mensaje de ayuda y termina
    -K, --key CLAVE=VALOR sobrescribe los valores predeterminados de
    «/etc/login.defs»
    -o, --non-unique permite crear grupos con GID (no únicos)
    duplicados
    -p, --password CONTRASEÑA utiliza esta contraseña cifrada para el nuevo
    grupo
    -r, --system crea una cuenta del sistema
    -R, --root CHROOT_DIR directory to chroot into

    4. Volvi a ejecutat el comando y OKOK Funciono

    sudo ./SophosSetup.sh
    Installing to /opt/sophos-spl
    Installation process for Sophos Protection for Linux started
    Attempting to connect to Sophos Central
    Successfully verified connection to Sophos Central
    Successfully registered with Sophos Central
    Successfully installed product

    Se instalo correctamente

    Gracias por el apoyo solucionado Gracias