Re: Debian Jessie Postgres 9.4 connection problem

2016-11-30 Thread Johann Spies
Try pg_lsclusters to see which postgresql servers are running and listening
on which ports.

Regards
Johann



-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


Debian Jessie Postgres 9.4 connection problem

2016-11-30 Thread Ramon Hofer
Hi all

I am trying to setup a postgresql 9.4 database on Debian Jessie. It
worked well on testing with postgresql 9.6 from the repos and then I
already could connect with
$ sudo -u postgres psql

I would like to use Jessie but when I try the same on stable with
postgresql 9.4, this is what I get when I try to connect to the
database:

$ sudo -u postgres psql
psql: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket
"/var/run/postgresql/.s.PGSQL.5432"?

The service is started:

$ sudo service postgresql status
● postgresql.service - PostgreSQL RDBMS
   Loaded: loaded (/lib/systemd/system/postgresql.service; enabled)
   Active: active (exited) since Thu 2016-12-01 00:03:34 CET; 7min ago
 Main PID: 24644 (code=exited, status=0/SUCCESS)

Dec 01 00:03:34 sru-ac-data systemd[1]: Started PostgreSQL RDBMS.
Dec 01 00:03:34 sru-ac-data systemd[1]: Started PostgreSQL RDBMS.


Do you know of any problems?
And what I could do to make it work?


Thanks for your answer!


Best regards,
Ramon



Re: install postgres 8.4

2016-11-18 Thread Greg Wooledge
On Fri, Nov 18, 2016 at 01:42:24PM +0100, Robert Bude wrote:
> but how i can install squeeze and are the packages in aktuell squeeze 
> mirrors ? and were to get squeeze mirror ? ;)

https://wiki.debian.org/DebianSqueeze

Squeeze is archived (no longer supported, even under "LTS"), so follow
the instructions on that wiki page to get packages from the squeeze
archive.



install postgres 8.4

2016-11-18 Thread Robert Bude
Hi, we want to install a postgres 8.4 server but can not find via 
apt-get in wheezy or jessie the packages.

How i can install a postgres 8.4 server with minimal effort ?

i do not want a detailed instruction only the short track ;)

eg.: install squeeze, install lts repo , and then you have postgres 8.4 
as package ?


but i dont find any package like postgresql-8.4 or so

on a running debian squeeze system we have

ii  postgresql-8.4  8.4.13-0squeeze1 
object-relational SQL database, version 8.4 server
ii  postgresql-client   8.4.13-0squeeze1 
front-end programs for PostgreSQL (supported version)
ii  postgresql-client-8.4   8.4.13-0squeeze1 
front-end programs for PostgreSQL 8.4
ii  postgresql-client-common113  
manager for multiple PostgreSQL client versions
ii  postgresql-common   113  
PostgreSQL database-cluster manager
ii  postgresql-contrib  8.4.13-0squeeze1 
additional facilities for PostgreSQL (supported version)
ii  postgresql-contrib-8.4  8.4.17-0squeeze1 
additional facilities for PostgreSQL


but how i can install squeeze and are the packages in aktuell squeeze 
mirrors ? and were to get squeeze mirror ? ;)




Re: Configurar inicio y parada de postgres 8.3

2015-05-22 Thread Ismael L. Donis Garcia
- Original Message - 
From: Calabaza calali...@gmail.com

To: debian-user-spanish debian-user-spanish@lists.debian.org
Sent: Thursday, May 21, 2015 6:24 PM
Subject: Re: Configurar inicio y parada de postgres 8.3




El día 21 de mayo de 2015, 15:05, Ismael L. Donis Garcia
sli...@citricos.co.cu escribió:
- Original Message - From: Camaleón noela...@gmail.com
To: debian-user-spanish@lists.debian.org
Sent: Thursday, May 21, 2015 9:44 AM
Subject: Re: Configurar inicio y parada de postgres 8.3



El Wed, 20 May 2015 14:39:21 -0400, Ismael L. Donis Garcia escribió:


Hace un tiempo estoy tratando de instalar postgres 8.3, lo he logrado
pero no me inicia cuando inicio sección y no logro hecharlo a andar de
forma automática.



¿Al final instalaste el paquete preparado para Debian? Si no lo hiciste
tendrás que hacer malabares para iniciarlo.



Si instalé archivos compilados para debian. Más especificamente la versión
postgresql-8.3_8.3.23-1.pgdg+1_i386.deb




Si ponga la siguiente instrucción en consola si inicia:

su - postgres -c /var/lib/postgresql/8.3/bin/pg_ctl start -l
/mnt/datos/postgres/8.3/data/serverlog -D /mnt/datos/postgres/8.3/data

Pero quiero que inicie el servicio sin haber iniciado la sección del
usuario y no he logrado hacerlo.

He modificado el siguiente script pero no logro hacerlo andar.


(...)

Busca un script de inicio para Debian. O revisa el manual para saber 
cómo

integrarlo (apartado systemd integration):

https://wiki.postgresql.org/wiki/Apt/FAQ



Ahí no veo nada para la versión 8.3


Saludos,

--
Camaleón


El problema me lo da al intentar cambiar el lugar del almacén de datos de
/var/lib/postgresql/8.3/main para otro origen.

Lo necesito porque necesito crear un volumen solo para los datos el cual
monté en /mnt/datos


Cuando configuro el archivo postgresql.conf para que la carpeta de datos 
sea

/mnt/datos/postgres/8.3/main deja de funcionar.


¿que errores específicos lanza?


Traté de engañar al postgres borrando la carpeta main de
/var/lib/postgresql/8.3/ y crear ahí un enlace con nombre main a la 
carpeta
/mnt/datos/postgres/8.3/main y ni aun así el postgres me funciono. Como 
que

no le da la gana arrancar si no es el lugar por defecto.

Lo jodedor es que si lo mando a correr a mano si se inicia el servicio 
del

postgres pero así no me sirve porque cada ves que se encienda el servidor
porque se halla apagado por alguna causa hay que mandar a correr el
servicio.

Saludos Reiterados

| ISMAEL |



No sale error alguno, pero tu pregunta me ha dado una luz de como y donde 
buscar.


He detectado que es un problema de permisos, pero ahora nose como conocer 
los permisos y cual es el propietario de las carpetas desde consola ya que 
el servidor lo estoy tratando de montar sin entorno gráfico.


Vere que puedo hacer ahora que ya se por donde mirar. No se si alguien de la 
lista se ha tropezado con este problema? El tratar de cambiar el destino de 
la carpeta de datos del postgres para otro lugar que no es el 
predeterminado.


Saludos Reiterados

| ISMAEL |




--
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/90d5fe27072c472d868b35e7c4214...@natio.co.cu



Re: Configurar inicio y parada de postgres 8.3

2015-05-22 Thread fernando sainz
El día 22 de mayo de 2015, 15:00, Ismael L. Donis Garcia
sli...@citricos.co.cu escribió:
 - Original Message - From: Calabaza calali...@gmail.com
 To: debian-user-spanish debian-user-spanish@lists.debian.org
 Sent: Thursday, May 21, 2015 6:24 PM

 Subject: Re: Configurar inicio y parada de postgres 8.3


 El día 21 de mayo de 2015, 15:05, Ismael L. Donis Garcia
 sli...@citricos.co.cu escribió:
 - Original Message - From: Camaleón noela...@gmail.com
 To: debian-user-spanish@lists.debian.org
 Sent: Thursday, May 21, 2015 9:44 AM
 Subject: Re: Configurar inicio y parada de postgres 8.3


 El Wed, 20 May 2015 14:39:21 -0400, Ismael L. Donis Garcia escribió:

 Hace un tiempo estoy tratando de instalar postgres 8.3, lo he logrado
 pero no me inicia cuando inicio sección y no logro hecharlo a andar de
 forma automática.



 ¿Al final instalaste el paquete preparado para Debian? Si no lo hiciste
 tendrás que hacer malabares para iniciarlo.



 Si instalé archivos compilados para debian. Más especificamente la versión
 postgresql-8.3_8.3.23-1.pgdg+1_i386.deb


 Si ponga la siguiente instrucción en consola si inicia:

 su - postgres -c /var/lib/postgresql/8.3/bin/pg_ctl start -l
 /mnt/datos/postgres/8.3/data/serverlog -D /mnt/datos/postgres/8.3/data

 Pero quiero que inicie el servicio sin haber iniciado la sección del
 usuario y no he logrado hacerlo.

 He modificado el siguiente script pero no logro hacerlo andar.


 (...)

 Busca un script de inicio para Debian. O revisa el manual para saber
 cómo
 integrarlo (apartado systemd integration):

 https://wiki.postgresql.org/wiki/Apt/FAQ


 Ahí no veo nada para la versión 8.3

 Saludos,

 --
 Camaleón

 El problema me lo da al intentar cambiar el lugar del almacén de datos de
 /var/lib/postgresql/8.3/main para otro origen.

 Lo necesito porque necesito crear un volumen solo para los datos el cual
 monté en /mnt/datos


 Cuando configuro el archivo postgresql.conf para que la carpeta de datos
 sea
 /mnt/datos/postgres/8.3/main deja de funcionar.


 ¿que errores específicos lanza?

 Traté de engañar al postgres borrando la carpeta main de
 /var/lib/postgresql/8.3/ y crear ahí un enlace con nombre main a la
 carpeta
 /mnt/datos/postgres/8.3/main y ni aun así el postgres me funciono. Como
 que
 no le da la gana arrancar si no es el lugar por defecto.

 Lo jodedor es que si lo mando a correr a mano si se inicia el servicio
 del
 postgres pero así no me sirve porque cada ves que se encienda el servidor
 porque se halla apagado por alguna causa hay que mandar a correr el
 servicio.

 Saludos Reiterados
 
 | ISMAEL |
 


 No sale error alguno, pero tu pregunta me ha dado una luz de como y donde
 buscar.

 He detectado que es un problema de permisos, pero ahora nose como conocer
 los permisos y cual es el propietario de las carpetas desde consola ya que
 el servidor lo estoy tratando de montar sin entorno gráfico.

 Vere que puedo hacer ahora que ya se por donde mirar. No se si alguien de la
 lista se ha tropezado con este problema? El tratar de cambiar el destino de
 la carpeta de datos del postgres para otro lugar que no es el
 predeterminado.

 Saludos Reiterados
 
 | ISMAEL |
 



¿ De verdad dices en serio que no sabes hacer un ls -la  ?


S2.


--
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CAGw=rHgT4PjFzOs87HAPbQ=cirnhdsl8r9slgdj-t3ohoam...@mail.gmail.com



Re: Configurar inicio y parada de postgres 8.3

2015-05-22 Thread Camaleón
El Thu, 21 May 2015 15:05:40 -0400, Ismael L. Donis Garcia escribió:

 El Wed, 20 May 2015 14:39:21 -0400, Ismael L. Donis Garcia escribió:

 Hace un tiempo estoy tratando de instalar postgres 8.3, lo he logrado
 pero no me inicia cuando inicio sección y no logro hecharlo a andar de
 forma automática.

 ¿Al final instalaste el paquete preparado para Debian? Si no lo hiciste
 tendrás que hacer malabares para iniciarlo.
 
 Si instalé archivos compilados para debian. Más especificamente la
 versión postgresql-8.3_8.3.23-1.pgdg+1_i386.deb

Ese nombre de archivo apunta al repositorio de PostgreSQL por lo que 
entiendo que has instalado el paquete desde ahí con todas las 
dependencias.

 Si ponga la siguiente instrucción en consola si inicia:

 su - postgres -c /var/lib/postgresql/8.3/bin/pg_ctl start -l
 /mnt/datos/postgres/8.3/data/serverlog -D
 /mnt/datos/postgres/8.3/data

 Pero quiero que inicie el servicio sin haber iniciado la sección del
 usuario y no he logrado hacerlo.

 He modificado el siguiente script pero no logro hacerlo andar.

 (...)

 Busca un script de inicio para Debian. O revisa el manual para saber
 cómo integrarlo (apartado systemd integration):

 https://wiki.postgresql.org/wiki/Apt/FAQ


 Ahí no veo nada para la versión 8.3

No es una página de ayuda para una versión específica sino en general, 
para los paquetes instalados desde ese repositorio. ¿Qué versión de Debian 
tienes instalada?

 El problema me lo da al intentar cambiar el lugar del almacén de datos
 de /var/lib/postgresql/8.3/main para otro origen.
 
 Lo necesito porque necesito crear un volumen solo para los datos el cual
 monté en /mnt/datos
 
 Cuando configuro el archivo postgresql.conf para que la carpeta de datos
 sea /mnt/datos/postgres/8.3/main deja de funcionar.

Bueno, pues entonces mejor empieza por el principio e inicia el servicio 
de postgresql con la configuración predeterminada y si funciona bien, 
sigue con tus pruebas, revisa la documentación¹ para ver cómo configurar 
el directorio para almacén de las bdd y consulta los registros de error 
que te dé al intentar iniciar el servicio con la configuración nueva.

¹http://www.postgresql.org/docs/8.3/static/runtime-config-file-
locations.html

Saludos,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/pan.2015.05.22.13.54...@gmail.com



Fw: Configurar inicio y parada de postgres 8.3

2015-05-22 Thread Ismael L. Donis Garcia

Reenvío a la lista. Se me fue al privado.

- Original Message - 
From: Ismael L. Donis Garcia sli...@citricos.co.cu

To: fernando sainz fernandojose.sa...@gmail.com
Sent: Friday, May 22, 2015 9:43 AM
Subject: Re: Configurar inicio y parada de postgres 8.3


- Original Message - 

From: fernando sainz fernandojose.sa...@gmail.com
To: debian-user-spanish debian-user-spanish@lists.debian.org
Sent: Friday, May 22, 2015 9:22 AM
Subject: Re: Configurar inicio y parada de postgres 8.3





¿ De verdad dices en serio que no sabes hacer un ls -la  ?


S2.




Más que en serio, soy bastante nuevo en Linux y no soy mago. Por lo que
conozco solo los comandos que más uso, se que hay 1 millón que desconozco.

Ese ni lo había usado, pero bueno ya había buscado y lo conocía antes de tu
mensaje. Muchas gracias de todos modos.

Pero lo que necesito es ver como es que puedo echar a andar el postgres en
la otra carpeta.

Para eso voy a empezar revisando los permisos de ambas carpeta una a una y
archivo a archivo.

Saludos Cordiales

| ISMAEL |




--
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/c448f3e0760649ae84efd823208a5...@natio.co.cu



Re: Configurar inicio y parada de postgres 8.3 (SOLUCIONADO)

2015-05-22 Thread Ismael L. Donis Garcia
- Original Message - 
From: Calabaza calali...@gmail.com

To: debian-user-spanish debian-user-spanish@lists.debian.org
Sent: Thursday, May 21, 2015 6:24 PM
Subject: Re: Configurar inicio y parada de postgres 8.3




El día 21 de mayo de 2015, 15:05, Ismael L. Donis Garcia
sli...@citricos.co.cu escribió:

- Original Message - From: Camaleón noela...@gmail.com
To: debian-user-spanish@lists.debian.org
Sent: Thursday, May 21, 2015 9:44 AM
Subject: Re: Configurar inicio y parada de postgres 8.3



El Wed, 20 May 2015 14:39:21 -0400, Ismael L. Donis Garcia escribió:


Hace un tiempo estoy tratando de instalar postgres 8.3, lo he logrado
pero no me inicia cuando inicio sección y no logro hecharlo a andar de
forma automática.



¿Al final instalaste el paquete preparado para Debian? Si no lo hiciste
tendrás que hacer malabares para iniciarlo.



Si instalé archivos compilados para debian. Más especificamente la 
versión

postgresql-8.3_8.3.23-1.pgdg+1_i386.deb




Si ponga la siguiente instrucción en consola si inicia:

su - postgres -c /var/lib/postgresql/8.3/bin/pg_ctl start -l
/mnt/datos/postgres/8.3/data/serverlog -D /mnt/datos/postgres/8.3/data

Pero quiero que inicie el servicio sin haber iniciado la sección del
usuario y no he logrado hacerlo.

He modificado el siguiente script pero no logro hacerlo andar.



(...)

Busca un script de inicio para Debian. O revisa el manual para saber 
cómo

integrarlo (apartado systemd integration):

https://wiki.postgresql.org/wiki/Apt/FAQ



Ahí no veo nada para la versión 8.3


Saludos,

--
Camaleón


El problema me lo da al intentar cambiar el lugar del almacén de datos de
/var/lib/postgresql/8.3/main para otro origen.

Lo necesito porque necesito crear un volumen solo para los datos el cual
monté en /mnt/datos


Cuando configuro el archivo postgresql.conf para que la carpeta de datos 
sea

/mnt/datos/postgres/8.3/main deja de funcionar.


¿que errores específicos lanza?


1 Millón de gracias, antes de tu pregunta solo estaba pensando como usuario, 
tu me hiciste recapacitar y empezar a pensar como informático.


Busque los log del servicio y me decía que era un problema de permiso de la 
carpeta. Lo soluciooné pero además tuve que crear enlaces sinbólicos a los 
certificados ssl


Una vez creado el enlace simbólico al certificado ssl y dado los permisos 
correcpondientes a la carpeta todo ha comanzado a funcionar como debe.


Gracias Reiteradas a todos




Traté de engañar al postgres borrando la carpeta main de
/var/lib/postgresql/8.3/ y crear ahí un enlace con nombre main a la 
carpeta
/mnt/datos/postgres/8.3/main y ni aun así el postgres me funciono. Como 
que

no le da la gana arrancar si no es el lugar por defecto.

Lo jodedor es que si lo mando a correr a mano si se inicia el servicio 
del

postgres pero así no me sirve porque cada ves que se encienda el servidor
porque se halla apagado por alguna causa hay que mandar a correr el
servicio.




Ahora comanzaré a estudiar como poner otro servicio de postgres en el mismo 
servidor. Postgres 8.4 ya que nosotros aquí usamos las 2 versiones. O será 
mejor dedicar un servidor para cada uno de ellos?


Uso servidores virtualizados. Actualmente los tengo en 2 servidores 
virtualizados independientes, pero nose que será más óptimo.


Saludos Reiterados

| ISMAEL |




--
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/3bdde70f00d948139bf3e114a1702...@natio.co.cu



Re: Configurar inicio y parada de postgres 8.3

2015-05-21 Thread Camaleón
El Wed, 20 May 2015 14:39:21 -0400, Ismael L. Donis Garcia escribió:

 Hace un tiempo estoy tratando de instalar postgres 8.3, lo he logrado
 pero no me inicia cuando inicio sección y no logro hecharlo a andar de
 forma automática.

¿Al final instalaste el paquete preparado para Debian? Si no lo hiciste 
tendrás que hacer malabares para iniciarlo.

 Si ponga la siguiente instrucción en consola si inicia:
 
 su - postgres -c /var/lib/postgresql/8.3/bin/pg_ctl start -l
 /mnt/datos/postgres/8.3/data/serverlog -D /mnt/datos/postgres/8.3/data
 
 Pero quiero que inicie el servicio sin haber iniciado la sección del
 usuario y no he logrado hacerlo.
 
 He modificado el siguiente script pero no logro hacerlo andar.

(...)

Busca un script de inicio para Debian. O revisa el manual para saber cómo 
integrarlo (apartado systemd integration):

https://wiki.postgresql.org/wiki/Apt/FAQ

Saludos,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/pan.2015.05.21.13.44...@gmail.com



Re: Configurar inicio y parada de postgres 8.3

2015-05-21 Thread Calabaza
El día 21 de mayo de 2015, 15:05, Ismael L. Donis Garcia
sli...@citricos.co.cu escribió:
 - Original Message - From: Camaleón noela...@gmail.com
 To: debian-user-spanish@lists.debian.org
 Sent: Thursday, May 21, 2015 9:44 AM
 Subject: Re: Configurar inicio y parada de postgres 8.3


 El Wed, 20 May 2015 14:39:21 -0400, Ismael L. Donis Garcia escribió:

 Hace un tiempo estoy tratando de instalar postgres 8.3, lo he logrado
 pero no me inicia cuando inicio sección y no logro hecharlo a andar de
 forma automática.


 ¿Al final instalaste el paquete preparado para Debian? Si no lo hiciste
 tendrás que hacer malabares para iniciarlo.


 Si instalé archivos compilados para debian. Más especificamente la versión
 postgresql-8.3_8.3.23-1.pgdg+1_i386.deb


 Si ponga la siguiente instrucción en consola si inicia:

 su - postgres -c /var/lib/postgresql/8.3/bin/pg_ctl start -l
 /mnt/datos/postgres/8.3/data/serverlog -D /mnt/datos/postgres/8.3/data

 Pero quiero que inicie el servicio sin haber iniciado la sección del
 usuario y no he logrado hacerlo.

 He modificado el siguiente script pero no logro hacerlo andar.


 (...)

 Busca un script de inicio para Debian. O revisa el manual para saber cómo
 integrarlo (apartado systemd integration):

 https://wiki.postgresql.org/wiki/Apt/FAQ


 Ahí no veo nada para la versión 8.3

 Saludos,

 --
 Camaleón

 El problema me lo da al intentar cambiar el lugar del almacén de datos de
 /var/lib/postgresql/8.3/main para otro origen.

 Lo necesito porque necesito crear un volumen solo para los datos el cual
 monté en /mnt/datos

 Cuando configuro el archivo postgresql.conf para que la carpeta de datos sea
 /mnt/datos/postgres/8.3/main deja de funcionar.

¿que errores específicos lanza?

 Traté de engañar al postgres borrando la carpeta main de
 /var/lib/postgresql/8.3/ y crear ahí un enlace con nombre main a la carpeta
 /mnt/datos/postgres/8.3/main y ni aun así el postgres me funciono. Como que
 no le da la gana arrancar si no es el lugar por defecto.

 Lo jodedor es que si lo mando a correr a mano si se inicia el servicio del
 postgres pero así no me sirve porque cada ves que se encienda el servidor
 porque se halla apagado por alguna causa hay que mandar a correr el
 servicio.

 Saludos Reiterados
 
 | ISMAEL |
 


-- 
§~^Calabaza^~§ from Villa Elisa, Paraguay
http://calablogbaza.blogspot.com/

http://es.wikipedia.org/wiki/Top-posting
http://es.wikipedia.org/wiki/Netiquette | http://www.ietf.org/rfc/rfc1855.txt

http://www.sindominio.net/ayuda/preguntas-inteligentes.html


--
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CADA3QfxbsMVdDJKBWvoT1D_Gjx-L5jJr2C2Vy+=vyfzjsfD=b...@mail.gmail.com



Re: Configurar inicio y parada de postgres 8.3

2015-05-21 Thread Ismael L. Donis Garcia
- Original Message - 
From: Camaleón noela...@gmail.com

To: debian-user-spanish@lists.debian.org
Sent: Thursday, May 21, 2015 9:44 AM
Subject: Re: Configurar inicio y parada de postgres 8.3



El Wed, 20 May 2015 14:39:21 -0400, Ismael L. Donis Garcia escribió:


Hace un tiempo estoy tratando de instalar postgres 8.3, lo he logrado
pero no me inicia cuando inicio sección y no logro hecharlo a andar de
forma automática.


¿Al final instalaste el paquete preparado para Debian? Si no lo hiciste
tendrás que hacer malabares para iniciarlo.


Si instalé archivos compilados para debian. Más especificamente la versión 
postgresql-8.3_8.3.23-1.pgdg+1_i386.deb





Si ponga la siguiente instrucción en consola si inicia:

su - postgres -c /var/lib/postgresql/8.3/bin/pg_ctl start -l
/mnt/datos/postgres/8.3/data/serverlog -D /mnt/datos/postgres/8.3/data

Pero quiero que inicie el servicio sin haber iniciado la sección del
usuario y no he logrado hacerlo.

He modificado el siguiente script pero no logro hacerlo andar.


(...)

Busca un script de inicio para Debian. O revisa el manual para saber cómo
integrarlo (apartado systemd integration):

https://wiki.postgresql.org/wiki/Apt/FAQ



Ahí no veo nada para la versión 8.3


Saludos,

--
Camaleón

El problema me lo da al intentar cambiar el lugar del almacén de datos de 
/var/lib/postgresql/8.3/main para otro origen.


Lo necesito porque necesito crear un volumen solo para los datos el cual 
monté en /mnt/datos


Cuando configuro el archivo postgresql.conf para que la carpeta de datos sea 
/mnt/datos/postgres/8.3/main deja de funcionar.


Traté de engañar al postgres borrando la carpeta main de 
/var/lib/postgresql/8.3/ y crear ahí un enlace con nombre main a la carpeta 
/mnt/datos/postgres/8.3/main y ni aun así el postgres me funciono. Como que 
no le da la gana arrancar si no es el lugar por defecto.


Lo jodedor es que si lo mando a correr a mano si se inicia el servicio del 
postgres pero así no me sirve porque cada ves que se encienda el servidor 
porque se halla apagado por alguna causa hay que mandar a correr el 
servicio.


Saludos Reiterados

| ISMAEL |




--
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/b9ad4148ecae486289fc8761518a1...@natio.co.cu



Re: Configurar inicio y parada de postgres 8.3

2015-05-20 Thread Ismael L. Donis Garcia
- Original Message - 
From: adolfo maltez

To: Ismael L. Donis Garcia
Cc: debian-user-spanish
Sent: Wednesday, May 20, 2015 3:47 PM
Subject: Re: Configurar inicio y parada de postgres 8.3

Saludos.

Pues yo lo que haria, seria instalar rcconf

# apt-get install rcconf


Luego, lo ejecuto como root, y activo (con la barra de espacio) el servicio 
postgresql.


No dio resultado alguno


# rcconf
Con eso debería funcionar sin necesidad de hacer, después de reiniciar.


Pues no

No se si las modificaciones realizadas al script afecten, yo lo dejara tal 
cual el original.


Ya no existe el original, así que no puedo hacer nada ya que cambien el 
destino por defecto que pone la base de datos



Att.


Saludos Cordiales


2015-05-20 12:39 GMT-06:00 Ismael L. Donis Garcia sli...@citricos.co.cu:

Hace un tiempo estoy tratando de instalar postgres 8.3, lo he logrado pero 
no me inicia cuando inicio sección y no logro hecharlo a andar de forma 
automática.


Si ponga la siguiente instrucción en consola si inicia:

su - postgres -c /var/lib/postgresql/8.3/bin/pg_ctl start -l 
/mnt/datos/postgres/8.3/data/serverlog -D /mnt/datos/postgres/8.3/data


Pero quiero que inicie el servicio sin haber iniciado la sección del 
usuario y no he logrado hacerlo.


He modificado el siguiente script pero no logro hacerlo andar.

#! /bin/sh
## EDIT FROM HERE
# Installation prefix
prefix=/usr/lib/postgresql/8.3
# Data directory
PGDATA=/mnt/datos/postgres/8.3/data
# Who to run the postmaster as, usually postgres.  (NOT root)
PGUSER=postgres
# Where to keep a log file
PGLOG=$PGDATA/serverlog
## STOP EDITING HERE

# The path that is to be used for the script
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
# What to use to start up the postmaster (we do NOT use pg_ctl for this,
# as it adds no value and can cause the postmaster to misrecognize a stale
# lock file)
DAEMON=$prefix/bin/postmaster
# What to use to shut down the postmaster
PGCTL=$prefix/bin/pg_ctl
set -e
# Only start if we can find the postmaster.
test -x $DAEMON || exit 0
# Parse command line parameters.
case $1 in
start)
echo -n Starting PostgreSQL: 
su - $PGUSER -c $PGCTL start -l  '$PGLOG' -D '$PGDATA'
echo ok
;;
stop)
echo -n Stopping PostgreSQL: 
su - $PGUSER -c $PGCTL stop -D '$PGDATA' -s -m fast
echo ok
;;
restart)
echo -n Restarting PostgreSQL: 
su - $PGUSER -c $PGCTL stop -D '$PGDATA' -s -m fast -w
su - $PGUSER -c $DAEMON -D '$PGDATA'  $PGLOG 21
echo ok
;;
reload)
  echo -n Reload PostgreSQL: 
  su - $PGUSER -c $PGCTL reload -D '$PGDATA' -s
  echo ok
  ;;
status)
su - $PGUSER -c $PGCTL status -D '$PGDATA'
;;
*)
# Print help
echo Usage: $0 {start|stop|restart|reload|status} 12
exit 1
;;
esac
exit 0


Alguien de la lista me podría decir que debo hacer o que estoy haciendo 
mal?


Desde ya Gracias

| ISMAEL |




| ISMAEL |




--
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/54cca9de051c4609b2fa96ee80337...@natio.co.cu



Configurar inicio y parada de postgres 8.3

2015-05-20 Thread Ismael L. Donis Garcia
Hace un tiempo estoy tratando de instalar postgres 8.3, lo he logrado pero 
no me inicia cuando inicio sección y no logro hecharlo a andar de forma 
automática.


Si ponga la siguiente instrucción en consola si inicia:

su - postgres -c /var/lib/postgresql/8.3/bin/pg_ctl start -l 
/mnt/datos/postgres/8.3/data/serverlog -D /mnt/datos/postgres/8.3/data


Pero quiero que inicie el servicio sin haber iniciado la sección del usuario 
y no he logrado hacerlo.


He modificado el siguiente script pero no logro hacerlo andar.

#! /bin/sh
## EDIT FROM HERE
# Installation prefix
prefix=/usr/lib/postgresql/8.3
# Data directory
PGDATA=/mnt/datos/postgres/8.3/data
# Who to run the postmaster as, usually postgres.  (NOT root)
PGUSER=postgres
# Where to keep a log file
PGLOG=$PGDATA/serverlog
## STOP EDITING HERE

# The path that is to be used for the script
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
# What to use to start up the postmaster (we do NOT use pg_ctl for this,
# as it adds no value and can cause the postmaster to misrecognize a stale
# lock file)
DAEMON=$prefix/bin/postmaster
# What to use to shut down the postmaster
PGCTL=$prefix/bin/pg_ctl
set -e
# Only start if we can find the postmaster.
test -x $DAEMON || exit 0
# Parse command line parameters.
case $1 in
 start)
echo -n Starting PostgreSQL: 
su - $PGUSER -c $PGCTL start -l  '$PGLOG' -D '$PGDATA'
echo ok
;;
 stop)
echo -n Stopping PostgreSQL: 
su - $PGUSER -c $PGCTL stop -D '$PGDATA' -s -m fast
echo ok
;;
 restart)
echo -n Restarting PostgreSQL: 
su - $PGUSER -c $PGCTL stop -D '$PGDATA' -s -m fast -w
su - $PGUSER -c $DAEMON -D '$PGDATA'  $PGLOG 21
echo ok
;;
 reload)
   echo -n Reload PostgreSQL: 
   su - $PGUSER -c $PGCTL reload -D '$PGDATA' -s
   echo ok
   ;;
 status)
su - $PGUSER -c $PGCTL status -D '$PGDATA'
;;
 *)
# Print help
echo Usage: $0 {start|stop|restart|reload|status} 12
exit 1
;;
esac
exit 0


Alguien de la lista me podría decir que debo hacer o que estoy haciendo mal?

Desde ya Gracias

| ISMAEL |




--
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/14a61e29a2cc408e947aed020044d...@natio.co.cu



Re: Configurar inicio y parada de postgres 8.3

2015-05-20 Thread adolfo maltez
Saludos.

Pues yo lo que haria, seria instalar rcconf

# apt-get install rcconf

Luego, lo ejecuto como root, y activo (con la barra de espacio) el servicio
postgresql.

# rcconf

Con eso debería funcionar sin necesidad de hacer, después de reiniciar.
No se si las modificaciones realizadas al script afecten, yo lo dejara tal
cual el original.

Att.


2015-05-20 12:39 GMT-06:00 Ismael L. Donis Garcia sli...@citricos.co.cu:

 Hace un tiempo estoy tratando de instalar postgres 8.3, lo he logrado pero
 no me inicia cuando inicio sección y no logro hecharlo a andar de forma
 automática.

 Si ponga la siguiente instrucción en consola si inicia:

 su - postgres -c /var/lib/postgresql/8.3/bin/pg_ctl start -l
 /mnt/datos/postgres/8.3/data/serverlog -D /mnt/datos/postgres/8.3/data

 Pero quiero que inicie el servicio sin haber iniciado la sección del
 usuario y no he logrado hacerlo.

 He modificado el siguiente script pero no logro hacerlo andar.

 #! /bin/sh
 ## EDIT FROM HERE
 # Installation prefix
 prefix=/usr/lib/postgresql/8.3
 # Data directory
 PGDATA=/mnt/datos/postgres/8.3/data
 # Who to run the postmaster as, usually postgres.  (NOT root)
 PGUSER=postgres
 # Where to keep a log file
 PGLOG=$PGDATA/serverlog
 ## STOP EDITING HERE

 # The path that is to be used for the script
 PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
 # What to use to start up the postmaster (we do NOT use pg_ctl for this,
 # as it adds no value and can cause the postmaster to misrecognize a stale
 # lock file)
 DAEMON=$prefix/bin/postmaster
 # What to use to shut down the postmaster
 PGCTL=$prefix/bin/pg_ctl
 set -e
 # Only start if we can find the postmaster.
 test -x $DAEMON || exit 0
 # Parse command line parameters.
 case $1 in
  start)
 echo -n Starting PostgreSQL: 
 su - $PGUSER -c $PGCTL start -l  '$PGLOG' -D '$PGDATA'
 echo ok
 ;;
  stop)
 echo -n Stopping PostgreSQL: 
 su - $PGUSER -c $PGCTL stop -D '$PGDATA' -s -m fast
 echo ok
 ;;
  restart)
 echo -n Restarting PostgreSQL: 
 su - $PGUSER -c $PGCTL stop -D '$PGDATA' -s -m fast -w
 su - $PGUSER -c $DAEMON -D '$PGDATA'  $PGLOG 21
 echo ok
 ;;
  reload)
echo -n Reload PostgreSQL: 
su - $PGUSER -c $PGCTL reload -D '$PGDATA' -s
echo ok
;;
  status)
 su - $PGUSER -c $PGCTL status -D '$PGDATA'
 ;;
  *)
 # Print help
 echo Usage: $0 {start|stop|restart|reload|status} 12
 exit 1
 ;;
 esac
 exit 0


 Alguien de la lista me podría decir que debo hacer o que estoy haciendo
 mal?

 Desde ya Gracias
 
 | ISMAEL |
 



 --
 To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
 Archive:
 https://lists.debian.org/14a61e29a2cc408e947aed020044d...@natio.co.cu




-- 
Adolfo Maltez.


Re: Instalar postgres 8.3.23 en jessie

2015-02-27 Thread Camaleón
El Fri, 27 Feb 2015 12:14:37 -0500, Ismael L. Donis Garcia escribió:

 He estado intentando instalar postgres 8.3.23 en una pc virtual con
 debian jessie y no logro echar a andar el servicio Enumero los pasos
 realizados
 
 Descompacto el archivo  .tar.gz 

(...)

Aquí tienes varios .deb, ¿no te sirven? :-?

http://apt.postgresql.org/pub/repos/apt/pool/main/p/postgresql-8.3/

Y las instrucciones:

https://wiki.postgresql.org/wiki/Apt

(...)

 Cuando doy esa instrucción me pone:
 server strating y me devuelve el promt
 
 Pero el pgadmin no se me conecta noi poniendo localhost y la ip de la pc
 
 si digo ps aux tampoco veo el servicio.
 
 Que me podría estar faltando?

Seguramente un problema de rutas a los binarios, en el manual que te haya 
instalado te dirá cómo iniciar el servicio, aunque también tienes más info 
por aquí:

https://wiki.postgresql.org/wiki/Manual_Setup_at_the_Command_Line

Saludos,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/pan.2015.02.27.17.41...@gmail.com



Instalar postgres 8.3.23 en jessie

2015-02-27 Thread Ismael L. Donis Garcia
He estado intentando instalar postgres 8.3.23 en una pc virtual con debian 
jessie y no logro echar a andar el servicio

Enumero los pasos realizados

Descompacto el archivo  .tar.gz
cd postgres 8.3.23
./configure
make
make install
mkdir /usr/local/pgsql/data
mkdir /usr/local/pgsql/data/log
adduser postgres
chown postgres /usr/local/pgsql/data
su -c '/usr/local/pgsql/bin/pg_ctl start -l 
/usr/local/pgsql/data/log/logfile -D /usr/local/pgsql/data' postgres


Cuando doy esa instrucción me pone:
server strating y me devuelve el promt

Pero el pgadmin no se me conecta noi poniendo localhost y la ip de la pc

si digo ps aux tampoco veo el servicio.

Que me podría estar faltando?

Desde ya Gracias

| ISMAEL |




--
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/8efa5c36996b47a1a2b9e939465c6...@natio.co.cu



Error al importar DB.sql en postgres en debian Wheezy

2014-09-04 Thread Maykel Franco
Hola buenas, no sé si este error puede tener algo que ver con la
codificación de las tablas, pero el caso es que cuando voy a restaurar
un .sql en postgres obtengo este error:

root@enumerados-rubyrails:/home# psql -U postgres -W comnet
Password for user postgres:
psql: FATAL:  Peer authentication failed for user postgres
root@enumerados-rubyrails:/home# psql -U postgres
psql: FATAL:  Peer authentication failed for user postgres
root@enumerados-rubyrails:/home# psql -U postgres^C
root@enumerados-rubyrails:/home# su psql
No passwd entry for user 'psql'
root@enumerados-rubyrails:/home# su^C
root@enumerados-rubyrails:/home# su postgres
postgres@enumerados-rubyrails:/home$ history
1  history
postgres@enumerados-rubyrails:/home$ psql -U postgres -d
enumerados_dev -f a619.sql
psql:a619.sql:19: ERROR:  syntax error at or near PGDMP
LINE 1: PGDMP
 LANGUAGE plpgsql
^
psql:a619.sql:26: ERROR:  syntax error at or near 
LINE 1: LANGUAGE plpgsql
^
psql:a619.sql:43: ERROR:  syntax error at or near 
LINE 1: LANGUAGE plpgsql
^
psql:a619.sql:55: ERROR:  syntax error at or near 
LINE 1: LANGUAGE plpgsql
^
psql:a619.sql:70: ERROR:  syntax error at or near 
LINE 1: LANGUAGE plpgsql
^
psql:a619.sql:83: ERROR:  syntax error at or near 
LINE 1: LANGUAGE plpgsql
^
psql:a619.sql:90: ERROR:  syntax error at or near 
LINE 1: LANGUAGE plpgsql
^
psql:a619.sql:109: ERROR:  syntax error at or near 
LINE 1: LANGUAGE plpgsql
^
psql:a619.sql:118: ERROR:  syntax error at or near 
LINE 1: LANGUAGE plpgsql
^
psql:a619.sql:128: ERROR:  syntax error at or near 
LINE 1: LANGUAGE plpgsql
^
psql:a619.sql:157: ERROR:  syntax error at or near 
LINE 1: LANGUAGE plpgsql
^
psql:a619.sql:165: ERROR:  syntax error at or near 
LINE 1: id integer NOT NULL,
^
psql:a619.sql:170: ERROR:  syntax error at or near 
LINE 1: START WITH 1
^
psql:a619.sql:180: ERROR:  syntax error at or near 
LINE 1: id integer NOT NULL,
^
psql:a619.sql:185: ERROR:  syntax error at or near 
LINE 1: START WITH 1
^
psql:a619.sql:192: ERROR:  syntax error at or near 
LINE 1: id integer NOT NULL,
^
psql:a619.sql:197: ERROR:  syntax error at or near 
LINE 1: START WITH 1
^
psql:a619.sql:205: ERROR:  syntax error at or near 
LINE 1: id integer NOT NULL,
^
psql:a619.sql:210: ERROR:  syntax error at or near 
LINE 1: START WITH 1
^
psql:a619.sql:218: ERROR:  syntax error at or near 
LINE 1: id integer NOT NULL,
^
psql:a619.sql:223: ERROR:  syntax error at or near 
LINE 1: START WITH 1
^
psql:a619.sql:236: ERROR:  syntax error at or near 
LINE 1: id integer NOT NULL,
^
psql:a619.sql:241: ERROR:  syntax error at or near 
LINE 1: START WITH 1
^
psql:a619.sql:244: ERROR:  syntax error at or near 
LINE 1: user_id integer NOT NULL,
^
psql:a619.sql:250: ERROR:  syntax error at or near 
LINE 1: id integer NOT NULL,
^
psql:a619.sql:255: ERROR:  syntax error at or near 
LINE 1: START WITH 1
^
psql:a619.sql:261: ERROR:  syntax error at or near 
LINE 1: id integer NOT NULL,
^
psql:a619.sql:266: ERROR:  syntax error at or near 
LINE 1: START WITH 1
^
psql:a619.sql:274: ERROR:  syntax error at or near 
LINE 1: id integer NOT NULL,
^
psql:a619.sql:279: ERROR:  syntax error at or near 
LINE 1: START WITH 1
^
psql:a619.sql:319: ERROR:  syntax error at or near 
LINE 1: id integer NOT NULL,
^
psql:a619.sql:322: ERROR:  syntax error at or near 
LINE 1: CONSTRAINT games_finished_check CHECK (((status = ANY ...
^
psql:a619.sql:327: ERROR:  syntax error at or near 
LINE 1: START WITH 1
^
psql:a619.sql:368: ERROR:  syntax error at or near 
LINE 1: id integer DEFAULT nextval('games_id_seq'::regclass) N...
^
psql:a619.sql:371: ERROR:  syntax error at or near 
LINE 1: CONSTRAINT games_running_status_check CHECK ((status =...
^
psql:a619.sql:380: ERROR:  syntax error at or near 
LINE 1: id integer NOT NULL,
^
psql:a619.sql:385: ERROR:  syntax error at or near 
LINE 1: START WITH 1
^
psql:a619.sql:392: ERROR:  syntax error at or near 
LINE 1: id integer NOT NULL,
^
psql:a619.sql:397: ERROR:  syntax error at or near 
LINE 1: START WITH 1
^
psql:a619.sql:413: ERROR:  syntax error at or near 
LINE 1: id integer NOT NULL,
^
psql:a619.sql:418: ERROR:  syntax error at or near 
LINE 1: START WITH 1
^
psql:a619.sql:426: ERROR:  syntax error at or near 
LINE 1: id integer NOT NULL,
^
psql:a619.sql:431: ERROR:  syntax error at or near 
LINE 1: START WITH 1
^
psql:a619.sql:439: ERROR:  syntax error at or near 
LINE 1: id integer NOT NULL,
^
psql:a619.sql:444: ERROR:  syntax error at or near 
LINE

[OT] levantar postgres na porta 80 ou 443

2014-03-07 Thread China
Pessoal, desculpem o OT. Estou montando um ambiente doméstico para
desenvolvimento Debian + postgres e não estou conseguindo acessar o
postgres pelo pgadmin. Olhando com minha operadora, disseram que a
porta padrão do postgres está fechada e não vão abrir. Aí tentei
levantar o postgres na porta 80 e não consegui, dá mensagem de erro
que tem outro postmaster ocupando a porta ou outra coisa impedindo.

Sei que a porta 80 ou 443 são portas abertas e um SGBD que se preze
jamais usaria estas portas, mas como é uma situação de aprendizado não
terá problema. Tem jeito de fazer o postgres usar a porta 80 ou 443,
que são as unicas abertas???

-- 

Enviado de um dispositivo móvel


--
To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/caema1k9fro3sttugwtocfatuzdzak-6k2qxymtw30enayd7...@mail.gmail.com



Re: [OT] levantar postgres na porta 80 ou 443

2014-03-07 Thread Rodolfo
Tente editar um arquivo chamado postgresql.conf, fica em
/etc/postgresql/VERSAO/main/..

Nesse arquivo você tem a configuração da porta, bem como o limite de
conexões e outras coisas mais. Nunca tentei alterar a porta, mas é nesse
arquivo que tem essas configurações, da uma olhada, flw.




Em 7 de março de 2014 09:29, China china...@gmail.com escreveu:

 Pessoal, desculpem o OT. Estou montando um ambiente doméstico para
 desenvolvimento Debian + postgres e não estou conseguindo acessar o
 postgres pelo pgadmin. Olhando com minha operadora, disseram que a
 porta padrão do postgres está fechada e não vão abrir. Aí tentei
 levantar o postgres na porta 80 e não consegui, dá mensagem de erro
 que tem outro postmaster ocupando a porta ou outra coisa impedindo.

 Sei que a porta 80 ou 443 são portas abertas e um SGBD que se preze
 jamais usaria estas portas, mas como é uma situação de aprendizado não
 terá problema. Tem jeito de fazer o postgres usar a porta 80 ou 443,
 que são as unicas abertas???

 --

 Enviado de um dispositivo móvel


 --
 To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
 Archive:
 https://lists.debian.org/caema1k9fro3sttugwtocfatuzdzak-6k2qxymtw30enayd7...@mail.gmail.com




Re: [OT] levantar postgres na porta 80 ou 443

2014-03-07 Thread Vanderley

Bom dia.

Tive um problema semente, mesmo sendo em outro aplicativo resolvi da 
seguinte forma.
No meu caso eu tenho além do modem/roteador do provedor um roteador meu 
separando a rede interna da externa.
Nesse caso redirecionei a porta interna para uma porta externa no meu 
roteador e tudo funciona normalmente.
A mudança foi com relação ao acesso que quando faço é pela porta 
liberada pelo provedor.
Mas fica tudo transparente para o meu acesso, o roteador faz o serviço 
pra mim.


OK?


Em 07-03-2014 09:29, China escreveu:

Pessoal, desculpem o OT. Estou montando um ambiente doméstico para
desenvolvimento Debian + postgres e não estou conseguindo acessar o
postgres pelo pgadmin. Olhando com minha operadora, disseram que a
porta padrão do postgres está fechada e não vão abrir. Aí tentei
levantar o postgres na porta 80 e não consegui, dá mensagem de erro
que tem outro postmaster ocupando a porta ou outra coisa impedindo.

Sei que a porta 80 ou 443 são portas abertas e um SGBD que se preze
jamais usaria estas portas, mas como é uma situação de aprendizado não
terá problema. Tem jeito de fazer o postgres usar a porta 80 ou 443,
que são as unicas abertas???





Re: [OT] levantar postgres na porta 80 ou 443

2014-03-07 Thread Rodolfo
Tem que ver o que o vanderley falou, pois tinha esquecido desse detalhe. O
seu provedor bloqueou algumas portas, mas no roteador voce tem como fazer
tipo um redirecionamente, ja tive esse problema tambem, no caso no meu
roteador alterei para que qualquer conexao que viesse da porta X fosse
transferido para a porta 1, dai na aplicacao fiz uma alteracao, no caso
nao foi com o banco de dados, foi outro programa. Meu roteador era um
motorola da empresa NET.


Em 7 de março de 2014 11:16, China china...@gmail.com escreveu:

 Então, eu já editei o arquivo alterando a porta, mas o servidor não sobe...

 Em 7 de março de 2014 10:55, Rodolfo rof20...@gmail.com escreveu:
  Tente editar um arquivo chamado postgresql.conf, fica em
  /etc/postgresql/VERSAO/main/..
 
  Nesse arquivo você tem a configuração da porta, bem como o limite de
  conexões e outras coisas mais. Nunca tentei alterar a porta, mas é nesse
  arquivo que tem essas configurações, da uma olhada, flw.
 
 
 
 
  Em 7 de março de 2014 09:29, China china...@gmail.com escreveu:
 
  Pessoal, desculpem o OT. Estou montando um ambiente doméstico para
  desenvolvimento Debian + postgres e não estou conseguindo acessar o
  postgres pelo pgadmin. Olhando com minha operadora, disseram que a
  porta padrão do postgres está fechada e não vão abrir. Aí tentei
  levantar o postgres na porta 80 e não consegui, dá mensagem de erro
  que tem outro postmaster ocupando a porta ou outra coisa impedindo.
 
  Sei que a porta 80 ou 443 são portas abertas e um SGBD que se preze
  jamais usaria estas portas, mas como é uma situação de aprendizado não
  terá problema. Tem jeito de fazer o postgres usar a porta 80 ou 443,
  que são as unicas abertas???
 
  --
 
  Enviado de um dispositivo móvel
 
 
  --
  To UNSUBSCRIBE, email to
 debian-user-portuguese-requ...@lists.debian.org
  with a subject of unsubscribe. Trouble? Contact
  listmas...@lists.debian.org
  Archive:
 
 https://lists.debian.org/caema1k9fro3sttugwtocfatuzdzak-6k2qxymtw30enayd7...@mail.gmail.com
 
 



 --

 Enviado de um dispositivo móvel



Re: [OT] levantar postgres na porta 80 ou 443

2014-03-07 Thread Vanderley

Bom dia.

No meu caso era um D-Link DIR-320 e o provedor NET.



Em 07-03-2014 11:21, Rodolfo escreveu:
Tem que ver o que o vanderley falou, pois tinha esquecido desse 
detalhe. O seu provedor bloqueou algumas portas, mas no roteador voce 
tem como fazer tipo um redirecionamente, ja tive esse problema tambem, 
no caso no meu roteador alterei para que qualquer conexao que viesse 
da porta X fosse transferido para a porta 1, dai na aplicacao fiz 
uma alteracao, no caso nao foi com o banco de dados, foi outro 
programa. Meu roteador era um motorola da empresa NET.



Em 7 de março de 2014 11:16, China china...@gmail.com 
mailto:china...@gmail.com escreveu:


Então, eu já editei o arquivo alterando a porta, mas o servidor
não sobe...

Em 7 de março de 2014 10:55, Rodolfo rof20...@gmail.com
mailto:rof20...@gmail.com escreveu:
 Tente editar um arquivo chamado postgresql.conf, fica em
 /etc/postgresql/VERSAO/main/..

 Nesse arquivo você tem a configuração da porta, bem como o limite de
 conexões e outras coisas mais. Nunca tentei alterar a porta, mas
é nesse
 arquivo que tem essas configurações, da uma olhada, flw.




 Em 7 de março de 2014 09:29, China china...@gmail.com
mailto:china...@gmail.com escreveu:

 Pessoal, desculpem o OT. Estou montando um ambiente doméstico para
 desenvolvimento Debian + postgres e não estou conseguindo acessar o
 postgres pelo pgadmin. Olhando com minha operadora, disseram que a
 porta padrão do postgres está fechada e não vão abrir. Aí tentei
 levantar o postgres na porta 80 e não consegui, dá mensagem de erro
 que tem outro postmaster ocupando a porta ou outra coisa impedindo.

 Sei que a porta 80 ou 443 são portas abertas e um SGBD que se preze
 jamais usaria estas portas, mas como é uma situação de
aprendizado não
 terá problema. Tem jeito de fazer o postgres usar a porta 80 ou
443,
 que são as unicas abertas???

 --

 Enviado de um dispositivo móvel


 --
 To UNSUBSCRIBE, email to
debian-user-portuguese-requ...@lists.debian.org
mailto:debian-user-portuguese-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org mailto:listmas...@lists.debian.org
 Archive:


https://lists.debian.org/caema1k9fro3sttugwtocfatuzdzak-6k2qxymtw30enayd7...@mail.gmail.com





--

Enviado de um dispositivo móvel






Re: [OT] levantar postgres na porta 80 ou 443

2014-03-07 Thread China
Então, eu já editei o arquivo alterando a porta, mas o servidor não sobe...

Em 7 de março de 2014 10:55, Rodolfo rof20...@gmail.com escreveu:
 Tente editar um arquivo chamado postgresql.conf, fica em
 /etc/postgresql/VERSAO/main/..

 Nesse arquivo você tem a configuração da porta, bem como o limite de
 conexões e outras coisas mais. Nunca tentei alterar a porta, mas é nesse
 arquivo que tem essas configurações, da uma olhada, flw.




 Em 7 de março de 2014 09:29, China china...@gmail.com escreveu:

 Pessoal, desculpem o OT. Estou montando um ambiente doméstico para
 desenvolvimento Debian + postgres e não estou conseguindo acessar o
 postgres pelo pgadmin. Olhando com minha operadora, disseram que a
 porta padrão do postgres está fechada e não vão abrir. Aí tentei
 levantar o postgres na porta 80 e não consegui, dá mensagem de erro
 que tem outro postmaster ocupando a porta ou outra coisa impedindo.

 Sei que a porta 80 ou 443 são portas abertas e um SGBD que se preze
 jamais usaria estas portas, mas como é uma situação de aprendizado não
 terá problema. Tem jeito de fazer o postgres usar a porta 80 ou 443,
 que são as unicas abertas???

 --

 Enviado de um dispositivo móvel


 --
 To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
 Archive:
 https://lists.debian.org/caema1k9fro3sttugwtocfatuzdzak-6k2qxymtw30enayd7...@mail.gmail.com





-- 

Enviado de um dispositivo móvel


--
To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/caema1k-f8dsbcxsd1w3sgm3dh_ppbnh8hxoeuzn2totl+uc...@mail.gmail.com



Re: [OT] levantar postgres na porta 80 ou 443

2014-03-07 Thread China
É, mas meu caso é diferente porque é outro provedor. Já descobri pela
documentação que as portas 80, 21, 22 e 443 são reservadas e não posso
usar com o postgres, o jeito vai ser acessar via ssh e rodar comandos
SQL na mão...

Em 7 de março de 2014 12:21, Rodolfo rof20...@gmail.com escreveu:
 Tem que ver o que o vanderley falou, pois tinha esquecido desse detalhe. O
 seu provedor bloqueou algumas portas, mas no roteador voce tem como fazer
 tipo um redirecionamente, ja tive esse problema tambem, no caso no meu
 roteador alterei para que qualquer conexao que viesse da porta X fosse
 transferido para a porta 1, dai na aplicacao fiz uma alteracao, no caso
 nao foi com o banco de dados, foi outro programa. Meu roteador era um
 motorola da empresa NET.


 Em 7 de março de 2014 11:16, China china...@gmail.com escreveu:

 Então, eu já editei o arquivo alterando a porta, mas o servidor não
 sobe...

 Em 7 de março de 2014 10:55, Rodolfo rof20...@gmail.com escreveu:
  Tente editar um arquivo chamado postgresql.conf, fica em
  /etc/postgresql/VERSAO/main/..
 
  Nesse arquivo você tem a configuração da porta, bem como o limite de
  conexões e outras coisas mais. Nunca tentei alterar a porta, mas é nesse
  arquivo que tem essas configurações, da uma olhada, flw.
 
 
 
 
  Em 7 de março de 2014 09:29, China china...@gmail.com escreveu:
 
  Pessoal, desculpem o OT. Estou montando um ambiente doméstico para
  desenvolvimento Debian + postgres e não estou conseguindo acessar o
  postgres pelo pgadmin. Olhando com minha operadora, disseram que a
  porta padrão do postgres está fechada e não vão abrir. Aí tentei
  levantar o postgres na porta 80 e não consegui, dá mensagem de erro
  que tem outro postmaster ocupando a porta ou outra coisa impedindo.
 
  Sei que a porta 80 ou 443 são portas abertas e um SGBD que se preze
  jamais usaria estas portas, mas como é uma situação de aprendizado não
  terá problema. Tem jeito de fazer o postgres usar a porta 80 ou 443,
  que são as unicas abertas???
 
  --
 
  Enviado de um dispositivo móvel
 
 
  --
  To UNSUBSCRIBE, email to
  debian-user-portuguese-requ...@lists.debian.org
  with a subject of unsubscribe. Trouble? Contact
  listmas...@lists.debian.org
  Archive:
 
  https://lists.debian.org/caema1k9fro3sttugwtocfatuzdzak-6k2qxymtw30enayd7...@mail.gmail.com
 
 



 --

 Enviado de um dispositivo móvel





-- 

Enviado de um dispositivo móvel


--
To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CAEMA1k9_8wHKB4gL_9wGWb=jgaketsbgdmloziowoo+pkaw...@mail.gmail.com



Re: [OT] levantar postgres na porta 80 ou 443

2014-03-07 Thread Leandro Henrique Stein
Eu fiz um redirect de portas usando o Apache (mod-proxy) para
direcionar um subdominio (virtualhost) para uma porta específica de um
serviço interno.

Não sei se isso ajudaria no seu caso, mas foi a opção que achei mais
fácil para o meu caso.

Minha config ficou desta forma:

VirtualHost *:80
  ServerName service.mydomain.com
  ProxyPass / http://localhost:34066/
  ProxyPassReverse / http://localhost:34066/
  ErrorLog /var/log/apache2/service-error.log
  CustomLog /var/log/apache2/service-access.log combined

  ErrorDocument 503 http://mydomain.com
  ErrorDocument 404 http://mydomain.com

/VirtualHost

Não tive que liberar a porta 34066 no firewall, somente as portas 21,
22 e 80 estão liberadas para o meu domínio.

Abraço

Leandro Henrique Stein
Analista de Informática
Claro: (41) 9935-9960
Skype: leandro.h.stein
Twitter: @leandrohstein

Desculpar-se é um sinal de fraqueza. Exceto entre amigos - Leroy Jethro Gibbs


Em 7 de março de 2014 12:50, China china...@gmail.com escreveu:
 É, mas meu caso é diferente porque é outro provedor. Já descobri pela
 documentação que as portas 80, 21, 22 e 443 são reservadas e não posso
 usar com o postgres, o jeito vai ser acessar via ssh e rodar comandos
 SQL na mão...

 Em 7 de março de 2014 12:21, Rodolfo rof20...@gmail.com escreveu:
 Tem que ver o que o vanderley falou, pois tinha esquecido desse detalhe. O
 seu provedor bloqueou algumas portas, mas no roteador voce tem como fazer
 tipo um redirecionamente, ja tive esse problema tambem, no caso no meu
 roteador alterei para que qualquer conexao que viesse da porta X fosse
 transferido para a porta 1, dai na aplicacao fiz uma alteracao, no caso
 nao foi com o banco de dados, foi outro programa. Meu roteador era um
 motorola da empresa NET.


 Em 7 de março de 2014 11:16, China china...@gmail.com escreveu:

 Então, eu já editei o arquivo alterando a porta, mas o servidor não
 sobe...

 Em 7 de março de 2014 10:55, Rodolfo rof20...@gmail.com escreveu:
  Tente editar um arquivo chamado postgresql.conf, fica em
  /etc/postgresql/VERSAO/main/..
 
  Nesse arquivo você tem a configuração da porta, bem como o limite de
  conexões e outras coisas mais. Nunca tentei alterar a porta, mas é nesse
  arquivo que tem essas configurações, da uma olhada, flw.
 
 
 
 
  Em 7 de março de 2014 09:29, China china...@gmail.com escreveu:
 
  Pessoal, desculpem o OT. Estou montando um ambiente doméstico para
  desenvolvimento Debian + postgres e não estou conseguindo acessar o
  postgres pelo pgadmin. Olhando com minha operadora, disseram que a
  porta padrão do postgres está fechada e não vão abrir. Aí tentei
  levantar o postgres na porta 80 e não consegui, dá mensagem de erro
  que tem outro postmaster ocupando a porta ou outra coisa impedindo.
 
  Sei que a porta 80 ou 443 são portas abertas e um SGBD que se preze
  jamais usaria estas portas, mas como é uma situação de aprendizado não
  terá problema. Tem jeito de fazer o postgres usar a porta 80 ou 443,
  que são as unicas abertas???
 
  --
 
  Enviado de um dispositivo móvel
 
 
  --
  To UNSUBSCRIBE, email to
  debian-user-portuguese-requ...@lists.debian.org
  with a subject of unsubscribe. Trouble? Contact
  listmas...@lists.debian.org
  Archive:
 
  https://lists.debian.org/caema1k9fro3sttugwtocfatuzdzak-6k2qxymtw30enayd7...@mail.gmail.com
 
 



 --

 Enviado de um dispositivo móvel





 --

 Enviado de um dispositivo móvel


 --
 To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 Archive: 
 https://lists.debian.org/caema1k9_8whkb4gl_9wgwbjgaketsbgdmloziowoo+pkaw...@mail.gmail.com



--
To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CAJSJ=h3yeZfzKjfu=pmcr+2zv3szim_qre51qeroinsr...@mail.gmail.com



Re: [OT] levantar postgres na porta 80 ou 443

2014-03-07 Thread Ricardo César
Não é das melhores + já que vc tem SSH na máquina não custa tentar fazer algo 
do tipo:
http://www.netadm.com.br/?p=132
Nunca testei + acho que funcionaria no seu caso.


att,


 
--®!©@®dø--

TECNOLOGIA EM REDES DE COMPUTADORES.
PÓS GRADUANDO EM SISTEMAS DE INFORMAÇÃO
LIVRE POR NECESSIDADE, LINUX POR OPÇÃO!
NÃO SEJA PRÁTICO, SEJA EFICIENTE!
USE A FORÇA, OLHE OS FONTES!





 De: China china...@gmail.com
Para: Rodolfo rof20...@gmail.com 
Cc: debian-user-portuguese debian-user-portuguese@lists.debian.org 
Enviadas: Sexta-feira, 7 de Março de 2014 12:50
Assunto: Re: [OT] levantar postgres na porta 80 ou 443
 

É, mas meu caso é diferente porque é outro provedor. Já descobri pela
documentação que as portas 80, 21, 22 e 443 são reservadas e não posso
usar com o postgres, o jeito vai ser acessar via ssh e rodar comandos
SQL na mão...

Em 7 de março de 2014 12:21, Rodolfo rof20...@gmail.com escreveu:
 Tem que ver o que o vanderley falou, pois tinha esquecido desse detalhe. O
 seu provedor bloqueou algumas portas, mas no roteador voce tem como fazer
 tipo um redirecionamente, ja tive esse problema tambem, no caso no meu
 roteador alterei para que qualquer conexao que viesse da porta X fosse
 transferido para a porta 1, dai na aplicacao fiz uma alteracao, no caso
 nao foi com o banco de dados, foi outro programa. Meu roteador era um
 motorola da empresa NET.


 Em 7 de março de 2014 11:16, China china...@gmail.com escreveu:

 Então, eu já editei o arquivo alterando a porta, mas o servidor não
 sobe...

 Em 7 de março de 2014 10:55, Rodolfo rof20...@gmail.com escreveu:
  Tente editar um arquivo chamado postgresql.conf, fica em
  /etc/postgresql/VERSAO/main/..
 
  Nesse arquivo você tem a configuração da porta, bem como o limite de
  conexões e outras coisas mais. Nunca tentei alterar a porta, mas é nesse
  arquivo que tem essas configurações, da uma olhada, flw.
 
 
 
 
  Em 7 de março de 2014 09:29, China china...@gmail.com escreveu:
 
  Pessoal, desculpem o OT. Estou montando um ambiente doméstico para
  desenvolvimento Debian + postgres e não estou conseguindo acessar o
  postgres pelo pgadmin. Olhando com minha operadora, disseram que a
  porta padrão do postgres está fechada e não vão abrir. Aí tentei
  levantar o postgres na porta 80 e não consegui, dá mensagem de erro
  que tem outro postmaster ocupando a porta ou outra coisa impedindo.
 
  Sei que a porta 80 ou 443 são portas abertas e um SGBD que se preze
  jamais usaria estas portas, mas como é uma situação de aprendizado não
  terá problema. Tem jeito de fazer o postgres usar a porta 80 ou 443,
  que são as unicas abertas???
 
  --
 
  Enviado de um dispositivo móvel
 
 
  --
  To UNSUBSCRIBE, email to
  debian-user-portuguese-requ...@lists.debian.org
  with a subject of unsubscribe. Trouble? Contact
  listmas...@lists.debian.org
  Archive:
 
  https://lists.debian.org/caema1k9fro3sttugwtocfatuzdzak-6k2qxymtw30enayd7...@mail.gmail.com

 
 



 --

 Enviado de um dispositivo móvel





-- 

Enviado de um dispositivo móvel


--
To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CAEMA1k9_8wHKB4gL_9wGWb=jgaketsbgdmloziowoo+pkaw...@mail.gmail.com

Tutoriel Installation de owncloud avec Postgres, Lighttpd et Imap

2013-08-29 Thread julien
Pour me rattraper, je poste les instructions d'installation de Owncloud 
5.0.10 sur Debian Wheezy avec lighttpd (1.4.31) et postgresql (9.1.9).


Owncloud sera installé dans un sous répertoire du webroot

Configuration de lighttpd :
---

# interdiction d'accès au répertoire data
$HTTP[url] =~ ^/owncloud/data/ {
 url.access-deny = ()
   }

# suppression du listing des répertoires
$HTTP[url] =~ ^/owncloud($|/) {
 dir-listing.activate = disable
   }

Configuration de postgresql :
-

# sudo -u postgres psql

/* Création de l'utilisateur owncloud */
CREATE USER owncloud WITH PASSWORD '';
/* Création de la base de donnée */
CREATE DATABASE owncloud TEMPLATE template0 ENCODING 'UNICODE';
/* Changement de propriétaire de la base */
ALTER DATABASE owncloud OWNER TO owncloud;
/* Affectation des droits */
GRANT ALL PRIVILEGES ON DATABASE owncloud TO owncloud;

Extraction de l'archive :
-

cd web root
# extraction de l'archive dans le webroot
tar xjf localisation de l'archive/owncloud-5.0.10.tar.bz2
# Changement de propriétaire du répertoire owncloud afin que la 
procédure d'installation puisse créer le répertoire data

chown www-data:www-data owncloud
# Changement de propriétaire des sous répertoire apps et config afin 
des pouvoirs ajouter des applications et d'écrire le fichier de config 
(config/config.php)

chown -R www-data:www-data owncloud/apps/ owncloud/config/

Procédure d'installation :
--
/!\ sur un navigateur propre :-)

aller à l'adresse correspondant au répertoire owncloud 
(http://localhost/owncloud, http://monserveur.xxx.fr/owncloud, )
compléter les informations demandés et créer un compte administrateur 
avec un login différent de vos utilisateurs imap


Ajout des utilisateurs IMAP :
-

Comme indiquer ici : 
http://php.xbe.ch/index.php/Owncloud_IMAP_Authentication


Modifier le fichier webroot/owncloud/config/config.php afin de 
rajouter le backend imap et de charger la librairie pour imap.


Il faut ajouter la ligne :

   
require_once(dirname(__FILE__).'/../apps/user_external/lib/imap.php');


avant la définition de $CONFIG,
et le bloc :

 'user_backends' = array(
array('class' = 'OC_User_IMAP', 'arguments' = 
array('{localhost/novalidate-cert:143}'))

  ),

à la fin du tableau $CONFIG

Votre fichier config.php doit ressembler à ça :

?php

require_once(dirname(__FILE__).'/../apps/user_external/lib/imap.php');

$CONFIG = array (
  'instanceid' = 'x',
  'passwordsalt' = 'x',
  'datadirectory' = 'webroot/owncloud/data',
  'dbtype' = 'pgsql',
  'version' = '5.0.17',
  'dbname' = 'owncloud',
  'dbhost' = 'localhost',
  'dbtableprefix' = 'oc_',
  'dbuser' = 'owncloud',
  'dbpassword' = 'xx',
  'installed' = true,
  'user_backends' = array(
array('class' = 'OC_User_IMAP', 'arguments' = 
array('{localhost/novalidate-cert:143}'))

  ),
);


--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists

Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe
vers debian-user-french-requ...@lists.debian.org
En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org
Archive: 
http://lists.debian.org/fc38f794f46049496a51793579b0f...@127.0.0.1nura.eu



Re: [GENERAL] cloning postgres-xc

2013-02-12 Thread Zenaan Harkness
Here's what I just tried:

cd postgresql.git/
git remote add -f --tags -m master pgxc
git://postgres-xc.git.sourceforge.net/gitroot/postgres-xc/postgres-xc
# this resulted in only 8.6MiB download just now,
# on an up-to-date pg.git repo.

#view results:
git remote -v
git branch -a

In my case, remotes/pgxc/HEAD is the only pgxc 'branch' so it appears
I'm not quite doing something right. Looking at the repo summary page
at:
http://postgres-xc.git.sourceforge.net/git/gitweb.cgi?p=postgres-xc/postgres-xc;a=summary
suggests that there are a number of 'heads' which I assume are branches.
My ~/.gitconfig only has user name and email, so nothing there should
be stopping the branches from being downloaded.

I guess I'm missing something in my command above. From my reading of
man git-remote it should do the trick...

Anyone know what's wrong with it?

TIA
Zenaan


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/caosgnsrqssfxqhsk6_2sfwdsferpojyz2rgycvlrk52dvla...@mail.gmail.com



Re: [GENERAL] cloning postgres-xc

2013-02-12 Thread Zenaan Harkness
On 2/13/13, Zenaan Harkness z...@freedbms.net wrote:
 Here's what I just tried:

 cd postgresql.git/
 git remote add -f --tags -m master pgxc
 git://postgres-xc.git.sourceforge.net/gitroot/postgres-xc/postgres-xc

Please note, the above two lines should be one, forgot to manually format sorry.

 # this resulted in only 8.6MiB download just now,
 # on an up-to-date pg.git repo.

 #view results:
 git remote -v
 git branch -a

 In my case, remotes/pgxc/HEAD is the only pgxc 'branch' so it appears
 I'm not quite doing something right. Looking at the repo summary page
 at:
 http://postgres-xc.git.sourceforge.net/git/gitweb.cgi?p=postgres-xc/postgres-xc;a=summary
 suggests that there are a number of 'heads' which I assume are branches.
 My ~/.gitconfig only has user name and email, so nothing there should
 be stopping the branches from being downloaded.

 I guess I'm missing something in my command above. From my reading of
 man git-remote it should do the trick...

 Anyone know what's wrong with it?

I just tried the following:

$ git remote set-branches --add master pgxc/master
fatal: No such remote 'master'

??


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/caosgnsqnuj7m+teumdu1qngb+h79df7+bon618k5hgxgsxw...@mail.gmail.com



[SOLVED] Re: [Postgres-xc-general] [GENERAL] cloning postgres-xc

2013-02-12 Thread Zenaan Harkness
[SOLVED]

On 2/13/13, Michael Paquier michael.paqu...@gmail.com wrote:
 On Wed, Feb 13, 2013 at 1:28 PM, Zenaan Harkness z...@freedbms.net wrote:

 On 2/13/13, Zenaan Harkness z...@freedbms.net wrote:
  # this resulted in only 8.6MiB download just now,
  # on an up-to-date pg.git repo.

 This quantity of data looks correct, half of it being due to the data in
 doc-xc/.

 $ git remote set-branches --add master pgxc/master
 fatal: No such remote 'master'

 I am not a GIT specialist, but in order to get all the branches, do only
 that:
 git remote add -f pgxc git://
 postgres-xc.git.sourceforge.net/gitroot/postgres-xc/postgres-xc

 You will be able to see all the remote branches available with git branch
 -a

Bingo! Thank you very much. I ran git remote rm pgxc (rm my previous
remote attempt), then ran your command.
It appears that for some reason --tags option (possibly when combined
with -m) causes a problem with fetching remote branches.

Much appreciated,
Zenaan


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAOsGNSTskhXjpZdW1ge_wX8zHbVtz9VptE+nW=euteiu1kv...@mail.gmail.com



Re: [Postgres-xc-general] [GENERAL] cloning postgres-xc

2013-02-12 Thread Michael Paquier
On Wed, Feb 13, 2013 at 1:28 PM, Zenaan Harkness z...@freedbms.net wrote:

 On 2/13/13, Zenaan Harkness z...@freedbms.net wrote:
  # this resulted in only 8.6MiB download just now,
  # on an up-to-date pg.git repo.

This quantity of data looks correct, half of it being due to the data in
doc-xc/.

$ git remote set-branches --add master pgxc/master
 fatal: No such remote 'master'


I am not a GIT specialist, but in order to get all the branches, do only
that:
git remote add -f pgxc git://
postgres-xc.git.sourceforge.net/gitroot/postgres-xc/postgres-xc

You will be able to see all the remote branches available with git branch
-a
In this case, remote branches will be listed as remotes/pgxc/master,
remotes/pgxc/REL1_0_STABLE, or whatever.

Then checkout a branch, here master, with that:
git branch --track pgxc-master pgxc/master
git checkout pgxc-master
This will create a branch called pgxc-master set to track the remote PGXC
master branch when doing a git pull on this branch. Replace pgxc-master by
the name you wish.
-- 
Michael


Re: [Postgres-xc-general] [SOLVED] Re: [GENERAL] cloning postgres-xc

2013-02-12 Thread Koichi Suzuki
Appreciate for very nice and interesting topics.
--
Koichi Suzuki


2013/2/13 Zenaan Harkness z...@freedbms.net:
 [SOLVED]

 On 2/13/13, Michael Paquier michael.paqu...@gmail.com wrote:
 On Wed, Feb 13, 2013 at 1:28 PM, Zenaan Harkness z...@freedbms.net wrote:

 On 2/13/13, Zenaan Harkness z...@freedbms.net wrote:
  # this resulted in only 8.6MiB download just now,
  # on an up-to-date pg.git repo.

 This quantity of data looks correct, half of it being due to the data in
 doc-xc/.

 $ git remote set-branches --add master pgxc/master
 fatal: No such remote 'master'

 I am not a GIT specialist, but in order to get all the branches, do only
 that:
 git remote add -f pgxc git://
 postgres-xc.git.sourceforge.net/gitroot/postgres-xc/postgres-xc

 You will be able to see all the remote branches available with git branch
 -a

 Bingo! Thank you very much. I ran git remote rm pgxc (rm my previous
 remote attempt), then ran your command.
 It appears that for some reason --tags option (possibly when combined
 with -m) causes a problem with fetching remote branches.

 Much appreciated,
 Zenaan

 --
 Free Next-Gen Firewall Hardware Offer
 Buy your Sophos next-gen firewall before the end March 2013
 and get the hardware for free! Learn more.
 http://p.sf.net/sfu/sophos-d2d-feb
 ___
 Postgres-xc-general mailing list
 postgres-xc-gene...@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/postgres-xc-general


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/caan2te_yzfyjw395hppp6l9o491neg-x83q3j1xsy50srqu...@mail.gmail.com



Re: Conectar qt con postgres en Debian Squeeze.-

2012-01-19 Thread Marc Olive
Buenas,

On Wednesday 18 January 2012 22:57:28 Marioca wrote:
 Buenas lista, estoy intentando crear una aplicación en QT 4 c++ y mi gran
 problema es que no puedo crear una conexión con la base de datos postgres,
 el error es lo siguiente:
 -/home/user/repositorio/distribucion/conectar.cpp:28: error: no matching
 function for call to ‘QSqlDatabase::setPort(QString)’
 -/usr/include/qt4/QtSql/qsqldatabase.h:113: note: candidates are: void
 QSqlDatabase::setPort(int)

Estas pasando el puntero de un string a la funcion setPort(), y esa funcion 
solo acepta variables de tipo entero. Convierte el parámetro del puerto a 
entero (int) antes de llamar a setPort(), o asegurate que ya es un numero y no 
un texto.


-- 

Marc Olivé
Blau Advisors

marc.ol...@blauadvisors.com

C/ Molí de Guasch, 10 baixos 1a,
43440 L’Espluga de Francolí (Tarragona)
Tel. +34 977 870 702
Tel i Fax. + 34 977 870 507

www.blauadvisors.com


signature.asc
Description: This is a digitally signed message part.


Conectar qt con postgres en Debian Squeeze.-

2012-01-18 Thread Marioca
Buenas lista, estoy intentando crear una aplicación en QT 4 c++ y mi gran
problema es que no puedo crear una conexión con la base de datos postgres,
el error es lo siguiente:
-/home/user/repositorio/distribucion/conectar.cpp:28: error: no matching
function for call to ‘QSqlDatabase::setPort(QString)’
-/usr/include/qt4/QtSql/qsqldatabase.h:113: note: candidates are: void
QSqlDatabase::setPort(int)
(esto es dentro de una clase que cree que se llama conectar.cpp y en el
main.cpp defini como el primer elemento a ejecutar al momento de iniciar el
programa)
y en el fichero qsqldatabase.h el parámetro de Port esta definido de la
siguiente manera: void setPort(int p);
Desde ya muchas gracias y espero la ayuda de algún experimentado en el
tema.-

-- 
Per quanto riguarda
Marioca


Re: [FORA DO TÓPICO] Instalar PHP, Postgres e Apache em HD Externo

2011-11-14 Thread caio ferreira
Prezado China

1 - crie uma máquina virtual com o Linux+Apache+Postgres+PHP;
2 - instale o vmware Player no computador do cliente em que você
deseja demonstrar;

--

 .''`.   Caio Abreu Ferreira
: :'  :  abreuf...@gmail.com
`. `'`   Debian User
  `-

2011/11/14 China china.lis...@gmail.com:
 Caros;

 Desculpem o Off, mas preciso instalar uma aplicação Web em PHP com
 banco postgres em um disco externo, para demonstração. Podem me ajudar
 como posso fazer a instalação do PHP, Apache e Postgres em um disco
 externo para rodar em outra máquina Linux??


--
To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/cajrsrclmgaihapleynxuyv8qgcv-kwqsyclkpmib5kgi++1...@mail.gmail.com



Re: [FORA DO TÓPICO] Instalar PHP, Postgres e Apache em HD Externo

2011-11-14 Thread Felipe Augusto van de Wiel (faw)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Olá,

On 14-11-2011 09:25, China wrote:
 Desculpem o Off, mas preciso instalar uma aplicação Web em PHP com
 banco postgres em um disco externo, para demonstração. Podem me
 ajudar como posso fazer a instalação do PHP, Apache e Postgres em
 um disco externo para rodar em outra máquina Linux??

Há sugestões similares à máquina virtual, como criar uma área de
chroot ou uma máquina pra usar KVM ao invés de VMware. Todavia,
se você não quer correr riscos, você pode compilar tudo isso numa
área separada pra poder levar com você, te dará trabalho mas você
pode usar ferramenta como apt-build e checkinstall.

Abraço,
- -- 
Felipe Augusto van de Wiel (faw) f...@funlabs.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCgAGBQJOwYRoAAoJEMa4WYSFUi4tzaoP/ilvNYgjrgJT/JgGwJaKFSY2
ie5tR+9EuUu1E4T8J4BJ1cIUlehdSb1ZZZS+BmDZ1OcBdimFwomGLMOklDEoBDlq
XA7OPrqQi16EQGvjeFlZqmEje3UuJDIOqMvX0YI/FZnCPbYcsDSVSY1B3lutiX6p
oAmN+l3RS8dx5mWsTsRPMt0mkwRlfnnaP6coe6kM2BzRWQzSFM6SfUYFAT83UV+T
7EPO/Ot/6DmHhs5uEXyVkl4wEIsL4dQtpaw/USOnPlJxK95FkRGsyDQtSiNjcX6O
v5dzUULRMWbpNmi89cbkHUJ+3fXqU1ioXAMQWXD+H9PPbeZ4Dg6l7Hnl/wNovVoo
9g45VrsCOUPkSEcUvv3zmNX9nRu+DLzPvhSV8xhzVl6jf0nmFVgOXBwKV99WSW45
1B7xBYB3WXNHunemDKXOTeRqbavDBEt8uog+JH80N14xHny3OSkoAGqfIc2AN+N/
6KJaN7+5HZCzeRfLpN3ZyDSvs7J6lwSTrIndhj7hawPL7i4/8f4SEWeeF9Dl1brp
ozIDKBsv0eH7s4FOR1k+yRWNF1DANL0GVZnFO2Nqh+fk79U86iPUqx4BBPW+XPBN
7NFx/5AscvdSfKh/LP4fOXqhCW6YaQnHM5jwUH5Jp4ZwzOX7LgCplryGO/s4fIIB
62r+WgbksKLskVtaOPsa
=i7/W
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4ec1846d.6070...@funlabs.org



Re: postgres fails to start

2011-07-13 Thread Jude DaShiell
If each slave is on its own drive, the problem slave may be on a 
corrupted drive.  If the corruption happens in the right place on that 
drive that would probably explain your difficulty.

On Tue, 12 Jul 2011, kuLa wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Hi all,
 I'm having crazy problem which I can't solve.
 Basically I have 12 sets (master + slave) of postgres on Lenny. Master
 is shipping WAL files into slaves where they are applied. Easy pesy
 works perfectly, except 1 set where I even can't bring up postgres on slave.
 Info I'm receiving is:
 
 Starting PostgreSQL 8.3 database server: mainError: Could not parse
 locale out of pg_controldata output failed!
 
 which is fair enough specially when I'm running:
 
 /usr/lib/postgresql/8.3/bin/pg_controldata [my data dir]
 
 i have only following info:
 
 WARNING: Calculated CRC checksum does not match value stored in file.
 Either the file is corrupt, or it has a different layout than this program
 is expecting.  The results below are untrustworthy.
 Segmentation fault
 
 but when doing that on other slaves I have proper output.
 As I have no idea what's wrong with this set up any hints/ideas are welcome.
 - -- 
 
 |_|0|_|  |
 |_|_|0| Heghlu'Meh QaQ jajVam  |
 |0|0|0|  kuLa -  |
 
 gpg --keyserver pgp.mit.edu --recv-keys 0xC100B4CA
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.10 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
 
 iQEcBAEBAgAGBQJOHDHIAAoJEOqHloDBALTKV3cH/39+rj6Ey8IP0O5ZtLW4Bj9J
 jDKflOEk9dvQrSRBckCLo/yuVkO8qzOexvyolgTeMHon4koieOc50lgGLLr86+5B
 kUQKYDVnKTKVyyugAIzeozD+/HcjrcQi9i1/Qfw2pAxZQ/dLDv3BwR6635ZbXWiE
 3QlA42lCwSjK8DHW50uPK7w4l8ZNe8PL+jN96HOPUX/PjPPyGdFZqMiZeEcUOW07
 7K8HZaVvx0V5xB6zyGI7FV0ReM6pKbmB7p7ABmwmvXwXoTQ+6W1qdYFGGmXDBaqo
 BjscEoIgDYhTa02Rq/SEjKtTnTlR9kH+2BRlI+7gFPLn5r+FF8Xmrwrc0F0pRds=
 =5MPf
 -END PGP SIGNATURE-
 
 
 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/alpine.bsf.2.00.1107130342430.61...@freire1.furyyjbeyq.arg



{solved} Re: postgres fails to start

2011-07-13 Thread kuLa
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 12/07/11 12:36, kuLa wrote:
 Hi all,
 I'm having crazy problem which I can't solve.
 Basically I have 12 sets (master + slave) of postgres on Lenny. Master
 is shipping WAL files into slaves where they are applied. Easy pesy
 works perfectly, except 1 set where I even can't bring up postgres on slave.

well, to make long story short, 32bit bits won't work in 64bit
environment caused by one of my colleagues who didn't fallow build
procedure (segfault was the clue)
btw thx for reply to Jude
- -- 

|_|0|_|  |
|_|_|0| Heghlu'Meh QaQ jajVam  |
|0|0|0|  kuLa -  |

gpg --keyserver pgp.mit.edu --recv-keys 0xC100B4CA
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJOHV/pAAoJEOqHloDBALTKQSsH/1Synfxq0DcqdBj8A/kFvu8M
JOxUoEse+eRmOTkNSirRSZtjS3cN/DNSpc8hNCc6Fw45juD1SgVIKVCW51mmxt8S
dMIVfviOlmTnYU+Ka7OXcZ/Uyd6BRVyr/swvL9e+0QLMx3aGEZOP4qHDk+9dXFb7
zZLfyH9DfkrUYZuR3M0JiWohSbbA0thPZwG8UtzFZcxieTl5u3NBE7XAVwDFYX2l
l7uDxd106q0C/1T2MuLu0M8QGnmRnRX758RHspkabGtWb7mqB+NvoryZBO2z1Dpg
bekXT5+EQghZZFW4LaIgcZk+KiJ26C9mWwtknj77dseKnZH730vvcJ7FZ9voMBQ=
=1SUH
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4e1d5fe9.9070...@kulisz.net



postgres fails to start

2011-07-12 Thread kuLa
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all,
I'm having crazy problem which I can't solve.
Basically I have 12 sets (master + slave) of postgres on Lenny. Master
is shipping WAL files into slaves where they are applied. Easy pesy
works perfectly, except 1 set where I even can't bring up postgres on slave.
Info I'm receiving is:

Starting PostgreSQL 8.3 database server: mainError: Could not parse
locale out of pg_controldata output failed!

which is fair enough specially when I'm running:

/usr/lib/postgresql/8.3/bin/pg_controldata [my data dir]

i have only following info:

WARNING: Calculated CRC checksum does not match value stored in file.
Either the file is corrupt, or it has a different layout than this program
is expecting.  The results below are untrustworthy.
Segmentation fault

but when doing that on other slaves I have proper output.
As I have no idea what's wrong with this set up any hints/ideas are welcome.
- -- 

|_|0|_|  |
|_|_|0| Heghlu'Meh QaQ jajVam  |
|0|0|0|  kuLa -  |

gpg --keyserver pgp.mit.edu --recv-keys 0xC100B4CA
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJOHDHIAAoJEOqHloDBALTKV3cH/39+rj6Ey8IP0O5ZtLW4Bj9J
jDKflOEk9dvQrSRBckCLo/yuVkO8qzOexvyolgTeMHon4koieOc50lgGLLr86+5B
kUQKYDVnKTKVyyugAIzeozD+/HcjrcQi9i1/Qfw2pAxZQ/dLDv3BwR6635ZbXWiE
3QlA42lCwSjK8DHW50uPK7w4l8ZNe8PL+jN96HOPUX/PjPPyGdFZqMiZeEcUOW07
7K8HZaVvx0V5xB6zyGI7FV0ReM6pKbmB7p7ABmwmvXwXoTQ+6W1qdYFGGmXDBaqo
BjscEoIgDYhTa02Rq/SEjKtTnTlR9kH+2BRlI+7gFPLn5r+FF8Xmrwrc0F0pRds=
=5MPf
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4e1c31c8.5010...@kulisz.net



Re: removing postgres

2010-11-03 Thread Jochen Schulz
Sthu Deus:
 Jochen:
 
 Why do you use dpkg for that? Have you tried apt-get or aptitude? I
 guess they will do what you want to achieve.
 
 J.
 
 I've tried that already. Please check this:
 
 The following packages will be REMOVED:
   postgresql-8.3 [8.3.11-0lenny1]  postgresql-client-8.3
 [8.3.12-0lenny1] 0 packages upgraded, 0 newly installed, 2 to remove
 and 0 not upgraded. Need to get 0B of archives. After unpacking 20.8MB
 ...
 Removing postgresql-8.3 ...
 /var/lib/dpkg/info/postgresql-8.3.prerm: line
 17: /usr/share/postgresql-common/maintscripts-functions: No such file
 or directory

Ok, so the installed package is broken. What message do you get when you
try to reinstall that package?

As a brute-force method, you could edit the file
/var/lib/dpkg/info/postgresql-8.3.prerm and insert 'exit 0' in the
second line or so.

J.
-- 
A passionate argument means more to me than a blockbuster movie.
[Agree]   [Disagree]
 http://www.slowlydownward.com/NODATA/data_enter2.html


signature.asc
Description: Digital signature


Re: removing postgres

2010-11-03 Thread Sthu Deus
Thank You for Your time and answer, Jochen:

 Ok, so the installed package is broken. What message do you get when
 you try to reinstall that package?

Well. I have installed again:

postgresql-client-common
postgresql-common

, did change ownership (user and group to postgres) of my cluster and
this did the trick. Now I have working postgresql server! Therefore we
can finish here.
 
 As a brute-force method, you could edit the file
 /var/lib/dpkg/info/postgresql-8.3.prerm and insert 'exit 0' in the
 second line or so.

Thank You again for the interesting work around!


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4cd1ab64.d07b0e0a.7967.0...@mx.google.com



removing postgres

2010-11-02 Thread Sthu Deus
Good day.

I can not remove the following:

$ sudo /usr/bin/dpkg -r postgresql-8.3 postgresql-client-8.3
Removing postgresql-8.3 ...
/var/lib/dpkg/info/postgresql-8.3.prerm: line
17: /usr/share/postgresql-common/maintscripts-functions: No such file
or directory dpkg: error processing postgresql-8.3 (--remove):
subprocess pre-removal script returned error exit status 1 dpkg:
dependency problems prevent removal of postgresql-client-8.3:
postgresql-8.3 depends on postgresql-client-8.3. dpkg: error processing
postgresql-client-8.3 (--remove): dependency problems - not removing
Errors were encountered while processing:
 postgresql-8.3
 postgresql-client-8.3

Is there a way I can perform this? (Or it is just my destiny - to live
w/ it? :)

Thank You for Your time.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4cd04887.cb7b0e0a.6b22.a...@mx.google.com



Re: removing postgres

2010-11-02 Thread Javier Barroso
On Tue, Nov 2, 2010 at 6:21 PM, Sthu Deus sthu.d...@gmail.com wrote:
 Good day.

 I can not remove the following:

 $ sudo /usr/bin/dpkg -r postgresql-8.3 postgresql-client-8.3
 Removing postgresql-8.3 ...
 /var/lib/dpkg/info/postgresql-8.3.prerm: line
 17: /usr/share/postgresql-common/maintscripts-functions: No such file
 or directory dpkg: error processing postgresql-8.3 (--remove):
 subprocess pre-removal script returned error exit status 1 dpkg:
 dependency problems prevent removal of postgresql-client-8.3:
 postgresql-8.3 depends on postgresql-client-8.3. dpkg: error processing
 postgresql-client-8.3 (--remove): dependency problems - not removing
 Errors were encountered while processing:
  postgresql-8.3
  postgresql-client-8.3

 Is there a way I can perform this? (Or it is just my destiny - to live
 w/ it? :)
Try reinstalling and uninstalling:

aptitude reinstall postgresql-client-8.3 postgresql-8.3
aptitude remove postgresql-client-8.3 postgresql-8.3

Regards,


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktin+vzs-fscsnfydmpwzrn-v6fa3eof5ba6h9...@mail.gmail.com



Re: removing postgres

2010-11-02 Thread Jochen Schulz
Sthu Deus:
 
 I can not remove the following:
 
 $ sudo /usr/bin/dpkg -r postgresql-8.3 postgresql-client-8.3

Why do you use dpkg for that? Have you tried apt-get or aptitude? I
guess they will do what you want to achieve.

J.
-- 
Americans have a better life.
[Agree]   [Disagree]
 http://www.slowlydownward.com/NODATA/data_enter2.html


signature.asc
Description: Digital signature


Re: removing postgres

2010-11-02 Thread Sthu Deus
Thank You for Your time and answer, Javier:

 aptitude reinstall postgresql-client-8.3 postgresql-8.3
 aptitude remove postgresql-client-8.3 postgresql-8.3

I have tried already that method and I got the same problem. - Some
install script complains about failure on some option start. - Actually
this is the very reason why I remove postgres - I need it, but it
is of no worth to me as long as it does not work - it just takes my
disc space.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4cd0e502.cc7e0e0a.1b2a.c...@mx.google.com



Re: removing postgres

2010-11-02 Thread Sthu Deus
Thank You for Your time and answer, Jochen:

 Sthu Deus:
  
  I can not remove the following:
  
  $ sudo /usr/bin/dpkg -r postgresql-8.3 postgresql-client-8.3
 
 Why do you use dpkg for that? Have you tried apt-get or aptitude? I
 guess they will do what you want to achieve.
 
 J.

I've tried that already. Please check this:

The following packages will be REMOVED:
  postgresql-8.3 [8.3.11-0lenny1]  postgresql-client-8.3
[8.3.12-0lenny1] 0 packages upgraded, 0 newly installed, 2 to remove
and 0 not upgraded. Need to get 0B of archives. After unpacking 20.8MB
...
Removing postgresql-8.3 ...
/var/lib/dpkg/info/postgresql-8.3.prerm: line
17: /usr/share/postgresql-common/maintscripts-functions: No such file
or directory dpkg: error processing postgresql-8.3 (--remove):
subprocess pre-removal script returned error exit status 1 dpkg:
postgresql-client-8.3: dependency problems, but removing anyway as you
request: postgresql-8.3 depends on postgresql-client-8.3. Removing
postgresql-client-8.3 ... /var/lib/dpkg/info/postgresql-client-8.3.prerm:
line 8: /usr/share/postgresql-common/maintscripts-functions: No such
file or directory dpkg: error processing postgresql-client-8.3
(--remove): subprocess pre-removal script returned error exit status
1 /var/lib/dpkg/info/postgresql-client-8.3.postinst: line
5: /usr/share/postgresql-common/maintscripts-functions: No such file or
directory dpkg: error while cleaning up: subprocess post-installation
script returned error exit status 1 Errors were encountered while
processing: postgresql-8.3 postgresql-client-8.3
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4cd0e70f.ce7c0e0a.0cf1.c...@mx.google.com



Re: Postgres Horario e Verao

2010-02-17 Thread Marcelo de Assis
É... parece que você tem um belo problema.
O horário do Postgre é definido pelo horário do S.O. no qual ele roda.

Eu sugiro o seguinte:

Quando o relógio do linux voltar, troque o fuso horário do banco para
o próprio fuso horário atual - talvez isso dê um refresh no valor de
data que fica na memória do Postgre.

Caso isso não funcione, e o banco não possa realmente parar, você pode
tentar colocar o fuso para GMT -02 ao invés de GMT -03.

Não me lembro muito bem como se faz isso. O link abaixo mostra todas
as variáveis de ambiente do Postgre - inclusive a do timezone.

http://www.postgresql.org/docs/8.0/interactive/libpq-envars.html


--
To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/4cd0dfdc1002170526v58f9a38fpcf230c2829e55...@mail.gmail.com



Re: Postgres Horario e Verao

2010-02-17 Thread Marcelo de Assis
Parece que um cara teve um problema parecido com o seu e a mesma ideia que  
eu.


http://old.nabble.com/Timezone-e-horário-de-verão-td14702703.html


Quando eu disse em atualizar o timezone, eu me referia a trocar o valor de  
uma variável de ambiente.


Quando o relógio passar, da meia noite, logue no banco como admin e  
aplique novamente o fuso horário atual. Talvez isso force o banco fazer  
uma nova leitura nesse link simbólico e atualize a data.


SET TIME ZONE 'America/Sao_Paulo';

Pelo o que fala a documentação, este comando é idêntico a este:

SET TIME ZONE -3;

Você pode tentar usar o timezone do S.O.:

SET TIME ZONE LOCAL; ou
SET TIME ZONE DEFAULT;

http://www.postgresql.org/docs/8.1/interactive/sql-set.html


Quando eu disse atualizar o timezone para -2, estava falando de atrasar o  
fuso em uma hora para o horário ficar aparentemente normal.

Na hora que a máquina for resetada, volta-se com o fuso novamente para -3.


--
[ ]'s - Marcelo de Assis


--
To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/op.u8alcgkqk9b...@zedascouve.router



Postgres Horario e Verao

2010-02-16 Thread gilmarlinux
Ola a todos!

Como chegando proximo ao fim do horario de verao, como todo ano tenho o seguinte
problema. O sistema operacional Linux e retirado do horario de verao 
automaticamente,
porem o postgresql isto nao ocorre, sempre tenho q reinicia-lo para que ele 
consiga
pegar a hora correta.
So que apesar dos nos isto este ficando complexo, pois nao esta sobrando tempo 
para
reiniciar o postgres, pois o mesmo e utilizado por toda aplicacoes da empresa 
que nao
para.
Alguem sabe se exite alguma maneira de fazer o postgres sair do horario de verao
automaticamente sem precisar reiniciar o banco?

Desde ja agradeco.


-- 
To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/49751.201.67.50.91.1266334605.squir...@mail.agrovale.com.br



Re: Postgres server does not start.

2010-02-02 Thread Sthu Deus
Thank You for Your time and answer, debu...@acrasis.net:

On 2010-01-31 13:43, Sthu Deus wrote:
 2010-01-31 13:31:03 GMT-7 LOG:  could not bind IPv4 socket: Address already 
 in use
 2010-01-31 13:31:03 GMT-7 HINT: Is another postmaster already
 running on port 5432? If not, wait a few seconds and retry.
 2010-01-31 13:31:03 GMT-7 WARNING:  could not create listen socket for 
 localhost
 2010-01-31 13:31:03 GMT-7 FATAL:  could not create any TCP/IP sockets

Most likely the cluster 'main' is already listening on port 5432.  Try
configuring either 'main' or 'mine' to listen on another port, say
5433, by editing the cluster's postgresql.conf.

Yes, it did the trick w/ changing socket dir. to /tmp. And it works, still, I'm 
sure, I did not change it. Weird it went this way.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Postgres server does not start.

2010-01-31 Thread debuser
On 2010-01-31 13:43, Sthu Deus wrote:
 2010-01-31 13:31:03 GMT-7 LOG:  could not bind IPv4 socket: Address already 
 in use
 2010-01-31 13:31:03 GMT-7 HINT: Is another postmaster already
 running on port 5432? If not, wait a few seconds and retry.
 2010-01-31 13:31:03 GMT-7 WARNING:  could not create listen socket for 
 localhost
 2010-01-31 13:31:03 GMT-7 FATAL:  could not create any TCP/IP sockets

Most likely the cluster 'main' is already listening on port 5432.  Try
configuring either 'main' or 'mine' to listen on another port, say
5433, by editing the cluster's postgresql.conf.
-- 
Nick


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Postgres server does not start.

2010-01-30 Thread Sthu Deus
Good day.


Please, help me to run my postgres DB.

Here is problem description.

I have 2 instances in /var/lib/postgresql/8.3:

main
mine

When I start postgres server w/ command:

/etc/init.d/postgresql-8.3 start

I get:

Starting PostgreSQL 8.3 database server: main mineThe PostgreSQL server failed 
to start. Please check the log output. failed!
 failed!

In the appropriate logs I have:

for the main:

2010-01-31 13:31:00 GMT-7 LOG:  could not load root certificate file 
root.crt: no SSL error reported
2010-01-31 13:31:00 GMT-7 DETAIL:  Will not verify client certificates.
2010-01-31 13:31:00 GMT-7 LOG:  test message did not get through on socket for 
statistics collector
2010-01-31 13:31:00 GMT-7 LOG:  disabling statistics collector for lack of 
working socket
2010-01-31 13:31:00 GMT-7 WARNING:  autovacuum not started because of 
misconfiguration
2010-01-31 13:31:00 GMT-7 HINT:  Enable the track_counts option.
2010-01-31 13:31:00 GMT-7 LOG:  database system was shut down at 2010-01-31 
13:10:52 GMT-7
2010-01-31 13:31:00 GMT-7 LOG:  incomplete startup packet
2010-01-31 13:31:00 GMT-7 LOG:  database system is ready to accept connections

and for the mine:

2010-01-31 13:31:03 GMT-7 LOG:  could not load root certificate file 
root.crt: no SSL error reported
2010-01-31 13:31:03 GMT-7 DETAIL:  Will not verify client certificates.
2010-01-31 13:31:03 GMT-7 LOG:  could not bind IPv4 socket: Address already in 
use
2010-01-31 13:31:03 GMT-7 HINT:  Is another postmaster already running on port 
5432? If not, wait a few seconds and retry.
2010-01-31 13:31:03 GMT-7 WARNING:  could not create listen socket for 
localhost
2010-01-31 13:31:03 GMT-7 FATAL:  could not create any TCP/IP sockets

So, I can not connect to the databases from mine.
From the logs I do understand that mine have a concurrency w/ the main - 
but I did not change postgres configuration - as far as I remember, - and since 
I installed postgres I used both - main and mine - w/o any concurrency.

So, what is wrong? Or how I can fix it?


PS Reading of the install and run chapters of the postgres documentation gave 
me no ideas, as well as searching on Internet - relating to my problem.

Thanks for Your time.

PS Please, reply to the list.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Debian com BD postgres atrazado 1 hora.

2009-02-20 Thread gilmarlinux


Ola a todos.
Utilizo um servidor postgres 8.2.4 em um servidor debian etch, e agora com a 
saida do
horario de verao e retornando o horario normal o servidor debian etch voltou o
horario  ao horario normal porem no banco de dados deste servidor o mesmo esta 
com
1 hora de atrazo.
Segue abaixo o parametro timezone do linux debian:
cat /etc/timezoneAmerica/Sao_Paulo
resultado do comando date no debianSex Fev 20 22:53:43 BRT 2009
 
Abaixo arquivo linha timezone do postgresql.conf,
# - Locale and Formatting -datestyle = 'iso, dmy'timezone =
'America/Sao_Paulo
 
Desde ja agradeco


odzyskanie maili postgres

2009-02-19 Thread Michał Leon Grzegorczyk
Witam.
Miałem sobie serwerek pocztowy  postgresa na debianie z zainstalowanym
openwebmail.
Niestety padła płyta główna.
Nie potrzebuję odzyskiwać całego serwera, wystarczą mi
skrzynki pocztowe użytkowników i ewentualnie książki adresowe z openwebmaila.
Czy ktoś może mi poradzić jak sie do tego zabrać?
Widziałem, że w homefolderach użytkowników znajdują się pliki np.
sent-mail lub o nazwie folderów np. poczta, prywatne itd..



-- 
Pozdrowienia,
 Michał Leon Grzegorczyk


-- 
To UNSUBSCRIBE, email to debian-user-polish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: odzyskanie maili postgres

2009-02-19 Thread Wojciech Ziniewicz
W dniu 19 lutego 2009 14:20 użytkownik Michał Leon Grzegorczyk
micho...@poczta.onet.pl napisał:
 Witam.
 Miałem sobie serwerek pocztowy  postgresa na debianie z zainstalowanym
 openwebmail.
 Niestety padła płyta główna.
 Nie potrzebuję odzyskiwać całego serwera, wystarczą mi
 skrzynki pocztowe użytkowników i ewentualnie książki adresowe z openwebmaila.
 Czy ktoś może mi poradzić jak sie do tego zabrać?
 Widziałem, że w homefolderach użytkowników znajdują się pliki np.
 sent-mail lub o nazwie folderów np. poczta, prywatne itd..

Jesli system plikow na dyskach na ktorych miales dane dziala to po
prostu skopiuj dane o uzytkownikach wraz z ich folderami na nowy
system .

Zastanawia mnie tylko to co napisales serwer pocztowy postgresa   -
czy chodzilo o to ze na serwerze rowniez zainstalowana byla baza
postgresql ?

-- 
Wojciech Ziniewicz
http://rfc.sunsite.dk/rfc/rfc2324.html


--
To UNSUBSCRIBE, email to debian-user-polish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



RE: odzyskanie maili postgres

2009-02-19 Thread Michał Leon Grzegorczyk
Sorki, zastosowałem mały skrót myślowy :)
Chodziło mi oczywiście o postfixa z postgresem.
Dzięki za info
MG

-Original Message-
From: Wojciech Ziniewicz [mailto:wojciech.ziniew...@gmail.com] 
Sent: Thursday, February 19, 2009 3:17 PM
To: debian-user-polish@lists.debian.org
Subject: Re: odzyskanie maili postgres

W dniu 19 lutego 2009 14:20 użytkownik Michał Leon Grzegorczyk
micho...@poczta.onet.pl napisał:
 Witam.
 Miałem sobie serwerek pocztowy  postgresa na debianie z zainstalowanym
 openwebmail.
 Niestety padła płyta główna.
 Nie potrzebuję odzyskiwać całego serwera, wystarczą mi
 skrzynki pocztowe użytkowników i ewentualnie książki adresowe z openwebmaila.
 Czy ktoś może mi poradzić jak sie do tego zabrać?
 Widziałem, że w homefolderach użytkowników znajdują się pliki np.
 sent-mail lub o nazwie folderów np. poczta, prywatne itd..

Jesli system plikow na dyskach na ktorych miales dane dziala to po
prostu skopiuj dane o uzytkownikach wraz z ich folderami na nowy
system .

Zastanawia mnie tylko to co napisales serwer pocztowy postgresa   -
czy chodzilo o to ze na serwerze rowniez zainstalowana byla baza
postgresql ?

-- 
Wojciech Ziniewicz
http://rfc.sunsite.dk/rfc/rfc2324.html


-- 
To UNSUBSCRIBE, email to debian-user-polish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org


-- 
To UNSUBSCRIBE, email to debian-user-polish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



LAMPP + Postgres + Proxy Squid.... Qual a configura ção mínima ideal para o servidor?

2009-01-27 Thread Saul Lima
Vamos precisar de um servidor com mysql + Apache + PHP 5 + Postgressql +
Squid fazendo controle de banda e cache aqui no meu setor de trabalho. Qual
seria uma configuração razoável para se ter isto rodando bem, considerando
que estamos numa rede de aproximadamente 15 pcs. Pretendo usar o Debian
Lenny para este propósito.


Re: apt-get upgrade... and now postgres 7.4 won't start!

2009-01-26 Thread Eugene V. Lyubimkin
will trillich wrote:
 on debian 4.0, apt-get update  apt-get upgrade led to a problem
 where postgres 7 won't start! apparently utility program
 pg_controldata is supposed to generate some locale-info that's
 parsed by perl script pg_ctlcluster, and the two suddenly don't jibe
 at all--
[snip]
 The PostgreSQL server failed to start. Please check the log output:
 /usr/lib/postgresql/7.4/bin/postmaster: could not find the database system
 Expected to find it in the directory /var/lib/postgresql/7.4/main,
 but could not open file
 /var/lib/postgresql/7.4/main/global/pg_control: No such file or
 directory
 
 
 there *is* a pg_control.gz file there, which contains [digit] digits...?
 
 ideas?
File a bug, and wait for maintainers' comments.

-- 
Eugene V. Lyubimkin aka JackYF, JID: jackyf.devel(maildog)gmail.com
Ukrainian C++ Developer, Debian Maintainer, APT contributor



signature.asc
Description: OpenPGP digital signature


apt-get upgrade... and now postgres 7.4 won't start!

2009-01-25 Thread will trillich
on debian 4.0, apt-get update  apt-get upgrade led to a problem
where postgres 7 won't start! apparently utility program
pg_controldata is supposed to generate some locale-info that's
parsed by perl script pg_ctlcluster, and the two suddenly don't jibe
at all--

argh:


Setting up postgresql-7.4 (7.4.23-0etch1) ...
Starting PostgreSQL 7.4 database server: mainpg_controldata: could not
open file /var/lib/postgresql/7.4/main/global/pg_control for
reading: No such file or directory
Error: Could not parse locale out of pg_controldata output
 failed!
invoke-rc.d: initscript postgresql-7.4, action start failed.
dpkg: error processing postgresql-7.4 (--configure):
 subprocess post-installation script returned error exit status 1


trying /etc/init.d/postgresql-7.4 start -- we traced the process where
the trouble occurs to perl script pg_ctlcluster:

# perl -Td `which pg_ctlcluster ` 7.4 main start

after some stepping and nexting, we get to here:

pg_controldata: could not open file
/var/lib/postgresql/7.4/main/global/pg_control for reading: No such
file or directory
PgCommon::get_cluster_locales(/usr/share/postgresql-common/PgCommon.pm:707):
707:restore_exec;

   DB2 v
704:prepare_exec ('LC_ALL', 'LANG', 'LANGUAGE');
705:$ENV{'LC_ALL'} = 'C';
[B]706:my $result = open (CTRL, '-|', $pg_controldata,
(cluster_data_directory $version, $cluster));
[/B]707==  restore_exec;
708:return (undef, undef) unless defined $result;
709:while (CTRL) {
710:if (/^LC_CTYPE\W*(\S+)\s*$/) {
711:$lc_ctype = $1;
712 } elsif (/^LC_COLLATE\W*(\S+)\s*$/) {
713:$lc_collate = $1;

the problem is in line 706 -- open(filehandle, mode, file) -- the mode
is -| meaning that file is really a command that generates output
that's piping to our perl process... but $pg_controldata isn't playing
nice:

/usr/lib/postgresql/7.4/bin/pg_controldata /var/lib/postgresql/7.4/main
pg_controldata: could not open file
/var/lib/postgresql/7.4/main/global/pg_control for reading: No such
file or directory

therein lies the rub. suggestions are welcome!

===

also, if i 'cheat' and manually inject $lc_type = 'C' around line 709,
then the result is only slightly different:


The PostgreSQL server failed to start. Please check the log output:
/usr/lib/postgresql/7.4/bin/postmaster: could not find the database system
Expected to find it in the directory /var/lib/postgresql/7.4/main,
but could not open file
/var/lib/postgresql/7.4/main/global/pg_control: No such file or
directory


there *is* a pg_control.gz file there, which contains [digit] digits...?

ideas?

--
will trillich -- http://faq.serensoft.com/
Less is only more where more is no good. -- Frank Lloyd Wright


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Another problem Postgresql: createdb: could not connect to database postgres: could not connect to server: No such file or directory

2008-04-12 Thread NN_il_Confusionario
On Sat, Apr 12, 2008 at 10:45:46AM +0530, Jaisen N.D. wrote:
 I have another problem with postgresql 8.1.
 initdb: directory /var/lib/postgresql/data exists but is not empty
 If you want to create a new database system, either remove or empty
 the directory /var/lib/postgresql/data or run initdb
 with an argument other than /var/lib/postgresql/data.

I you cannot do what the above suggests, explain why.

-- 
Chi usa software non libero avvelena anche te. Digli di smettere.
Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale.
Informatica=bomba: intelligente solo per gli stupidi che ci credono.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



could not connect to database postgres: could not connect to server

2008-04-11 Thread Jaisen N.D.
I have another problem with postgresql 8.1. I have uninstalled the
postgresql-8.3 and removed its configuration files, and the user postgres
also. Then installed postgresql-8.1. But when I started to create a
database, it shows some message like this..
Here is the output I got:-
-
localhost:/home/user# su - postgres
[EMAIL PROTECTED]:~$ /usr/lib/postgresql/8.1/bin/initdb -D
/var/lib/postgresql/data
The files belonging to this database system will be owned by user
postgres.
This user must also own the server process.

The database cluster will be initialized with locale en_IN.
The default database encoding has accordingly been set to UTF8.

initdb: directory /var/lib/postgresql/data exists but is not empty
If you want to create a new database system, either remove or empty
the directory /var/lib/postgresql/data or run initdb
with an argument other than /var/lib/postgresql/data.
[EMAIL PROTECTED]:~$ /usr/lib/postgresql/8.1/bin/pg_ctl -D
/var/lib/postgresql/data -l logfile start
postmaster starting
[EMAIL PROTECTED]:~$ /usr/lib/postgresql/8.1/bin/createdb test
createdb: could not connect to database postgres: could not connect to
server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket
/var/run/postgresql/.s.PGSQL.5432?
[EMAIL PROTECTED]:~$
-
Why it can't connect to server? How can I resolve it??

-- 
(`'·.¸(`'·.¸  ¸.·'´) ¸.·'´)
«´¨`·*Jaisen.*..´¨`»
(¸.·'´(¸.·'´   `'·.¸)`'·.¸)
¸.·´
(  `·.¸
`·.¸ )
¸.·)´
(.·´
( `v´ )
  `v´


Another problem Postgresql: createdb: could not connect to database postgres: could not connect to server: No such file or directory

2008-04-11 Thread Jaisen N.D.
I have another problem with postgresql 8.1. I have uninstalled the
postgresql-8.3 and removed its configuration files, and the user postgres
also. Then installed postgresql-8.1. But when I started to create a
database, it shows some message like this..
Here is the output I got:-
-
localhost:/home/user# su - postgres
[EMAIL PROTECTED]:~$ /usr/lib/postgresql/8.1/bin/initdb -D
/var/lib/postgresql/data
The files belonging to this database system will be owned by user
postgres.
This user must also own the server process.

The database cluster will be initialized with locale en_IN.
The default database encoding has accordingly been set to UTF8.

initdb: directory /var/lib/postgresql/data exists but is not empty
If you want to create a new database system, either remove or empty
the directory /var/lib/postgresql/data or run initdb
with an argument other than /var/lib/postgresql/data.
[EMAIL PROTECTED]:~$ /usr/lib/postgresql/8.1/bin/pg_ctl -D
/var/lib/postgresql/data -l logfile start
postmaster starting
[EMAIL PROTECTED]:~$ /usr/lib/postgresql/8.1/bin/createdb test
createdb: could not connect to database postgres: could not connect to
server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket
/var/run/postgresql/.s.PGSQL.5432?
[EMAIL PROTECTED]:~$
-
Why it can't connect to server? How can I resolve it??


-- 
(`'·.¸(`'·.¸  ¸.·'´) ¸.·'´)
«´¨`·*Jaisen.*..´¨`»
(¸.·'´(¸.·'´   `'·.¸)`'·.¸)
¸.·´
(  `·.¸
`·.¸ )
¸.·)´
(.·´
( `v´ )
  `v´


problem with pgadmin3 and postgres 8.3

2008-03-31 Thread Alex Samad
Hi

It seems like the older version of pgadmin3 don't play well with
postgres 8.3. The postgres people suggest (recommend) using version 1.8.

But it seems like we can't have version 1.8 or anything greater than
version 1.4 because wxwidgets isn't being maintained (well that is to say
that the current maintainer doesn't want to go to version 2.8)

Are there other people having this problem ?  This is another package I
am using that has been affected by wxwidgets

alex

-- 
His (Cheney's) explanation was a very strong and powerful explanation and I'm 
satisfied with the explanation he gave.

- George W. Bush
02/16/2006
Washington, DC
Commenting on the Vice President's shooting of a hunting partner


signature.asc
Description: Digital signature


Re: plusieurs serveurs Postgres : accès par libpq ?

2007-10-18 Thread Frédéric BOITEUX
Le mer 17 oct 2007 23:07:37 CEST, Oliver Elphick [EMAIL PROTECTED] a
écrit :

 Il faut trouver le port de chaque cluster.  Il n'y a pas de fonction
 bibliothèque pour accéder aux clusters ; alors, on doit utiliser une
 commande convenable, telle que :
 
pg_lsclusters | grep '^version  *cluster ' | awk '{print $3}'
 
 On peut appeler son programme avec le resultat de cette commande comme
 port.  Sans doute, le programme aura une option pour ça.  Dans le
 programme il faut passer le port au PQconnectdb().  Enveloppe tout dans
 un script :
 
 #!/bin/bash
 VERSION=$1
 CLUSTER=$2
 mon_programme -p $( pg_lsclusters |
   grep ^$VERSION  *$CLUSTER  |
   awk '{print $3}' )

  Ok, j'hésitais à faire ainsi, mais puisqu'il n'y a pas (pour
l'instant ?) d'alternative, je vais suivre le conseil.

Bonne journée,
Fred.



Re: plusieurs serveurs Postgres : accès par libpq ?

2007-10-18 Thread Oliver Elphick
On Thu, 2007-10-18 at 09:10 +0200, Frédéric BOITEUX wrote:
 Le mer 17 oct 2007 23:07:37 CEST, Oliver Elphick [EMAIL PROTECTED] a
 écrit :

  Enveloppe tout dans
  un script :

 
   Ok, j'hésitais à faire ainsi, mais puisqu'il n'y a pas (pour
 l'instant ?) d'alternative, je vais suivre le conseil.

Je crois que jusqu'à présent personne n'a jamais demander l'API C pour
les clusters.

On peut le contribuer...

-- 
Oliver Elphick  [EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver
GPG: 1024D/A54310EA  92C8 39E7 280E 3631 3F0E  1EC0 5664 7A2F A543 10EA
 
   Do you want to know God?   http://www.lfix.co.uk/knowing_god.html


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: plusieurs serveurs Postgres : accès par libpq ?

2007-10-17 Thread Oliver Elphick
On Wed, 2007-10-17 at 16:04 +0200, Frédéric BOITEUX wrote:
   Bonjour,
 
   Sur une machine Debian Etch, j'ai plusieurs serveurs Postgresql (en
 différentes versions) qui gèrent chacun des bases de données. Pour un
 utilisateur, il a le choix entre plusieurs serveurs, comme on peut le
 voir avec la commande pg_lsclusters. Je peux sélectionner le bon
 « cluster » dans des commandes comme psql (avec l'option « --cluster
 version/nom de la base », mais en revanche, je n'y arrive pas dans
 un programme C lié à la bibliothèque libpq : en effet, je n'ai pas
 trouvé l'équivalent dans l'API C de l'option --cluster... C'est sans
 doute normal vu que c'est un ajout de Debian, mais j'aimerais savoir
 comment accéder à une base précise avec cette bibliothèque libpq ?

Il faut trouver le port de chaque cluster.  Il n'y a pas de fonction
bibliothèque pour accéder aux clusters ; alors, on doit utiliser une
commande convenable, telle que :

   pg_lsclusters | grep '^version  *cluster ' | awk '{print $3}'

On peut appeler son programme avec le resultat de cette commande comme
port.  Sans doute, le programme aura une option pour ça.  Dans le
programme il faut passer le port au PQconnectdb().  Enveloppe tout dans
un script :

#!/bin/bash
VERSION=$1
CLUSTER=$2
mon_programme -p $( pg_lsclusters |
grep ^$VERSION  *$CLUSTER  |
awk '{print $3}' )

-- 
Oliver Elphick  [EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver
GPG: 1024D/A54310EA  92C8 39E7 280E 3631 3F0E  1EC0 5664 7A2F A543 10EA
 
   Do you want to know God?   http://www.lfix.co.uk/knowing_god.html


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: postgres install fails on sid

2007-10-16 Thread Andy Smith
Hi John,

On Sun, Oct 07, 2007 at 06:05:42PM +, John Masters wrote:
 I've chmod 666 /dev/null and now postgres installs OK. However I
 hesitate to go further as this server is on a VPS. Could that be why the
 perms were not set properly?

I can think of no reason why anyone would provision a server of any
sort with a /dev/null that is a regular file, so I suspect a mistake
somewhere.  Also I suspect it has not been in that state for a long
time, as so many things redirect their output to /dev/null that it
would quickly grow to fill the filesystem.

Cheers,
Andy

-- 
http://bitfolk.com/ -- No-nonsense VPS hosting
Encrypted mail welcome - keyid 0x604DE5DB


signature.asc
Description: Digital signature


postgres install fails on sid

2007-10-07 Thread John Masters
I have posted this to the Postgres list also.

Cannot get Postgres 8.2 working on Debian sid using the Debian package.
At the config stage I get a message telling me to run:-

pg_createcluster 8.2 main --start

Doing this (as root) produces the following output:-

Creating new cluster (configuration: /etc/postgresql/8.2/main, \
data: /var/lib/postgresql/8.2/main)...
sh: /dev/null: Permission denied
fgets failure: Success
The program postgres is needed by initdb but was not found in the
same directory as /usr/lib/postgresql/8.2/bin/initdb.
Check your installation.
Error: initdb failed

But the program postgres IS in the same directory as initdb

8.1 installed OK on my Etch server so I tried that on sid
Same result

Anyone any ideas?

Any pointers would be very welcome
--
Regards, John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: postgres install fails on sid

2007-10-07 Thread Florian Kulzer
On Sun, Oct 07, 2007 at 13:49:11 +, John Masters wrote:
 I have posted this to the Postgres list also.
 
 Cannot get Postgres 8.2 working on Debian sid using the Debian package.
 At the config stage I get a message telling me to run:-
 
 pg_createcluster 8.2 main --start
 
 Doing this (as root) produces the following output:-
 
 Creating new cluster (configuration: /etc/postgresql/8.2/main, \
 data: /var/lib/postgresql/8.2/main)...
 sh: /dev/null: Permission denied
 fgets failure: Success
 The program postgres is needed by initdb but was not found in the
 same directory as /usr/lib/postgresql/8.2/bin/initdb.
 Check your installation.
 Error: initdb failed
 
 But the program postgres IS in the same directory as initdb
 
 8.1 installed OK on my Etch server so I tried that on sid
 Same result
 
 Anyone any ideas?

I would start with the first problem that is reported: sh: /dev/null:
Permission denied. What are the permissions of the /dev/null node on
your system? It should be writable by anyone:

$ ls -l /dev/null
crw-rw-rw- 1 root root 1, 3 2007-10-07 14:28 /dev/null

-- 
Regards,| http://users.icfo.es/Florian.Kulzer
  Florian   |


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: postgres install fails on sid

2007-10-07 Thread John Masters
On 16:04 Sun 07 Oct , Florian Kulzer wrote:
 On Sun, Oct 07, 2007 at 13:49:11 +, John Masters wrote:
  I have posted this to the Postgres list also.
  
  Cannot get Postgres 8.2 working on Debian sid using the Debian package.
  At the config stage I get a message telling me to run:-
  
  pg_createcluster 8.2 main --start
  
  Doing this (as root) produces the following output:-
  
  Creating new cluster (configuration: /etc/postgresql/8.2/main, \
  data: /var/lib/postgresql/8.2/main)...
  sh: /dev/null: Permission denied
 
 I would start with the first problem that is reported: sh: /dev/null:
 Permission denied. What are the permissions of the /dev/null node on
 your system? It should be writable by anyone:
 
 $ ls -l /dev/null
 crw-rw-rw- 1 root root 1, 3 2007-10-07 14:28 /dev/null
 
Thanks, that seems to be the problem. permissions for /dev/null 
are -rw-r--r--

What is the c part of the permissions and how do you set it? I have
googled and searched my books but all I can find is that it is a
character device file but no mention of how to set the attribute.
Would it be OK to just chmod 666?

--
Regards, John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: postgres install fails on sid

2007-10-07 Thread Florian Kulzer
On Sun, Oct 07, 2007 at 16:35:44 +, John Masters wrote:
 On 16:04 Sun 07 Oct, Florian Kulzer wrote:
  On Sun, Oct 07, 2007 at 13:49:11 +, John Masters wrote:
   I have posted this to the Postgres list also.
   
   Cannot get Postgres 8.2 working on Debian sid using the Debian package.
   At the config stage I get a message telling me to run:-
   
   pg_createcluster 8.2 main --start
   
   Doing this (as root) produces the following output:-
   
   Creating new cluster (configuration: /etc/postgresql/8.2/main, \
   data: /var/lib/postgresql/8.2/main)...
   sh: /dev/null: Permission denied
  
  I would start with the first problem that is reported: sh: /dev/null:
  Permission denied. What are the permissions of the /dev/null node on
  your system? It should be writable by anyone:
  
  $ ls -l /dev/null
  crw-rw-rw- 1 root root 1, 3 2007-10-07 14:28 /dev/null
  
 Thanks, that seems to be the problem. permissions for /dev/null 
 are -rw-r--r--
 
 What is the c part of the permissions and how do you set it? I have
 googled and searched my books but all I can find is that it is a
 character device file but no mention of how to set the attribute.

The c means that it is a special file to begin with; you cannot just
set this property for an existing normal file. Such special files used
to be created with the mknod command, but nowadays udev should take
care of their creation.

 Would it be OK to just chmod 666? 

The permission error will probably be gone then, but it would still be a
normal file and not a real /dev/null, which is used to dump the output
of all sorts of commands that are called in scripts. (The job of
/dev/null is to swallow input without a trace.)

I would remove (or rename) the file and run 

udevtrigger

as root, followed by 

echo xxx  /dev/null

That should force udev to create the device node. Afterwards you should
see this:

$ file /dev/null
/dev/null: character special (1/3)

If that does not work then something is wrong with your udev
configuration. The first thing to check is if the relevant rules exist:

$ grep null /etc/udev/*
/etc/udev/links.conf:M null c   1 3
/etc/udev/permissions.rules:KERNEL==null, MODE=0666

If all else fails then you could try to create the device node yourself
(as root):

mknod -m 0666 /dev/null c 1 3

However, if udev is active it will normally intercept this command and
redirect the device node creation to /dev/.static/dev/null (AFAIK).

-- 
Regards,| http://users.icfo.es/Florian.Kulzer
  Florian   |


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: postgres install fails on sid

2007-10-07 Thread John Masters
On 19:14 Sun 07 Oct , Florian Kulzer wrote:
 On Sun, Oct 07, 2007 at 16:35:44 +, John Masters wrote:
  On 16:04 Sun 07 Oct, Florian Kulzer wrote:
   On Sun, Oct 07, 2007 at 13:49:11 +, John Masters wrote:
I have posted this to the Postgres list also.

Cannot get Postgres 8.2 working on Debian sid using the Debian package.
At the config stage I get a message telling me to run:-

pg_createcluster 8.2 main --start

   I would start with the first problem that is reported: sh: /dev/null:
   Permission denied. What are the permissions of the /dev/null node on
   your system? It should be writable by anyone:
   
   $ ls -l /dev/null
   crw-rw-rw- 1 root root 1, 3 2007-10-07 14:28 /dev/null
   
  Thanks, that seems to be the problem. permissions for /dev/null 
  are -rw-r--r--
  
  What is the c part of the permissions and how do you set it? I have
  googled and searched my books but all I can find is that it is a
  character device file but no mention of how to set the attribute.
 
 The c means that it is a special file to begin with; you cannot just
 set this property for an existing normal file. Such special files used
 to be created with the mknod command, but nowadays udev should take
 care of their creation.
 
  Would it be OK to just chmod 666? 
 
 The permission error will probably be gone then, but it would still be a
 normal file and not a real /dev/null, which is used to dump the output
 of all sorts of commands that are called in scripts. (The job of
 /dev/null is to swallow input without a trace.)
 
 
I've chmod 666 /dev/null and now postgres installs OK. However I
hesitate to go further as this server is on a VPS. Could that be why the
perms were not set properly? I have been running this server for about 3
weeks just with a basic mail setup - Postfix/Courier/Procmail passing
all mail through Spamassassin on another server, so some of the obvious
spam I have been sending to /dev/null which seems to work. I am
unfamiliar with the deployment of VPS's, I just use them, so I assume
this should have been setup when the VPS was created.

--
Regards, John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: bugzilla + postgres?

2007-09-25 Thread Fredrik Jonson
Hej Bengt,

Jag har installerat bugzilla mot postgres, dock inte från debianpaketet
då jag ville använda 3.0 och debian bara tillhandahåller 2.22. Dessutom
var debians version enbart inriktad på mysql-stöd när jag kollade senast.

Att installera tar-fil innebär förstås att man får hålla reda på
säkerhetsuppdateringar själv - 3.0.2 kom precis i dagarna - det är dock 
enkelt att uppdatera. Bara kom ihåg att gå med i [EMAIL PROTECTED]

Jag gjorde installationen på Etch (4.0) mot debians postgresql-8.2.

Installera följande paket:

 libpg-perl
 libemail-send-perl
 libemail-mime-modifier-perl
 libemail-simple-creator-perl
 libdbi-perl
 libdbd-pg-perl
 libchart-perl
 libxml-twig-perl
 libhtml-scrubber-perl
 libsoap-lite-perl
 libnet-ldap-perl
 dh-make-perl

Sedan finns ett antal extrapaket som man inte hittar i debians arkiv.
Dessa fick jag alltså bygga själv:

 dh-make-perl --notest --build --cpan Email::MIME::Creator
 dpkg -i libemail-mime-creator-perl_1.453-1_all.deb
 dh-make-perl --notest --build --cpan Email::Reply
 dpkg -i [...]
 dh-make-perl --notest --build --cpan Email::MIME::Attachment::Stripper
 dpkg -i [...]
 dh-make-perl --notest --build --cpan PatchReader
 dpkg -i [...]

Någon med cpan-karma kan säkert tala om för dig hur skadligt det är
att göra detta med flaggan --notest. Jag vet inte. Caveat emptor.

Sedan var det bara att göra som vanligt, skapa en databas med UNICODE,
följ instruktionerna i QUICKSTART, kör ./checksetup sjuttielva gånger
medan du rättar till localconfig och så vidare.

-- 
Fredrik Jonson


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



bugzilla + postgres ?

2007-09-24 Thread Bengt Månsson
Har någon lyckats få till kombinationen bugzilla och postgres på debian? 
Kan du dela med dig? 
/Bengt


  __
Går det långsamt? Skaffa dig en snabbare bredbandsuppkoppling. 
Sök och jämför hos Yahoo! Shopping.
http://shopping.yahoo.se/c-100015813-bredband.html?partnerId=96914325




Re: Costo computacional usando expresiones regulares en MySQL/Postgres

2007-08-28 Thread Iñaki Baz Castillo
El Martes, 28 de Agosto de 2007, Alejandro Santos escribió:
  a) ¿Es notorio el coste computacional al usar SIMILAR TO o REGEXP
  sobre usar LIKE?

 Nunca tuve la oportunidad de usar REGEXP en ninguno de los dos sitemas
 de bases de datos que mencionás, pero por lo que tengo entendido
 cualquiera de esas tres alternativas (like, similar to, regexp) hacen
 un scan de la tabla y no aprovechan indices salvo casos muy, muy, muy
 específicos.

 Eso es, si tenes 1.000.000 de registros en la tabla, se deben procesar
 todos y cada uno de ellos teniendo que leerlos a todos desde disco.

¿Quieres decir entonces que el usar un LIKE en una consulta es mucho más 
costoso que una asignación =? Me refiero a sin usar índices.




-- 
Iñaki Baz Castillo



Costo computacional usando expresiones regulares en MySQL/Postgres

2007-08-27 Thread Iñaki Baz Castillo
Hola, de cara a un proyecto necesito usar expresiones regulares en consultas 
SQL pero sobre todo **prima** que el servidor sea lo más eficiente posible 
(se trata de un servidor SIP OpenSer que debe rutar llamadas sin ver mermado 
su rendimiento en la medida de lo posible).

Sé que hay tres tipos de expresiones regulares en SQL:
 - LIKE
 - SIMILAR TO
 - REGEXP

Aún no sé si realmente necesito hacer expresiones regulares complejas o me 
podría servir con el limitado LIKE (es muy posible que me sea suficiente).

Mis preguntas serían:

a) ¿Es notorio el coste computacional al usar SIMILAR TO o REGEXP sobre 
usar LIKE?

b) De momento estoy montando un prototipo con MySQL pero planeo usar Postgres. 
Creo haber entendido que los tres tipos de expresiones regulares son SQL 
estándar perfectamente igualmente soportadas por ambas bases de datos. ¿Es 
así o me encontraré con algún problema al migrar a Postgres?


Saludos y gracias.


-- 
Iñaki Baz Castillo



Re: Costo computacional usando expresiones regulares en MySQL/Postgres

2007-08-27 Thread Alejandro Santos
El 27/08/07, Iñaki Baz Castillo [EMAIL PROTECTED] escribió:
 Hola, de cara a un proyecto necesito usar expresiones regulares en consultas
 SQL pero sobre todo **prima** que el servidor sea lo más eficiente posible
 (se trata de un servidor SIP OpenSer que debe rutar llamadas sin ver mermado
 su rendimiento en la medida de lo posible).

 Sé que hay tres tipos de expresiones regulares en SQL:
  - LIKE
  - SIMILAR TO
  - REGEXP

 Aún no sé si realmente necesito hacer expresiones regulares complejas o me
 podría servir con el limitado LIKE (es muy posible que me sea suficiente).

 Mis preguntas serían:

 a) ¿Es notorio el coste computacional al usar SIMILAR TO o REGEXP sobre
 usar LIKE?

 b) De momento estoy montando un prototipo con MySQL pero planeo usar Postgres.
 Creo haber entendido que los tres tipos de expresiones regulares son SQL
 estándar perfectamente igualmente soportadas por ambas bases de datos. ¿Es
 así o me encontraré con algún problema al migrar a Postgres?



Nunca tuve la oportunidad de usar REGEXP en ninguno de los dos sitemas
de bases de datos que mencionás, pero por lo que tengo entendido
cualquiera de esas tres alternativas (like, similar to, regexp) hacen
un scan de la tabla y no aprovechan indices salvo casos muy, muy, muy
específicos.

Eso es, si tenes 1.000.000 de registros en la tabla, se deben procesar
todos y cada uno de ellos teniendo que leerlos a todos desde disco.

Siempre se aconseja que organices tus datos y tu modelo de datos para
lograr una buena utilización de los índices, ya que mejoran la
performance ENORMEMENTE, pero tampoco no un abuso de ellos ya que
pueden estropear tu performace ENORMEMENTE.

En especial, un indice sobre una columna numerica entera es una de
esas bendiciones que todos esperamos tener en nuestros proyectos.

Saludos.

 Saludos y gracias.


 --
 Iñaki Baz Castillo





probleme postgres

2007-07-16 Thread De Leeuw Guy
bonjour

Je n'arrive plus a démarrer postgres

voici les messages d'erreurs :

[EMAIL PROTECTED]:/home/guy# /etc/init.d/postgresql-8.2 start
Starting PostgreSQL 8.2 database server: main* The PostgreSQL server
failed to start. Please check the log output:
2007-07-16 09:50:36 CEST LOG:  n'a pas pu charger le fichier du
certificat racine «root.crt»: aucun code d'erreur SSL rapporté
2007-07-16 09:50:36 CEST DÉTAIL:  Ne vérifiera pas les certificats du
client.
2007-07-16 09:50:36 CEST LOG:  le système de bases de données a été
interrompu lors d'une récupération à 2007-07-16 09:36:39 CEST
2007-07-16 09:50:36 CEST ASTUCE :  Ceci signifie probablement que des
données ont été corrompues et que vous devrez utiliser la dernière
sauvegarde pour la restauration.
2007-07-16 09:50:36 CEST LOG:  l'enregistrement du point de vérification
est à 0/77C500C
2007-07-16 09:50:36 CEST LOG:  ré-exécution de l'enregistrement à
0/77C500C ; l'annulation de l'enregistrement est à 0/0 ; arrêt FALSE
2007-07-16 09:50:36 CEST LOG:  prochain identifiant de transaction :
0/96094 ; prochain OID : 325972
2007-07-16 09:50:36 CEST LOG:  prochain MultiXactId: 1; prochain
MultiXactOffset: 0
2007-07-16 09:50:36 CEST LOG:  le système de bases de données n'a pas
été arrêté proprement ; restauration automatique en cours
2007-07-16 09:50:36 CEST LOG:  la ré-exécution commence à 0/77C5054
2007-07-16 09:50:36 CEST FATAL:  n'a pas pu créer le répertoire
«pg_tblspc/318132» : Le fichier existe.
2007-07-16 09:50:36 CEST CONTEXTE :  xlog redo file create:
318132/318266/318267
2007-07-16 09:50:36 CEST LOG:  processus de lancement (PID 8054) a
quitte avec le code de sortie 1
2007-07-16 09:50:36 CEST LOG:  Annulation du démarrage à cause d'un
échec dans le processus de lancement
 failed!
[EMAIL PROTECTED]:/home/guy#

merci d'avance

Guy


-- 
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench   
Vous pouvez aussi ajouter le mot ``spam'' dans vos champs From et
Reply-To:

To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: probleme postgres

2007-07-16 Thread Edi STOJICEVIC
* De Leeuw Guy [EMAIL PROTECTED] [2007-07-16 10:15:02 +0200] wrote :

 bonjour
 
 Je n'arrive plus a démarrer postgres
 
 voici les messages d'erreurs :
 
 [EMAIL PROTECTED]:/home/guy# /etc/init.d/postgresql-8.2 start
 Starting PostgreSQL 8.2 database server: main* The PostgreSQL server
 failed to start. Please check the log output:
 2007-07-16 09:50:36 CEST LOG:  n'a pas pu charger le fichier du
 certificat racine «root.crt»: aucun code d'erreur SSL rapporté
 2007-07-16 09:50:36 CEST DÉTAIL:  Ne vérifiera pas les certificats du
 client.
 2007-07-16 09:50:36 CEST LOG:  le système de bases de données a été
 interrompu lors d'une récupération à 2007-07-16 09:36:39 CEST
 2007-07-16 09:50:36 CEST ASTUCE :  Ceci signifie probablement que des
 données ont été corrompues et que vous devrez utiliser la dernière
 sauvegarde pour la restauration.
 2007-07-16 09:50:36 CEST LOG:  l'enregistrement du point de vérification
 est à 0/77C500C
 2007-07-16 09:50:36 CEST LOG:  ré-exécution de l'enregistrement à
 0/77C500C ; l'annulation de l'enregistrement est à 0/0 ; arrêt FALSE
 2007-07-16 09:50:36 CEST LOG:  prochain identifiant de transaction :
 0/96094 ; prochain OID : 325972
 2007-07-16 09:50:36 CEST LOG:  prochain MultiXactId: 1; prochain
 MultiXactOffset: 0
 2007-07-16 09:50:36 CEST LOG:  le système de bases de données n'a pas
 été arrêté proprement ; restauration automatique en cours
 2007-07-16 09:50:36 CEST LOG:  la ré-exécution commence à 0/77C5054
 2007-07-16 09:50:36 CEST FATAL:  n'a pas pu créer le répertoire
 «pg_tblspc/318132» : Le fichier existe.
 2007-07-16 09:50:36 CEST CONTEXTE :  xlog redo file create:
 318132/318266/318267
 2007-07-16 09:50:36 CEST LOG:  processus de lancement (PID 8054) a
 quitte avec le code de sortie 1
 2007-07-16 09:50:36 CEST LOG:  Annulation du démarrage à cause d'un
 échec dans le processus de lancement
  failed!
 [EMAIL PROTECTED]:/home/guy#
 
 merci d'avance
 
 Guy

Salut,

Apparement des donnes ont ete corrompues et j'espere que tu as une
sauvegarde de dispo ... 

As-tu essaye de redemarrer avec une sauvegarde ? 


-- 
. ''`.  (\___/) E d i   S T O J I C E V I C
: :'  : (='.'=) http://www.debianworld.org 
`. `~'  ()_() GPG: 0x1237B032
  `-


-- 
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench   
Vous pouvez aussi ajouter le mot ``spam'' dans vos champs From et
Reply-To:

To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: probleme postgres

2007-07-16 Thread Daniel Huhardeaux

De Leeuw Guy wrote:

bonjour
  

Bonjour

Je n'arrive plus a démarrer postgres

voici les messages d'erreurs :
[...]
2007-07-16 09:50:36 CEST FATAL:  n'a pas pu créer le répertoire
«pg_tblspc/318132» : Le fichier existe.
  

Et en supprimant/déplacant le fichier existant ca ne le fait pas?

--
Daniel  Huhardeaux   _   _ _ _
enum+48 22 434 6431 (_  __) _  ) _  (_  __) _  _(_)
iaxtel   1-700-849-6983  / / / // / // / / / / /_/ / /
sip/iax:callto [EMAIL PROTECTED]/_/ ( ___( ___/ /_/ (_/ (_/_/.netFWD# 422493


--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench   
Vous pouvez aussi ajouter le mot ``spam'' dans vos champs From et

Reply-To:

To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: probleme postgres

2007-07-16 Thread De Leeuw Guy
Salut Daniel

Oui merci, en supprimant le tablespace c'est ok

Guy

Daniel Huhardeaux a écrit :
 De Leeuw Guy wrote:
 bonjour
   
 Bonjour
 Je n'arrive plus a démarrer postgres

 voici les messages d'erreurs :
 [...]
 2007-07-16 09:50:36 CEST FATAL:  n'a pas pu créer le répertoire
 «pg_tblspc/318132» : Le fichier existe.
   
 Et en supprimant/déplacant le fichier existant ca ne le fait pas?



-- 
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench   
Vous pouvez aussi ajouter le mot ``spam'' dans vos champs From et
Reply-To:

To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Conexion entre 4js y Postgres

2007-05-15 Thread Rhonny Lanz

Buenos dias a todos

Estoy intentando conectar una aplicación cualquiera (una demo) en 4js en una
maquina con centos4.4, en un servidor con postgres7.4 sobre debian.

En el servidor de base de datos, ya tengo configurado el archivo
/etc/postgresql/7.4/main/pg_hba.conf, por lo que coloque en una de sus
lineas esto:
hostnossl  prueba  mipostgres  192.168.1.62  255.255.255.0   trust

Lo cual indica la IP de la maquina donde tengo la aplicación, prueba es la
base de datos y mipostgres es el usuario habilitado para crear y modificar
la base de datos.


Mas abajo y siguiendo la linea del archivo coloque esto en la configuración
de IPv4:
hostall all 192.168.1.62  255.255.255.255   md5
Siendo 192.168.1.62 la IP del servidor donde tengo la aplicación.

Cabe destacar que en ambos equipos, tengo el archivo /etc/hosts.allow
configurado con la ip de cada uno de las maquinas.

Si tienen alguna sugerencia...

Muchas gracias de ante mano

--
Rhonny Lanz R.
Linux Counter 377315
Debian Lenny User -- Enlightenment
Cel 0412-5019537
:~$ /Caracas_ Venezuela/
Blog -- http://lanzr.blogspot.com/


Re: [GENERAL] postgres upgrade

2007-05-12 Thread Ray Stell
On Sat, May 12, 2007 at 09:36:45AM -0400, Tom Allison wrote:
 Meanwhile, can I just use pg_dumpall to pull from 8.1 and then reload  
 into 8.2?


http://www.postgresql.org/docs/faqs.FAQ.html#item3.6


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



postgres upgrade

2007-05-12 Thread Tom Allison

I'm trying to upgrade from 8.1 to 8.2.

Apparently the upgrade I just ran through installed a second database  
on my server.


I was hoping that the debian configuration would migrate this for me.
I recall there was once a time when it would ask you about moving  
data from old to new databases.  Is there some way I can do that?


Meanwhile, can I just use pg_dumpall to pull from 8.1 and then reload  
into 8.2?



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: [GENERAL] postgres upgrade

2007-05-12 Thread Martijn van Oosterhout
On Sat, May 12, 2007 at 09:36:45AM -0400, Tom Allison wrote:
 I'm trying to upgrade from 8.1 to 8.2.
 
 Apparently the upgrade I just ran through installed a second database  
 on my server.
 
 I was hoping that the debian configuration would migrate this for me.
 I recall there was once a time when it would ask you about moving  
 data from old to new databases.  Is there some way I can do that?

Debian has pg_upgradecluster which will migrate from the old version to
the new version. Once migrated you can uninstall 8.1.

Have a nice day,
-- 
Martijn van Oosterhout   [EMAIL PROTECTED]   http://svana.org/kleptog/
 From each according to his ability. To each according to his ability to 
 litigate.


signature.asc
Description: Digital signature


Re: Postgres + Debian

2007-04-25 Thread Santiago Yegros

Ya cambie el tcpip_socket a true. Pero tengo otro problema. Al meter
la contraseña me dice que no corresponde.
Tambien probe con pgAdmin, y me pasa lo mismo. Tambien probe con:
Usuario: root
Contraseña: (la contraseña del root)
y el mismo error.

Acaso tengo que configurar en alguna parte los usuarios y contraseñas
para postgres



Re: Postgres + Debian

2007-04-25 Thread Nelson Castillo

Acaso tengo que configurar en alguna parte los usuarios y contraseñas
para postgres


1) Mira la sintaxis de pg_hba.conf.
2) Mira el manejo de usuarios en postgres. Hay createuser y un usuario
puede ser dueño de una base de dartos (o tener permisos sobre ella).

Atte,
Nelson.-

--
http://arhuaco.org
http://emQbit.com



Fwd: Postgres + Debian

2007-04-25 Thread Miguel Hernandez

-- Forwarded message --
From: Miguel Hernandez [EMAIL PROTECTED]
Date: 25-abr-2007 11:52
Subject: Re: Postgres + Debian
To: Nelson Castillo [EMAIL PROTECTED]


El 25/04/07, Nelson Castillo [EMAIL PROTECTED] escribió:

 Acaso tengo que configurar en alguna parte los usuarios y contraseñas
 para postgres

1) Mira la sintaxis de pg_hba.conf.
2) Mira el manejo de usuarios en postgres. Hay createuser y un usuario
 puede ser dueño de una base de dartos (o tener permisos sobre ella).

Atte,
Nelson.-

--
http://arhuaco.org
http://emQbit.com



hola,

por que tratas con LAPP stack, es super facil de instalar y te
ahorra un mundo de trabajo... LAPP (linux apache postgres y php)



Re: Postgres + Debian

2007-04-25 Thread Santiago Yegros

Bueno, prove todo lo q me comentaron:
Lo que hice fue:
1. Me cambie a usuario postgres, desde alli cree un usuario santiago
(tambien en mi sistema tengo un usuario santiago).
2. Desde el usuario santiago  de mi sistema puedo listar todas las
db's con $psql -l, pero al tratar de crear una bd (con createdb x), me
dice que no tengo los permisos suficientes.
3. Con el usuario santiago le doy $psql -h localhost, y me pide
contraseña, ingreso la contraseña del usuario y me da un error
3. Luego probe con PgAdmin. En usuario conoque santiago, contraseña
vacia y me sale lo siguiente:
   An error has occured:
   Error connecting to the server: fe_sendauth: no
password supplied
Luego, le coloco la contraseña de mi usuarios santiago de mi sistema,
y me sale los siguiente:

  An error has occured:
  Error connecting to the server: FATAL:  Password
authentication failed for user santiago

Bueno, mi pregunta es, esa contraseña del pgadmin y del psql -h
localhost, que contraseña es?? es la del usuario del sistema o del
usuario de postgres. El usuario de Postgres tiene contraseña??


Desde ya gracias por la atencion y ayuda.
Santiago Yegros



Re: Postgres + Debian

2007-04-25 Thread Takeichi Kanzaki Cabrera
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



Santiago Yegros escribió:
 Bueno, prove todo lo q me comentaron:
 Lo que hice fue:
 1. Me cambie a usuario postgres, desde alli cree un usuario santiago
 (tambien en mi sistema tengo un usuario santiago).
 2. Desde el usuario santiago  de mi sistema puedo listar todas las
 db's con $psql -l, pero al tratar de crear una bd (con createdb x), me
 dice que no tengo los permisos suficientes.
 3. Con el usuario santiago le doy $psql -h localhost, y me pide
 contraseña, ingreso la contraseña del usuario y me da un error
 3. Luego probe con PgAdmin. En usuario conoque santiago, contraseña
 vacia y me sale lo siguiente:
An error has occured:
Error connecting to the server: fe_sendauth: no
 password supplied
 Luego, le coloco la contraseña de mi usuarios santiago de mi sistema,
 y me sale los siguiente:
 
   An error has occured:
   Error connecting to the server: FATAL:  Password
 authentication failed for user santiago
 
 Bueno, mi pregunta es, esa contraseña del pgadmin y del psql -h
 localhost, que contraseña es?? es la del usuario del sistema o del
 usuario de postgres. El usuario de Postgres tiene contraseña??

Si, si tiene, para que puedas cambiar la contraseña de tu usuario (a
memoria) la sentencia sería algo así:

alter user 'santiago' with createdb encrypted password 'contraseña'

La opción createdb le da permiso a tu usuario para crear bases de datos.
El encrypted es opcional. Esto debes de ejecutarlo desde el psql. Para
mayor información lee en la documentación de postgre sobre el comando
alter user

 
 
 Desde ya gracias por la atencion y ayuda.
 Santiago Yegros
 

- --
Saludos,
Takeichi Kanzaki Cabrera
Linux Registered User #308138

If you want to be original,
be your self.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGL5g7YyfOuXEDhGARAlaYAKD14UrIV+MiBJWzlPN4w7HlzN+NtwCaAowU
loZQMnaZkSXdrraUzuij/t0=
=6uI7
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Postgres + Debian

2007-04-25 Thread Alvaro

Santiago Yegros escribió:

Bueno, prove todo lo q me comentaron:
Lo que hice fue:
1. Me cambie a usuario postgres, desde alli cree un usuario santiago
(tambien en mi sistema tengo un usuario santiago).
2. Desde el usuario santiago  de mi sistema puedo listar todas las
db's con $psql -l, pero al tratar de crear una bd (con createdb x), me
dice que no tengo los permisos suficientes.
3. Con el usuario santiago le doy $psql -h localhost, y me pide
contraseña, ingreso la contraseña del usuario y me da un error
3. Luego probe con PgAdmin. En usuario conoque santiago, contraseña
vacia y me sale lo siguiente:
   An error has occured:
   Error connecting to the server: fe_sendauth: no
password supplied
Luego, le coloco la contraseña de mi usuarios santiago de mi sistema,
y me sale los siguiente:

  An error has occured:
  Error connecting to the server: FATAL:  Password
authentication failed for user santiago

Bueno, mi pregunta es, esa contraseña del pgadmin y del psql -h
localhost, que contraseña es?? es la del usuario del sistema o del
usuario de postgres. El usuario de Postgres tiene contraseña??


Desde ya gracias por la atencion y ayuda.
Santiago Yegros




si accediste al usuario postgres y desde ahi creaste el usuario santiago 
con 'createuser'
te deberia haber pregunto por los privilegios de crear y eliminar bases 
de datos



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Postgres + Debian

2007-04-25 Thread Alvaro

Santiago Yegros escribió:

Bueno, prove todo lo q me comentaron:
Lo que hice fue:
1. Me cambie a usuario postgres, desde alli cree un usuario santiago
(tambien en mi sistema tengo un usuario santiago).
2. Desde el usuario santiago  de mi sistema puedo listar todas las
db's con $psql -l, pero al tratar de crear una bd (con createdb x), me
dice que no tengo los permisos suficientes.
3. Con el usuario santiago le doy $psql -h localhost, y me pide
contraseña, ingreso la contraseña del usuario y me da un error
3. Luego probe con PgAdmin. En usuario conoque santiago, contraseña
vacia y me sale lo siguiente:
   An error has occured:
   Error connecting to the server: fe_sendauth: no
password supplied
Luego, le coloco la contraseña de mi usuarios santiago de mi sistema,
y me sale los siguiente:

  An error has occured:
  Error connecting to the server: FATAL:  Password
authentication failed for user santiago

Bueno, mi pregunta es, esa contraseña del pgadmin y del psql -h
localhost, que contraseña es?? es la del usuario del sistema o del
usuario de postgres. El usuario de Postgres tiene contraseña??


Desde ya gracias por la atencion y ayuda.
Santiago Yegros




Te cuento paso por paso lo tuve que acabar de hacer y lo tengo fresquito:
-apt-get install postgresql (te instala el ultimo servidor estable)
-su - root
-createuser myusuario (usuario existente en linux)
   aquí te pregunta si quieres que pueda crear usuarios etc.
-exit
-su - myusuario
-createdb mydb
-psql -l (ve si se creo tu db)
-listo

hay herramientas amigables para trabajar con postgres como son:
-phppgadmin
-pgadmin3

saludos
suerte!


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Postgres + Debian

2007-04-07 Thread Ricardo Eureka!

El 6/04/07, Santiago Yegros [EMAIL PROTECTED] escribió:

Bueno, tengo poca experiencia con bd's. Estaba tratando de instalar
postgres y usarlo con java.
Mi problema es: no puedo acceder a la db, el servidor esta levantado y
funcionando, pero al tratar de usar pgadmin, me da el sgte error:

The server doesn't accept connections: the connection library reports
could not connect to server: Connection refused Is the server running
on host 127.0.0.1 and accepting TCP/IP connections on port 5432?

Creo que mi problema es con los usuarios de pg


Santiago: configuraste el postgres? y el pgadmin?



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]





--
Ricardo A.Frydman
Administrador de Sistemas Unix
http://www.eureka-linux.com.ar



Postgres + Debian

2007-04-06 Thread Santiago Yegros

Bueno, tengo poca experiencia con bd's. Estaba tratando de instalar
postgres y usarlo con java.
Mi problema es: no puedo acceder a la db, el servidor esta levantado y
funcionando, pero al tratar de usar pgadmin, me da el sgte error:

The server doesn't accept connections: the connection library reports
could not connect to server: Connection refused Is the server running
on host 127.0.0.1 and accepting TCP/IP connections on port 5432?

Creo que mi problema es con los usuarios de pg


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Postgres + Debian

2007-04-06 Thread Nelson Castillo

On 4/6/07, Santiago Yegros [EMAIL PROTECTED] wrote:

Bueno, tengo poca experiencia con bd's. Estaba tratando de instalar
postgres y usarlo con java.
Mi problema es: no puedo acceder a la db, el servidor esta levantado y
funcionando, pero al tratar de usar pgadmin, me da el sgte error:

The server doesn't accept connections: the connection library reports
could not connect to server: Connection refused Is the server running
on host 127.0.0.1 and accepting TCP/IP connections on port 5432?

Creo que mi problema es con los usuarios de pg


No son los usuarios. Por omisión, PostgreSQL no habilita las conexiones
por TCP/IP en Debian. Para cambiar, se hace lo siguiente:

gaira:~# psql -h localhost
psql: could not connect to server: Connection refused
   Is the server running on host localhost and accepting
   TCP/IP connections on port 5432?

Mira el archivo /etc/postgresql/7.4/main/postgresql.conf, aparece
lo siguiente:

#tcpip_socket = false
max_connections = 100

Cambia la línea comentada para que sea esta:

tcpip_socket = true

Luego:

 /etc/init.d/postgresql-7.4 restart

Y ya debe funcionar:

gaira:~# psql -h localhost
Password:

Atte,
Nelson.-

--
http://arhuaco.org
http://emQbit.com



Re: Postgres + Debian

2007-04-06 Thread Jose Luis Rivas Contreras
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Santiago Yegros escribió:
 Bueno, tengo poca experiencia con bd's. Estaba tratando de instalar
 postgres y usarlo con java.
 Mi problema es: no puedo acceder a la db, el servidor esta levantado y
 funcionando, pero al tratar de usar pgadmin, me da el sgte error:
 
 The server doesn't accept connections: the connection library reports
 could not connect to server: Connection refused Is the server running
 on host 127.0.0.1 and accepting TCP/IP connections on port 5432?
 
 Creo que mi problema es con los usuarios de pg
 
 
Tienes que permitir en `/etc/postgresql/8.1/main/pg_hba.conf'[1] que el
usuario que estás usando se pueda conectar al servidor por la IP que
quieres y a que base de datos.

[1] La ubicación de este archivo depende _mucho_ de la versión de pgsql
como podrás notar.

Jose Luis,
- --

ghostbar @ linux/debian 'sid' x86 - #382503
WeBlog: http://ghostbar.ath.cx/ - http://talug.org.ve
http://debian.org.ve - irc.debian.org #debian-ve
San Cristóbal, Venezuela.
Fingerprint = 3E7D 4267 AFD5 2407 2A37  20AC 38A0 AD5B CACA B118
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGFtm8OKCtW8rKsRgRAnvRAJ0c7vq3tNtwvb6Jvp0sQOBGo3LI3gCgqjKS
H+sokTlrnZ8YKx/EH8PR3w0=
=7KZK
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



postgres 8.0

2007-03-28 Thread Mauricio Merlin

Bom dia,

Sabem algum repositorio a onde eu consiga pacotes .deb da versão 8.0 do 
postgres? so acho a 8.1 mas tenho que usar a 8.0 por questão de padrão.


Obrigado abraço

--
Mauricio Merlin Machado
Cimed Ind. de Med. Ltda
Analista de Suporte
[EMAIL PROTECTED]
Tel. 11 2244-7257


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: postgres 8.0

2007-03-28 Thread Gustavo Soares (SLot)
Amigão, leia o trecho abaixo:

 Sun, 06 Aug 2006 10:55 GMT

I’m going to remove postgresql-8.0[1] from the backports.org[2] archive.
It’s was already removed from Debian, and the last version of the Debian
package which was available is vulnerable to CVE-2006-2313[3] and
CVE-2006-2314[4], hence the backport is also affected.

Please upgrade to the postgresql-8.1[5] backport. 



[1] - http://packages.qa.debian.org/p/postgresql-8.0.html
[2] - http://www.backports.org/
[3] - http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-2313
[4] - http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-2314
[5] - http://packages.qa.debian.org/p/postgresql-8.1.html

Mauricio Merlin escreveu:
 Bom dia,
 
 Sabem algum repositorio a onde eu consiga pacotes .deb da versão 8.0 do
 postgres? so acho a 8.1 mas tenho que usar a 8.0 por questão de padrão.
 
 Obrigado abraço
 


-- 
---
SLot
UIN: 19596909
Linux User: 124842
Jabber: [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: UNS: Re: postgres 8.0

2007-03-28 Thread Fabricio \aybabtu\ Cannini
Em Wed March 28 2007 10:35, Gustavo Soares (SLot) escreveu:
 Amigão, leia o trecho abaixo:

  Sun, 06 Aug 2006 10:55 GMT

 I’m going to remove postgresql-8.0[1] from the backports.org[2] archive.
 It’s was already removed from Debian, and the last version of the Debian
 package which was available is vulnerable to CVE-2006-2313[3] and
 CVE-2006-2314[4], hence the backport is also affected.

 Please upgrade to the postgresql-8.1[5] backport. 



 [1] - http://packages.qa.debian.org/p/postgresql-8.0.html
 [2] - http://www.backports.org/
 [3] - http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-2313
 [4] - http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-2314
 [5] - http://packages.qa.debian.org/p/postgresql-8.1.html

Não seja por isso!
(sim, segurança é uma coisa importante, antes que perguntem, :)
mas o Maurício deve saber o que faz  ;)

http://snapshot.debian.net

[ ]'s
-- 
Remember, remember the 8th of November...
The OS upgrade season and plot
I know of no reason
Why this Windows version should ever be bought



  1   2   3   4   5   6   7   >