| From: | "Gilberto Castillo" <gilberto(dot)castillo(at)etecsa(dot)cu> |
|---|---|
| To: | pgsql-es-ayuda(at)postgresql(dot)org |
| Subject: | [Fwd: Slony] |
| Date: | 2013-11-22 16:52:24 |
| Message-ID: | 53843.192.168.207.54.1385139144.squirrel@webmail.etecsa.cu |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-es-ayuda |
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
| Attachment | Content-Type | Size |
|---|---|---|
| unknown_filename | text/plain | 179 bytes |
| unknown_filename | text/plain | 157 bytes |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Manuel Aller | 2013-11-26 15:08:15 | Re: [Fwd: Slony] |
| Previous Message | Alvaro Herrera | 2013-11-21 23:15:18 | Re: duda sobre indices y llaves foráneas |