Not deploying Products in Win clients

Antworten
jogo
Beiträge: 6
Registriert: 12 Apr 2011, 11:46

Not deploying Products in Win clients

Beitrag von jogo »

hi there!

I have a problem with the windows clients. I have set "setup" for many products in the "product configuration" tab but the programs are not being installed. The "opsi_winst" dropdown has any options (setup, etc), it is empty.

The windows clients have not the c:\opsi folder but they have the service that could be restarted. I can't see the opsi logo in the boot. Client hostnames can be resolved.

As you can see below OPSI is not updated but it was working. Any idea to fix it?

Regards

Code: Alles auswählen

opsi:/opt/pcbin/install# opsi-package-manager -l               
-----------------------------
- opsi.int.travelfusion.com -
-----------------------------
   Product ID                Version                   Description                                                                                         
   ========================================================================================================================================================
   betz-firefox              3.0.0.4-1                 Firefox                                                                                             
   dotnet35                  3.5-1                     Unattended silent install of Microsoft .NET Framework 3.5                                           
   hwaudit                   1.2.1-2                   Hardwareinventarisierung auf Basis von WMI / Registry.                                              
   hwinvent                  1.1-1                     Fuehrt eine Hardwareinventarisierug auf dem Client durch.                                           
   javavm                    1.6.0.16-3                Mehrere Versionen 1.3, 1.4, 1.5, 1.61.6u16 1.5.0.21 1.4.2.19 1.3.1.7                                
   memtest86                 2.01-1                    Dieses Tool testet den RAM auf Fehler und andere Unzulaenglichkeiten.Ein sehr guter Weg um Probleme 
   msoffice2k7               1.0-12.0                  Microsoft Office 2007 (en-GB)                                                                       
   ntfs-restore-image        1.5-1                     Schreibt das Image einer NTFS-Partition auf die 1. Festplatte.                                      
   ntfs-write-image          1.5-1                     Ertsellt ein Image von einer NTFS-Partition.                                                        
   opsi-adminutils           3.4-5                     opsi-configed 1.4.04 (28.8.09) jEdit with syntax-highlightning for opsi-winst-scripts XML-Editor XML
   opsi-template             1.0-15                    A opsi demo package                                                                                 
   opsi-winst                4.8.8.1-2                 Das generische Installations-Programm von opsi                                                      
   preloginloader            3.4-27                    opsi Windows clientagent,opsiclientd 0.5.7.4 bzw. prelogin.exe 1.1.2.13, pgina.dll 1.72.4.15, pcptch
   python                    2.5.2-8                   Python with extenstions for Windows, WMI                                                            
   shutdownwanted            1.0-1                     Make a shutdown after all installations are finished                                                
   snmpsvc                   1.0-1.2                   SNMP Service for Windows systems                                                                    
   swaudit                   1.2.3-3                   Softwareinventarisierung auf Basis von Uninstall-Informationen der Windows-Registry.                
   tf-eclipse                3.5.1-1                   Eclipse IDE (Incl. Travelfusion Extras)                                                             
   win2003                   3.3.1-4                   Microsoft Server Betriebssystem                                                                     
   win2008                   3.3.1-3                   Microsoft Server Betriebssystem                                                                     
   win2008-x64               3.3.1-3                   Microsoft Server Betriebssystem                                                                     
   win2k                     3.3.1-4                   Microsoft Betriebssystem                                                                            
   win7                      3.3.1-3                   Microsoft Betriebssystem                                                                            
   win7-x64                  3.3.1-3                   Microsoft Betriebssystem                                                                            
   winvista                  3.3.1-3                   Microsoft Betriebssystem                                                                            
   winvista-x64              3.3.1-3                   Microsoft Betriebssystem                                                                            
   winxppro                  3.3.1-4                   Microsoft Betriebssystem                                                                            
   wipedisk                  1.0-2                     Ueberschreibt Festplatten oder Partitionen mehrmals um ein Auslesen der Daten stark zu erschweren.  
   xpconfig                  2.4-1                     Anpassung von Windows XP / Vista Einstellungen
Zuletzt geändert von jogo am 12 Apr 2011, 14:57, insgesamt 1-mal geändert.
jogo
Beiträge: 6
Registriert: 12 Apr 2011, 11:46

Re: Not deploying Products in Win clients

Beitrag von jogo »

I have installed the agent by hand because it was not installed with the OS. The "last seen" field is updated but does not install the products.
Benutzeravatar
d.oertel
uib-Team
Beiträge: 3319
Registriert: 04 Jun 2008, 14:27

Re: Not deploying Products in Win clients

Beitrag von d.oertel »

Hi,

it seems, that you are on opsi 3.4 but opsi 4 is the actual stable version. So you should upgrade soon.
(or if you in evaluation - please use opsi 4 for evaluation)

Please post the output of
dpkg -l
or if you are not on a debian based system the list of the opsi-server packages.

Please post the log files from the client dir c:\tmp:
opsiclientd.log
instlog.txt

regards
d.oertel
opsi support - uib gmbh

For productive opsi installations we recommend support contracts.
http://www.uib.de
http://www.opsi.org
jogo
Beiträge: 6
Registriert: 12 Apr 2011, 11:46

Re: Not deploying Products in Win clients

Beitrag von jogo »

Hi,

Yes, I am in 3.4, I know is not updated but is a production server so time to time :) Anyway, I cant see OPSI updates on Squezee, any repository to add?

Code: Alles auswählen

opsi:/opt# dpkg -l|grep opsi
ii  opsi-atftpd                               0.7.dfsg-1.4               advanced TFTP server - opsi version with pcr
ii  opsi-configed                             1.4.22-1                   OPSI config editor
ii  opsi-depotserver                          3.4-1                      server fuer das Softwareverteilungssystem OP
ii  opsi-linux-bootimage                      20100901-1                 Linux-Bootimage fuer das Softwareverteilungs
ii  opsi-utils                                3.4-4                      OPSI utils
ii  opsiconfd                                 2.0.0.25-1                 OPSI configuration service
ii  opsipxeconfd                              0.3.8-1                    OPSI PXE configuration daemon
ii  python-opsi                               3.4.0.14-1                 OPSI python library
There is not opsiclientd.log. Same with the "clientconnect" log

instlog (client side). Instlog (server side) is empty, there is no such file for the client in /var/log/opsi/instlog

Code: Alles auswählen

============ Version 4.8.8.1 WIN32 script ""
             start: 2011-04-12  14:13:33  (on client named as : "SYS-JORGE-VM-XP")
[executing: "C:\tmp\opsi\opsi-winst\winst32.exe"]
system infos:
08:00:27:FF:3C:99  -  PC hardware address
sys-jorge-vm-xp  -  IP name 
10.0.0.199  -  IP address
ENU  -  System default locale 

___________________
0 errors
0 warnings


============  winst Version 4.8.8.1 WIN32 is regularly exiting. Time 2011-04-12  14:13:57 .
This is tail of opsiconfd log:

Code: Alles auswählen

[1] [Apr 12 13:30:59] Traceback (most recent call last):
  File "/usr/sbin/opsiconfd", line 123, in http_GET
    return worker.process()
  File "/usr/sbin/opsiconfd", line 205, in process
    self.deferred.callback(None)
  File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line 243, in callback
    self._startRunCallbacks(result)
  File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line 312, in _startRunCallbacks
    self._runCallbacks()
--- <exception caught here> ---
  File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line 328, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/usr/sbin/opsiconfd", line 415, in _authenticate
    configFile	= backendManagerConf )
  File "/var/lib/python-support/python2.5/OPSI/Backend/BackendManager.py", line 169, in __init__
    self._authenticate(self.__username, self.__password)
  File "/var/lib/python-support/python2.5/OPSI/Backend/BackendManager.py", line 286, in _authenticate
    return self._pamAuthenticate(user, password)
  File "/var/lib/python-support/python2.5/OPSI/Backend/BackendManager.py", line 380, in _pamAuthenticate
    raise BackendAuthenticationError("PAM authentication failed for user '%s': %s" % (user, e))
OPSI.Backend.Backend.BackendAuthenticationError: PAM authentication failed for user 'none': ('User not known to the underlying authentication module', 10)
 (opsiconfd|642)
[2] [Apr 12 13:30:59] Failed to process rpc: PAM authentication failed for user 'none': ('User not known to the underlying authentication module', 10) (opsiconfd|646)
[4] [Apr 12 13:31:12] Application 'Mozilla/3.0 (compatible; Indy Library)' on client '10.0.0.199' did not send cookie (opsiconfd|279)
[4] [Apr 12 13:31:12] New session created (opsiconfd|977)
[4] [Apr 12 13:31:12] Authorization request from root@10.0.0.199 (opsiconfd|380)
[2] [Apr 12 13:31:12] Failed to read opsi modules file '/etc/opsi/modules': Signature not found (BackendManager.py|1211)
[4] [Apr 12 13:31:13] BackendManager created. (opsiconfd|417)
[4] [Apr 12 13:31:18] Application 'Mozilla/3.0 (compatible; Indy Library)' on client '10.0.0.199' did not send cookie (opsiconfd|279)
[4] [Apr 12 13:31:18] New session created (opsiconfd|977)
[4] [Apr 12 13:31:18] Authorization request from sys-jorge-vm-xp.int.travelfusion.com@10.0.0.199 (opsiconfd|380)
[2] [Apr 12 13:31:18] Failed to read opsi modules file '/etc/opsi/modules': Signature not found (BackendManager.py|1211)
[4] [Apr 12 13:31:18] BackendManager created. (opsiconfd|417)
thanks
jogo
Beiträge: 6
Registriert: 12 Apr 2011, 11:46

Re: Not deploying Products in Win clients

Beitrag von jogo »

humm I found this on preloginloader.err

Code: Alles auswählen

======= APPEND   4/12/2011 2:09:09 PM

============ Version 4.8.8.1 WIN32 script "c:\tmp\opsi\preloginloader.ins"
             start: 2011-04-12  14:09:09  (on client named as : "SYS-JORGE-VM-XP")
[executing: "c:\tmp\opsi\opsi-winst\winst32.exe"]
system infos:
08:00:27:FF:3C:99  -  PC hardware address
sys-jorge-vm-xp  -  IP name 
10.0.0.199  -  IP address
ENU  -  System default locale 

          Error: service not initialized
          Error: no connection to service
        Error: --- opsi service problem ---HTTP/1.1 401 Unauthorized
        Error: HTTP/1.1 401 Unauthorized
        Error: no connection to service
    4/12/2011 2:09:30 PM JSON service request https://10.0.0.9:4447/rpc?%7B%22id%22:1,%22method%22:%22authenticated%22,%22params%22:%5B%5D%7D
              4/12/2011 2:09:30 PM JSON service request https://10.0.0.9:4447/rpc?%7B%22id%22:1,%22method%22:%22userIsAdmin%22,%22params%22:%5B%5D%7D
          4/12/2011 2:09:33 PM JSON service request https://10.0.0.9:4447/rpc?%7B%22id%22:1,%22method%22:%22getClientIds%5Flist%22,%22params%22:%5B%5D%7D
          4/12/2011 2:09:34 PM JSON service request https://10.0.0.9:4447/rpc?%7B%22id%22:1,%22method%22:%22getNetworkConfig%5Fhash%22,%22params%22:%5B%22sys-jorge-vm-xp.int.travelfusion.com%22%5D%7D
          4/12/2011 2:09:36 PM JSON service request https://10.0.0.9:4447/rpc?%7B%22id%22:1,%22method%22:%22getOpsiHostKey%22,%22params%22:%5B%22sys-jorge-vm-xp.int.travelfusion.com%22%5D%7D
    4/12/2011 2:09:36 PM JSON service request https://10.0.0.9:4447/rpc?%7B%22id%22:1,%22method%22:%22authenticated%22,%22params%22:%5B%5D%7D
      4/12/2011 2:09:36 PM JSON service request https://10.0.0.9:4447/rpc?%7B%22id%22:1,%22method%22:%22getNetworkConfig%5Fhash%22,%22params%22:%5B%22sys-jorge-vm-xp.int.travelfusion.com%22%5D%7D
      4/12/2011 2:09:37 PM JSON service request https://10.0.0.9:4447/rpc?%7B%22id%22:1,%22method%22:%22getInstalledLocalBootProductIds%5Flist%22,%22params%22:%5B%22sys-jorge-vm-xp.int.travelfusion.com%22%5D%7D
      4/12/2011 2:09:43 PM JSON service request https://10.0.0.9:4447/rpc?%7B%22id%22:1,%22method%22:%22setProductInstallationStatus%22,%22params%22:%5B%22preloginloader%22,%22sys-jorge-vm-xp.int.travelfusion.com%22,%22installed%22%5D%7D
      
      ExitWindows set to Reboot
___________________
5 errors
17 warnings

============  winst Version 4.8.8.1 WIN32 is regularly exiting. Time 2011-04-12  14:09:43 .
jogo
Beiträge: 6
Registriert: 12 Apr 2011, 11:46

Re: Not deploying Products in Win clients

Beitrag von jogo »

Well, I have managed it. I could install all products. I did it by hand by executing c:\program files\opsi.org\preloadinloader\prelogin\pcpatch.exe.

How to get this things at boot time?
Benutzeravatar
d.oertel
uib-Team
Beiträge: 3319
Registriert: 04 Jun 2008, 14:27

Re: Not deploying Products in Win clients

Beitrag von d.oertel »

Hi,
Yes, I am in 3.4, I know is not updated but is a production server
Did I ever mentioned: "For productive opsi installations we recommend support contracts."

Post c:\tmp\pcpatchlog.log (or some thing like that, it's a long time ago).

Try to change the servicemode of the preloginloader to 'opsiclientd' as soon as possible.
You have to do this anyway before you can update your server to opsi 4.

regards

d.oertel
opsi support - uib gmbh

For productive opsi installations we recommend support contracts.
http://www.uib.de
http://www.opsi.org
jogo
Beiträge: 6
Registriert: 12 Apr 2011, 11:46

[SOLVED] Re: Not deploying Products in Win clients

Beitrag von jogo »

Solved, It was that Windows netlogon service was down.

I will take in mind your comments

thanks
Antworten