Bonjour a tous
sur mon serveur j’ai voulu suivre ce tuto http://www.it-connect.fr/configurer-postfix-pour-envoyer-des-mails-avec-gmail/pour créer un serveur mail via gmail
Après reboot le serveur apache2 ne démarre plus et en console j’ai ce message
Restarting apache2 (via systemctl): apache2.serviceJob for apache2.service failed. See 'systemctl status apache2.service' and 'journalctl -xn' for details.
failed!
J’ai aussi trouvé ceci
[code]root@debiansvr2:/home/philox47# systemctl status apache2.service
● apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2)
Active: failed (Result: exit-code) since sam 2015-05-23 17:07:23 CEST; 1min 8s ago
Process: 2096 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE)
mai 23 17:07:23 debiansvr2 apache2[2096]: Starting web server: apache2 failed!
mai 23 17:07:23 debiansvr2 apache2[2096]: The apache2 configtest failed. …
mai 23 17:07:23 debiansvr2 apache2[2096]: Output of config test was:
mai 23 17:07:23 debiansvr2 apache2[2096]: apache2: Syntax error on line 216 …y
mai 23 17:07:23 debiansvr2 apache2[2096]: Action ‘configtest’ failed.
mai 23 17:07:23 debiansvr2 apache2[2096]: The Apache error log may have more…
mai 23 17:07:23 debiansvr2 systemd[1]: apache2.service: control process exi…=1
mai 23 17:07:23 debiansvr2 systemd[1]: Failed to start LSB: Apache2 web server.
mai 23 17:07:23 debiansvr2 systemd[1]: Unit apache2.service entered failed …e.
Hint: Some lines were ellipsized, use -l to show in full.
root@debiansvr2:/home/philox47#
[/code]
UNIT LOAD ACTIVE SUB DESCRIPTION
proc-sys-fs-binfmt_misc.automount loaded active waiting Arbitrary Executable File Formats
sys-devices-pci0000:00-0000:00:1c.0-0000:02:00.0-net-eth0.device loaded active plugged NetXtreme BCM5751 Gigabit Etherne
sys-devices-pci0000:00-0000:00:1e.2-sound-card0.device loaded active plugged 82801G (ICH7 Family) AC'97 Audio
sys-devices-pci0000:00-0000:00:1f.1-ata1-host0-target0:0:0-0:0:0:0-block-sr0.device loaded active plugged SONY_CD-RW_DVD-ROM_CRX310EE
sys-devices-pci0000:00-0000:00:1f.2-ata3-host2-target2:0:0-2:0:0:0-block-sda-sda1.device loaded active plugged WDC_WD5000AAKX-22ERMA0 1
sys-devices-pci0000:00-0000:00:1f.2-ata3-host2-target2:0:0-2:0:0:0-block-sda-sda2.device loaded active plugged WDC_WD5000AAKX-22ERMA0 2
sys-devices-pci0000:00-0000:00:1f.2-ata3-host2-target2:0:0-2:0:0:0-block-sda.device loaded active plugged WDC_WD5000AAKX-22ERMA0
sys-devices-platform-floppy.0-block-fd0.device loaded active plugged /sys/devices/platform/floppy.0/bl
sys-devices-platform-serial8250-tty-ttyS1.device loaded active plugged /sys/devices/platform/serial8250/
sys-devices-platform-serial8250-tty-ttyS2.device loaded active plugged /sys/devices/platform/serial8250/
sys-devices-platform-serial8250-tty-ttyS3.device loaded active plugged /sys/devices/platform/serial8250/
sys-devices-pnp0-00:03-printer-lp0.device loaded active plugged /sys/devices/pnp0/00:03/printer/l
sys-devices-pnp0-00:04-tty-ttyS0.device loaded active plugged /sys/devices/pnp0/00:04/tty/ttyS0
sys-subsystem-net-devices-eth0.device loaded active plugged NetXtreme BCM5751 Gigabit Etherne
-.mount loaded active mounted /
dev-hugepages.mount loaded active mounted Huge Pages File System
dev-mqueue.mount loaded active mounted POSIX Message Queue File System
run-rpc_pipefs.mount loaded active mounted /run/rpc_pipefs
run-user-0.mount loaded active mounted /run/user/0
sys-kernel-debug.mount loaded active mounted Debug File System
acpid.path loaded active running ACPI Events Check
cups.path loaded active waiting CUPS Printer Service Spool
systemd-ask-password-console.path loaded active waiting Dispatch Password Requests to Con
systemd-ask-password-wall.path loaded active waiting Forward Password Requests to Wall
session-1.scope loaded active running Session 1 of user root
acpid.service loaded active running ACPI event daemon
● apache2.service loaded failed failed LSB: Apache2 web server
atd.service loaded active running Deferred execution scheduler
avahi-daemon.service loaded active running Avahi mDNS/DNS-SD Stack
console-setup.service loaded active exited LSB: Set console font and keymap
cron.service loaded active running Regular background program proces
cups-browsed.service loaded active running Make remote CUPS printers availab
cups.service loaded active running CUPS Printing Service
dbus.service loaded active running D-Bus System Message Bus
exim4.service loaded active exited LSB: exim Mail Transport Agent
fail2ban.service loaded active exited LSB: Start/stop fail2ban
getty@tty1.service loaded active running Getty on tty1
ifup@eth0.service loaded active exited ifup for eth0
kbd.service loaded active exited LSB: Prepare console
Quelqu’un a une idée ???
Merci