Seite 1 von 1

ERROR --- opsi-admin -d task setPcpatchPassword

Verfasst: 21 Okt 2009, 16:04
von inszekt_
Hi guys!

I just wanted to try to change password of pcpatch user. Here is the output message:

opsi-admin -d task setPcpatchPassword
Password:
Traceback:
line 1447 in '<module>' in file '/usr/bin/opsi-admin'
line 434 in 'exit' in file '/usr/bin/opsi-admin'
==>>> Failed to execute 'task setPcpatchPassword': Cannot find opsiHostKey for host 'oscar.arwin.hu' in file '/etc/opsi/pckeys'
ERROR: Failed to execute 'task setPcpatchPassword': Cannot find opsiHostKey for host 'oscar.arwin.hu' in file '/etc/opsi/pckeys'

I have the file, but I think it is faulty:

the content build up like this - servername.domain.tld.domain.tld:key

dpkg-configure opsi-depotserver could fix it?

thanks for helping me.

np

Re: ERROR --- opsi-admin -d task setPcpatchPassword

Verfasst: 21 Okt 2009, 16:28
von j.schneider
You can try to replace
servername.domain.tld.domain.tld:key
by
oscar.arwin.hu:key
in pckeys and retry.

Re: ERROR --- opsi-admin -d task setPcpatchPassword

Verfasst: 22 Okt 2009, 11:01
von inszekt_
correcting the pckeys file fixed the problem.

thx for helping me.

regards, np