[Solved] 1.8.2.7303 => EXEC spawning /opt/wapt/bin/python: Exec format error

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
Locked
marcolefo
Messages: 27
Registration: Oct 02, 2018 - 11:13

November 18, 2020 - 10:30 AM

Good morning,

Following last night's update, the wpatserver service no longer starts:

In /var/log/syslog

Code: Select all

Nov 18 10:03:26 wobani systemd[2612]: waptserver.service: Failed to execute command: Exec format error
Nov 18 10:03:26 wobani systemd[2612]: waptserver.service: Failed at step EXEC spawning /opt/wapt/bin/python: Exec format error
Nov 18 10:03:26 wobani systemd[1]: waptserver.service: Main process exited, code=exited, status=203/EXEC
Nov 18 10:03:26 wobani systemd[1]: waptserver.service: Failed with result 'exit-code'.
In /var/log/dpkg.log:

Code: Select all

2020-11-18 04:09:20 upgrade tis-waptserver:amd64 1.8.2.7269-debian-10-757cdc76 1.8.2.7303-e2aff254-debian-10-armhf
2020-11-18 04:09:20 status half-configured tis-waptserver:amd64 1.8.2.7269-debian-10-757cdc76
2020-11-18 04:09:20 status unpacked tis-waptserver:amd64 1.8.2.7269-debian-10-757cdc76
2020-11-18 04:09:20 status half-installed tis-waptserver:amd64 1.8.2.7269-debian-10-757cdc76
2020-11-18 04:09:20 status triggers-pending rsyslog:amd64 8.1901.0-1
2020-11-18 04:09:23 status unpacked tis-waptserver:amd64 1.8.2.7303-e2aff254-debian-10-armhf
2020-11-18 04:09:23 upgrade tis-waptsetup:all 1.8.2.7269 1.8.2.7303
2020-11-18 04:09:23 status half-configured tis-waptsetup:all 1.8.2.7269
2020-11-18 04:09:23 status unpacked tis-waptsetup:all 1.8.2.7269
2020-11-18 04:09:23 status half-installed tis-waptsetup:all 1.8.2.7269
2020-11-18 04:09:23 status unpacked tis-waptsetup:all 1.8.2.7303
2020-11-18 04:09:23 startup packages configure
2020-11-18 04:09:23 configure tis-waptserver:amd64 1.8.2.7303-e2aff254-debian-10-armhf <none>
2020-11-18 04:09:23 status unpacked tis-waptserver:amd64 1.8.2.7303-e2aff254-debian-10-armhf
2020-11-18 04:09:23 status half-configured tis-waptserver:amd64 1.8.2.7303-e2aff254-debian-10-armhf
2020-11-18 04:10:54 status installed tis-waptserver:amd64 1.8.2.7303-e2aff254-debian-10-armhf
2020-11-18 04:10:54 configure libldap-common:all 2.4.47+dfsg-3+deb10u4 <none>
2020-11-18 04:10:54 status unpacked libldap-common:all 2.4.47+dfsg-3+deb10u4
2020-11-18 04:10:54 status half-configured libldap-common:all 2.4.47+dfsg-3+deb10u4
2020-11-18 04:10:54 status installed libldap-common:all 2.4.47+dfsg-3+deb10u4
2020-11-18 04:10:54 configure tis-waptsetup:all 1.8.2.7303 <none>
2020-11-18 04:10:54 status unpacked tis-waptsetup:all 1.8.2.7303
2020-11-18 04:10:54 status half-configured tis-waptsetup:all 1.8.2.7303
2020-11-18 04:10:54 status installed tis-waptsetup:all 1.8.2.7303
How can this be fixed?
Last edited by marcolefo on Nov 18, 2020 - 5:15 PM, edited 1 time.
WAPT Enterprise Server: 2.6.0.17343 / Server OS: Debian bookworm /
Administration/package creation machine OS: macOS 15
marcolefo
Messages: 27
Registration: Oct 02, 2018 - 11:13

November 18, 2020 - 10:39

It seems that it's the ARM version that has been deployed...

Am I wrong?

Code: Select all

2020-11-18 04:09:20 upgrade tis-waptserver:amd64 1.8.2.7269-debian-10-757cdc76 1.8.2.7303-e2aff254-debian-10-armhf
My apt configuration:

Code: Select all

cat /etc/apt/sources.list.d/wapt.list
# Auth => auth.conf.d/wapt_enterprise.conf
deb https://srvwapt-pro.tranquil.it/entreprise/debian/wapt-1.8/ buster main
WAPT Enterprise Server: 2.6.0.17343 / Server OS: Debian bookworm /
Administration/package creation machine OS: macOS 15
User avatar
dcardon
WAPT Expert
Messages: 1932
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

November 18, 2020 - 10:51

Hello marcolefo,

There was a mix-up between the ARMFH and AMD64 packages in the repository. This has been corrected; see the email below:

https://lists.tranquil.it/pipermail/wap...04210.html

to correct:

Code: Select all

apt update && apt remove tis-waptserver && apt install tis-waptserver
Sorry. Regards,

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
marcolefo
Messages: 27
Registration: Oct 02, 2018 - 11:13

November 18, 2020 - 2:54 PM

Yes, I saw that on Discord ;)

But :

Code: Select all

apt update && apt install tis-waptserver --reinstall

Hit:1 http://ftp.fr.debian.org/debian buster InRelease
Hit:2 http://ftp.fr.debian.org/debian buster-updates InRelease                                                                                         
Hit:3 http://ftp.debian.org/debian buster-backports InRelease                                                                                          
Hit:4 http://security.debian.org buster/updates InRelease                                                                                              
Hit:5 https://repo.saltstack.com/py3/debian/10/amd64/latest buster InRelease                                                                           
Hit:6 https://srvwapt-pro.tranquil.it/entreprise/debian/wapt-1.8 buster InRelease                                                
Hit:7 http://repo.zabbix.com/zabbix/4.2/debian buster InRelease                                            
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reinstallation of tis-waptserver is not possible, it cannot be downloaded.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Code: Select all

 aptitude versions tis-waptserver
 
p   1.8.2.7303-e2aff254-debian-10-amd64   <NULL>                                 500 
i   1.8.2.7303-e2aff254-debian-10-armhf                                          100
I was about to do a

Code: Select all

apt remove tis-waptserver && apt install tis-waptserver
What do you think?
WAPT Enterprise Server: 2.6.0.17343 / Server OS: Debian bookworm /
Administration/package creation machine OS: macOS 15
marcolefo
Messages: 27
Registration: Oct 02, 2018 - 11:13

November 18, 2020 - 5:15 PM

I finally restored my VM.
WAPT Enterprise Server: 2.6.0.17343 / Server OS: Debian bookworm /
Administration/package creation machine OS: macOS 15
Locked