PowerBroker Error: Received error while querying lwsmd. [code 0x00000002]

En esta ocasión vamos a ver como solve el error ” Error: Received error while querying lwsmd. [code 0x00000002] ” que nos muestra al intentar añadir un servidor a nuestro controlador de dominio

Simplemente, tenemos que crear el fichero de configuración del servicio con los siguientes parámetros:

cat /lib/systemd/system/lwsmd.service

[Unit]
Description=BeyondTrust PBIS Service Manager
After=network.target

[Service]
Type=forking
EnvironmentFile=/opt/pbis/libexec/init-base.sh
ExecStart=/opt/pbis/sbin/lwsmd –start-as-daemon
ExecReload=/opt/pbis/bin/lwsm refresh
ExecStop=/opt/pbis/bin/lwsm shutdown
# We want systemd to give lwsmd some time to finish gracefully, but still want
# it to kill lwsmd after TimeoutStopSec if something went wrong during the
# graceful stop. Normally, Systemd sends SIGTERM signal right after the
# ExecStop, which would kill lwsmd. We are sending useless SIGCONT here to give
# lwsmd time to finish.
KillSignal=SIGCONT
PrivateTmp=true

[Install]
WantedBy=multi-user.target nss-lookup.target

 

Creamos un enlace

cd /etc/systemd/system
ln -s /lib/systemd/system/lwsmd.service

Por ultimo iniciamos el servicio y lo habilitamos.

service lwsmd start
systemctl enable lwsmd.service

 

One thought on “PowerBroker Error: Received error while querying lwsmd. [code 0x00000002]

  1. Pingback: PowerBroker Error: Received error while querying lwsmd. [code 0x00000002] | PlanetaLibre

Deja un comentario

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *

*