Closed Bug 819520 Opened 13 years ago Closed 13 years ago

support5.webapp.phx1 Apache errors

Categories

(Infrastructure & Operations Graveyard :: WebOps: Other, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ericz, Assigned: cturra)

Details

(Whiteboard: [triaged 20121207][service interrupt])

support5.webapp.phx1 was alerting because Apache was timing out. There are a number of errors in error_log like: [Fri Dec 07 12:48:58 2012] [error] [client 10.8.81.217] Script timed out before returning headers: kitsune.wsgi, referer: http://support.mozilla.org/es/home Not sure if that's related. I tried restarting Apache as that often clears up this kind of thing but the configuration is borked and it won't start: $ sudo service httpd restart Stopping httpd: [ OK ] Starting httpd: Syntax error on line 16 of /etc/httpd/mozilla/domains/support-origin.cdn.mozilla.net.conf: Invalid command 'php_admin_flag', perhaps misspelled or defined by a module not included in the server configuration [FAILED]
the apache config errors are the results of the work i had done on bug 805898. looks like i had missed these configurations :( i have committed the change to puppet and confirmed it has now resolved the issue. ... --- /etc/httpd/mozilla/domains/support-origin.cdn.mozilla.net.conf 2012-10-26 12:10:16.795428966 -0700 +++ /tmp/puppet-file20121207-9849-1dqhjdd-0 2012-12-07 13:22:36.829600521 -0800 @@ -13,10 +13,9 @@ </Directory> <Directory "/data/www/support.mozilla.org/kitsune/media/uploads"> - php_admin_flag engine off SetHandler None AllowOverride None - AddType text/plain .html .htm .shtml .php .php3 .php4 .php5 .phtml .phtm .pl .py .cgi + AddType text/plain .html .htm .shtml .pl .py .cgi </Directory> </VirtualHost> info: FileBucket adding {md5}170f9d78949460d1e4be41566250babb info: /File[/etc/httpd/mozilla/domains/support-origin.cdn.mozilla.net.conf]: Filebucketed /etc/httpd/mozilla/domains/support-origin.cdn.mozilla.net.conf to main with sum 170f9d78949460d1e4be41566250babb notice: /File[/etc/httpd/mozilla/domains/support-origin.cdn.mozilla.net.conf]/content: content changed '{md5}170f9d78949460d1e4be41566250babb' to '{md5}67df3edbe8ab68cb1687946fb6df7bfe' info: etc-httpd: Scheduling refresh of Service[httpd] notice: /Stage[main]/Webapp::Apache/Service[httpd]/ensure: ensure changed 'stopped' to 'running' notice: /Stage[main]/Webapp::Apache/Service[httpd]: Triggered 'refresh' from 1 events notice: Finished catalog run in 46.28 seconds % curl -I http://support5.webapp.phx1.mozilla.com -H "Host: support.mozilla.org" HTTP/1.1 302 FOUND Date: Fri, 07 Dec 2012 21:23:53 GMT Server: Apache Vary: Accept-Language,X-Mobile,User-Agent x-frame-options: DENY X-Backend-Server: support5.webapp.phx1.mozilla.com Location: http://support.mozilla.org/en-US/ Content-Type: text/html; charset=utf-8
Assignee: server-ops-webops → cturra
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: [triaged 20121207][service interrupt]
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.