Problem with opsi-server+ client

Antworten
agnieszka
Beiträge: 15
Registriert: 30 Jan 2012, 15:22

Problem with opsi-server+ client

Beitrag von agnieszka »

Hi,

I have installed opsi-server with external dns, it's ok. But when i try to install opsi-agnet on client (http://download.uib.de/opsi_stable/doc/ ... ble-en.pdf) i cannot find file winst32.exe
I understand than i should do update, but option "opsi-product-updater -i -vv" reteries error:
Zsync command found: /usr/bin/zsync
Traceback:
line 1052 in '<module>' in file '/usr/bin/opsi-product-updater'
line 1045 in 'main' in file '/usr/bin/opsi-product-updater'
line 162 in '__init__' in file '/usr/bin/opsi-product-updater'
==>>> Opsi host key for depot 'opsi' not found in backend
ERROR: Opsi host key for depot 'opsi' not found in backend

If i could please a resolve a problem and help me, i would able to rewiev function of software and to deploy it.

Best regards,
Benutzeravatar
d.oertel
uib-Team
Beiträge: 3327
Registriert: 04 Jun 2008, 14:27

Re: Problem with opsi-server+ client

Beitrag von d.oertel »

Hi,

try

Code: Alles auswählen

opsi-setup --init-current-config
opsi-setup --set-rights
/etc/init.d/opsiconfd restart
/etc/init.d/opsipxeconfd restart
opsi-product-updater -i -vv
does this help ?

regards

d.oertel


Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.

Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.

uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de


agnieszka
Beiträge: 15
Registriert: 30 Jan 2012, 15:22

Re: Problem with opsi-server+ client

Beitrag von agnieszka »

Dosen't help, i try it and this is result.
If i execute command opsi-setup --init-current-config :
5] [sty 31 10:25:32] Creating base path: '/var/lib/opsi/config' (File.py|215)
[5] [sty 31 10:25:32] Try to find a Configserver. (opsi-setup|2456)
[5] [sty 31 10:25:32] Getting current system config (opsi-setup|70)
[5] [sty 31 10:25:32] System information: (opsi-setup|120)
[5] [sty 31 10:25:32] distributor : Debian (opsi-setup|121)
[5] [sty 31 10:25:32] distribution : Debian GNU/Linux 6.0.3 (squeeze) (opsi-s etup|122)
[5] [sty 31 10:25:32] ip address : 10.x.x.x (opsi-setup|123)
[5] [sty 31 10:25:32] netmask : 255.255.255.0 (opsi-setup|124)
[5] [sty 31 10:25:32] subnet : 10.x.x.x (opsi-setup|125)
[5] [sty 31 10:25:32] broadcast : 10.x.x.255 (opsi-setup|126)
[5] [sty 31 10:25:32] fqdn : opsi (opsi-setup|127 )
[5] [sty 31 10:25:32] hostname : opsi (opsi-setup|128)
[5] [sty 31 10:25:32] domain : centrala (opsi-setup|129)
[5] [sty 31 10:25:32] win domain : CENTRALA (opsi-setup|130)
[2] [sty 31 10:25:32] Traceback: (Logger.py|742)
[2] [sty 31 10:25:32] line 3122 in '<module>' in file '/usr/bin/opsi-setup' (Logger.py|742)
[2] [sty 31 10:25:32] line 3077 in 'main' in file '/usr/bin/opsi-setup' (Lo gger.py|742)
[2] [sty 31 10:25:32] line 2530 in 'initializeBackends' in file '/usr/bin/o psi-setup' (Logger.py|742)
[2] [sty 31 10:25:32] line 1 in 'host_insertObject' in file '<string>' (Log ger.py|742)
[2] [sty 31 10:25:32] line 423 in '_executeMethod' in file '/usr/lib/pymodu les/python2.6/OPSI/Backend/Backend.py' (Logger.py|742)
[2] [sty 31 10:25:32] line 1 in 'host_insertObject' in file '<string>' (Log ger.py|742)
[2] [sty 31 10:25:32] line 423 in '_executeMethod' in file '/usr/lib/pymodu les/python2.6/OPSI/Backend/Backend.py' (Logger.py|742)
[2] [sty 31 10:25:32] line 1 in 'host_insertObject' in file '<string>' (Log ger.py|742)
[2] [sty 31 10:25:32] line 423 in '_executeMethod' in file '/usr/lib/pymodu les/python2.6/OPSI/Backend/Backend.py' (Logger.py|742)
[2] [sty 31 10:25:32] line 1 in 'host_insertObject' in file '<string>' (Log ger.py|742)
[2] [sty 31 10:25:32] line 388 in '_dispatchMethod' in file '/usr/lib/pymod ules/python2.6/OPSI/Backend/BackendManager.py' (Logger.py|742)
[2] [sty 31 10:25:32] line 1251 in 'host_insertObject' in file '/usr/lib/py modules/python2.6/OPSI/Backend/File.py' (Logger.py|742)
[2] [sty 31 10:25:32] line 910 in '_write' in file '/usr/lib/pymodules/pyth on2.6/OPSI/Backend/File.py' (Logger.py|742)
[2] [sty 31 10:25:32] line 103 in 'generate' in file '/usr/lib/pymodules/py thon2.6/OPSI/Util/File/Opsi/__init__.py' (Logger.py|742)
[2] [sty 31 10:25:32] line 275 in 'writelines' in file '/usr/lib/pymodules/ python2.6/OPSI/Util/File/__init__.py' (Logger.py|742)
[2] [sty 31 10:25:32] line 695 in 'writelines' in file '/usr/lib/python2.6/ codecs.py' (Logger.py|742)
[2] [sty 31 10:25:32] line 359 in 'writelines' in file '/usr/lib/python2.6/ codecs.py' (Logger.py|742)
[2] [sty 31 10:25:32] line 352 in 'write' in file '/usr/lib/python2.6/codec s.py' (Logger.py|742)
[2] [sty 31 10:25:32] ==>>> IOError(28, 'Brak miejsca na urz\xc4\x85dzeniu' ) (opsi-setup|3130)
Traceback (most recent call last):
File "/usr/bin/opsi-setup", line 3131, in <module>
print >> sys.stderr, u"\nERROR: %s\n" % exception
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc4 in position 30: ordinal,

opsi-setup --set-rights : it's ok

opsi-product-updater -i -vv :
Zsync command found: /usr/bin/zsync
Traceback:
line 1052 in '<module>' in file '/usr/bin/opsi-product-updater'
line 1045 in 'main' in file '/usr/bin/opsi-product-updater'
line 162 in '__init__' in file '/usr/bin/opsi-product-updater'
==>>> Opsi host key for depot 'opsi.' not found in backend
ERROR: Opsi host key for depot 'opsi' not found in backend

Thank you a lot.
Benutzeravatar
wolfbardo
uib-Team
Beiträge: 1411
Registriert: 01 Jul 2008, 12:10

Re: Problem with opsi-server+ client

Beitrag von wolfbardo »

Are these entries the real output!?
agnieszka hat geschrieben: [5] [sty 31 10:25:32] ip address : 10.x.x.x (opsi-setup|123)
...
[5] [sty 31 10:25:32] subnet : 10.x.x.x (opsi-setup|125)
[5] [sty 31 10:25:32] broadcast : 10.x.x.255 (opsi-setup|126)
[5] [sty 31 10:25:32] fqdn : opsi (opsi-setup|127 )
It should be something like

Code: Alles auswählen

[5] [Jan 31 08:48:24]    ip address   : 192.168.12.60 (opsi-setup|123)
...
[5] [Jan 31 08:48:24]    subnet       : 192.168.0.0 (opsi-setup|125)
[5] [Jan 31 08:48:24]    broadcast    : 192.168.255.255 (opsi-setup|126)
[5] [Jan 31 08:48:24]    fqdn         : vmax12004.uib.local (opsi-setup|127)
Especially check (see getting-started)

Code: Alles auswählen

getent hosts $(hostname -f)

Regards,

Bardo Wolf


Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.

Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.

uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de


agnieszka
Beiträge: 15
Registriert: 30 Jan 2012, 15:22

Re: Problem with opsi-server+ client

Beitrag von agnieszka »

This is real :
[5] [sty 31 10:25:32] ip address : 10.1.0.2 (opsi-setup|123)
[5] [sty 31 10:25:32] netmask : 255.255.255.0 (opsi-setup|124)
[5] [sty 31 10:25:32] subnet : 10.1.0.0 (opsi-setup|125)
[5] [sty 31 10:25:32] broadcast : 10.1.0.255 (opsi-setup|126)
[5] [sty 31 10:25:32] fqdn : opsi.centarala.kbw.pl (opsi-setup|127 )
[5] [sty 31 12:00:14] hostname : opsi
Best regards,
Benutzeravatar
wolfbardo
uib-Team
Beiträge: 1411
Registriert: 01 Jul 2008, 12:10

Re: Problem with opsi-server+ client

Beitrag von wolfbardo »

google translator say

Code: Alles auswählen

Brak miejsca na urz\xc4\x85dzeniu

Code: Alles auswählen

No space left on devivce
so please post/check the output of

Code: Alles auswählen

LC_ALL=C opsi-setup --init-current-config
regards,
Bardo Wolf


Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.

Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.

uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de


agnieszka
Beiträge: 15
Registriert: 30 Jan 2012, 15:22

Re: Problem with opsi-server+ client

Beitrag von agnieszka »

I'm sorry i haven't seen.Thank you for replay.
Antworten