gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] ok... this (postgres) is getting very annoying!


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] ok... this (postgres) is getting very annoying!
Date: Fri, 5 Sep 2008 09:28:33 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

On Thu, Sep 04, 2008 at 11:15:59AM -0700, Jim Busser wrote:

> To the default files in the directory
>    /etc/postgresql/8.3/main
>
> I made some backups and, in doing so, noticed that postgres did not have 
> write-permission to the files in this directory... are the permissions of 
> these files meant to stay the following way?
Yes.

> The annoying part came after I tried to reload the alterations that I  
> had made...
>
> address@hidden:~$ pg_ctl reload
> bash: pg_ctl: command not found
> address@hidden:~$ /usr/lib/postgresql/8.3/bin/pg_ctl reload
> pg_ctl: no database directory specified and environment variable PGDATA 
> unset
> Try "pg_ctl --help" for more information.
> address@hidden:~$

Any particular reason why you don't use the recommended
"/etc/init.d/postgresql-8.3 restart" ?

> Huh? Despite that I did not touch the default postgres data cluster  
> initialization, am I supposed to have to specify
>    -D  /var/lib/postgresql/8.3/main
No. The script does it for you on behalf of the standard
Debian installation.

> and/or should I be having to set the PGDATA environment variable
No.

> and/or should I be adding to my $PATH
>       /usr/lib/postgresql/8.3/bin/
No.

See above.

Karsten
-- 
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346




reply via email to

[Prev in Thread] Current Thread [Next in Thread]