Re: Where is initdb?

Поиск
Список
Период
Сортировка
От Martín Marqués
Тема Re: Where is initdb?
Дата
Msg-id 1075144729.4015681946760@bugs.unl.edu.ar
обсуждение исходный текст
Ответ на Where is initdb?  (Jerome Lyles <susemail@hawaii.rr.com>)
Список pgsql-general
Mensaje citado por Jerome Lyles <susemail@hawaii.rr.com>:

> Hello List,
>
> I have installed Postgresql 7.4 on a Suse 9.0 system using apt.
> I cannot do this:
>
> /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data
>
> Because there is no "/pgsql/bin/initdb" nor /pgsql/bin/ on my system.
> Since apt did not create these directories how can I do it manually?

You don't. Normal rpm packagers put binaries in /usr/bin and not in
/usr/local/pgsql/bin.

Try this:

$ initdb -D /var/lib/pgsql/data

Or, just try to start the database with the init script:

# /etc/init.d/postgresql start

If it's like the one I have here on Fedora, it should run initdb automatically if
the Cluster hasn't been built yet.

--
select 'mmarques' || '@' || 'unl.edu.ar' AS email;
-------------------------------------------------------
Martín Marqués          |   Programador, DBA
Centro de Telemática    |     Administrador
               Universidad Nacional
                    del Litoral
-------------------------------------------------------

В списке pgsql-general по дате отправления:

Предыдущее
От: Karsten Hilbert
Дата:
Сообщение: how to enumerate rows ?!?
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Where is initdb?