1 - systemctl reload apache2.service
root@HO-DEBIAN-CG01:~# systemctl reload apache2.service
root@HO-DEBIAN-CG01:~#
rien ne s’affiche
2 -journalctl -xn >> erreur
root@HO-DEBIAN-CG01:~# journalctl -xn >> erreur
root@HO-DEBIAN-CG01:~#
rien ne s’affiche
3 - ps faux |grep apache >> erreur
root@HO-DEBIAN-CG01:~# ps faux |grep apache >> erreur
root@HO-DEBIAN-CG01:~#
rien ne s’affiche
4 - cat erreur
root@HO-DEBIAN-CG01:~# cat erreur
● apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2)
Drop-In: /lib/systemd/system/apache2.service.d
└─forking.conf
Active: active (running) since sam. 2016-10-29 18:53:30 CEST; 2min 15s ago
Process: 2644 ExecStart=/etc/init.d/apache2 start (code=exited, status=0/SUCCESS)
CGroup: /system.slice/apache2.service
├─2658 /usr/sbin/apache2 -k start
├─2661 /usr/sbin/apache2 -k start
├─2662 /usr/sbin/apache2 -k start
├─2663 /usr/sbin/apache2 -k start
├─2664 /usr/sbin/apache2 -k start
├─2665 /usr/sbin/apache2 -k start
└─2666 /usr/sbin/apache2 -k start
oct. 29 18:53:30 HO-DEBIAN-CG01 apache2[2644]: Starting web server: apache2.
oct. 29 18:53:30 HO-DEBIAN-CG01 systemd[1]: Started LSB: Apache2 web server.
oct. 29 18:54:07 HO-DEBIAN-CG01 systemd[1]: Started LSB: Apache2 web server.
-- Logs begin at sam. 2016-10-29 17:34:37 CEST, end at sam. 2016-10-29 18:55:53 CEST. --
oct. 29 18:55:31 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 18:55:31 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 18:55:39 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 18:55:39 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 18:55:42 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 18:55:42 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 18:55:51 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 18:55:51 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 18:55:53 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 18:55:53 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
-- Logs begin at sam. 2016-10-29 17:34:37 CEST, end at sam. 2016-10-29 19:11:53 CEST. --
oct. 29 19:11:31 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 19:11:37 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 19:11:52 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 19:11:52 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 19:11:52 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 19:11:52 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 19:11:52 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 19:11:52 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 19:11:53 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 19:11:53 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
-- Logs begin at sam. 2016-10-29 17:34:37 CEST, end at sam. 2016-10-29 19:48:18 CEST. --
oct. 29 19:47:37 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 19:48:07 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 19:48:12 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 19:48:12 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 19:48:12 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 19:48:12 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 19:48:12 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 19:48:12 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 19:48:18 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 19:48:18 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
root 2769 0.0 3.5 86264 36636 ? Sl 19:05 0:02 \_ gedit apache2.conf
root 2741 0.0 3.3 183412 34580 ? Ss 18:59 0:00 /usr/sbin/apache2 -k start
www-data 2968 0.0 0.8 183436 8760 ? S 19:47 0:00 \_ /usr/sbin/apache2 -k start
www-data 2969 0.0 0.8 183436 8760 ? S 19:47 0:00 \_ /usr/sbin/apache2 -k start
www-data 2970 0.0 0.8 183436 8760 ? S 19:47 0:00 \_ /usr/sbin/apache2 -k start
www-data 2971 0.0 0.8 183436 8760 ? S 19:47 0:00 \_ /usr/sbin/apache2 -k start
www-data 2972 0.0 0.8 183436 8760 ? S 19:47 0:00 \_ /usr/sbin/apache2 -k start
root 2975 0.0 0.2 4576 2124 pts/1 S+ 19:48 0:00 \_ grep apache
root@HO-DEBIAN-CG01:~# ps faux |grep apache >> erreur
root@HO-DEBIAN-CG01:~# journalctl -xn >> erreur
root@HO-DEBIAN-CG01:~# ps faux |grep apache >> erreur
root@HO-DEBIAN-CG01:~# clear
e[3;J
root@HO-DEBIAN-CG01:~# cat erreur
● apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2)
Drop-In: /lib/systemd/system/apache2.service.d
└─forking.conf
Active: active (running) since sam. 2016-10-29 18:53:30 CEST; 2min 15s ago
Process: 2644 ExecStart=/etc/init.d/apache2 start (code=exited, status=0/SUCCESS)
CGroup: /system.slice/apache2.service
├─2658 /usr/sbin/apache2 -k start
├─2661 /usr/sbin/apache2 -k start
├─2662 /usr/sbin/apache2 -k start
├─2663 /usr/sbin/apache2 -k start
├─2664 /usr/sbin/apache2 -k start
├─2665 /usr/sbin/apache2 -k start
└─2666 /usr/sbin/apache2 -k start
oct. 29 18:53:30 HO-DEBIAN-CG01 apache2[2644]: Starting web server: apache2.
oct. 29 18:53:30 HO-DEBIAN-CG01 systemd[1]: Started LSB: Apache2 web server.
oct. 29 18:54:07 HO-DEBIAN-CG01 systemd[1]: Started LSB: Apache2 web server.
-- Logs begin at sam. 2016-10-29 17:34:37 CEST, end at sam. 2016-10-29 18:55:53 CEST. --
oct. 29 18:55:31 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 18:55:31 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 18:55:39 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 18:55:39 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 18:55:42 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 18:55:42 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 18:55:51 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 18:55:51 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 18:55:53 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 18:55:53 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
-- Logs begin at sam. 2016-10-29 17:34:37 CEST, end at sam. 2016-10-29 19:11:53 CEST. --
oct. 29 19:11:31 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 19:11:37 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 19:11:52 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 19:11:52 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 19:11:52 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 19:11:52 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 19:11:52 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 19:11:52 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 19:11:53 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 19:11:53 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
-- Logs begin at sam. 2016-10-29 17:34:37 CEST, end at sam. 2016-10-29 19:48:18 CEST. --
oct. 29 19:47:37 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 19:48:07 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 19:48:12 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 19:48:12 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 19:48:12 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 19:48:12 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 19:48:12 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 19:48:12 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 19:48:18 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 19:48:18 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
root 2769 0.0 3.5 86264 36636 ? Sl 19:05 0:02 \_ gedit apache2.conf
root 2741 0.0 3.3 183412 34580 ? Ss 18:59 0:00 /usr/sbin/apache2 -k start
www-data 2968 0.0 0.8 183436 8760 ? S 19:47 0:00 \_ /usr/sbin/apache2 -k start
www-data 2969 0.0 0.8 183436 8760 ? S 19:47 0:00 \_ /usr/sbin/apache2 -k start
www-data 2970 0.0 0.8 183436 8760 ? S 19:47 0:00 \_ /usr/sbin/apache2 -k start
www-data 2971 0.0 0.8 183436 8760 ? S 19:47 0:00 \_ /usr/sbin/apache2 -k start
www-data 2972 0.0 0.8 183436 8760 ? S 19:47 0:00 \_ /usr/sbin/apache2 -k start
root 2975 0.0 0.2 4576 2124 pts/1 S+ 19:48 0:00 \_ grep apache
root 2769 0.0 3.5 86264 36636 ? Sl 19:05 0:02 \_ gedit apache2.conf
root 2741 0.0 3.3 183412 34580 ? Ss 18:59 0:00 /usr/sbin/apache2 -k start
www-data 2968 0.0 0.8 183436 8760 ? S 19:47 0:00 \_ /usr/sbin/apache2 -k start
www-data 2969 0.0 0.8 183436 8760 ? S 19:47 0:00 \_ /usr/sbin/apache2 -k start
www-data 2970 0.0 0.8 183436 8760 ? S 19:47 0:00 \_ /usr/sbin/apache2 -k start
www-data 2971 0.0 0.8 183436 8760 ? S 19:47 0:00 \_ /usr/sbin/apache2 -k start
www-data 2972 0.0 0.8 183436 8760 ? S 19:47 0:00 \_ /usr/sbin/apache2 -k start
root 2978 0.0 0.2 4576 2124 pts/1 S+ 19:50 0:00 \_ grep apache
-- Logs begin at sam. 2016-10-29 17:34:37 CEST, end at sam. 2016-10-29 19:52:21 CEST. --
oct. 29 19:52:02 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 19:52:15 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 19:52:19 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 19:52:19 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 19:52:19 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 19:52:19 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 19:52:19 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 19:52:19 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 19:52:21 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
oct. 29 19:52:21 HO-DEBIAN-CG01 gnome-session[1679]: (gnome-shell:1817): mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x4101200016 not in stack
root 2769 0.0 3.5 86264 36636 ? Sl 19:05 0:02 \_ gedit apache2.conf
root 2741 0.0 3.3 183412 34580 ? Ss 18:59 0:00 /usr/sbin/apache2 -k start
www-data 2968 0.0 0.8 183436 8760 ? S 19:47 0:00 \_ /usr/sbin/apache2 -k start
www-data 2969 0.0 0.8 183436 8760 ? S 19:47 0:00 \_ /usr/sbin/apache2 -k start
www-data 2970 0.0 0.8 183436 8760 ? S 19:47 0:00 \_ /usr/sbin/apache2 -k start
www-data 2971 0.0 0.8 183436 8760 ? S 19:47 0:00 \_ /usr/sbin/apache2 -k start
www-data 2972 0.0 0.8 183436 8760 ? S 19:47 0:00 \_ /usr/sbin/apache2 -k start
root 2984 0.0 0.2 4576 2220 pts/1 S+ 19:53 0:00 \_ grep apache
root@HO-DEBIAN-CG01:~#
5 - Et voilou 