FreeBSD Port: postgresql-server-8.2.5_2

Giancarlo Rubio gianrubio at gmail.com
Sun Oct 28 07:26:55 PDT 2007


I have the same problem. Postgresql-server-8.1.10_1 run sucessfull on
FreeBSD 6.2. I have updated my FreeBSD to FreeBSD 7.0-BETA1 and now
doesn't work.

#uname -a
FreeBSD rubio 7.0-BETA1 FreeBSD 7.0-BETA1 #0: Thu Oct 25 02:50:23 BRST
2007     root at rubio:/usr/obj/usr/src/sys/GENERIC  i386

When i try to start postgresql i get this error
Oct 28 12:20:24 rubio kernel: pid 1065 (pg_ctl), uid 70: exited on
signal 11 (core dumped)

I think to compile postgresql on 7.0 but same problems

[root at rubio /usr/ports/databases/postgresql81-server]# make
===>  postgresql-server-8.1.10_2 cannot install: unknown PostgreSQL
version: Segmentation fault (core dumped).
*** Error code 1

Stop in /usr/ports/databases/postgresql81-server.

How can i fix this problems?


2007/10/27, Ivan Voras <ivoras at freebsd.org>:
> Michael wrote:
> > Hello.
> >
> > PostgreSQL 8.2.5 compiled from ports core dumps on freebsd 7
> > (RELENG_7), i've asked pgsql-bugs about this issue, and they answered,
> > that probably FreeBSD 7 have problems with spinlocks:
> >
> > http://archives.postgresql.org/pgsql-bugs/2007-10/msg00197.php
>
> Postmaster isn't threaded so it looks like a problem with their own
> implementation of spinlock, not the OS's.
>
> One thing that may or may not help you is: can you rebuild your (exact!)
> version of PostgreSQL on a 6.2 machine, save the output (e.g. with tee),
> then rebuild it (the *same* version) on 7.0 and also save the output,
> then compare them?
>
> > Can you help me resolve this problem?
>
> Did you look at the postmaster's stderror output?
>
> For what is worth, PostgreSQL 8.1 works on 7 flawlessly.
>
>
>


-- 
Giancarlo Rubio


More information about the freebsd-ports mailing list