LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Postgresql.conf (https://www.linuxquestions.org/questions/slackware-14/postgresql-conf-488897/)

coolrock 10-02-2006 09:58 PM

Postgresql.conf
 
tech@nimrod3:~$ /usr/local/pgsql/bin/postgres start
/usr/local/pgsql/bin/postgres does not know where to find the server configuration file.
You must specify the --config-file or -D invocation option or set the PGDATA environment variable.

Let's say that the configuration file, postgresql.conf is sitting at /usr/local/pgsql/data . How do I 'tell' it to postgres? :confused:

Thanks in advance.

Jason

Wim Sturkenboom 10-03-2006 12:58 AM

Quote:

Originally Posted by coolrock
tech@nimrod3:~$ /usr/local/pgsql/bin/postgres start
/usr/local/pgsql/bin/postgres does not know where to find the server configuration file.
You must specify the --config-file or -D invocation option or set the PGDATA environment variable.

Let's say that the configuration file, postgresql.conf is sitting at /usr/local/pgsql/data . How do I 'tell' it to postgres? :confused:

Thanks in advance.

Jason

How about reading the message that you get when you start it? It says something about --config-file.
Further I'm quite sure that the man pages will explain something as well.


All times are GMT -5. The time now is 04:01 AM.