Page 1 of 1

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

Published: November 18, 2020 - 10:30 AM
by marcolefo
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?

Re: 1.8.2.7303 => EXEC spawning /opt/wapt/bin/python: Exec format error

Published: November 18, 2020 - 10:39 AM
by marcolefo
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

Re: 1.8.2.7303 => EXEC spawning /opt/wapt/bin/python: Exec format error

Published: November 18, 2020 - 10:51 AM
by dcardon
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

Re: 1.8.2.7303 => EXEC spawning /opt/wapt/bin/python: Exec format error

Published: November 18, 2020 - 2:54 PM
by marcolefo
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?

Re: 1.8.2.7303 => EXEC spawning /opt/wapt/bin/python: Exec format error

Published: November 18, 2020 - 5:15 PM
by marcolefo
I finally restored my VM.