Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

[fixed] httpd and nginx graphs broken

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
websystems
Posts: 31
Joined: Wed Oct 18, 2017 6:34 am

[fixed] httpd and nginx graphs broken
  • Quote

Post by websystems » Wed Oct 18, 2017 6:54 am

Hello

I have just noticed that one of our Vesta VPS (OVH/CentOS7/CloudFlare) stopped showing httpd and nginx graphs (another graphs works ok) yesterday.

I was looking for solution, but no luck. Any hints, how can I debug/fix that?

Image

Thank you in advance,
Krzysztof
Last edited by websystems on Wed Oct 18, 2017 7:35 am, edited 1 time in total.
Top

websystems
Posts: 31
Joined: Wed Oct 18, 2017 6:34 am

Re: httpd and nginx graphs broken
  • Quote

Post by websystems » Wed Oct 18, 2017 7:30 am

Ok, one hour later after some debugging...


Problem: CloudFlare pointed domain to different IP, so /usr/local/vesta/bin/v-update-sys-rrd-nginx could not obtain data from localhost at port 8081 as it was blocked

Fix: /etc/hosts - remove # from line:
127.0.0.1 localhost
Top

websystems
Posts: 31
Joined: Wed Oct 18, 2017 6:34 am

Re: [fixed] httpd and nginx graphs broken
  • Quote

Post by websystems » Tue Oct 24, 2017 7:18 pm

2 days later the problem is back. But now only httpd graphs are broken. Any advice where shall I start the investigation now?
Top

websystems
Posts: 31
Joined: Wed Oct 18, 2017 6:34 am

Re: [fixed] httpd and nginx graphs broken
  • Quote

Post by websystems » Wed Oct 25, 2017 11:26 am

Ok, problem found:


/etc/httpd/conf.d/status.conf

Listen 127.0.0.1:8081
<Location /server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from *allowed IPs goes here* 127.0.0.1 <-- you can not remove localhost IP from this line, adding it back solved the problem
</Location>


service httpd restart and voila :)
Top


Post Reply
  • Print view

4 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password