Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pg-config string not registering #81

Open
based-network opened this issue Mar 12, 2021 · 4 comments
Open

pg-config string not registering #81

based-network opened this issue Mar 12, 2021 · 4 comments

Comments

@based-network
Copy link

sudo timescaledb-tune -- didn't work got the error could not execute pg_config --version: exec: "pg_config": executable file not found in $PATH
then tried
sudo timescaledb-tune --pg-config=/usr/pgsql-13/bin/pg_config

maybe the string isn't registering because it then throws an error
exit: could not find postgresql.conf at any of these locations:
/etc/postgresql/13/main/postgresql.conf
/var/lib/pgsql/13/data/postgresql.conf
/var/lib/postgres/data/postgresql.conf
/var/lib/postgresql/data/postgresql.conf

@uranuse2019
Copy link

i have the same error

@RobAtticus
Copy link
Member

@based-network The second error you're seeing is that tune cannot find postgresql.conf, not pg_config. So for that you'd need to use the --conf-path flag.

Is /usr/pgsql-13/ the standard install path on some OS/system? I tried to cover the major ones we usually see, but that doesn't look familiar.

@paeblits
Copy link

paeblits commented Dec 3, 2021

This happened to me today while using the documentation to install TimescaleDB on a CentOS VM and it helped me. Thanks. The docs need some updating, they are not clear that you need to install Postgres server before the TimeScaleDB package.

@svenklemm
Copy link
Member

Hmm installing timescaledb should have pulled in postgresql as dependency was that not the case?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants