Re: newbie question (pete collins)

Поиск
Список
Период
Сортировка
От Carilda A. Thomas
Тема Re: newbie question (pete collins)
Дата
Msg-id 362D7D7B.5C916667@earthlink.net
обсуждение исходный текст
Список pgsql-admin
pete@postpagan.com wrote:


i installed postgre from the freebsd port
everything installed fine

pgsql deamon is running
bash-2.02$ ps aux
pgsql      166  0.0  0.4  1244 1060  ??  Is    8:39PM    0:00.00
/usr/local/pgsql/bin/postmaster -i -S -o -F -D/usr/local/pgsql/data
(postgre

i set my path variables

so when i run:

bash-2.02$ psql template1
Connection to database 'template1' failed.
PQexec() -- Request was sent to backend, but backend closed the channel
before responding.

it dies

now when i run ps aux the postmaster deamon gone

help

pete
ocs design

=========================================================================

Pete, probably your FreeBSD kernel was built without semaphores.  In
this case, postgresql will start up just fine until you make a request
to it.  The request will try to spawn a backend and communicate with a
semaphore, but not finding semaphores available, it will then shut down.

You can determine if this is your problem by typing:

#> ipcs

This will give you a list of your interprocess communication
facilities.  If you don't see semaphores listed -- you don't have
them.   Apparently, the default in FreeBSD is to build without -- either
you or your sysadmin needs to rebuild the kernel.

You will then just have to replace the kernel -- I forget what it's
called in FreeBSD.  You will NOT have to rebuild the postgresql.

Enjoy!

cat


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

Предыдущее
От: pete collins
Дата:
Сообщение: newbie question
Следующее
От: Gavin
Дата:
Сообщение: Postgres SQL 6.3.2