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

_______________________________________________
pld-devel-pl mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-devel-pl

Odpowiedź listem elektroniczym