From: | Manuel Aller <manuel(dot)aller(at)infracoop(dot)com(dot)ar> |
---|---|
To: | gilberto(dot)castillo(at)etecsa(dot)cu |
Cc: | pgsql-es-ayuda(at)postgresql(dot)org |
Subject: | Re: [Fwd: Slony] |
Date: | 2013-11-26 15:08:15 |
Message-ID: | CAJs6SEm+QWTpuqWhi1s_N28FWvFWcS05SjXpPxvVyAVaiSv-xA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-es-ayuda |
Gilberto, se me ocurre que el script slonik no tiene el mismo entorno que
tu usuario.
Podés revisar si no está cargando/cambiando algún valor?
Slds,
2013/11/22 Gilberto Castillo <gilberto(dot)castillo(at)etecsa(dot)cu>
>
>
> A todos,
>
> Luego de googlear por día no logro resolver el error de Slony
>
> Me da este error:
> ------------------
> /usr/bin/slonik create_nodes.slonik
> create_nodes.slonik:2: PGRES_FATAL_ERROR load '$libdir/slony1_funcs'; -
> ERROR: could not access file "$libdir/slony1_funcs": No existe el archivo
> o el directorio
> create_nodes.slonik:2: Error: the extension for the Slony-I C functions
> cannot be loaded in database 'dbname=test1 host=gilbertoc.etecsa.cu
> user=postgres port=5432'
>
> Que he hecho:
> -------------
>
> root(at)gilbertoc:/tmp/slonyprueba-temp.m9TJjR# ll
> /usr/lib/postgresql/9.1/lib/slony1_funcs.so
> -rw-r--r-- 2 root root 26068 dic 3 2011
> /usr/lib/postgresql/9.1/lib/slony1_funcs.so
>
> Y veo que tengo esa lib:
> root(at)gilbertoc:/tmp/slonyprueba-temp.m9TJjR# echo $libdir
> /usr/lib
>
> Me puedo conectar a ambos nodos:
> --------------------------------
> root(at)gilbertoc:/tmp/slonyprueba-temp.m9TJjR# psql -h gilbertoc.etecsa.cu
> -U postgres -p 5432 -d test1
> psql (9.1.10, server 9.1.8)
> Type "help" for help.
>
> test1=#
>
> root(at)gilbertoc:/tmp/slonyprueba-temp.m9TJjR# psql -h gilbertoc.etecsa.cu
> -U postgres -p 5432 -d test2
> psql (9.1.10, server 9.1.8)
> Type "help" for help.
>
> test2=#
>
> ¿Qué puede estar pasando?
>
>
> Saludos,
> Gilberto Castillo
> La Habana, Cuba
>
>
> ---
> This message was processed by Kaspersky Mail Gateway 5.6.28/RELEASE
> running at host imx3.etecsa.cu
> Visit our web-site: <http://www.kaspersky.com>, <http://www.viruslist.com>
>
> -
> Enviado a la lista de correo pgsql-es-ayuda (pgsql-es-ayuda(at)postgresql(dot)org
> )
> Para cambiar tu suscripción:
> http://www.postgresql.org/mailpref/pgsql-es-ayuda
>
>
--
<http://www.infracoop.com.ar/> *Manuel Fernando Aller*
DBA Senior
InfraCoop Cooperativa de Infraestructura y Bases de Datos
skype: manuel.aller
Mobile: +54 9 11 40544779
<http://www.facttic.org.ar/miembros/infracoop>
Infracoop
es miembro de FACTTIC <http://www.facttic.org.ar/>
From | Date | Subject | |
---|---|---|---|
Next Message | Abdoni | 2013-11-28 23:02:03 | kernel: Soft lockup |
Previous Message | Gilberto Castillo | 2013-11-22 16:52:24 | [Fwd: Slony] |