"Alcino Dall'Igna Junior" <[EMAIL PROTECTED]> wrote:
(02/07/2003 13:37)
>I was having a problems with postgresql (I'm a newbie with it), I
>reinstalled it and see that the init.d module requires $PGDATA, $PGLOG
>and $PGOPTS, additionally, posgres has a directory in /usr/lib, and some
>libraries in /usr/lib too. I was expecting that this informations were
>supplied via /etc/env.d/..., so env-update + source /etc/profile put all
>the things right, but there is no xxpostgresql-7.3 there.
>
>So, how this information is given to postgres? AFAIK this should be done
>before the execution of
>
>...>> /etc/init.d/postgres start
>
>where the environment variables are used, during the boot process (I
>made a "rc-update add posgresql default"), and so this could not be in a
>config file, or it goes to the config files if receives
>
>pg_ctl -D -s -l -o
>
>(the options without values?)
>
>And about the libraries? It knows (in the code) about the libraries in
>/usr/lib/postgresql? Or this should be in ld.so.conf?
>
>I apologize if I'm just being stupid...
>
>TIA,
>
>Alcino
>--
>Alcino Dall'Igna Junior <[EMAIL PROTECTED]>
>CPG/LNCC
At the very end of the emerge process the following instructions
are given:
>>> Execute the following command
>>> ebuild /var/db/pkg/dev-db/postgresql/postgresql-7.3.1.ebuild.ebuild config
>>> to setup the initial database environment.
>>>
>>> Make sure the postgres user in /etc/passwd has an account setup with /bin/bash
as the shell, or /bin/true
This will set up everything.
FVA
--
[EMAIL PROTECTED] mailing list