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
Bonjour, Je me permet un petit up ... Personne n' aurait une piste ? Philippe
De : WAPT [mailto:wapt-bounces@lists.tranquil.it] De la part de LEMAIRE Philippe Envoyé : mardi 24 octobre 2017 17:36 À : wapt@lists.tranquil.it Objet : [Wapt] problème avec wapt-get register
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, en admin, 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
Bonjour Philippe,
Je ne sais si cela pourra t'aider ? As-tu vérifier que cet entrée du registre existe --> "Software\Microsoft\Windows\CurrentVersion\Run" ?
FATAL ERROR : 2 : The key Software\Microsoft\Windows\CurrentVersion\Run can not
be opened
Bonjour Johann,
Merci de te pencher sur mon problème.
Malheureusement j'avais déjà vérifié le registre et la clef existe bien, au niveau des droits cela semble correct également :c/ [cid:image001.jpg@01D34E6A.8BD04B20]
Cordialement Philippe
De : LECLERCQ Johann [mailto:johann.leclercq@culture.gouv.fr] Envoyé : jeudi 26 octobre 2017 13:26 À : LEMAIRE Philippe lemaire.philippe@lfay.com.vn; wapt@lists.tranquil.it Objet : Re: [Wapt] problème avec wapt-get register
Bonjour Philippe, Je ne sais si cela pourra t'aider ? As-tu vérifier que cet entrée du registre existe --> "Software\Microsoft\Windows\CurrentVersion\Run" ? FATAL ERROR : 2 : The key Software\Microsoft\Windows\CurrentVersion\Run can not be opened --
Cordialement,
LECLERCQ Johann
Responsable Informatique et AQSSI de la DRAC Pays de la Loire
Ministère de la Culture et de la Communication
--
Koan du jour
En ultime analyse, toute chose n'est connue que parce que l'on veut croire la connaître.
________________________________ Merci de nous aider à préserver l'environnement en n'imprimant ce courriel et les documents joints que si nécessaire.
Bonjour,
Dans votre log, le problème vient de HKLM \Software\Microsoft\Windows\CurrentVersion\Run et votre image montre HKCU \Software\Microsoft\Windows\CurrentVersion\Run Au cas où ...
Cordialement,
Frédéric G.
De: "LEMAIRE Philippe" lemaire.philippe@lfay.com.vn À: "LECLERCQ Johann" johann.leclercq@culture.gouv.fr, wapt@lists.tranquil.it Envoyé: Jeudi 26 Octobre 2017 09:56:06 Objet: Re: [Wapt] problème avec wapt-get register
Bonjour Johann,
Merci de te pencher sur mon problème.
Malheureusement j’avais déjà vérifié le registre et la clef existe bien, au niveau des droits cela semble correct également :c/
Cordialement
Philippe
De : LECLERCQ Johann [mailto:johann.leclercq@culture.gouv.fr] Envoyé : jeudi 26 octobre 2017 13:26 À : LEMAIRE Philippe lemaire.philippe@lfay.com.vn; wapt@lists.tranquil.it Objet : Re: [Wapt] problème avec wapt-get register
Bonjour Philippe,
Je ne sais si cela pourra t'aider ? As-tu vérifier que cet entrée du registre existe --> "Software\Microsoft\Windows\CurrentVersion\Run" ?
FATAL ERROR : 2 : The key Software\Microsoft\Windows\CurrentVersion\Run can not
be opened