Re: /Var Partition Full - How can a change PGDATA?
От | Luiz Eduardo Cantanhede Neri |
---|---|
Тема | Re: /Var Partition Full - How can a change PGDATA? |
Дата | |
Msg-id | 252e1f290910090358u4bcf7fb7rfafa73ed8d4fa60a@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: /Var Partition Full - How can a change PGDATA? (Michael Wood <esiotrot@gmail.com>) |
Список | pgsql-novice |
Hi Flávio,
Try to check your bash.rc, pg data my be setting there. If it dont try to export the new value of pg data from there. When the system reboot try to echo $PGDATA and check if it has the correct value.
[]'s
Luiz Eduardo Neri
Try to check your bash.rc, pg data my be setting there. If it dont try to export the new value of pg data from there. When the system reboot try to echo $PGDATA and check if it has the correct value.
[]'s
Luiz Eduardo Neri
2009/10/9 Michael Wood <esiotrot@gmail.com>
> Hi Michael and ListDid you get the same error message or a different one?
>
> I did ln -sf /sistema/postgresql /var/lib/pgsql ; chown -h
> postgres.postgres pgsql
>
> as you told me, but without success.So it wasn't there previously?
> In my command list I copied to a right place (my command list omitted it )
> at the second try
>
> #cd /var/lib/pgsql
> #cp -pr data /sistema/postgresql
>
> --------------------------------------------------------
> New PGDATA
> /sistema/postgresql/data
>
> Old PGDATA
> /var/lib/pgsql (renamed to /var/lib/pgsql_old
> -----------------------------------------------------------------------------------------
> I created postgresql at /etc/sysconfig/pgsql/You could try running /etc/init.d/postgresql as follows to see more
> PGDATA=/sistema/postgresql/data
> PGPORT=3456
> -----------------------------------------------------------------------------------------
details about what it is doing:
sh -x /etc/init.d/postgresql
Maybe it will help to understand what is going wrong.
----
Sent via pgsql-novice mailing list (pgsql-novice@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-novice
В списке pgsql-novice по дате отправления: