ADSYSD-SERVICE Failure after install (21.04)

Asked by RodrigoS

Hy.
I´m testing the new Active Directory Features to bridging Active Directory with Ubuntu Desktop joined to AD Domain.
I´m installing ADSYS to test Group Policies and after install, i have and service error like this:

rsabella@ID707012LX:~$ sudo apt install adsys
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias... Hecho
Leyendo la información de estado... Hecho
Se instalarán los siguientes paquetes NUEVOS:
  adsys
0 actualizados, 1 nuevos se instalarán, 0 para eliminar y 2 no actualizados.
Se necesita descargar 3.240 kB de archivos.
Se utilizarán 12,2 MB de espacio de disco adicional después de esta operación.
Des:1 http://ar.archive.ubuntu.com/ubuntu hirsute/universe amd64 adsys amd64 0.5 [3.240 kB]
Descargados 3.240 kB en 4s (797 kB/s)
Seleccionando el paquete adsys previamente no seleccionado.
(Leyendo la base de datos ... 134779 ficheros o directorios instalados actualmente.)
Preparando para desempaquetar .../archives/adsys_0.5_amd64.deb ...
Desempaquetando adsys (0.5) ...
Configurando adsys (0.5) ...
adsys-gpo-refresh.service is a disabled or a static unit not running, not starting it.
adsysd.service is a disabled or a static unit not running, not starting it.
Job for adsys-boot.service failed because the control process exited with error code.
See "systemctl status adsys-boot.service" and "journalctl -xe" for details.
Procesando disparadores para man-db (2.9.4-2) ...

rsabella@ID707012LX:~$ journalctl -xe
may 02 08:51:49 ID707012LX systemd[1]: adsys-boot.service: Main process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░ ░░ An ExecStart= process belonging to unit adsys-boot.service has exited.
░░ ░░ The process' exit code is 'exited' and its exit status is 1.
may 02 08:51:49 ID707012LX systemd[1]: adsys-boot.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░ ░░ The unit adsys-boot.service has entered the 'failed' state with result 'exit-code'.
may 02 08:51:49 ID707012LX systemd[1]: Failed to start Refresh ADSys GPO for machine on boot.
░░ Subject: A start job for unit adsys-boot.service has failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░ A start job for unit adsys-boot.service has finished with a failure.
░░ The job identifier is 2329 and the job result is failed.

Thanks for any help

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

What output do you receive for the command

sudo adsysctl --update --all

(eventually add the debug option -vvv to see more)

Revision history for this message
RodrigoS (ronin74) said :
#2

Hi
The adsysctl doesn´t accept "all" command / flag

I wan run the following:

rsabella@ID707012LX:~$ sudo adsysctl -vvv update

INFOgithub.com/ubuntu/adsys/internal/config/config.go:60 github.com/ubuntu/adsys/internal/config.Configure() No configuration file: Config File "adsys" Not Found in "[/home/rsabella /root /etc]".

We will use the defaults, env variables or flags.

ERRORgithub.com/ubuntu/adsys/cmd/adsysd/main.go:49 main.run() Couldn't connect to adsys daemon: connection closed

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

The journalctl messages point towards /lib/systemd/system/adsys-boot.service which contains
...
ExecStart=/sbin/adsysctl update --all
...

So try doing exactly the same.
What is the output of the commands

sudo /sbin/adsysctl update --all
echo $?

Remark; The manpage http://manpages.ubuntu.com/manpages/hirsute/en/man1/adsysctl-update.1.html lists --all ass possible flag.

Revision history for this message
RodrigoS (ronin74) said :
#4

Hello!!

rsabella@ID707012LX:~$ sudo /sbin/adsysctl -vvv update --all

INFOgithub.com/ubuntu/adsys/internal/config/config.go:60 github.com/ubuntu/adsys/internal/config.Configure() No configuration file: Config File "adsys" Not Found in "[/home/rsabella /root /etc]".
We will use the defaults, env variables or flags.
ERRORgithub.com/ubuntu/adsys/cmd/adsysd/main.go:49 main.run() Couldn't connect to adsys daemon: connection closed

rsabella@ID707012LX:~$ echo $?
1
rsabella@ID707012LX:~$

Revision history for this message
Manfred Hampl (m-hampl) said :
#5

Sorry, I have no idea what's going wrong and why this is the case,
Maybe you can use https://github.com/ubuntu/adsys as starting point for searching.
I cannot help further.

Can you help with this problem?

Provide an answer of your own, or ask RodrigoS for more information if necessary.

To post a message you must log in.