pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
PostgreSQL 7.3 and SuSE 8.1 problem
4+ messages / 3 participants
[nested] [flat]

* PostgreSQL 7.3 and SuSE 8.1 problem
@ 2003-01-22 15:04 Andrei Verovski <andreil1@mail.starlett.lv>
  0 siblings, 0 replies; 4+ messages in thread

From: Andrei Verovski (aka MacGuru) @ 2003-01-22 15:04 UTC (permalink / raw)
  To: pgsql-admin

Hi,

I have problem with SuSE Linux 8.1 and PostgreSQL 7.3 (all SuSE built 
packages).

PostgreSQL server (which is launched via "rcpostgesql start") refuses 
connections from localhost (to any database), whenever I am trying to 
connect with phpPgAdmin or pgaccess with message "blah blah blah... 
refused connection" as user "postgres" and no password (or password of 
UNIX user "postgres").

However, I can connect with psql command-line utility as user 
"postgres", AND with Webmin (without any additional logon parameters 
except root/password at the beginning). This is quite strange.

I have checked PostgreSQL config files (hba.conf), and enabled all 
connections from localhost and local network (192.168.*.*) with "trust" 
parameter.

Also, I have changed password for UNIX user "postgres" as "abc", but 
anyway, it did not worked from PHP and pgaccess.

PS. Yes, I have done "initdb", and PostgreSQL server is running.

Thanks in advance for any suggestion.


*********************************************
*   Best Regards   ---   Andrei Verovski
*
*   Personal Home Page
*   http://snow.prohosting.com/guru4mac
*   Mac, Linux, DTP, Development, IT WEB Site
*********************************************




^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* PostgreSQL 7.3 and SuSE 8.1 problem
@ 2003-01-22 15:35 Andrei Verovski <andreil1@mail.starlett.lv>
  2003-01-22 16:04 ` Re: PostgreSQL 7.3 and SuSE 8.1 problem Lamar Owen <lamar.owen@wgcr.org>
  2003-01-22 16:07 ` Re: PostgreSQL 7.3 and SuSE 8.1 problem Raúl Gutiérrez Sánchez <raul@laeff.esa.es>
  0 siblings, 2 replies; 4+ messages in thread

From: Andrei Verovski (aka MacGuru) @ 2003-01-22 15:35 UTC (permalink / raw)
  To: pgsql-admin

Hi,

I have problem with SuSE Linux 8.1 and PostgreSQL 7.3 (all SuSE built 
packages).

PostgreSQL server (which is launched via "rcpostgesql start") refuses 
connections from localhost (to any database), whenever I am trying to 
connect with phpPgAdmin or pgaccess with message "blah blah blah... 
refused connection" as user "postgres" and no password (or password of 
UNIX user "postgres").

However, I can connect with psql command-line utility as user 
"postgres", AND with Webmin (without any additional logon parameters 
except root/password at the beginning). This is quite strange.

I have checked PostgreSQL config files (hba.conf), and enabled all 
connections from localhost and local network (192.168.*.*) with "trust" 
parameter.

Also, I have changed password for UNIX user "postgres" as "abc", but 
anyway, it did not worked from PHP and pgaccess.

PS. Yes, I have done "initdb", and PostgreSQL server is running.

Thanks in advance for any suggestion.


*********************************************
*   Best Regards   ---   Andrei Verovski
*
*   Personal Home Page
*   http://snow.prohosting.com/guru4mac
*   Mac, Linux, DTP, Development, IT WEB Site
*********************************************




^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: PostgreSQL 7.3 and SuSE 8.1 problem
  2003-01-22 15:35 PostgreSQL 7.3 and SuSE 8.1 problem Andrei Verovski <andreil1@mail.starlett.lv>
@ 2003-01-22 16:04 ` Lamar Owen <lamar.owen@wgcr.org>
  1 sibling, 0 replies; 4+ messages in thread

From: Lamar Owen @ 2003-01-22 16:04 UTC (permalink / raw)
  To: Andrei Verovski (aka MacGuru) <andreil1@mail.starlett.lv>; pgsql-admin

On Wednesday 22 January 2003 10:35, Andrei Verovski (aka MacGuru) wrote:
> PostgreSQL server (which is launched via "rcpostgesql start") refuses
> connections from localhost (to any database), whenever I am trying to
> connect with phpPgAdmin or pgaccess with message "blah blah blah...
> refused connection" as user "postgres" and no password (or password of
> UNIX user "postgres").

> However, I can connect with psql command-line utility as user
> "postgres", AND with Webmin (without any additional logon parameters
> except root/password at the beginning). This is quite strange.

Edit the 'tcpip_socket' line in postgresql.conf, which is in the same 
directory as pg_hba.conf.  You want to enable this setting, which is disabled 
by default.
-- 
Lamar Owen
WGCR Internet Radio
1 Peter 4:11




^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: PostgreSQL 7.3 and SuSE 8.1 problem
  2003-01-22 15:35 PostgreSQL 7.3 and SuSE 8.1 problem Andrei Verovski <andreil1@mail.starlett.lv>
@ 2003-01-22 16:07 ` Raúl Gutiérrez Sánchez <raul@laeff.esa.es>
  1 sibling, 0 replies; 4+ messages in thread

From: Raúl Gutiérrez Sánchez @ 2003-01-22 16:07 UTC (permalink / raw)
  To: Andrei Verovski (aka MacGuru) <andreil1@mail.starlett.lv>; +Cc: pgsql-admin

Make sure you have started the server allowing TCP/IP connections (-i
option form postmaster command). Otherwise, only local Unix domain
socket connections are accepted.

Regards,
Raul Gutierrez



"Andrei Verovski (aka MacGuru)" wrote:
> 
> Hi,
> 
> I have problem with SuSE Linux 8.1 and PostgreSQL 7.3 (all SuSE built
> packages).
> 
> PostgreSQL server (which is launched via "rcpostgesql start") refuses
> connections from localhost (to any database), whenever I am trying to
> connect with phpPgAdmin or pgaccess with message "blah blah blah...
> refused connection" as user "postgres" and no password (or password of
> UNIX user "postgres").
> 
> However, I can connect with psql command-line utility as user
> "postgres", AND with Webmin (without any additional logon parameters
> except root/password at the beginning). This is quite strange.
> 
> I have checked PostgreSQL config files (hba.conf), and enabled all
> connections from localhost and local network (192.168.*.*) with "trust"
> parameter.
> 
> Also, I have changed password for UNIX user "postgres" as "abc", but
> anyway, it did not worked from PHP and pgaccess.
> 
> PS. Yes, I have done "initdb", and PostgreSQL server is running.
> 
> Thanks in advance for any suggestion.
> 
> *********************************************
> *   Best Regards   ---   Andrei Verovski
> *
> *   Personal Home Page
> *   http://snow.prohosting.com/guru4mac
> *   Mac, Linux, DTP, Development, IT WEB Site
> *********************************************
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly



^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2003-01-22 16:07 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-01-22 15:04 PostgreSQL 7.3 and SuSE 8.1 problem Andrei Verovski <andreil1@mail.starlett.lv>
2003-01-22 15:35 PostgreSQL 7.3 and SuSE 8.1 problem Andrei Verovski <andreil1@mail.starlett.lv>
2003-01-22 16:04 ` Lamar Owen <lamar.owen@wgcr.org>
2003-01-22 16:07 ` Raúl Gutiérrez Sánchez <raul@laeff.esa.es>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox