postgresql start w 8.0.1

Marcin Gajda m w cs.net.pl
Śro, 16 Lut 2005, 15:57:03 CET


On Sun, Feb 06, 2005 at 10:09:44PM +0100, Jakub Bogusz wrote:
> # /etc/rc.d/init.d/postgresql start
> could not change directory to "/root"
> Uruchamianie usługi PostgreSQL /var/lib/pgsql......................[  ZAJĘTY  ]could not change directory to "/root"
> could not change directory to "/root"
>                                                                    [ ZROBIONE ]
> could not change directory to "/root"
> 
> WTF?

Zbrakło - w su w rc-skrpcie

< output=`TMPDIR=/tmp su postgres -c "/usr/bin/pg_ctl -D $1 status"`

> output=`TMPDIR=/tmp su - postgres -c "/usr/bin/pg_ctl -D $1 status"`

Pozdrawiam,
-- 
Marcin Gajda ____ http://ustawki.net/
Linux registered user #300108 _______
Dieu me pardonnera - c'est son metier




Więcej informacji o liście dyskusyjnej pld-devel-pl