Problemas al instalar version 8.4

Problemas al instalar version 8.4

Hola, les cuento que soy nuevo en postgre, vengo de trabajar con MySql y php, pero por motivos de trabajo necesito entrar en el mundo postgre. Mi problema es que al instalar la version 8.4 autoinstalable en un windows xp siendo administrador, me genera un error en donde dice que no puede leer el archivo postgresql.conf, luego de termina con la instalación. Ademas el pgadmin III me dice fallo al conectar la DB y el Start Server tambien.
PD: ya le di control total al usuario postgre en la carpeta DATA y cuenta local en el servicio postgre.
Espero que me entiendan y puedan ayudarme, ya que hace días que no encuentro nada que aclare mi problema.
Saludos. Gustavo.

Opciones de visualización de comentarios

Seleccione la forma que prefiera para mostrar los comentarios y haga clic en «Guardar las opciones» para activar los cambios.
Imagen de rafaelma

Re: Problemas al instalar version 8.4

¿Has intentado hacer lo que se explica en esta dirección?
http://www.postgresql-es.org/node/322

Ya contaras
--
Rafael Martinez
Webmaster

problemas con la 8.4

Me pasa lo mismo. Al final de la instalcion ver 8.4 da este mensaje: No se puede leer el archivo d:\Archivos de programa\postgreSQL\8.4\data\postgressql.conf
Es más el directorio data está completamente vacio. Tampoco llega a crear el servcio postgresql-8.4, por lo que no se puede lanazar manualmente ya que no existe.

La instalacion la hago desde un usuario con derechos de Administración...o desde el propio Administrador.

No se, llevo 2 dias con este marron.

¿Alguien le ha pasado y lo ha solucionado?. Ayer mismo probé en otro equipo con XP PROF y la instalción la hizo correctamente. Pero en mi equipo nada, da este error.

Problemas de instalación

Tengo el mismo problema me gustaría saber como lo resolviste para que me ayudes gracias rikardo_6446@hotmail.com

El mismo problema

saludos, tengo el mismo problema que el amigo anterior.

He instalado postqresql 8.4, y al final de la instalación, me ha salido el mismo error, en la carpeta Data, no encuentro nada.

El servicio si se ha creado, pero no se Iniciaba.

Intente copiar todo el contenido de la carpeta Data (de otra instalación correcta), y lo he pegado en la carpeta vacía, aun así sigue sin funcionar. He notado que al iniciar el servicio de Postgresql, ha cambiado el mensaje que salía antes, por uno que dice, que el servicio se ha iniciado y se ha detenido automáticamente.

Todas las pruebas de conexión las he realizado desde PgAdmin III, el mensaje que siempre me devuelve allí, es algo como:
"
Server doesn't listen
The server doesn't accept connections: the connection library reports
could not connect to server: Connection refused (0x0000274D/10061) Is the server running on host "127.0.0.1" and accepting TCP/IP connections on port 5432?
If you encounter this message, please check if the server you're trying to .......
"

he bajado el firewall de windows y del antivirus para descartarlos,

pero sigo con el mismo problema

agradecería me pudiesen ayudar, de antemano gracias.

INSTALACION DE postgresql-8.3.16 MANUALMENTE

INSTALACION DE POSTGRESQL MANUALMENTE
(SIN INTERNET)

INFORME DE ERROR

Tengo como Sistema Operativo Debian Lenny 5.0
Programas requerido para instalar pstgresql (previamente instalado!)

apache 2.2.9-10
apache 2.2-common
...

GNU Make 3.81

Trato de instalar el paquete postgresql-8.3.16, bajado del website oficial:
http://www.postgresql.org/ftp/source/v8.3.16/

Procedimientos:

1.

user@user:~/postgresql-8.3.16$ ../configure

checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking which template to use... linux
checking whether to build with 64-bit integer date/time support... no
checking whether NLS is wanted... no
checking for default port number... 5432
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking if gcc supports -Wdeclaration-after-statement... yes
checking if gcc supports -Wendif-labels... yes
checking if gcc supports -fno-strict-aliasing... yes
checking if gcc supports -fwrapv... yes
configure: using CFLAGS=-O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv
checking whether the C compiler still works... yes
checking how to run the C preprocessor... gcc -E
checking allow thread-safe client libraries... no
checking whether to build with Tcl... no
checking whether to build Perl modules... no
checking whether to build Python modules... no
checking whether to build with GSSAPI support... no
checking whether to build with Kerberos 5 support... no
checking whether to build with PAM support... no
checking whether to build with LDAP support... no
checking whether to build with Bonjour support... no
checking whether to build with OpenSSL support... no
checking for egrep... grep -E
configure: using CPPFLAGS= -D_GNU_SOURCE
configure: using LDFLAGS=
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for ranlib... ranlib
checking for strip... strip
checking whether it is possible to strip libraries... yes
checking for tar... /bin/tar
checking whether ln -s works... yes
checking for gawk... no
checking for mawk... mawk
checking for bison... no
configure: WARNING:
*** Without Bison you will not be able to build PostgreSQL from CVS nor
*** change any of the parser definition files. You can obtain Bison from
*** a GNU mirror site. (If you are using the official distribution of
*** PostgreSQL then you do not need to worry about this, because the Bison
*** output is pre-generated.) To use a different yacc program (possible,
*** but not recommended), set the environment variable YACC before running
*** 'configure'.
checking for flex... no
configure: WARNING:
*** Without Flex you will not be able to build PostgreSQL from CVS or
*** change any of the scanner definition files. You can obtain Flex from
*** a GNU mirror site. (If you are using the official distribution of
*** PostgreSQL then you do not need to worry about this because the Flex
*** output is pre-generated.)
checking for perl... /usr/bin/perl
checking for main in -lm... yes
checking for library containing setproctitle... no
checking for library containing dlopen... -ldl
checking for library containing socket... none required
checking for library containing shl_load... no
checking for library containing getopt_long... none required
checking for library containing crypt... -lcrypt
checking for library containing fdatasync... none required
checking for library containing shmget... none required
checking for -lreadline... no
checking for -ledit... no
configure: error: readline library not found
If you have readline already installed, see config.log for details on the
failure. It is possible the compiler isn't looking in the proper directory.
Use --without-readline to disable readline support.

2.make

You need to run the 'configure' program first. See the file
'INSTALL' for installation instructions.
make: *** [all] Error 1

He aqui el problema....
Que sera lo que impide la instalacion, tengo ya un tiempo intentenadolo...

3 . make install

You need to run the 'configure' program first. See the file
'INSTALL' for installation instructions.
make: *** [all] Error 1

No comprendo Que paso, porque para versiones posteriores como hare?...
_______________________________________________________________

INSTALANDO CON LOS CD'S, porque no funciono la manera anterior

Todo bien, instala postgresql 8.3.6 que trae Lenny por defecto ,pero no crea nada en la carpeta /usr/local/ 'aqui esta vacio'

________________________________________________________________________________
Yo creo la carpeta manualmente, siguiendo con el procedimiento normal de un paquete...
Como tambien sale en El manual INSTALL de postgresql...

user:/home/user# mkdir /usr/local/pgsql/data
user:/home/user# chown postgres /usr/local/pgsql/data
user:/home/user# su - postgres

entrando al prompt de postgres

postgres@user:~$ /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data
-su: /usr/local/pgsql/bin/initdb: No existe el fichero o el directorio
postgres@user:~$ /usr/local/pgsql/bin/postgres -D /usr/local/pgsql/data >logfile 2>&1 &
[1] 3803
[1]+ Exit 127 /usr/local/pgsql/bin/postgres -D /usr/local/pgsql/data > logfile 2>&1
postgres@user:~$ /usr/local/pgsql/bin/createdb test
-su: /usr/local/pgsql/bin/createdb: No existe el fichero o el directorio
postgres@user:~$ /usr/local/pgsql/bin/psql test
-su: /usr/local/pgsql/bin/psql: No existe el fichero o el directorio
postgres@user:~$

Y por consecuencia no puedo crear base de datos ni usuarios;

postgres@user:~$ createuser 'admin'
¿Será el nuevo rol un superusuario? (s/n) s
createuser: no se pudo conectar a la base de datos postgres: could not connect to server: No existe el fichero o el directorio
Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?

/var/run/postgresql no hay nada

https://picasaweb.google.com/112079471383447865990/GNULinux#567904656207...

Para entrar a phppgadmin no permite el acceso obviamente.
O utilizando los usuarios: root postgres
dice Ingreso no autorizado.

http://www.postgresql-es.org/node/219

El comportamiento de PostgreSQL en nuestro sistema se puede controlar con tres ficheros de configuración que se encuentran en el directorio de datos donde inicializamos nuestro cluster PostgreSQL (En nuestro caso /var/pgsql/data). Estos tres ficheros son:
 pg_hba.conf: Este fichero se utiliza para definir los diferentes tipos de accesos que un usuario tiene en el cluster.
 pg_ident.conf: Este fichero se utiliza para definir la información necesaria en el caso que utilicemos un acceso del tipo ident en pg_hba.conf .
 postgresql.conf: En este fichero podemos cambiar todos los parametros de configuracion que afectan al funcionamiento y al comportamiento de PostgreSQL en nuestra maquina.
/var “no hay nada” (/pgsql/data) <<< no existe

Agradeceria la ayuda que se pueda prestar...