GithubHelp home page GithubHelp logo

Comments (5)

lfittl avatar lfittl commented on July 24, 2024

@ghidinelli This typically happens when you've upgraded Postgres without updating the views for pg_stat_statements.

Could you try running ALTER EXTENSION pg_stat_statements UPDATE and then retry the collector test run?

from collector.

ghidinelli avatar ghidinelli commented on July 24, 2024

Thanks @lfittl - that did indeed fix it. I wasn't aware that was a thing. I ran it with -v and did still see some disk usage collection problems though:

2017/01/06 09:44:45 V Did not open state file: open /var/lib/pganalyze-collector/state: no such file or directory
2017/01/06 09:44:45 V [default] Detected PostgreSQL Version 90410 (PostgreSQL 9.4.10 on x86_64-unknown-linux-gnu, compiled by gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-17), 64-bit)
2017/01/06 09:44:46 V [default] Selfhosted/System: Could not run helper process: fork/exec /usr/bin/pganalyze-collector-helper: exec format error
2017/01/06 09:44:46 V [default] Selfhosted/System: Failed to get disk partition usage stats: input/output error
2017/01/06 09:44:46 V [default] Selfhosted/System: Failed to get disk partition usage stats: input/output error
2017/01/06 09:44:46 V [default] Successfully prepared S3 request - size of request body: 0.1134 MB
2017/01/06 09:44:46 I [default] Test submission successful (588 KB received) - proceed running the collector as a daemon

from collector.

lfittl avatar lfittl commented on July 24, 2024

@ghidinelli That is interesting, its odd you are getting both the exec format error as well as input/output error.

Two things:

  • Whats the system you are on, besides being CentOS 6? (32-bit vs 64-bit, virtual machine or not)
  • What happens if you run /usr/bin/pganalyze-collector-helper status

Thanks!

from collector.

ghidinelli avatar ghidinelli commented on July 24, 2024

Well, oddly, this happens:

# /usr/bin/pganalyze-collector-helper status
bash: /usr/bin/pganalyze-collector-helper: cannot execute binary file

This is my env:

[root@ewhserver2308 pukkasoft]# uname -a
Linux ewhserver2308.edgewebhosting.net 2.6.32-642.11.1.el6.x86_64 #1 SMP Fri Nov 18 19:25:05 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
[root@ewhserver2308 pukkasoft]# cat /etc/issue.net 
CentOS release 6.8 (Final)

from collector.

lfittl avatar lfittl commented on July 24, 2024

@ghidinelli This should be resolved with collector release 0.9.10.

from collector.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.