Re: Postgres y Linux Ayuda!!!
| From: | Jesus Aneiros | Date: | Wed, 26 Dec 2001 18:15:45 +0000 |
| Subject: | Re: Postgres y Linux Ayuda!!! | ||
| References: | 1 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-17105@lists.php.net to get a copy of this message | ||
Ivonne, primero que todo: que distribucion de Linux tienes? Generalmente
el postmaster se corre como un demonio que se inicia conjuntamente con el
sistema (En distribuciones como Red Hat los archivos de inicio estan en
/etc/init.d).
Te pregunto lo anterior pues obviamente el postmaster no esta andando, y
no se trata de echarlo a andar a mano, pues cuando reinicies el sistema la
proxima vez lo tendras que hacer manualmente.
Hazte root y prueba este comando chkconfig --list | grep postgresql y dime
que resultado te da. Con esta misma herramienta podemos configurar que
demonios queremos que se inicien en los diferentes niveles de ejecucion.
Saludos, jas.
El Wed, 26 Dec 2001 a las 3:17pm, ivonne labrin escribio:
> Hola!!
>
> Estoy instalando un servidor Linux con Php y Postgres
> (7.0). El mensaje de error es el siguiente:
>
> Warning: Unable to connect to PostgreSQL server:
> connectDBStart() -- connect() failed: Conexión
> rehusada Is the postmaster running (with -i)
> at 'localhost' and accepting connections on TCP/IP
> port 5432? in /var/www/html/prueba_base2.php on line
> 15
>
> Ahora, de mensajes anteriores, veo que tengo que
> correro el postmaster con la opcion -i, pero
> ¿donde?,¿y como?... ¿el puerto 5432 solo lo abro en el
> archivo httpd.conf?.
>
> Si me pudieran ayudar con esto, les quedaria muy
> agradecida.
>
> Saludos
>
> =====
> Ivonne LabrínEmail ilabrin@yahoo.esFono 651 952 335
>
> _______________________________________________________________
> Do You Yahoo!?
> Yahoo! Messenger
> Comunicación instantánea gratis con tu gente.
> http://messenger.yahoo.es
>
> ---------------------------------------------------------------------
> Archivo On-line: http://www.phpes.com/
> Manual PHP en español: http://www.php.net/manual/es/
> Para dar de baja la suscripción, mande un mensaje a:
> lista-unsubscribe@phpes.com
>
>
--
Jesus Aneiros Sosa
mailto:aneiros EN jagua PUNTO cfg PUNTO sld PUNTO cu
http://jagua.cfg.sld.cu/~aneiros