Comments (5)
@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.
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.
@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.
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.
@ghidinelli This should be resolved with collector release 0.9.10.
from collector.
Related Issues (20)
- Could not collect activity for server HOT 8
- Unable to DB_USE_IAM_AUTH with aws RDS instance HOT 4
- Error calling pg_stat_statements_reset() as requested intermittently HOT 2
- Regular collector oom-kill at midnight UTC on Sundays HOT 1
- Publish Docker image to ECR public registry HOT 1
- Error to send snapshots HOT 2
- Upgrade go.uuid module HOT 3
- Missing image for v0.50.1 HOT 2
- Additional security settings for pganalyze collector HOT 3
- Add rudimentary test suite for Helm chart
- Debian build uses EOL version HOT 1
- Error: Failed to reload collector HOT 1
- OTEL connector - can it support Datadog APM traces for PostgreSQL HOT 2
- OTEL connector - can it support Datadog?
- Feature request: Add DB_PASSWORD_FILE or similar HOT 1
- Regarding SSO login HOT 1
- Configuring Log Insights for pganalyze runnning on kubernetes pod HOT 1
- Can't ctrl-c pganalyze-collector HOT 1
- panic: runtime error: index out of range [0] with length 0 HOT 5
- Inefficient usage of AWS DescribeDBInstances and DescribeDBClusters API HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from collector.