Page 1 of 1

[SOLVED] nginx problem

Published: June 5, 2024 - 10:26
by kbrozi
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.

Re: nginx

Published: June 5, 2024 - 10:58 AM
by kbrozi
I just noticed that I can no longer connect to the WAPT server from the console

Re: nginx

Published: June 5, 2024 - 11:26
by sfonteneau
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

Re: nginx

Published: June 5, 2024 - 2:01 PM
by kbrozi
After installing Nginx and restarting the WAPT service, I also restarted the VM, but it still doesn't work.

Re: nginx

Published: June 5, 2024 - 2:16 PM
by sfonteneau
Do you have anything in:

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

or in

C:\wapt\waptservice\nginx\conf

Re: nginx

Published: June 5, 2024 - 2:26 PM
by kbrozi
Here's what I have in the configuration:

Re: nginx

Published: June 6, 2024 - 8:46 AM
by kbrozi
In wapt service I don't have nginx:

Re: nginx

Published: June 6, 2024 - 10:04 AM
by sfonteneau
Contact our support team directly by phone.

Your nginx configuration appears to be incorrect even after restarting the service installation.

Re: nginx

Published: June 6, 2024 - 11:42 AM
by sfonteneau
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.