IS_APACHEMUNIN FAILED! on new machine #42

Open
opened 2019-04-16 17:12:49 +02:00 by Ghost · 3 comments

VERBOSE=1 evocheck.sh tells me the server status is not properly configured on a newly ansibled machine with the following roles:

- evolinux-base
- evolinux-users
- squid
- apache
- php

I need to

# a2enmod status
# grep -R server-status /etc/apache2/
/etc/apache2/sites-available/000-evolinux-default.conf:        <Location /server-status-XXXX>
# ed /etc/apache2/mods-enabled/status.conf
/Location \/server-status
s/status/status-XXXX
wq
# systemctl restart apache2

It feels to me like this should be taken care of automatically.

VERBOSE=1 evocheck.sh tells me the server status is not properly configured on a newly ansibled machine with the following roles: - evolinux-base - evolinux-users - squid - apache - php I need to ``` # a2enmod status # grep -R server-status /etc/apache2/ /etc/apache2/sites-available/000-evolinux-default.conf: <Location /server-status-XXXX> # ed /etc/apache2/mods-enabled/status.conf /Location \/server-status s/status/status-XXXX wq # systemctl restart apache2 ``` It feels to me like this should be taken care of automatically.
Ghost added the
bug
enhancement
labels 2019-04-16 17:12:49 +02:00
Owner
  1. The status.conf config file is disabled by the apache role, so I don't understand why you need to change it.

  2. the default VHost should be changed by Ansible, you're right.

1. The `status.conf` config file is disabled by the `apache` role, so I don't understand why you need to change it. 2. the default VHost should be changed by Ansible, you're right.
Author

The server status is already being set in the default vhost.

But in this case the check only disappeared after I enabled,
the module and edited it's server-status by copying the value
of the server-status in the default vhost.

So maybe the problem is over in evocheck?

The server status is already being set in the default vhost. But in this case the check only disappeared after I enabled, the module and edited it's server-status by copying the value of the server-status in the default vhost. So maybe the problem is over in evocheck?
Contributor

evocheck for stretch is only checking for symlinks.
https://gitea.evolix.org/evolix/evocheck/src/branch/master/evocheck.sh#L544

evocheck for stretch is only checking for symlinks. https://gitea.evolix.org/evolix/evocheck/src/branch/master/evocheck.sh#L544
btatu self-assigned this 2022-03-09 10:38:26 +01:00
Sign in to join this conversation.
No Milestone
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: evolix/ansible-roles#42
No description provided.