[Wapt] problème avec wapt-get register

LEMAIRE Philippe lemaire.philippe at lfay.com.vn
Tue Oct 24 12:36:10 CEST 2017


Bonjour

Nous avons une installation WAPT sous Ubuntu qui fonctionne tout à fait correctement depuis maintenant 2 ans.
Nos clients sont sous W10 ou W7.

Aujourd'hui j'ai préparé un nouveau poste sous Windows7 x64 mais impossible de l'inscrire dans Wapt !

Si je lance la commande register en mode debug voici ce que j'obtiens :

C:\Windows\system32>wapt-get -l debug register
Current loglevel : DEBUG
2017-10-24 17:24:37,039 DEBUG Default encoding : ascii
2017-10-24 17:24:37,039 DEBUG Setting encoding for stdout and stderr to cp850
2017-10-24 17:24:37,040 DEBUG Python path ['c:\\wapt', 'c:\\wapt\\lib\\site-pack
ages\\pytz.egg', 'c:\\wapt\\lib\\site-packages\\py_bcrypt-0.4-py2.7-win32.egg',
'c:\\wapt\\python27.zip', 'c:\\wapt\\DLLs', 'c:\\wapt\\lib', 'c:\\wapt\\lib\\pla
t-win', 'c:\\wapt\\lib\\lib-tk', 'c:\\wapt', 'c:\\wapt\\lib\\site-packages', 'c:
\\wapt\\lib\\site-packages\\win32', 'c:\\wapt\\lib\\site-packages\\win32\\lib']
2017-10-24 17:24:37,040 INFO Using local waptservice configuration c:\wapt\wapt-
get.ini
2017-10-24 17:24:37,040 DEBUG Config file: c:\wapt\wapt-get.ini
2017-10-24 17:24:37,043 INFO User Groups:[]
2017-10-24 17:24:37,045 DEBUG WAPT base directory : c:\wapt
2017-10-24 17:24:37,045 DEBUG Package cache dir : c:\wapt\cache
2017-10-24 17:24:37,045 DEBUG Thread 664 is connecting to wapt db
2017-10-24 17:24:37,046 DEBUG WAPT DB Structure version;: 20161103
2017-10-24 17:24:37,046 DEBUG Thread 664 is connecting to wapt db
2017-10-24 17:24:37,048 DEBUG DB Start transaction
2017-10-24 17:24:37,048 DEBUG DB commit
FATAL ERROR : 2 : The key Software\Microsoft\Windows\CurrentVersion\Run can not
be opened
Traceback (most recent call last):
  File "<string>", line 1109, in <module>
  File "<string>", line 914, in main
  File "c:\wapt\common.py", line 4565, in register_computer
    inv = self.inventory()
  File "c:\wapt\common.py", line 4772, in inventory
    inv['host'] = setuphelpers.host_info()
  File "c:\wapt\setuphelpers.py", line 2735, in host_info
    info['windows_startup_items'] = win_startup_info()
  File "c:\wapt\setuphelpers.py", line 2552, in win_startup_info
    with reg_openkey_noredir(HKEY_LOCAL_MACHINE,makepath('Software','Microsoft',
'Windows','CurrentVersion','Run')) as run_key:
  File "c:\wapt\setuphelpers.py", line 1447, in reg_openkey_noredir
    raise WindowsError(e.errno,'The key %s can not be opened' % subkeypath)
WindowsError: [Error 2] The key Software\Microsoft\Windows\CurrentVersion\Run ca
n not be opened
Exception at 0043DE18: EPyWindowsError:
exceptions.WindowsError: [Error 2] The key Software\Microsoft\Windows\CurrentVer
sion\Run can not be opened.

Si quelqu'un a une idée de là ou il faut creuser ...

Philippe


Version WAPT Server : 1.3.13.0
Version WAPT Agent : 1.3.13.0
version WAPT Setup : 1.3.13.0
Version WAPT Deploy : 1.3.13.0
Statut de MongoDB: OK
Espace disque: 77% free
-------------- section suivante --------------
Une pièce jointe HTML a été nettoyée...
URL: <http://lists.tranquil.it/pipermail/wapt/attachments/20171024/1476a4da/attachment.html>


More information about the WAPT mailing list