Обсуждение: BUG #4716: Error initialiting postgresql

Поиск
Список
Период
Сортировка

BUG #4716: Error initialiting postgresql

От
"Serbe"
Дата:
The following bug has been logged online:

Bug reference:      4716
Logged by:          Serbe
Email address:      serbe@rocketmail.com
PostgreSQL version: 8.1.11
Operating system:   Linux RedHat
Description:        Error initialiting postgresql
Details:

#service postgresql restart
Parando el servicio  postgresql:                           [FALLÓ]
Iniciando la base de datos: mkdir: no se puede crear el directorio
«/var/lib/pgsql/data/pg_log»: El fichero ya existe
                                                           [FALLÓ]
Iniciando servicios postgresql:                            [FALLÓ]

Re: BUG #4716: Error initialiting postgresql

От
Craig Ringer
Дата:
Serbe wrote:
> The following bug has been logged online:
>
> Bug reference:      4716
> Logged by:          Serbe
> Email address:      serbe@rocketmail.com
> PostgreSQL version: 8.1.11
> Operating system:   Linux RedHat
> Description:        Error initialiting postgresql
> Details:
>
> #service postgresql restart
> Parando el servicio  postgresql:                           [FALLÓ]
> Iniciando la base de datos: mkdir: no se puede crear el directorio
> «/var/lib/pgsql/data/pg_log»: El fichero ya existe
>                                                            [FALLÓ]
> Iniciando servicios postgresql:                            [FALLÓ]


That's not a bug. PostgreSQL is failing to start because the pg_log
directory is missing. Are you sure your database is configured
correctly, you have the right data directory set up in postgresql.conf,
and you haven't recently rearranged anything in /var ? Are your file
systems OK ?

--
Craig Ringer