Page 1 sur 1

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

Posté : 18 nov. 2020 - 10:30
par marcolefo
Bonjour,

Suite à la mise de cette nuit, le service wpatserver ne démarre plus :

Dans /var/log/syslog

Code : Tout sélectionner

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'.
Dans /var/log/dpkg.log:

Code : Tout sélectionner

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
Comment réparer ça ?

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

Posté : 18 nov. 2020 - 10:39
par marcolefo
Il semble que ce soit la version pour ARM qui s'est déployée...

Je me trompe ?

Code : Tout sélectionner

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
Ma conf apt :

Code : Tout sélectionner

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

Posté : 18 nov. 2020 - 10:51
par dcardon
Bonjour marcolefo,

il y a eu un mix entre les paquets ARMFH et AMD64 sur le dépôt. C'est corrigé, cf le mail ci-dessous:

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

pour corriger :

Code : Tout sélectionner

apt update && apt remove tis-waptserver && apt install tis-waptserver
désolé. Cordialement,

Denis

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

Posté : 18 nov. 2020 - 14:54
par marcolefo
Oui j'ai vu ça sur le discord ;)

Mais :

Code : Tout sélectionner

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 : Tout sélectionner

 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
Je m’apprêtais à faire un

Code : Tout sélectionner

apt remove tis-waptserver && apt install tis-waptserver
Qu'en pensez vous ?

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

Posté : 18 nov. 2020 - 17:15
par marcolefo
J'ai finalement restauré ma VM.