Seite 2 von 2
Re: Ubuntu Installation - Abbruch - RuntimeError
Verfasst: 18 Feb 2022, 08:08
von theman007
Hi,
nach der Installation kann ich auf dem Client feststellen, dass der OPSI Client nicht installiert wurde.
Install Opsi Client ist in der Property auf "true".
Hast du eine Idee?
Info:
Bei der Installation von Ubuntu 20 04 wird der OPSI Client installiert, jedoch wir hier der bei dem Client der HOSTNAME "OPSI-Client" verwendet.
Re: Ubuntu Installation - Abbruch - RuntimeError
Verfasst: 18 Feb 2022, 09:44
von m.radtke
Hi
du musst mal in die entsprechenden Log Files schauen, was da fehlschlägt beim Ubuntu Produkt.
Betreffend des falschen Namens: Das Bootimage nimmt nem namen aus dem opsi-conifged, der Ubuntu Installer aus dem Ubuntu 20.04 Produkt nimmt den Namen den der DHCP zur Verfügung stellt.
Gruß
Mathias
Re: Ubuntu Installation - Abbruch - RuntimeError
Verfasst: 18 Feb 2022, 12:26
von theman007
Hi,
die Logs des Ubuntu Clients:
Code: Alles auswählen
[6] [2022-02-18 06:51:05.344] [] If
[7] [2022-02-18 06:51:05.344] [] GetOS = "Linux" <<< result true
[6] [2022-02-18 06:51:05.344] [] not (GetOS = "Linux") <<< result false
[6] [2022-02-18 06:51:05.344] [] Then
[6] [2022-02-18 06:51:05.344] [] EndIf
[5] [2022-02-18 06:51:05.344] [] comment: Show product image
[5] [2022-02-18 06:51:05.344] [] message Installing opsi-linux-client-agent ...
[6] [2022-02-18 06:51:05.345] [] If
[7] [2022-02-18 06:51:05.345] [] RunCommandAndCaptureOut: started: ps -eo pid,ppid,user,comm:40,cmd:110
[6] [2022-02-18 06:51:05.448] [] ExitCode 0
[4] [2022-02-18 06:51:05.454] [] Process name to find (opsi-script-nogui) is wider then 15 chars. Searching for: (opsi-script-nog). The result may not be exact
[6] [2022-02-18 06:51:05.454] [] getPidOfProc: valid pid for: opsi-script-nog is: 73682
[3] [2022-02-18 06:51:05.454] [] Error: getPidOfProc: found pid not valid:
[6] [2022-02-18 06:51:05.455] [] getPidOfProc: No pid found for: opsiclientd
[6] [2022-02-18 06:51:05.455] [] isProcessChildOf('opsi-script-nogui','opsiclientd') <<< result false
[6] [2022-02-18 06:51:05.455] [] Then
[6] [2022-02-18 06:51:05.455] [] Else
[6] [2022-02-18 06:51:05.455] [] Set $RunningInServiceContext$ = "false"
[6] [2022-02-18 06:51:05.455] [] The value of the variable "$RunningInServiceContext$" is now: "false"
[6] [2022-02-18 06:51:05.456] [] EndIf
[6] [2022-02-18 06:51:05.456] [] If
[6] [2022-02-18 06:51:05.456] [] $RunningInServiceContext$ = "true" <<< result false
[6] [2022-02-18 06:51:05.456] [] Then
[6] [2022-02-18 06:51:05.456] [] Else
[5] [2022-02-18 06:51:05.457] [] comment: Not running in service context
[6] [2022-02-18 06:51:05.457] [] If
[7] [2022-02-18 06:51:05.457] [] RunCommandAndCaptureOut: started: ps -eo pid,user,comm,cmd:110
[6] [2022-02-18 06:51:05.560] [] ExitCode 0
[7] [2022-02-18 06:51:05.560] []
[7] [2022-02-18 06:51:05.560] [] output:
[7] [2022-02-18 06:51:05.560] [] --------------
[7] [2022-02-18 06:51:05.562] []
[6] [2022-02-18 06:51:05.562] [] ProcessIsRunning("opsiclientd") <<< result false
[6] [2022-02-18 06:51:05.563] [] Then
[6] [2022-02-18 06:51:05.563] [] EndIf
[6] [2022-02-18 06:51:05.563] [] Marked error number 1
[5] [2022-02-18 06:51:05.566] [] Execution of: OpsiServiceCall_authenticated
[5] [2022-02-18 06:51:05.566] []
[6] [2022-02-18 06:51:05.567] [] "method": "authenticated"
[3] [2022-02-18 06:51:05.567] [] Error: service not initialized
[3] [2022-02-18 06:51:05.567] [] Error: no connection to service
[6] [2022-02-18 06:51:05.567] [] If
[6] [2022-02-18 06:51:05.567] [] errorsOccurredSinceMark > 0 <<< result true
[6] [2022-02-18 06:51:05.567] [] Then
[3] [2022-02-18 06:51:05.568] [] Error: Opsi service authentication failed
[2] [2022-02-18 06:51:05.568] [] Error level set to fatal
[6] [2022-02-18 06:51:05.568] [] Process aborted
[1] [2022-02-18 06:51:05.569] [] ___________________
[1] [2022-02-18 06:51:05.569] [] script finished: failed
[1] [2022-02-18 06:51:05.569] [] 4 errors
Ich frage mich wieso "Error: Opsi service authentication failed".
Für einen Tipp wäre ich dankbar.
Danke
Re: Ubuntu Installation - Abbruch - RuntimeError
Verfasst: 18 Feb 2022, 13:15
von m.radtke
Hi
das Problem hatten wir vor kurzem auch. Das ist mit dem aktuellen opsi-linux-client-agent und dem ubuntu Paket 4.2.0.3-1 (aktuell in experimental) behoben.
Gruß
Mathias
Re: Ubuntu Installation - Abbruch - RuntimeError
Verfasst: 18 Feb 2022, 13:27
von theman007
Hi Mathias,
wäre nett, wenn du mir sagen würdest, wie ich auf eine experimental Version updaten könnte.
Danke
Re: Ubuntu Installation - Abbruch - RuntimeError
Verfasst: 18 Feb 2022, 13:32
von m.radtke
Re: Ubuntu Installation - Abbruch - RuntimeError
Verfasst: 18 Feb 2022, 13:34
von theman007
Vielen Dank!