Apache failed after update :(

Hi Guys,

When I try to start apache, I get the following error

Job for apache2.service failed because the control process exited with error code. See “systemctl status apache2.service” and “journalctl -xe” for details.

● apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2; bad; vendor preset: enabled)
Drop-In: /lib/systemd/system/apache2.service.d
└─apache2-systemd.conf
Active: failed (Result: exit-code) since Tue 2016-10-18 22:45:11 CEST; 12s ago
Docs: man:systemd-sysv-generator(8)
Process: 4863 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE)

It was working up until I did apt-get update && upgrade

May or may not be related.

Have you seen this before>?

Turns out it was the sickrage.conf changes I made.

Pro tip - don’t change multiple things at once, makes troubleshooting a bitch :slight_smile:

<Location /sickrage>
  ProxyPass http://localhost:8081/sickrage
  ProxyPassReverse http://localhost:8081/sickrage
  Satisfy Any
  Allow from all
#  AuthType Digest
#  AuthName "rutorrent"
#  AuthUserFile '/etc/htpasswd'
#  Require user user
</Location>

<Loation /sickrage/api>
  Satisfy Any
  Allow from all
</Location> 

Not sure why it broke apache, but I’m sure when I read this in 10 mins the answer will be obvious…

<Loation /sickrage/api>

The answer is always right in front of us :wink:

I’m clearly too tired to think… fml…

Thanks @JMSolo

1 Like