pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedtesting pgpool
4+ messages / 2 participants
[nested] [flat]
* testing pgpool
@ 2005-03-16 16:50 ESPARZA JUAREZ EDUARDO <eduardo.esparza@inegi.gob.mx>
2005-03-21 06:24 ` Re: testing pgpool Thomas F.O'Connell <tfo@sitening.com>
0 siblings, 1 reply; 4+ messages in thread
From: ESPARZA JUAREZ EDUARDO @ 2005-03-16 16:50 UTC (permalink / raw)
To: pgsql-admin
Hi list!!
I tested pgpool with pgpool.conf as follows:
listen_addresses = 'localhost'
port = 9999
socket_dir = '/tmp'
backend_host_name = ''
backend_port = 5432
backend_socket_dir = '/tmp'
secondary_backend_host_name = ''
secondary_backend_port = 0
num_init_children = 15
max_pool = 10
child_life_time = 300
connection_life_time = 0
logdir = '/tmp'
replication_mode = false
replication_strict = true
replication_timeout = 5000
load_balance_mode = false
weight_master = 0.5
weight_secondary = 0.5
replication_stop_on_mismatch = false
reset_query_list = 'ABORT; RESET ALL; SET SESSION AUTHORIZATION DEFAULT'
print_timestamp = true
master_slave_mode = false
connection_cache = true
health_check_timeout = 20
health_check_period = 0
health_check_user = 'nobody'
but when I try get internal status of pgpool (psql -p 9999 -c 'show pool_status' template1) I get:
psql: could not connect to server: ¸W@$g@¹#@xöÿ¿Q
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.9999"?
Thank's
Eej-
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: testing pgpool
2005-03-16 16:50 testing pgpool ESPARZA JUAREZ EDUARDO <eduardo.esparza@inegi.gob.mx>
@ 2005-03-21 06:24 ` Thomas F.O'Connell <tfo@sitening.com>
0 siblings, 0 replies; 4+ messages in thread
From: Thomas F.O'Connell @ 2005-03-21 06:24 UTC (permalink / raw)
To: ESPARZA JUAREZ EDUARDO <eduardo.esparza@inegi.gob.mx>; +Cc: pgsql-admin
Is postgres actually running? And is your pg_hba.conf file configured
to allow local UNIX socket connections?
-tfo
--
Thomas F. O'Connell
Co-Founder, Information Architect
Sitening, LLC
http://www.sitening.com/
110 30th Avenue North, Suite 6
Nashville, TN 37203-6320
615-260-0005
On Mar 16, 2005, at 10:50 AM, ESPARZA JUAREZ EDUARDO wrote:
> Hi list!!
>
>
>
> I tested pgpool with pgpool.conf as follows:
>
>
>
> listen_addresses = 'localhost'
>
> port = 9999
>
> socket_dir = '/tmp'
>
> backend_host_name = ''
>
> backend_port = 5432
>
> backend_socket_dir = '/tmp'
>
> secondary_backend_host_name = ''
>
> secondary_backend_port = 0
>
> num_init_children = 15
>
> max_pool = 10
>
> child_life_time = 300
>
> connection_life_time = 0
>
> logdir = '/tmp'
>
> replication_mode = false
>
> replication_strict = true
>
> replication_timeout = 5000
>
> load_balance_mode = false
>
> weight_master = 0.5
>
> weight_secondary = 0.5
>
> replication_stop_on_mismatch = false
>
> reset_query_list = 'ABORT; RESET ALL; SET SESSION AUTHORIZATION
> DEFAULT'
>
> print_timestamp = true
>
> master_slave_mode = false
>
> connection_cache = true
>
> health_check_timeout = 20
>
> health_check_period = 0
>
> health_check_user = 'nobody'
>
>
> but when I try get internal status of pgpool (psql -p 9999 -c 'show
> pool_status' template1) I get:
>
> psql: could not connect to server: ¸W@$g@¹#@xöÿ¿Q
> Is the server running locally and accepting
> connections on Unix domain socket "/tmp/.s.PGSQL.9999"?
>
> Thank’s
> Eej-
^ permalink raw reply [nested|flat] 4+ messages in thread
* testing pgpool
@ 2005-03-17 15:44 ESPARZA JUAREZ EDUARDO <eduardo.esparza@inegi.gob.mx>
0 siblings, 0 replies; 4+ messages in thread
From: ESPARZA JUAREZ EDUARDO @ 2005-03-17 15:44 UTC (permalink / raw)
To: pgsql-admin
Hi list!!
I tested pgpool with pgpool.conf as follows:
listen_addresses = 'localhost'
port = 9999
socket_dir = '/tmp'
backend_host_name = ''
backend_port = 5432
backend_socket_dir = '/tmp'
secondary_backend_host_name = ''
secondary_backend_port = 0
num_init_children = 15
max_pool = 10
child_life_time = 300
connection_life_time = 0
logdir = '/tmp'
replication_mode = false
replication_strict = true
replication_timeout = 5000
load_balance_mode = false
weight_master = 0.5
weight_secondary = 0.5
replication_stop_on_mismatch = false
reset_query_list = 'ABORT; RESET ALL; SET SESSION AUTHORIZATION DEFAULT'
print_timestamp = true
master_slave_mode = false
connection_cache = true
health_check_timeout = 20
health_check_period = 0
health_check_user = 'nobody'
but when I try get internal status of pgpool (psql -p 9999 -c 'show pool_status' template1) I get:
psql: could not connect to server: ¸W@$g@¹#@xöÿ¿Q
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.9999"?
Thank's
Eej-
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: testing pgpool
@ 2005-03-22 19:17 ESPARZA JUAREZ EDUARDO <eduardo.esparza@inegi.gob.mx>
0 siblings, 0 replies; 4+ messages in thread
From: ESPARZA JUAREZ EDUARDO @ 2005-03-22 19:17 UTC (permalink / raw)
To: Thomas F. O'Connell <tfo@sitening.com>; +Cc: pgsql-admin
Hi Thomas:
Yes, Postgres is running actually and my pg_hba is configured to accept local UNIX socket connections.
I 've postgres 7.4.5
Ubuntu Warty (4.10)
Eej-
-----Mensaje original-----
De: Thomas F. O'Connell [mailto:tfo@sitening.com]
Enviado el: lunes, 21 de marzo de 2005 0:25
Para: ESPARZA JUAREZ EDUARDO
CC: pgsql-admin@postgresql.org
Asunto: Re: [ADMIN] testing pgpool
Is postgres actually running? And is your pg_hba.conf file configured
to allow local UNIX socket connections?
-tfo
--
Thomas F. O'Connell
Co-Founder, Information Architect
Sitening, LLC
http://www.sitening.com/
110 30th Avenue North, Suite 6
Nashville, TN 37203-6320
615-260-0005
On Mar 16, 2005, at 10:50 AM, ESPARZA JUAREZ EDUARDO wrote:
> Hi list!!
>
>
>
> I tested pgpool with pgpool.conf as follows:
>
>
>
> listen_addresses = 'localhost'
>
> port = 9999
>
> socket_dir = '/tmp'
>
> backend_host_name = ''
>
> backend_port = 5432
>
> backend_socket_dir = '/tmp'
>
> secondary_backend_host_name = ''
>
> secondary_backend_port = 0
>
> num_init_children = 15
>
> max_pool = 10
>
> child_life_time = 300
>
> connection_life_time = 0
>
> logdir = '/tmp'
>
> replication_mode = false
>
> replication_strict = true
>
> replication_timeout = 5000
>
> load_balance_mode = false
>
> weight_master = 0.5
>
> weight_secondary = 0.5
>
> replication_stop_on_mismatch = false
>
> reset_query_list = 'ABORT; RESET ALL; SET SESSION AUTHORIZATION
> DEFAULT'
>
> print_timestamp = true
>
> master_slave_mode = false
>
> connection_cache = true
>
> health_check_timeout = 20
>
> health_check_period = 0
>
> health_check_user = 'nobody'
>
>
> but when I try get internal status of pgpool (psql -p 9999 -c 'show
> pool_status' template1) I get:
>
> psql: could not connect to server: ¸W@$g@¹#@xöÿ¿Q
> Is the server running locally and accepting
> connections on Unix domain socket "/tmp/.s.PGSQL.9999"?
>
> Thank's
> Eej-
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2005-03-22 19:17 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-03-16 16:50 testing pgpool ESPARZA JUAREZ EDUARDO <eduardo.esparza@inegi.gob.mx>
2005-03-21 06:24 ` Thomas F.O'Connell <tfo@sitening.com>
2005-03-17 15:44 testing pgpool ESPARZA JUAREZ EDUARDO <eduardo.esparza@inegi.gob.mx>
2005-03-22 19:17 Re: testing pgpool ESPARZA JUAREZ EDUARDO <eduardo.esparza@inegi.gob.mx>
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