command not found

Antworten
Dirk.Assmann
Beiträge: 14
Registriert: 01 Dez 2021, 13:09

command not found

Beitrag von Dirk.Assmann »

Moin OPSI Gemeinde,
leider weiß ich gerade mit meinen bescheidenen Linux Kenntnissen nicht weiter.
Ich kann auf dem OPSI Server, keine Befehle mehr an der Konsole ausführen.

Angemeldet als: root via SSH

opsi-set-rights
opsi-set-rights: command not found

opsi-cli
opsi-cli: command not found

opsi-package-updater
opsi-package-updater: command not found

opsiconfd setup
keine Meldung.

opsiconfd health-check

● Operating System End Of Life [linux_distro_eol]: OK
➔ Version 24.04 of distribution ubuntu is supported until 2029-06-01.

● Disk usage [disk_usage]: OK
➔ Sufficient free space on all file systems.

● System repositories [system_repositories]: OK
➔ No issues found with the system repositories.

● System packages [system_packages]: ERROR
➔ Out of 3 packages checked, 2 are not installed and 0 are out of date.

● OPSI Failed Addons [opsi_failed_addons]: OK
➔ No errors found while loading addons.

● Depotserver [depotservers]: ERROR
➔ 1 issue(s) found.
...
...
...

● OPSI Worker Capacity [opsi_worker_capacity]: OK
➔ There are enough workers (1) for the currently active clients (194).

ERROR: Check completed with 5 errors and 3 warnings.



Hintergrund: Ich habe am Montag unseren OPSI Server erfolgreich auf die Version 4.3 hochgezogen.
Am Mittwoch war dann die Redis Datenbank offline. Dies konnte ich durch ein neu installieren dann beheben.
Seit dem funktionieren jedoch die ganzen OPSI Befehle auf der Shell nicht mehr.
Der OPSI Server an sich läuft und installiert auch fleißig Pakete auf den Clients.
Ich habe keine Ahnung wie ich das wieder grade gerückt bekomme. Währe schon super, wenn mir da jemand unter
die Arme greifen könnte...

MfG
Dirk
SirTux
Beiträge: 624
Registriert: 05 Feb 2011, 18:37

Re: command not found

Beitrag von SirTux »

Poste mal die Ausgabe von

Code: Alles auswählen

dpkg -l|grep opsi
Dirk.Assmann
Beiträge: 14
Registriert: 01 Dez 2021, 13:09

Re: command not found

Beitrag von Dirk.Assmann »

Moin,

Code: Alles auswählen

root@opsisrv:~# dpkg -l|grep opsi
rc  opsi-atftpd                             0.7.dfsg-7                              amd64        advanced TFTP server - opsi version with pcre, fifo                    and max-blksize patches
ii  opsi-configed                           4.0.7.6.34-2                            all          OPSI config editor
ii  opsi-linux-bootimage                    20260220-1                              all          Linux-based bootimage for OPSI
rc  opsi-server                             4.1.1.8-1                               all          opsi server configuration package
rc  opsi-server-full                        4.3.5.3-1                               all          opsi server
ii  opsi-tftpd-hpa                          5.2.9-4                                 amd64        HPA's tftp server
rc  opsi-utils                              4.3.24.2-1                              amd64        Utilities for working with opsi
ii  opsi-webgui                             4.3.47.5-1                              all          opsi webgui
ii  opsiconfd                               4.3.50.4-1                              amd64        OPSI configuration service
rc  opsipxeconfd                            4.3.15.2-1                              amd64        OPSI PXE Configuration Service
rc  python-opsi                             4.1.1.101-1                             all          opsi python library
root@opsisrv:~#
busabernhardg
Beiträge: 174
Registriert: 07 Jul 2008, 16:53

Re: command not found

Beitrag von busabernhardg »

Hallo,

die Pakete mit "rc" am Anfang sind deinstalliert/gelöscht worden

Auf meinem Opsi-Server sind folgende Pakete installiert:
root@sw1:~# dpkg -l | grep opsi
ii opsi-linux-bootimage 20260220-1 all Linux-based bootimage for OPSI
ii opsi-server-full 4.3.5.3-1 all opsi server
ii opsi-tftpd-hpa 5.2.9-4 amd64 HPA's tftp server
ii opsi-utils 4.3.26.3-1 amd64 Utilities for working with opsi
ii opsi-webgui 4.3.47.5-1 all opsi webgui
ii opsiconfd 4.3.50.6-1 amd64 OPSI configuration service
ii opsipxeconfd 4.3.15.2-1 amd64 OPSI PXE Configuration Service
wieder installieren mittels:

Code: Alles auswählen

apt install opsi-server-full opsi-tftpd-hpa opsi-utils opsipxeconfd
lg
Bernhard
Dirk.Assmann
Beiträge: 14
Registriert: 01 Dez 2021, 13:09

Re: command not found

Beitrag von Dirk.Assmann »

Hallo Bernhard,
Du bist mein Held des Tages!!! :D :D

Hat auf Anhieb funktioniert. Wie die Pakete abhanden gekommen sind, kann ich mir nicht erklären.
Aber jetzt läuft es wieder.

Nochmals vielen Dank.
Antworten