Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Debian 8 (64 bits)
#1
Problème rémunéré (3€):


j'ai installé apache2 avec plusieurs extension t'elle que (PHP, Phpmyadmin), j'ai fait quelque modification en Vhost sauf que depuis impossible de relancé apache2.


Voici se que j'ai dans les logs:
Code:
root@vps3:~# journalctl -xn
-- Logs begin at mar. 2018-01-30 05:09:10 CET, end at mar. 2018-01-30 05:24:11 CET. --
janv. 30 05:22:32 vps3.fr sshd[1656]: Received disconnect from 182.100.67.1: 11:  [preauth]
janv. 30 05:22:32 vps3.fr sshd[1656]: PAM 2 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=182.100.67.1  user=root
janv. 30 05:23:15 vps3.fr sshd[1663]: Invalid user pablo from 23.11.160.15
janv. 30 05:23:15 vps3.fr sshd[1663]: input_userauth_request: invalid user pablo [preauth]
janv. 30 05:23:15 vps3.fr sshd[1663]: pam_unix(sshd:auth): check pass; user unknown
janv. 30 05:23:15 vps3.fr sshd[1663]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=23.11.160.15
janv. 30 05:23:17 vps3.fr sshd[1663]: Failed password for invalid user pablo from 23.11.160.15 port 65428 ssh2
janv. 30 05:23:17 vps3.fr sshd[1663]: error: Received disconnect from 23.11.160.15: 3: com.jcraft.jsch.JSchException: Auth fail [preauth]
janv. 30 05:24:11 vps3.fr systemd[1]: Starting Cleanup of Temporary Directories...
-- Subject: L'unité (unit) systemd-tmpfiles-clean.service a commencé à démarrer
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- L'unité (unit) systemd-tmpfiles-clean.service a commencé à démarrer.
janv. 30 05:24:11 vps-19753.fhnet.fr systemd[1]: Started Cleanup of Temporary Directories.
-- Subject: L'unité (unit) systemd-tmpfiles-clean.service a terminé son démarrage
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- L'unité (unit) systemd-tmpfiles-clean.service a terminé son démarrage, avec le résultat done.

Voici se que j'ai dans les logs apache2:
Code:
root@vps3:~# systemctl status apache2.service
● apache2.service - LSB: Apache2 web server
  Loaded: loaded (/etc/init.d/apache2)
 Drop-In: /lib/systemd/system/apache2.service.d
          └─forking.conf
  Active: failed (Result: exit-code) since mer. 2018-01-31 13:20:02 CET; 33s ago
 Process: 2834 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE)

janv. 31 13:20:02 vps3.fr apache2[2834]: Starting web server: apache2 failed!
janv. 31 13:20:02 vps3.fr apache2[2834]: The apache2 configtest failed. ... (warning).
janv. 31 13:20:02 vps3.fhnet.fr apache2[2834]: Output of config test was:
janv. 31 13:20:02 vps3.fr apache2[2834]: AH00526: Syntax error on line 51 of /etc/apache2/sites-enabled/www.viniwaz.eu.conf:
janv. 31 13:20:02 vps3.fr apache2[2834]: SSLCertificateFile: file '/etc/letsencrypt/live/central-heberg.net/fullchain.pem' does not exist or is empty
janv. 31 13:20:02 vps3.fr apache2[2834]: Action 'configtest' failed.
janv. 31 13:20:02 vps3.fr apache2[2834]: The Apache error log may have more information.
janv. 31 13:20:02 vps3.fr systemd[1]: apache2.service: control process exited, code=exited status=1
janv. 31 13:20:02 vps3.fr systemd[1]: Failed to start LSB: Apache2 web server.
janv. 31 13:20:02 vps3.fr systemd[1]: Unit apache2.service entered failed state.
Reply
#2
Code:
root@vps3:/opt/letsencrypt# ./letsencrypt-auto certonly
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Error while running apache2ctl configtest.
Action 'configtest' failed.
The Apache error log may have more information.

AH00526: Syntax error on line 51 of /etc/apache2/sites-enabled/www.viniwaz.eu.conf:
SSLCertificateFile: file '/etc/letsencrypt/live/central-heberg.net/fullchain.pem' does not exist or is empty


How would you like to authenticate with the ACME CA?
-------------------------------------------------------------------------------
1: Apache Web Server plugin - Beta (apache) [Misconfigured]
2: Spin up a temporary webserver (standalone)
3: Place files in webroot directory (webroot)
-------------------------------------------------------------------------------
Select the appropriate number [1-3] then [enter] (press 'c' to cancel):
Reply
#3
Bonjour,

j'ai réussi à réglé le problème de apache2 grâce à quelqu'un sur Twitter qui a donc gagner 1,50€.
il reste juste a corrigé le problème avec le certificat SSL "letsencrypt" Smile.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)