From: Tomas K. <to...@bi...> - 2001-06-19 18:20:49
|
> Oscar Buijten wrote: > > Hello again dear helpers, > > I have been trying several things. Changed this line; > postgres -c "/usr/bin/pg_ctl -D $PGDATA -p /usr/bin/postmaster > start >/dev/null 2>&1 > in several ways. Can't get it to work with this. > > Have tried to add : su postgres -c 'postmaster -i' to /etc/profile > as well but no succes either. > > When I use; su postgres -c 'postmaster -i' from the command line > postmaster switches on and I can use the SQL-ledger application. > You don't need to modify init.d script if you want to make postgresql listen to tcp all you need is valid configuration file. "tcpip_socket = true" and "port = 5432" options. and postgres listens to tcp port. I did it with postgres build from sources and with postgres on Debian. :) -- Tomas Kuliavas |