Quand je lance pre-requisites.sh il termine par :
E: Unable to locate package tomcat7
tomcat7 n’est pas dispo sur Ubuntu 18.04, j’ai tenté ceci https://askubuntu.com/questions/1058283/is-there-a-way-i-can-install-tomcat7-on-ubuntu-18-04 mais ca ne marche pas du tout…
Setting up tomcat7 (7.0.68-1) …
Creating config file /etc/default/tomcat7 with new version
Adding system user tomcat7' (UID 111) ... Adding new user
tomcat7’ (UID 111) with group tomcat7' ... Not creating home directory
/usr/share/tomcat7’.
Creating config file /etc/logrotate.d/tomcat7 with new version
Job for tomcat7.service failed because the control process exited with error code.
See “systemctl status tomcat7.service” and “journalctl -xe” for details.
invoke-rc.d: initscript tomcat7, action “start” failed.
● tomcat7.service - LSB: Start Tomcat.
Loaded: loaded (/etc/init.d/tomcat7; generated)
Active: failed (Result: exit-code) since Fri 2019-05-17 14:57:47 CEST; 53ms ago
Docs: man:systemd-sysv-generator(8)
Process: 1145 ExecStart=/etc/init.d/tomcat7 start (code=exited, status=1/FAILURE)
May 17 14:57:42 asqatasun systemd[1]: Starting LSB: Start Tomcat…
May 17 14:57:42 asqatasun tomcat7[1145]: * Starting Tomcat servlet engine tomcat7
May 17 14:57:47 asqatasun tomcat7[1145]: …fail!
May 17 14:57:47 asqatasun systemd[1]: tomcat7.service: Control process exited, code=exited status=1
May 17 14:57:47 asqatasun systemd[1]: tomcat7.service: Failed with result ‘exit-code’.
May 17 14:57:47 asqatasun systemd[1]: Failed to start LSB: Start Tomcat…
dpkg: error processing package tomcat7 (–configure):
installed tomcat7 package post-installation script subprocess returned error exit status 1
Processing triggers for libc-bin (2.27-3ubuntu1) …
Processing triggers for ureadahead (0.100.0-21) …
Processing triggers for systemd (237-3ubuntu10.21) …
Processing triggers for ca-certificates (20180409) …
Updating certificates in /etc/ssl/certs…
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d…
done.
done.
Errors were encountered while processing:
tomcat7
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@asqatasun:~/asqatasun-4.1.0-rc.1.i386/install# sudo apt-get install tomcat7
Reading package lists… Done
Building dependency tree
Reading state information… Done
tomcat7 is already the newest version (7.0.68-1).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up tomcat7 (7.0.68-1) …
Job for tomcat7.service failed because the control process exited with error code.
See “systemctl status tomcat7.service” and “journalctl -xe” for details.
invoke-rc.d: initscript tomcat7, action “start” failed.
● tomcat7.service - LSB: Start Tomcat.
Loaded: loaded (/etc/init.d/tomcat7; generated)
Active: failed (Result: exit-code) since Fri 2019-05-17 14:58:08 CEST; 23ms ago
Docs: man:systemd-sysv-generator(8)
Process: 2178 ExecStart=/etc/init.d/tomcat7 start (code=exited, status=1/FAILURE)
May 17 14:58:03 asqatasun systemd[1]: Starting LSB: Start Tomcat…
May 17 14:58:03 asqatasun tomcat7[2178]: * Starting Tomcat servlet engine tomcat7
May 17 14:58:08 asqatasun tomcat7[2178]: …fail!
May 17 14:58:08 asqatasun systemd[1]: tomcat7.service: Control process exited, code=exited status=1
May 17 14:58:08 asqatasun systemd[1]: tomcat7.service: Failed with result ‘exit-code’.
May 17 14:58:08 asqatasun systemd[1]: Failed to start LSB: Start Tomcat…
dpkg: error processing package tomcat7 (–configure):
installed tomcat7 package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
tomcat7
Du coup, quelle procédure suivez-vous pour installer tomcat7 sur ubuntu 18.04 ?
Merci d’avance pour votre aide