Failed to install swaudit and hwaudit packages
-
- Beiträge: 13
- Registriert: 03 Apr 2014, 10:37
Failed to install swaudit and hwaudit packages
Hi,
Using opsi-configed, I choose the client and afterwards I switch to the tab Product configuration. I put action setup in this scoreboard.
I reboot my pc and an error appear when the pc try to install the packages.
The error is: Execution error: Host key for depot 'opsidemo.******.local' not found (JsonRpc.py|138)
Please have a look into it, and let me know if I can assist you any further.
best regards.
Using opsi-configed, I choose the client and afterwards I switch to the tab Product configuration. I put action setup in this scoreboard.
I reboot my pc and an error appear when the pc try to install the packages.
The error is: Execution error: Host key for depot 'opsidemo.******.local' not found (JsonRpc.py|138)
Please have a look into it, and let me know if I can assist you any further.
best regards.
Zuletzt geändert von opsiusermad am 10 Apr 2014, 09:19, insgesamt 1-mal geändert.
- n.wenselowski
- Ex-uib-Team
- Beiträge: 3194
- Registriert: 04 Apr 2013, 12:15
Re: Failed to install swaudit and hwaudit packages
Hello opsiusermad,
does the message also appear in the server logfiles (under /var/log/opsi/)?
If so it could be a problem with your opsi-server.
Have you tried to roll out the opsi-client-agent again on that client?
With kind regards
Niko
does the message also appear in the server logfiles (under /var/log/opsi/)?
If so it could be a problem with your opsi-server.
Have you tried to roll out the opsi-client-agent again on that client?
With kind regards
Niko
Code: Alles auswählen
import OPSI
-
- Beiträge: 13
- Registriert: 03 Apr 2014, 10:37
Re: Failed to install swaudit and hwaudit packages
Hello Niko,
The message also appear in the serverlogfiles.
I rolled out the opsi-client-agent many times after this problem, but i can not solve the problem.
Have you any more suggestion?
Thanks for all
The message also appear in the serverlogfiles.
I rolled out the opsi-client-agent many times after this problem, but i can not solve the problem.
Have you any more suggestion?
Thanks for all
- n.wenselowski
- Ex-uib-Team
- Beiträge: 3194
- Registriert: 04 Apr 2013, 12:15
Re: Failed to install swaudit and hwaudit packages
Hello opsiusermad,
what is the output of the following command (with, of course your depot server as paramter):
My guess if it is empty is that you need to set a hostkey. But this is purely hypothetical right now.
With kind regards
Niko
what is the output of the following command (with, of course your depot server as paramter):
Code: Alles auswählen
opsi-admin -d method getOpsiHostKey opsidemo.*****
With kind regards
Niko
Code: Alles auswählen
import OPSI
- SisterOfMercy
- Beiträge: 1556
- Registriert: 22 Jun 2012, 19:18
Re: Failed to install swaudit and hwaudit packages
You're not running OPSI in a VM on the same PC you're trying to install packages on, right?opsiusermad hat geschrieben:Using opsi-configed, I choose the client and afterwards I switch to the tab Product configuration. I put action setup in this scoreboard.
I reboot my pc and an error appear when the pc try to install the packages.
What is the output of hostname -f? Current distribution you are using with OPSI? Not much to go on, so I'm just guessing.
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
-
- Beiträge: 13
- Registriert: 03 Apr 2014, 10:37
Re: Failed to install swaudit and hwaudit packages
n.wenselowski hat geschrieben:Hello opsiusermad,
what is the output of the following command (with, of course your depot server as paramter):My guess if it is empty is that you need to set a hostkey. But this is purely hypothetical right now.Code: Alles auswählen
opsi-admin -d method getOpsiHostKey opsidemo.*****
With kind regards
Niko
When I use that command I do not obtain any output.
What is my problem? and how I can solve it?
Thanks
-
- Beiträge: 13
- Registriert: 03 Apr 2014, 10:37
Re: Failed to install swaudit and hwaudit packages
SisterOfMercy hat geschrieben:You're not running OPSI in a VM on the same PC you're trying to install packages on, right?opsiusermad hat geschrieben:Using opsi-configed, I choose the client and afterwards I switch to the tab Product configuration. I put action setup in this scoreboard.
I reboot my pc and an error appear when the pc try to install the packages.
What is the output of hostname -f? Current distribution you are using with OPSI? Not much to go on, so I'm just guessing.
You are right, I am running OPSI with a VM in a physical server (server LAN).
The output of this command is the same name that appear in the Execution error: 'opsidemo.******.local'
My current distribution is 4.0.4.1.3 (2014/02/03)
- n.wenselowski
- Ex-uib-Team
- Beiträge: 3194
- Registriert: 04 Apr 2013, 12:15
Re: Failed to install swaudit and hwaudit packages
Hello opsiusermad,
your problem is the missing Host Key for your depot. This should be automatically created during an installation.
Things that could prevent it are i.e. an empty HD or simply deleting config files.
To set a new host key you can try to do it with the following:
After this getting the opsi host key should give you an result.
With kind regards
Niko
your problem is the missing Host Key for your depot. This should be automatically created during an installation.
Things that could prevent it are i.e. an empty HD or simply deleting config files.
To set a new host key you can try to do it with the following:
Code: Alles auswählen
opsi-admin -d method setOpsiHostKey your.opsi.depot $(< /dev/urandom tr -dc a-f0-9 | head -c32)
With kind regards
Niko
Code: Alles auswählen
import OPSI
-
- Beiträge: 13
- Registriert: 03 Apr 2014, 10:37
Re: Failed to install swaudit and hwaudit packages
n.wenselowski hat geschrieben:Hello opsiusermad,
your problem is the missing Host Key for your depot. This should be automatically created during an installation.
Things that could prevent it are i.e. an empty HD or simply deleting config files.
To set a new host key you can try to do it with the following:After this getting the opsi host key should give you an result.Code: Alles auswählen
opsi-admin -d method setOpsiHostKey your.opsi.depot $(< /dev/urandom tr -dc a-f0-9 | head -c32)
With kind regards
Niko
Thank you Niko
You are right. I had missed the host key. I used your command and i got a new host key for my depot server, but I have a new problem.
When I reboot my pc a new error appear when the pc try to install the packages.
In this case the error is:
Code: Alles auswählen
'utf8' codec can't decode byte 0xaf in position 0: invalid start byte (__init__.py|579)
Execution error: Failed to decrypt (JsonRpc.py|138)
Do you have any idea to resolve it?
- n.wenselowski
- Ex-uib-Team
- Beiträge: 3194
- Registriert: 04 Apr 2013, 12:15
Re: Failed to install swaudit and hwaudit packages
Hello opsiusermad,
what is surrounding this error message?
Are any non-ASCII-Characters in the new host key for your depot?
Kind regards
Niko
what is surrounding this error message?
Are any non-ASCII-Characters in the new host key for your depot?
Kind regards
Niko
Code: Alles auswählen
import OPSI