Forum OpenACS Q&A: createlang step

Collapse
Posted by Iuri Sampaio on
i've got a problem on the postgres instalation.
is there any way to fix that without install postgres again?
I'm following the debian installation docs:
https://openacs.org/wiki/Installing%20OpenACS%20on%20Debian%20Linux
***********************************************
debian:~# su postgres -c "/usr/lib/postgresql/bin/createlang plpgsql template1"
createlang: could not connect to database template1: could not connect to server: lÔ)@(÷%@
Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
debian:~#
**************************************************8
Collapse
2: Re: createlang step (response to 1)
Posted by Dave Bauer on
Is the server running?

try

/etc/init.d/postgresql restart

as root and see if it starts up.

Collapse
3: Re: createlang step (response to 1)
Posted by Iuri Sampaio on
well, it's weird because i thought it was. I did the same how i'm installing no and it worked fine. Anyway i got this bug now: Unkown reason!!!!!

****************************************************
debian:~# /etc/init.d/postgresql restart
Stopping PostgreSQL database server: postmasterpg_ctl: could not find /var/lib/postgres/data/postmaster.pid
Is postmaster running?
.
Starting PostgreSQL database server: postmaster^[[(FAILED)
ERROR: ERROR: PostgreSQL postmaster did not start because of an unknown reason.
PostgreSQL's init script (/etc/init.d/postgresql) attempted
to start the postmaster, however, this failed because of an unknown
reason.

This should not happen and is a serious problem. Please examine the
situation (please take a look at the log files). If you know the
reason why it failed and, then please file a bug report to Debian
(unless the reason is something obvious like a full disk).

Debian PostgreSQL
debian:~#

Do u think i better re-install it?