Hello
je reviens à la charge, j'ai donc réussi hier à installer Nextcloud, je peux même y accéder via l'ip du nas (j'étais trop content d'y être arrivé ^^)
J'allais donc commencer à paramétrer la chose quand je me suis retrouvé avec une erreur Apache qui semble hors de ma portée ^^
Je vous la soumets donc:
J'ajoute que l'erreur provient possiblement de moi, car j'ai appris hier par la suite en essayant de chercher pour quelle raison j'avais un souci de démarrage de Apache, que lancer une ligne de commande en sudo n'est pas la même chose que lancer la même commande sans sudo...
Comme cet utilisateur en a fait l'expérience:
https://serverfault.com/questions/416612/apache-sslcertificatekeyfile-file-does-not-exist-or-is-empty
J'ai essayé d'éplucher les résultats des rapports et suis allé voir la ligne 32 de default-ssl.conf, qui elle même renvoie à ssl-cert-snakeoil.pem, mais je ne vais pas m'hazader à modifier sans un avis éclairé d'une personne qui saura mieux que moi au premier coup d’œil...
J'espère avoir posté au bon endroit ^^
Merci
Bonne journée
je reviens à la charge, j'ai donc réussi hier à installer Nextcloud, je peux même y accéder via l'ip du nas (j'étais trop content d'y être arrivé ^^)
J'allais donc commencer à paramétrer la chose quand je me suis retrouvé avec une erreur Apache qui semble hors de ma portée ^^
Je vous la soumets donc:
root@helios4:~# service apache2 start
Job for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xe" for details.
root@helios4:~# ^C
root@helios4:~# systemctl status apache2.service
● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset:
Active: failed (Result: exit-code) since Tue 2020-03-24 01:20:14 UTC; 13s ago
Docs: https://httpd.apache.org/docs/2.4/
Process: 23657 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAIL
Mar 24 01:20:14 helios4 systemd[1]: Starting The Apache HTTP Server...
Mar 24 01:20:14 helios4 apachectl[23657]: AH00526: Syntax error on line 32 of /e
Mar 24 01:20:14 helios4 apachectl[23657]: SSLCertificateFile: file '/etc/ssl/cer
Mar 24 01:20:14 helios4 apachectl[23657]: Action 'start' failed.
Mar 24 01:20:14 helios4 apachectl[23657]: The Apache error log may have more inf
Mar 24 01:20:14 helios4 systemd[1]: apache2.service: Control process exited, cod
Mar 24 01:20:14 helios4 systemd[1]: apache2.service: Failed with result 'exit-co
Mar 24 01:20:14 helios4 systemd[1]: Failed to start The Apache HTTP Server.
root@helios4:~# journalctl -xe
Mar 24 01:20:14 helios4 apachectl[23657]: The Apache error log may have more inf
Mar 24 01:20:14 helios4 systemd[1]: apache2.service: Control process exited, cod
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- An ExecStart= process belonging to unit apache2.service has exited.
--
-- The process' exit code is 'exited' and its exit status is 1.
Mar 24 01:20:14 helios4 systemd[1]: apache2.service: Failed with result 'exit-co
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- The unit apache2.service has entered the 'failed' state with result 'exit-cod
Mar 24 01:20:14 helios4 systemd[1]: Failed to start The Apache HTTP Server.
-- Subject: A start job for unit apache2.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A start job for unit apache2.service has finished with a failure.
--
-- The job identifier is 2185 and the job result is failed.
lines 2408-2430/2430 (END)
Mar 24 01:20:14 helios4 apachectl[23657]: The Apache error log may have more information.
Mar 24 01:20:14 helios4 systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- An ExecStart= process belonging to unit apache2.service has exited.
--
-- The process' exit code is 'exited' and its exit status is 1.
Mar 24 01:20:14 helios4 systemd[1]: apache2.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- The unit apache2.service has entered the 'failed' state with result 'exit-code'.
Mar 24 01:20:14 helios4 systemd[1]: Failed to start The Apache HTTP Server.
-- Subject: A start job for unit apache2.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A start job for unit apache2.service has finished with a failure.
--
-- The job identifier is 2185 and the job result is failed.
root@helios4:~# systemctl status --no-pager --full apache2
● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2020-03-24 01:20:14 UTC; 6min ago
Docs: https://httpd.apache.org/docs/2.4/
Process: 23657 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
Mar 24 01:20:14 helios4 systemd[1]: Starting The Apache HTTP Server...
Mar 24 01:20:14 helios4 apachectl[23657]: AH00526: Syntax error on line 32 of /etc/apache2/sites-enabled/default-ssl.conf:
Mar 24 01:20:14 helios4 apachectl[23657]: SSLCertificateFile: file '/etc/ssl/certs/ssl-cert-snakeoil.pem' does not exist or is empty
Mar 24 01:20:14 helios4 apachectl[23657]: Action 'start' failed.
Mar 24 01:20:14 helios4 apachectl[23657]: The Apache error log may have more information.
Mar 24 01:20:14 helios4 systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
Mar 24 01:20:14 helios4 systemd[1]: apache2.service: Failed with result 'exit-code'.
Mar 24 01:20:14 helios4 systemd[1]: Failed to start The Apache HTTP Server.
J'ajoute que l'erreur provient possiblement de moi, car j'ai appris hier par la suite en essayant de chercher pour quelle raison j'avais un souci de démarrage de Apache, que lancer une ligne de commande en sudo n'est pas la même chose que lancer la même commande sans sudo...
Comme cet utilisateur en a fait l'expérience:
https://serverfault.com/questions/416612/apache-sslcertificatekeyfile-file-does-not-exist-or-is-empty
J'ai essayé d'éplucher les résultats des rapports et suis allé voir la ligne 32 de default-ssl.conf, qui elle même renvoie à ssl-cert-snakeoil.pem, mais je ne vais pas m'hazader à modifier sans un avis éclairé d'une personne qui saura mieux que moi au premier coup d’œil...
J'espère avoir posté au bon endroit ^^
Merci
Bonne journée