[RESOLVED] Error on server 1.6
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
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
- sfonteneau
- WAPT Expert
- Messages: 2318
- Registered: July 10, 2014 - 11:52 PM
- Contact :
Could it be an antivirus blocking the installation?
No, I even uninstalled it to be sure.
The waptservice service is correctly deleted and recreated during installation, but not the waptserver service.
- sfonteneau
- WAPT Expert
- Messages: 2318
- Registered: July 10, 2014 - 11:52 PM
- Contact :
Can you try rebooting the server?.
Sometimes the waptserver service is checked for deletion but remains (a ghost service)
So after rebooting, you need to try a new installation
Alternatively, can you launch:
Sometimes the waptserver service is checked for deletion but remains (a ghost service)
So after rebooting, you need to try a new installation
Alternatively, can you launch:
Code: Select all
c:\wapt\waptpython.exe c:\wapt\waptserver\winsetup.py -ldebug install_waptserver -c c:\wapt\conf\waptserver.ini-
Christophe
- Messages: 85
- Registration: June 5, 2018 - 8:31 AM
- Location: Arras (62)
- Contact :
Thanks for the tip, sfonteneau.
I successfully installed version 1.6.
However, when I connect to the server address from a browser, I get:
WAPT server version: 1.6.2.7
WAPT agent version: 1.6.2.7
WAPT Setup version: 1.3.13.0
WAPT Deploy version: 1.6.2.7
Database status: OK (1.6.2.4)
I don't understand why WAPT Setup is still showing as 1.3.13?
I successfully installed version 1.6.
However, when I connect to the server address from a browser, I get:
WAPT server version: 1.6.2.7
WAPT agent version: 1.6.2.7
WAPT Setup version: 1.3.13.0
WAPT Deploy version: 1.6.2.7
Database status: OK (1.6.2.4)
I don't understand why WAPT Setup is still showing as 1.3.13?
- sfonteneau
- WAPT Expert
- Messages: 2318
- Registered: July 10, 2014 - 11:52 PM
- Contact :
If you are using a Windows version of the WAPT server, there is no need to update the waptsetup.exe fileChristophe wrote: ↑Oct 12, 2018 - 2:42 PM Thanks for the tip, sfonteneau.
I successfully installed version 1.6.
However, when I connect to the server address from a browser, I get:
WAPT server version: 1.6.2.7
WAPT agent version: 1.6.2.7
WAPT Setup version: 1.3.13.0
WAPT Deploy version: 1.6.2.7
Database status: OK (1.6.2.4)
I don't understand why I still have WAPT Setup at 1.3.13?
Indeed, it's often the server that builds the agent. So it's normal; you can even delete the waptsetup.exe file
Simon
Thank you very much, it works for me too thanks to the command.sfonteneau wrote: ↑Oct 12, 2018 - 1:19 PM Can you try rebooting the server?.
Sometimes the waptserver service is checked for deletion but remains (a ghost service)
So after rebooting, you need to try a new installation
Alternatively, can you launch:Code: Select all
c:\wapt\waptpython.exe c:\wapt\waptserver\winsetup.py -ldebug install_waptserver -c c:\wapt\conf\waptserver.ini
- dcardon
- WAPT Expert
- Messages: 1929
- Registration: June 18, 2014 - 09:58
- Location: Saint Sébastien sur Loire
- Contact :
Hello Romain,
I'll talk to Hubert about adding a timer and a check in the installer to prevent this from happening.
Thank you for your feedback, I'm closing the topic.
Sincerely,
Denis
After your feedback, it seems that there is a "race condition" between stopping, deleting, and then recreating the waptserver service (the corresponding python file has been renamed from waptserver/waptserver.py to waptserver/server.py in the nssm conf).Romain wrote: ↑Oct 15, 2018 - 2:30 PMThank you very much, it works for me too thanks to the command.sfonteneau wrote: ↑Oct 12, 2018 - 1:19 PM Can you try rebooting the server?.
Sometimes the waptserver service is checked for deletion but remains (a ghost service)
So after rebooting, you need to try a new installation
Alternatively, can you launch:Code: Select all
c:\wapt\waptpython.exe c:\wapt\waptserver\winsetup.py -ldebug install_waptserver -c c:\wapt\conf\waptserver.ini
I'll talk to Hubert about adding a timer and a check in the installer to prevent this from happening.
Thank you for your feedback, I'm closing the topic.
Sincerely,
Denis
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
Good morning,
I got the same error message with the waptservice not existing… Despite the magic command that works for everyone else, it didn't work for me! Here's the code below:
Do you have any further ideas?
THANKS
I got the same error message with the waptservice not existing… Despite the magic command that works for everyone else, it didn't work for me! Here's the code below:
Code: Select all
C:\Windows\system32>c:\wapt\waptpython.exe c:\wapt\waptserver\winsetup.py -ldebug install_waptserver -c c:\wapt\conf\waptserver.ini
Installing WAPT Server as a service managed by nssm
install waptserver
2019-11-09 16:43:36,674 INFO Register service "WAPTServer" with nssm
2019-11-09 16:43:36,674 INFO running command : "c:\wapt\waptservice\win64\nssm.exe" install "WAPTServer" "c:\wapt\waptpython.exe" "c:\wapt\waptserver\server.py"
2019-11-09 16:43:36,861 INFO Register dependencies for service "WAPTServer" with nssm : WAPTPostgresql
2019-11-09 16:43:36,861 INFO running command : "c:\wapt\waptservice\win64\nssm.exe" set "WAPTServer" DependOnService WAPTPostgresql
Traceback (most recent call last):
File "c:\wapt\waptserver\winsetup.py", line 549, in <module>
install_waptserver_service(options,conf)
File "c:\wapt\waptserver\winsetup.py", line 422, in install_waptserver_service
install_windows_nssm_service('WAPTServer',service_binary,service_parameters,service_logfile,service_dependencies)
File "c:\wapt\waptserver\winsetup.py", line 168, in install_windows_nssm_service
setuphelpers.run(cmd)
File "c:\wapt\setuphelpers.py", line 1068, in run
raise CalledProcessErrorOutput(proc.returncode,cmd,''.join(output))
setuphelpers.CalledProcessErrorOutput: Command '"c:\\wapt\\waptservice\\win64\\nssm.exe" set "WAPTServer" DependOnService WAPTPostgresql' returned non-zero exit status 6.
Output:Impossible d'ouvrir le service!
OpenService(): Le service sp├®cifi├® nÔÇÖexiste pas en tant que service install├®.
WAPTPostgresql: Le service de d├®pendance nÔÇÖexiste pas ou a ├®t├® marqu├® pour suppression.
Erreur ├á l'├®criture du param├¿tre "DependOnService" du service "WAPTServer"!
C:\Windows\system32>THANKS
