Apache failed after update :(

systemctl
apache

#1

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>?


#2

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…


#3

<Loation /sickrage/api>

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


#4

I’m clearly too tired to think… fml…

Thanks @JMSolo