Getting 'com.jcraft.jsch.JSchException: session is down' in configed upload driver screen

ttblum
Beiträge: 91
Registriert: 23 Jun 2017, 14:18
Wohnort: Cleveland, Ohio USA

Getting 'com.jcraft.jsch.JSchException: session is down' in configed upload driver screen

Beitragvon ttblum » 05 Jul 2017, 23:32

When running configed on my Windows 7 workstation, I'm getting:

Code: Alles auswählen

[create_driver_links.py(1/1)]            ---------------------------------------------------------------------------------------------------------------------------------------------------
[create_driver_links.py(1/1)]            exec:  sudo -S -p "failed..."  /var/lib/opsi/depot/win7-x64/create_driver_links.py  2>&1
[create_driver_links.py(1/1)]            com.jcraft.jsch.JSchException: session is down
[create_driver_links.py(1/1)]            ---------------------------------------------------------------------------------------------------------------------------------------------------
[create_driver_links.py(1/1)]            exec:  sudo -S -p "failed..."  /var/lib/opsi/depot/win7-x64/create_driver_links.py  2>&1
[create_driver_links.py(1/1)]            com.jcraft.jsch.JSchException: session is down
[show_drivers.py(1/1)]                   ---------------------------------------------------------------------------------------------------------------------------------------------------
[show_drivers.py(1/1)]                   exec:  /var/lib/opsi/depot/win7-x64/show_drivers.py elitedesk-g3.mbsnetinc.com 2>&1
[show_drivers.py(1/1)]                   com.jcraft.jsch.JSchException: session is down
[show_drivers.py(1/1)]                   ---------------------------------------------------------------------------------------------------------------------------------------------------
[show_drivers.py(1/1)]                   exec:  /var/lib/opsi/depot/win7-x64/show_drivers.py elitedesk-g3.mbsnetinc.com 2>&1
[show_drivers.py(1/1)]                   com.jcraft.jsch.JSchException: session is down

When I click on 'Show drivers as now held for selected client and windows product'.

I'm launching configed by running 'java -jar configed.jar'.

I get the same thing when I click on 'Rebuild table for drivers'.

What could this be?

Also, the quick start guide says to run 'opsi-setup --set-rights ./drivers' after a driver upload, is this necessary? We'd probably prefer to use the GUI if possible.

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

Re: Getting 'com.jcraft.jsch.JSchException: session is down' in configed upload driver screen

Beitragvon wolfbardo » 06 Jul 2017, 07:36

ttblum hat geschrieben:Also, the quick start guide says to run 'opsi-setup --set-rights ./drivers' after a driver upload, is this necessary? We'd probably prefer to use the GUI if possible.


If you upload the driver via opsi-configed it isnt necessary to run 'opsi-setup --set-rights ./drivers'

If you upload the driver via opsi-configed method 'byAudit' it isnt necessary to run 'create_driver_links.py'

regards,
Bardo Wolf

Besuchen Sie uib gmbh auf der it-sa

8.-10.10.2019 in Nürnberg
Halle 9 Stand 108

opsi workshops in Mainz

Basis 4.-7.11.2019
Basis 09.-12.2019

Einführung in die Software-Paketierung 12.-13.11.2019

opsi support by uib gmbh

http://www.uib.de

ttblum
Beiträge: 91
Registriert: 23 Jun 2017, 14:18
Wohnort: Cleveland, Ohio USA

Re: Getting 'com.jcraft.jsch.JSchException: session is down' in configed upload driver screen

Beitragvon ttblum » 06 Jul 2017, 16:01

OK, thanks.

Is there a way to see the output of 'show_drivers.py' in opsi-configed? It's nice to see which drivers are being assigned to what hardware.

Benutzeravatar
r.roeder
uib-Team
Beiträge: 450
Registriert: 02 Jul 2008, 10:08

Re: Getting 'com.jcraft.jsch.JSchException: session is down' in configed upload driver screen

Beitragvon r.roeder » 06 Jul 2017, 20:23

yes, there is a button in the driver frame which produces it. But if you have really got a problem with your SSH connection which I do not understand yet it will not work.
Greetings
Rupert
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/.

ttblum
Beiträge: 91
Registriert: 23 Jun 2017, 14:18
Wohnort: Cleveland, Ohio USA

Re: Getting 'com.jcraft.jsch.JSchException: session is down' in configed upload driver screen

Beitragvon ttblum » 11 Jul 2017, 20:57

I figured it out, parts of my config had the server's FQDN but with the wrong domain name, so the DNS wasn't resolving.

I edited the config and corrected the FQDN of the server, now I'm able to see the output of show_drivers.py OK in configed.