Page MenuHomePhabricator

ytterbium, neon and strontium daily cronspam
Closed, ResolvedPublic

Description

Daily from ytterbium, neon and strontium:

Cron Daemon root@strontium.eqiad.wmnet via wikimedia.org 

to root 
/etc/cron.daily/logrotate:
[Thu Apr 14 06:25:46 2016] [warn] NameVirtualHost *:80 has no VirtualHosts

etc/cron.daily/logrotate:
[Thu Apr 14 06:25:11 2016] [warn] NameVirtualHost *:443 has no VirtualHosts
[Thu Apr 14 06:25:11 2016] [warn] NameVirtualHost *:80 has no VirtualHosts
[Thu Apr 14 06:25:11 2016] [warn] NameVirtualHost *:80 has no VirtualHosts

Explained in https://wiki.apache.org/httpd/CommonMisconfigurations#Using_the_same_Listen_and.2For_NameVirtualHost_multiple_times.

The httpd config has multiple NameVirtualHost *:80 in the sites-enabled triggering the warning. Also the stretch goal would be to move to http 2.4 + mpm_event.

Event Timeline

elukey lowered the priority of this task from Medium to Low.Apr 14 2016, 7:28 AM
elukey created this task.
elukey renamed this task from ytterbium and strontium daily cronspam to ytterbium, neon and strontium daily cronspam.Apr 14 2016, 7:30 AM
elukey updated the task description. (Show Details)

it's because one of the NameVirtualHost *:80 is in ports.conf which comes like that per default, and then it's repeated in our puppetized files in sites-enabled. I worked around this before by changing the ports.conf that comes from distro and let puppet handle it too. Or remove it from our templates, but the NameVirtualHost *:443 must stay.

Change 297723 had a related patch set uploaded (by Dzahn):
gerrit: remove NameVirtualHost *:80 from Apache template

https://gerrit.wikimedia.org/r/297723

Change 297727 had a related patch set uploaded (by Dzahn):
icinga,tendril: remove duplicate NameVirtualHost *:80

https://gerrit.wikimedia.org/r/297727

Change 297723 merged by Dzahn:
gerrit: remove NameVirtualHost *:80 from Apache template

https://gerrit.wikimedia.org/r/297723

Change 297727 merged by Dzahn:
icinga,tendril: remove duplicate NameVirtualHost *:80

https://gerrit.wikimedia.org/r/297727

Change 304968 had a related patch set uploaded (by Dzahn):
tendril: remove NameVirtualHost: *:443

https://gerrit.wikimedia.org/r/304968

Change 304968 merged by Dzahn:
tendril: remove NameVirtualHost: *:443

https://gerrit.wikimedia.org/r/304968

Alright, an Apache graceful on neon is now quiet after those 2 merges.

And ytterbium and strontium are dead. So that should be resolved now.

Dzahn claimed this task.
Dzahn removed a project: Patch-For-Review.