[Previo por Fecha] [Siguiente por Fecha] [Previo por Hilo] [Siguiente por Hilo]

[Hilos de Discusión] [Fecha] [Tema] [Autor]

Re: [Sop.Tec.LinuxPPP] Starting postgresql service



Al arrancar postmaster puedes usar esta opción:

       -D data_dir
            Specifies  the  directory  to  use as the root of the
            tree of database directories.  If -D  is  not  given,
            the  default  data directory name is the value of the
            environment variable PGDATA.  If PGDATA is  not  set,
            then  the  directory  used is $POSTGRESHOME/data.  If
            neither environment variable is set and this command-
            line  option  is not specified, the default directory
            that was set at compile-time is used.

Seguramente, la nueva versión que instalaste apunta a otro directorio,
revisa las variables o en el script que invoca al
postmaster agrega la especificación.

mas información, en los manuales /usr/doc/postgres*

o 

man postmaster



Jorge Francisco Ricarte Lopez wrote:
> 
> Hola lista:
> Actualize postgress y al levantarlo me dice:
> 
> Starting postgresql service: /usr/bin/postmaster does not find the
> database system. Expected to find it in the PGDATA directory
> "/var/lib/pgsql", but unable to open file with pathname
> "/var/lib/pgsql/base/template1/pg_class".
> 
> Si se daño o lo borre sin saber, mi pregunta es como puedo regenerar eso
> que hace falta.
> Gracias
> Saludos
> Jorge Ricarte.
> ---------------------------------------------------------------------
> Lista de soporte de LinuxPPP
>  Reglas de la lista en http://pepe.net.mx/reglas.html

__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

---------------------------------------------------------------------
Lista de soporte de LinuxPPP
 Reglas de la lista en http://pepe.net.mx/reglas.html



[Hilos de Discusión] [Fecha] [Tema] [Autor]