title: How to solve error restarting apache Ubuntu
body: <p>Question originally <a href="https://es.stackoverflow.com/questions/301648/error-al-reiniciar-apache-ubuntu">posted in Spanish, on es.stackoverflow.com</a>, by <a href="https://es.stackoverflow.com/users/143376/mnsperez97">mnsperez97</a>:</p>
  <blockquote>
  <p>I have a problem with the connection to Apache, after restarting it
  with the <code>sudo service apache2 restart</code> command, I get this error</p>
  <blockquote>
  <p>Job for apache2.service failed because the control process exited with
  error code. See &quot;systemctl status apache2.service&quot; and &quot;journalctl
  -xe&quot; for details.</p>
  </blockquote>
  <p>and then when entering localhost it does not let me in and it makes me
  worse, when I run <code>sudo journalctl -xe</code> he told me the following but
  still I do not find the error, if you could help me I would be very
  grateful</p>
  <p>EDIT: run the <code>systemctl status apache2.service</code> command and this
  appears to me</p>
  <pre><code>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 Thu 2019-10-17 12:20:34 -04; 29min ago
    Process: 21198 ExecStop=/usr/sbin/apachectl stop (code=exited, status=1/FAILURE)
    Process: 7385 ExecReload=/usr/sbin/apachectl graceful (code=exited, status=0/SUCCESS)
    Process: 23453 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
   Main PID: 1059 (code=exited, status=0/SUCCESS)
  
  oct 17 12:20:34 pcarrasco systemd[1]: Starting The Apache HTTP Server...
  oct 17 12:20:34 pcarrasco apachectl[23453]: AH00526: Syntax error on line 47 of /etc/apache2/sites-enabled/cms.local.conf:
  oct 17 12:20:34 pcarrasco apachectl[23453]: order takes one argument, 'allow,deny', 'deny,allow', or 'mutual-failure'
  oct 17 12:20:34 pcarrasco apachectl[23453]: Action 'start' failed.
  oct 17 12:20:34 pcarrasco apachectl[23453]: The Apache error log may have more information.
  oct 17 12:20:34 pcarrasco systemd[1]: apache2.service: Control process exited, code=exited status=1
  oct 17 12:20:34 pcarrasco systemd[1]: apache2.service: Failed with result 'exit-code'.
  oct 17 12:20:34 pcarrasco systemd[1]: Failed to start The Apache HTTP Server.
  </code></pre>
  </blockquote>