adagios 1.6 broke after upgrading to apache2.6

42 views
Skip to first unread message

arthur sherman

unread,
May 30, 2017, 4:33:57 AM5/30/17
to adagios
i get 

Bad Request (400) on request to any adagios page.

nagios 4.1 w/ still works fine.

looks like an authorization issue but i didn't locate the files which need to be modified w/ the new apache auth params.
apache2.conf looks ok, using the new params.
increased apache logging level and got the following in error.log for each request for an adagios page:

[Tue May 30 03:50:25.380635 2017] [core:trace5] [pid 4405] protocol.c(647): [client 192.168.0.d:XXXXX] Request received from client: GET /adagios HTTP/1.1
[Tue May 30 03:50:25.381272 2017] [http:trace4] [pid 4405] http_request.c(301): [client 192.168.0.d:XXXXX] Headers received from client:
[Tue May 30 03:50:25.381360 2017] [http:trace4] [pid 4405] http_request.c(305): [client 192.168.0.d:XXXXX]   Host: 192.168.0.y
[Tue May 30 03:50:25.381402 2017] [http:trace4] [pid 4405] http_request.c(305): [client 192.168.0.d:XXXXX]   Connection: keep-alive
[Tue May 30 03:50:25.381439 2017] [http:trace4] [pid 4405] http_request.c(305): [client 192.168.0.d:XXXXX]   Cache-Control: max-age=0
[Tue May 30 03:50:25.381485 2017] [http:trace4] [pid 4405] http_request.c(305): [client 192.168.0.d:XXXXX]   Authorization: Basic xyzxyz...
[Tue May 30 03:50:25.381525 2017] [http:trace4] [pid 4405] http_request.c(305): [client 192.168.0.d:XXXXX]   Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,
*/*;q=0.8
[Tue May 30 03:50:25.381565 2017] [http:trace4] [pid 4405] http_request.c(305): [client 192.168.0.d:XXXXX]   Upgrade-Insecure-Requests: 1
[Tue May 30 03:50:25.381604 2017] [http:trace4] [pid 4405] http_request.c(305): [client 192.168.0.d:XXXXX]   User-Agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like
 Gecko) Ubuntu Chromium/45.0.2454.101 Chrome/45.0.2454.101 Safari/537.36
[Tue May 30 03:50:25.381645 2017] [http:trace4] [pid 4405] http_request.c(305): [client 192.168.0.d:XXXXX]   Accept-Encoding: gzip, deflate, sdch
[Tue May 30 03:50:25.381683 2017] [http:trace4] [pid 4405] http_request.c(305): [client 192.168.0.d:XXXXX]   Accept-Language: he,en-US;q=0.8,en;q=0.6
[Tue May 30 03:50:25.381720 2017] [http:trace4] [pid 4405] http_request.c(305): [client 192.168.0.d:XXXXX]   Cookie: pnp4nagios=xyzxyz...
[Tue May 30 03:50:25.381923 2017] [authz_core:debug] [pid 4405] mod_authz_core.c(809): [client 192.168.0.d:XXXXX] AH01626: authorization result of Require valid-user : denied (no aut
henticated user yet)
[Tue May 30 03:50:25.381972 2017] [authz_core:debug] [pid 4405] mod_authz_core.c(809): [client 192.168.0.d:XXXXX] AH01626: authorization result of <RequireAny>: denied (no authentica
ted user yet)
[Tue May 30 03:50:25.384889 2017] [authz_core:debug] [pid 4405] mod_authz_core.c(809): [client 192.168.0.d:XXXXX] AH01626: authorization result of Require valid-user : granted
[Tue May 30 03:50:25.384952 2017] [authz_core:debug] [pid 4405] mod_authz_core.c(809): [client 192.168.0.d:XXXXX] AH01626: authorization result of <RequireAny>: granted
[Tue May 30 03:50:25.385944 2017] [core:trace6] [pid 4401] core_filters.c(527): [remote 192.168.0.d:62065] core_output_filter: flushing because of FLUSH bucket
[Tue May 30 03:50:25.395540 2017] [core:trace6] [pid 4401] core_filters.c(527): [remote 192.168.0.d:62065] core_output_filter: flushing because of FLUSH bucket
[Tue May 30 03:50:25.396014 2017] [http:trace3] [pid 4405] http_filters.c(1087): [client 192.168.0.d:XXXXX] Response sent with status 400, headers:
[Tue May 30 03:50:25.396265 2017] [http:trace5] [pid 4405] http_filters.c(1094): [client 192.168.0.d:XXXXX]   Date: Tue, 30 May 2017 07:50:25 GMT
[Tue May 30 03:50:25.396298 2017] [core:trace6] [pid 4401] core_filters.c(527): [remote 192.168.0.d:62065] core_output_filter: flushing because of FLUSH bucket
[Tue May 30 03:50:25.396362 2017] [core:trace6] [pid 4401] core_filters.c(527): [remote 192.168.0.d:62065] core_output_filter: flushing because of FLUSH bucket
[Tue May 30 03:50:25.396515 2017] [http:trace5] [pid 4405] http_filters.c(1097): [client 192.168.0.d:XXXXX]   Server: Apache/2.4.10 (Raspbian)
[Tue May 30 03:50:25.396663 2017] [http:trace4] [pid 4405] http_filters.c(916): [client 192.168.0.d:XXXXX]   Vary: Accept-Language,Cookie
[Tue May 30 03:50:25.396826 2017] [http:trace4] [pid 4405] http_filters.c(916): [client 192.168.0.d:XXXXX]   Content-Language: en
[Tue May 30 03:50:25.396932 2017] [http:trace4] [pid 4405] http_filters.c(916): [client 192.168.0.d:XXXXX]   Connection: close
[Tue May 30 03:50:25.397042 2017] [http:trace4] [pid 4405] http_filters.c(916): [client 192.168.0.d:XXXXX]   Transfer-Encoding: chunked
[Tue May 30 03:50:25.397171 2017] [http:trace4] [pid 4405] http_filters.c(916): [client 192.168.0.d:XXXXX]   Content-Type: text/html
[Tue May 30 03:50:25.397326 2017] [core:trace6] [pid 4405] core_filters.c(527): [client 192.168.0.d:XXXXX] core_output_filter: flushing because of FLUSH bucket
[Tue May 30 03:50:25.397564 2017] [core:trace6] [pid 4405] core_filters.c(527): [client 192.168.0.d:XXXXX] core_output_filter: flushing because of FLUSH bucket
[Tue May 30 03:50:25.398069 2017] [core:trace6] [pid 4405] core_filters.c(527): [client 192.168.0.d:XXXXX] core_output_filter: flushing because of FLUSH bucket


tnx muchly,
ams
Reply all
Reply to author
Forward
0 new messages