Re: [OT] Re: installing tutos2
On Sat, May 26, 2007 at 10:40:57AM +0200, csanyipal wrote:
> On Fri, May 25, 2007 at 05:26:51PM -0400, Roberto C. Sánchez wrote:
> > On Fri, May 25, 2007 at 08:24:58PM +0200, csanyipal wrote:
> > >
> > > Yes,now and after I edited the pg_hba.conf, I restarted postgresql too.
> > >
> > > But I get the same error message:
> > >
> > > Opening the database POSTGRES: tutos@localhost:5432 as www-data
> > >
> > > Detail
> > >
> > > DBerror: POSTGRES: tutos@localhost:5432 as www-data no connection
> > >
> > > When I reconfigured tutos2 I give to www-data user an empty password
> > > (hit enter).
> > >
> > > I added now my username to www-data group.
> > >
> > You did this in postgres, right? Posgres does not understand system
> > users/groups. They must be in postgres' users table.
>
> No, I didn't this in postgres, but with sudo vigr.
>
> I still can't to use tutos2 on my Debian Etch system.
>
> Something I don't setup right in postgresql database, I think, but what?
I red now the postgresql-doc-8.1/html/runtime-config-connection.html
and edit the postgresql.conf to accept tcp connections from localhost:
------------------->
listen_addresses = 'localhost,csanyi-pal.info'
port = 5433
max_connections = 100
superuser_reserved_connections = 2
unix_socket_directory = '/var/run/postgresql'
unix_socket_group = ''
unix_socket_permissions = 0777
bonjour_name = ''
authentication_timeout = 60
ssl = off
password_encryption = on
db_user_namespace = off
tcp_keepalives_idle = 0
tcp_keepalives_interval = 0
tcp_keepalives_count = 0
-------------------<
Now, when I do dpkg-reconfigure tutos2 I get not the error message
about that that can't to connect to database, but this message:
------------------->
# dpkg-reconfigure tutos2
Document `TUTOS' is not installed, cannot remove.
Please install the chosen TUTOS SGBD: , then try
dpkg-reconfigure tutos
-------------------<
When I try to run http://localhost/tutos/php/admin/scheme.php
in the browser I still get the error message:
------------------->
TUTOS Fatal Error
Opening the database POSTGRES: tutos@localhost:5432 as www-data
Detail
DBerror: POSTGRES: tutos@localhost:5432 as www-data no connection
-------------------<
Maybe must I to setup apache2 for this to work?
--
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm
Reply to: