Pagina 1 di 1

[Risolto] 1.8.2.7303 => EXEC genera /opt/wapt/bin/python: errore di formato Exec

Pubblicato: 18 novembre 2020 - 10:30
di marcolefo
Buongiorno,

Dopo l'aggiornamento di ieri sera, il servizio wpatserver non si avvia più:

In /var/log/syslog

Codice: Seleziona tutto

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:

Codice: Seleziona tutto

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
Come si può risolvere questo problema?

Re: 1.8.2.7303 => EXEC genera /opt/wapt/bin/python: errore di formato Exec

Pubblicato: 18 novembre 2020 - 10:39
di marcolefo
Sembra che sia stata distribuita la versione ARM...

Mi sbaglio?

Codice: Seleziona tutto

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
La mia configurazione apt:

Codice: Seleziona tutto

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 genera /opt/wapt/bin/python: errore di formato Exec

Pubblicato: 18 novembre 2020 - 10:51
di dcardon
Ciao marcolefo,

C'era un errore tra i pacchetti ARMFH e AMD64 nel repository. Il problema è stato risolto; vedere l'email qui sotto:

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

per correggere:

Codice: Seleziona tutto

apt update && apt remove tis-waptserver && apt install tis-waptserver
Mi dispiace. Cordiali saluti,

Denis

Re: 1.8.2.7303 => EXEC genera /opt/wapt/bin/python: errore di formato Exec

Pubblicato: 18 novembre 2020 - 14:54
di marcolefo
Sì, l'ho visto su Discord ;)

Ma :

Codice: Seleziona tutto

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.

Codice: Seleziona tutto

 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
Stavo per fare un

Codice: Seleziona tutto

apt remove tis-waptserver && apt install tis-waptserver
Cosa ne pensi?

Re: 1.8.2.7303 => EXEC genera /opt/wapt/bin/python: errore di formato Exec

Pubblicato: 18 novembre 2020 - 17:15
di marcolefo
Alla fine ho ripristinato la mia VM.