Re: installing tutos2
Hello Jose!
On Sun, May 20, 2007 at 10:32:47AM -0400, Jose Luis Rivas Contreras wrote:
> csanyipal escribió:
> > createdb: could not connect to database template1: could not connect to
> > server: A csatlakozás megtagadva
> > Is the server running on host "localhost" and accepting
> > TCP/IP connections on port 5432?
> > Database tutos created !
> > createuser: could not connect to database template1: could not connect
> > to server: A csatlakozás megtagadva
> > Is the server running on host "localhost" and accepting
> > TCP/IP connections on port 5432?
> > User www-data created !
> > -------------------------<
> >
> > How can I solve this problem?
>
> Your postgres server's not accepting connections. You have to configure
> postgres first.
>
> Edit `/etc/postgresql/8.1/main/pg_hba.conf' and set up everything as you
> want/need and it's done, your problem is solved :).
My /etc/postgresql/7.4/main/pg_hba.conf on my Debian Etch has the
following lines enabled:
----------------------------------------->
local all postgres ident sameuser
local all all ident sameuser
host all all 127.0.0.1 255.255.255.255 md5
host all all ::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff md5
-----------------------------------------<
I can to do the following on xterm window:
$ sudo su - postgres
postgres@csanyi-pal:~$
There I can to connect to the template1 database out there, or can
create new users.
But when I try to install tutos2 then get the abowe wroted errors. Why?
Biang installing tutos2 I have to add password for postgres user; there
I add the root password of my Debian system out there. Is it right?
--
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm
Reply to: