Sorry, I am a moron. Opsi-utils is of course a package that is not updated via opsi-package-manager, but via the package manager of your distro. Could you please update those too?bobzbobz hat geschrieben:All new packages are now installed.
The problem still persists.
driver scripts fails
- SisterOfMercy
- Beiträge: 1556
- Registriert: 22 Jun 2012, 19:18
Re: driver scripts fails
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
Re: driver scripts fails
Newest OPSI-utils is installed. We also tried a reinstall.
The problem still persists.
The problem still persists.
Re: driver scripts fails
What is the Output of
regards,
Bardo Wolf
Code: Alles auswählen
python -V
Bardo Wolf
Basisworkshop Mainz
08. - 12.12. 24
opsi support - uib gmbh
For productive opsi installations we recommend maintainance + support contracts which are the base of opsi development.
http://www.uib.de
Re: driver scripts fails
Python 2.7.17
- SisterOfMercy
- Beiträge: 1556
- Registriert: 22 Jun 2012, 19:18
Re: driver scripts fails
I haven't gotten a clue
Can you run this:
Can you run this:
Code: Alles auswählen
opsi-setup --init-current-config
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
Re: driver scripts fails
That command gave me this output:
[5] [Oct 01 11:47:08] Creating opsi base (SQL.py|498)
[5] [Oct 01 11:47:08] Setting up default values. (ConfigurationData.py|81)
[5] [Oct 01 11:47:09] Finished setting up default values. (ConfigurationData.py|89)
[4] [Oct 01 11:47:09] You have an old depot directory present. Using /opt/pcbin/install is depracted, please use /var/lib/opsi/depot instead. (InitializeBackend.py|185)
[5] [Oct 01 11:47:09] Configuring client user pcpatch (opsi-setup|146)
[5] [Oct 01 11:47:09] Creating RSA private key for user pcpatch in '/var/lib/opsi/.ssh/id_rsa' (opsi-setup|160)
[5] [Oct 01 11:47:09] Setting rights on directory '/var/lib/opsi/.ssh' (Rights.py|117)
[5] [Oct 01 11:47:08] Creating opsi base (SQL.py|498)
[5] [Oct 01 11:47:08] Setting up default values. (ConfigurationData.py|81)
[5] [Oct 01 11:47:09] Finished setting up default values. (ConfigurationData.py|89)
[4] [Oct 01 11:47:09] You have an old depot directory present. Using /opt/pcbin/install is depracted, please use /var/lib/opsi/depot instead. (InitializeBackend.py|185)
[5] [Oct 01 11:47:09] Configuring client user pcpatch (opsi-setup|146)
[5] [Oct 01 11:47:09] Creating RSA private key for user pcpatch in '/var/lib/opsi/.ssh/id_rsa' (opsi-setup|160)
[5] [Oct 01 11:47:09] Setting rights on directory '/var/lib/opsi/.ssh' (Rights.py|117)
- SisterOfMercy
- Beiträge: 1556
- Registriert: 22 Jun 2012, 19:18
Re: driver scripts fails
I noticed you were using /opt/pcbin/install, that is why I asked for the package versions. I was wondering if you were on an old version. After this command the driver script still doesn't work, right?bobzbobz hat geschrieben:That command gave me this output:
[5] [Oct 01 11:47:08] Creating opsi base (SQL.py|498)
[5] [Oct 01 11:47:08] Setting up default values. (ConfigurationData.py|81)
[5] [Oct 01 11:47:09] Finished setting up default values. (ConfigurationData.py|89)
[4] [Oct 01 11:47:09] You have an old depot directory present. Using /opt/pcbin/install is depracted, please use /var/lib/opsi/depot instead. (InitializeBackend.py|185)
[5] [Oct 01 11:47:09] Configuring client user pcpatch (opsi-setup|146)
[5] [Oct 01 11:47:09] Creating RSA private key for user pcpatch in '/var/lib/opsi/.ssh/id_rsa' (opsi-setup|160)
[5] [Oct 01 11:47:09] Setting rights on directory '/var/lib/opsi/.ssh' (Rights.py|117)
Does the directory /usr/lib/python2.7/site-packages/OPSI exist and does it have files?
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
Re: driver scripts fails
Yeah the scripts still dont work after the init-command.
The folder "site-packages" does'nt exist in the path /usr/lib/python2.7
The folder "site-packages" does'nt exist in the path /usr/lib/python2.7
- SisterOfMercy
- Beiträge: 1556
- Registriert: 22 Jun 2012, 19:18
Re: driver scripts fails
Either it is in a different location, because you're on ubuntu and I was looking at my own CentOS installation, or your python environment is buggered. Have you already tried reinstalling all python packages?bobzbobz hat geschrieben:The folder "site-packages" does'nt exist in the path /usr/lib/python2.7
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
Re: driver scripts fails
We think the problem is finally solved..
The scripts were calling python 3.x in the first line.
This was changed and now it seems to work.
Thank you for your help.
The scripts were calling python 3.x in the first line.
This was changed and now it seems to work.
Thank you for your help.