hello everyone gld this community exist !
i'm facing new problem with apache2 on ubuntu i'm using lamp from yesterday and everything works fine knowing that i'm originaly from windows !
so when i type gksu service apache2 start
in terminal and then put my password, when i refresh localhost on navigtor my site doesn't load, so i type gksu service apache2 sttus
i get this
● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled
Drop-In: /lib/systemd/system/apache2.service.d
└─apache2-systemd.conf
Active: failed (Result: exit-code) since Sun 2017-06-11 17:52:48 EEST; 8s ago
Process: 7418 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
juin 11 17:52:48 christou-development-machine systemd[1]: Starting The Apache HTTP Serv
juin 11 17:52:48 christou-development-machine apachectl[7418]: apache2: Syntax error on
juin 11 17:52:48 christou-development-machine apachectl[7418]: Action 'start' failed.
juin 11 17:52:48 christou-development-machine apachectl[7418]: The Apache error log may
juin 11 17:52:48 christou-development-machine systemd[1]: apache2.service: Control proc
juin 11 17:52:48 christou-development-machine systemd[1]: Failed to start The Apache HT
juin 11 17:52:48 christou-development-machine systemd[1]: apache2.service: Unit entered
juin 11 17:52:48 christou-development-machine systemd[1]: apache2.service: Failed with
then i try this to find the error journalctl | apache2
i get this
AH00111: Config variable ${APACHE_RUN_DIR} is not defined
apache2: Syntax error on line 80 of /etc/apache2/apache2.conf: DefaultRuntimeDir takes one argument, Common directory for run-time files (shared memory, locks, etc.)
christou@christou-development-machine:~$ gksu service apache2 status
christou@christou-development-machine:~$ journalctl | apache2
[Sun Jun 11 18:07:25.165228 2017] [core:warn] [pid 7665] AH00111: Config variable ${APACHE_RUN_DIR} is not defined
apache2: Syntax error on line 80 of /etc/apache2/apache2.conf: DefaultRuntimeDir takes one argument, Common directory for run-time files (shared memory, locks, etc.)
so when i open my config my config page in line 80 i really don't what to do with it this wht is in line 80 DefaultRuntimeDir ${APACHE_RUN_DIR}