[resolved] Opsi-configed doesn't start in ubuntu 19.10

Antworten
bourhis
Beiträge: 112
Registriert: 07 Nov 2012, 15:57

[resolved] Opsi-configed doesn't start in ubuntu 19.10

Beitrag von bourhis »

Hello,

I upgrade my ubuntu desktop to 19.10 (eoan ermine) and opsi-configed doesn't work anymore.
I tried also on a new installation with the same problem (in "syslog" the first line is repeated 8 times) :

Oct 30 08:35:12 iutgesta109 opsi-configed-local.desktop[1412]: oct. 30 08:35:12.946 2019: wanted directory in checkInit null
Oct 30 08:35:19 iutgesta109 xdg-desktop-por[1341]: Failed to get application states: GDBus.Error:org.freedesktop.portal.Error.Failed: Could not get window list: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: App introspection not allowed

What can I do ?

Best regards.
Zuletzt geändert von bourhis am 13 Dez 2019, 15:25, insgesamt 1-mal geändert.
Benutzeravatar
r.roeder
uib-Team
Beiträge: 540
Registriert: 02 Jul 2008, 10:08

Re: Opsi-configed doesn't start in ubuntu 19.10

Beitrag von r.roeder »

Hi,

which configed do you try to start? And where?

I understand that you try to run a configed on the Ubuntu desktop.

The most elementary way to do this is:
- install a current version of the opsi configed opsi package, e.g. https://download.uib.de/opsi4.1/testing ... 3.3-2.opsi on your server (download it and install it with opsi-package-manager)
- then the configed files are located in /var/lib/opsi/depot/opsi-configed
- open a console and change the directory to /var/lib/opsi/depot/opsi-configed
- try to start there

Code: Alles auswählen

java -jar configed.jar 
Does this work? If not, what errors occur?

Regards
opsi support - uib gmbh
For productive opsi installations we recommend maintainance + support contracts which are the base of opsi development.


Wondering who's using opsi? Have a look at the opsi map: http://opsi.org/opsi-map/.
bourhis
Beiträge: 112
Registriert: 07 Nov 2012, 15:57

Re: Opsi-configed doesn't start in ubuntu 19.10

Beitrag von bourhis »

Hi,

I try to start it from my desktop : so I download the installer from https://download.uib.de/opsi4.1/misc/he ... tup.tar.gz and then I uncompress and install it.
This way works perfectly on Ubuntu 18.04 or 19.04...

Best regards.
nicolaslebrun
Beiträge: 107
Registriert: 18 Apr 2011, 11:43

Re: Opsi-configed doesn't start in ubuntu 19.10

Beitrag von nicolaslebrun »

I've got the same problem on my Xubuntu 19.10 desktop.

As i need to access many opsi servers, I use configed that way.

--> downloaded, uncompressed and installed from https://download.uib.de/opsi4.1/misc/he ... tup.tar.gz
--> launched with

Code: Alles auswählen

java -Dhttps.protocols="TLSv1" -Xmx1024m -jar "/usr/share/opsi-configed/configed.jar"  -r 0  --ssh-immediate-connect y -h myopsiserver.fqdn.name
--> i get

Code: Alles auswählen

déc. 13  10:19:49.935  2019: wanted directory in checkInit null
déc. 13  10:19:49.935  2019: wanted directory in checkInit null
déc. 13  10:19:49.935  2019: wanted directory in checkInit null
déc. 13  10:19:49.935  2019: wanted directory in checkInit null
déc. 13  10:19:49.935  2019: wanted directory in checkInit null
déc. 13  10:19:49.936  2019: wanted directory in checkInit null
déc. 13  10:19:49.936  2019: wanted directory in checkInit null
déc. 13  10:19:49.936  2019: wanted directory in checkInit null
déc. 13  10:19:49.963  2019: wanted directory in checkInit null
déc. 13  10:19:49.964  2019: wanted directory in checkInit null
Unable to launch configed anymore... :|

Regards,
Nico
Benutzeravatar
wolfbardo
uib-Team
Beiträge: 1354
Registriert: 01 Jul 2008, 12:10

Re: Opsi-configed doesn't start in ubuntu 19.10

Beitrag von wolfbardo »

on opsi 4.1 dont use

Code: Alles auswählen

java -Dhttps.protocols="TLSv1"
try

Code: Alles auswählen

java  -Xmx1536m -jar "/usr/share/opsi-configed/configed.jar" -h myopsiserver.fqdn.name -r 0  --ssh-immediate-connect y  --use_tls_cipher  TLS_RSA_WITH_AES_128_GCM_SHA256 
regards,
bardo wolf


OPSICONF 2024
https://opsi.org/en/opsiconf/

opsi-Basisworkshops:

22. - 25. 04. 2024


opsi support - uib gmbh
For productive opsi installations we recommend maintainance + support contracts which are the base of opsi development.

http://www.uib.de
nicolaslebrun
Beiträge: 107
Registriert: 18 Apr 2011, 11:43

Re: Opsi-configed doesn't start in ubuntu 19.10

Beitrag von nicolaslebrun »

Thanks Wolf for your answer...

It does work now...

I just had to make

Code: Alles auswählen

sudo update-java-alternatives -a 
then

Code: Alles auswählen

java -Dhttps.protocols="TLSv1" -Xmx1536m -jar /usr/share/opsi-configed/configed.jar  -r 0  --ssh-immediate-connect n  -h my.fqdn.server

Code: Alles auswählen

java -Xmx1536m -jar "/usr/share/opsi-configed/configed.jar" -h  my.fqdn.server -r 0  --ssh-immediate-connect n --use_tls_cipher TLS_RSA_WITH_AES_128_GCM_SHA256 
do works !

For me, it's SOLVED
Strange the update alternative was not good after a fresh install :shock:

Regards
Nico
bourhis
Beiträge: 112
Registriert: 07 Nov 2012, 15:57

Re: Opsi-configed doesn't start in ubuntu 19.10

Beitrag von bourhis »

Great, it's works for me too !

Thank's a lot.
Antworten