[SOLVED] nginx problem

Questions about WAPT Packaging / Requests and help regarding Wapt packages.
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
Locked
kbrozi
Messages: 5
Registration: June 5, 2024 - 9:15 AM

June 5, 2024 - 10:26

Hello,

I had to reinstall the WAPT server, but I'm encountering a problem when I try to install an agent: the nginx service is not found.
Can you help me?
Thank you.
Attachments
Screenshot 2024-06-05 102540.png
Screenshot 2024-06-05 102540.png (11.74 KB) Viewed 4485 times
kbrozi
Messages: 5
Registration: June 5, 2024 - 9:15 AM

June 5, 2024 - 10:58

I just noticed that I can no longer connect to the WAPT server from the console
Attachments
Screenshot 2024-06-05 105529.png
Screenshot 2024-06-05 105529.png (40.82 KB) Viewed 4482 times
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

June 5, 2024 - 11:26

Could you try running this?:

c:\wapt\waptpython.exe c:\wapt\waptserver\winsetup.py -ldebug install_nginx -cc:\wapt\conf\waptserver.ini

then restart the server
kbrozi
Messages: 5
Registration: June 5, 2024 - 9:15 AM

June 5, 2024 - 2:01 PM

After installing Nginx and restarting the WAPT service, I also restarted the VM, but it still doesn't work.
Attachments
dd.png
dd.png (86.62 KB) Viewed 4469 times
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

June 5, 2024 - 2:16 PM

Do you have anything in:

C:\Program Files (x86)\wapt\waptservice\nginx\conf?

or in

C:\wapt\waptservice\nginx\conf
kbrozi
Messages: 5
Registration: June 5, 2024 - 9:15 AM

June 5, 2024 - 2:26 PM

Here's what I have in the configuration:
Attachments
servicenginx.png
servicenginx.png (43.17 KB) Viewed 4445 times
kbrozi
Messages: 5
Registration: June 5, 2024 - 9:15 AM

June 6, 2024 - 08:46

In wapt service I don't have nginx:
Attachments
Screenshot 2024-06-06 084455.png
Screenshot 2024-06-06 084455.png (111.82 KB) Viewed 4359 times
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

June 6, 2024 - 10:04

Contact our support team directly by phone.

Your nginx configuration appears to be incorrect even after restarting the service installation.
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

June 6, 2024 - 11:42

Seen over the phone.

It's normal that the Waptagent doesn't exist on a new installation. The procedure is therefore the same as for a fresh install.

However, the server was reinstalled, and the old HTTPS certificate was lost (and not backed up).

We therefore regenerated a correct Waptagent. It will then need to be redeployed across the network via Group Policy.
Locked