From owner-freebsd-questions Fri Apr 13 17:56:58 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id 5010737B505 for ; Fri, 13 Apr 2001 17:56:54 -0700 (PDT) (envelope-from mwm@mired.org) Received: (qmail 49804 invoked by uid 100); 14 Apr 2001 00:56:53 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15063.41045.174978.912081@guru.mired.org> Date: Fri, 13 Apr 2001 19:56:53 -0500 To: GoodleafJ@immunex.com Cc: questions@freebsd.org Subject: Re: Postgres error --Bad system call In-Reply-To: <116143358@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. 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