Hello to everybody...
I'm trying to install LAMP on a remote Linux server... after logged in as root user, I try to execute the installation by the following commands:
sudo apt-get update
sudo apt-get -y install apache2
When I try to start Apache with the following command:
sudo systemctl start apache2.service
I get the following error:
Ottengo il seguente errore:
Job for apacche2.service because the control process exited with error code
See "systemctl status apache2.service" and "journalcltl -xe" for details
What happened ?
What have I to do in order to fix it ?
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Starting Apache
-
- Emeritus
- Posts: 2435
- Joined: 2010-12-07 19:55
- Has thanked: 14 times
- Been thanked: 54 times
Re: Starting Apache
The ".service" on the end should not make any difference.
What did the error reports say when you ran the commands that the error message suggested?
What did the error reports say when you ran the commands that the error message suggested?
See "systemctl status apache2.service" and "journalcltl -xe" for details
Re: Starting Apache
logged in as root? - no need for "sudo"
have you configured the server?
will check for config file errors
Read /usr/share/doc/apache2/README.Debian.gz if you are not familiar with the "quite different" process that Debian provide for configuring Apache and php.
I think you might as well also install the php and mariadb part of LAMP. The PHP part adds things to your apache config
have you configured the server?
Code: Select all
apachectl configtest
Read /usr/share/doc/apache2/README.Debian.gz if you are not familiar with the "quite different" process that Debian provide for configuring Apache and php.
I think you might as well also install the php and mariadb part of LAMP. The PHP part adds things to your apache config