Error creating WAPTAGENT

Questions about WAPT Server / Requests and help related to the WAPT server
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
avondra
Messages: 35
Registration: Nov 9, 2016 - 12:02

November 9, 2016 - 12:17

Good morning,
I'm installing WAPT version 1.38, and I'm stuck during the WAPTAGENT installation from the Windows console. The self-signed certificate is... I'm getting the following error, and I don't know what the problem is. For your information, I'm using Windows 10, and WAPTSERVER is running on a Linux machine.
WAPT Console.png
WAPT Console.png (11.11 KB) Viewed 8251 times
Thank you for your help, I look forward to using this tool.
avondra
Messages: 35
Registration: Nov 9, 2016 - 12:02

November 10, 2016 - 2:09 PM

Hello everyone,
Has no one else encountered this problem?
Is it due to the new version? This is my first installation, and I've had difficulties installing the console on my Windows 10 machine from the start. The first issue was generating a key; I also got an error.
I had to use the SET PATH command in the command line to point to the openssl.cfg configuration file, which was indeed located in c:/private, as stated in the documentation and offered by default in the key generation field.
Is this version too buggy? Should I install an earlier version, and if so, how can I find the source code?
I welcome your helpful suggestions.
Thank you
avondra
Messages: 35
Registration: Nov 9, 2016 - 12:02

November 16, 2016 - 11:39 PM

Well, that's a shame, I'm going to drop WAPT, which seemed nice...
I'm going to switch to FusionInventory with GLPI.
User avatar
htouvet
WAPT Expert
Messages: 436
Registration: March 16, 2015 - 10:48
Contact :

November 17, 2016 - 10:33

If this is happening on a "clean" Windows machine (one used only for Wapt management and which hasn't seen much use), it looks like an antivirus problem.
The waptagent.exe compiled by the Wapt console isn't digitally "signed," and some antivirus programs delete it immediately after creation.
Tranquil IT
avondra
Messages: 35
Registration: Nov 9, 2016 - 12:02

November 18, 2016 - 12:51 AM

Hello,
The problem is that the agent creation doesn't even start, and with the antivirus disabled.
User avatar
agauvrit
WAPT Expert
Messages: 238
Registration: Nov 17, 2016 - 10:25
Location: Nantes
Contact :

November 18, 2016 - 09:18

Hello,

Could you please try the following:
- Reinstall WAPTSetup on your administrator machine ( http://wapt.tranquil.it/wapt/releases/w ... tsetup.exe )
- Restart WAPTConsole as Administrator
- Restart the agent creation process

These steps are described in our documentation here: http://dev.tranquil.it/scenari/guide_ad ... Setup.html

Please provide as much detail as possible if this fails.

Alexandre
avondra
Messages: 35
Registration: Nov 9, 2016 - 12:02

November 21, 2016 - 09:51

Hello,
I reinstalled and restarted the creation of an agent, without antivirus or anything that could potentially block it, and I get exactly the same error message.
avondra
Messages: 35
Registration: Nov 9, 2016 - 12:02

November 21, 2016 - 10:21

To add to my previous message, it looks like an incorrect path, but I don't know which file to check.
I installed Wapt in C:\Program Files (x86)\wapt.
Is there a configuration file I need to edit manually?
Thanks
User avatar
htouvet
WAPT Expert
Messages: 436
Registration: March 16, 2015 - 10:48
Contact :

November 21, 2016 - 1:13 PM

This is indeed a bug related to spaces in the Program Files (x86) path.
There are no quotes in the command line for the .iss argument when launching the Innosetup compiler.

A patch is available here: http://wapt.tranquil.it/wapt/nightly/wa ... onsole.exe

(it also fixes the sorting by Windows version in the grid).

Hubert
Tranquil IT
avondra
Messages: 35
Registration: Nov 9, 2016 - 12:02

November 21, 2016 - 2:20 PM

Hi Hubert,
great, the situation is resolved, I was able to create the WaptAgent.
I'll continue...
Thanks again
Alain
Locked