From owner-freebsd-questions Fri Mar 1 0:40:22 2002 Delivered-To: freebsd-questions@freebsd.org Received: from folsom.tinc-org.com (tinc-org.com [64.6.65.10]) by hub.freebsd.org (Postfix) with ESMTP id 45E4437B405 for ; Fri, 1 Mar 2002 00:40:18 -0800 (PST) Received: by folsom.tinc-org.com (Postfix, from userid 66) id E57FB22907; Fri, 1 Mar 2002 02:40:13 -0600 (CST) Received: by frogger.jeffenstein.org (Postfix, from userid 1001) id C9B8F3ACA; Fri, 1 Mar 2002 09:38:32 +0100 (MET) Date: Fri, 1 Mar 2002 09:38:31 +0100 From: Jeff Fisher To: Mike Dewhirst Cc: "'questions@freebsd.org'" Subject: Re: postgresql start Message-ID: <20020301093830.A34917@frogger.jeffnet> References: <0B0368CED76DD4118E1200D0B73E9B5D02AFD093@MAIL1> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Mutt/1.2.5i In-Reply-To: <0B0368CED76DD4118E1200D0B73E9B5D02AFD093@MAIL1>; from Dewhirst.M@UCLES.org.uk on Wed, Feb 27, 2002 at 09:18:59PM -0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Feb 27, 2002 at 09:18:59PM -0000, Mike Dewhirst wrote: > From: Mike Dewhirst > To: "'questions@freebsd.org'" > Subject: postgresql start > Date: Wed, 27 Feb 2002 21:18:59 -0000 > X-Mailer: Internet Mail Service (5.5.2653.19) >=20 > another sysadmin has just installed postgresql 7.2 on our 4.4 box. >=20 > I am trying to start it by: >=20 > #su pgsql > $ /usr/local/etc/rc.d/010.pgsql.sh start > ldconfig: mkstemp(/var/run/ld-elf.so.hints.xRrSxZ): Permission denied > Password: > Sorry > $ The scripts in /usr/local/etc/rc.d are designed to be run as root. You'll either need to run this script at root (which will be done automatically at= a reboot), or start postgres manually as you do below. >=20 > This however works: >=20 > postmaster -D /usr/local/pgsql/data >=20 >=20 --=20 jeff@jeffenstein.org http://www.jeffenstein.org/ Hanlon's Razor: One should never attribute to malice that which can=20 be adequately explained by stupidity. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message