[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-questions
Subject:    Re: Postgres error --Bad system call
From:       Mike Meyer <mwm () mired ! org>
Date:       2001-04-14 0:56:53
[Download RAW message or body]

GoodleafJ@immunex.com types:
> Hello,
> Downloaded newest postgres port and installed just fine. Initdb worked as
> usual. Yet when I try to start the postmaster, I get Bad System Call and
> have the core dumped. The odd thing is that I do have the SYS V options in
> my kernel. Specifically I have:
> 
> options        SYSVSHM
> options        SYSVMSG
> options        SYSVSEM
> 
> in the kernel. I am aware, from looking at LINT, that there are more
> related options, but I have to confess I don't entirely understand them. In
> the past though, I have had no trouble getting Postgres to work with just
> these options.

Clearly, you're missing an option, as the lastest version of
PostgreSQL works fine here.

It would help if you knew what system call was causing the
problems. There are a number of options for getting that; truss is
probably easiest if you have KTRACE enabled in your kernel. Otherwise,
try getting postgres built with the '-g' flag (if it isn't) and
running the apropriate process - probably postmaster - under gdb.

	<mike
--
Mike Meyer <mwm@mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic