[isf-wifidog] Trouble with Wifi Install

Benoit Gregoire bock at step.polymtl.ca
Ven 25 Aou 10:11:58 EDT 2006


On Friday 25 August 2006 03:16, Rajendra Jagad wrote:
> When I try to start the postgres service from
> system>admin>serversetting>service It never starts
> when I open xterm and type >postgres on it says it cannot find the
> configuraiton file If I start manually using option -D
> /usr/local/pgsql/data it drops me into the backend if I specife DB name and
> user I am in the database I can create tables etc but install.php is still
> unable to connect and I am still unable to start the service postgres
> I try editing .bashrc and $PATH=/usr/local/pgsql/data but still no luck
> So I can manually start the data base but not automatic.
>
> ANy ideas..

You have two different problems.  First you did not install your 
distributions, hence it doesn't start properly and with the right permissions 
from your distribution's init subsystem.  You should only install and run 
postgres from source if you really know what you are doing.

Once you fix that, you need to add permission in pg_hba.conf to use md5 
password based authentication, at least for the wifidog user on localhost.
  
> Bye the way the user who logs into the Linux Box must have ownership of
> pgsql dir and all it child otherwise it compains about the permission.

Off course, but the user who logs in the linux box should normally never be 
the one who runs postgres.  


Plus d'informations sur la liste de diffusion WiFiDog