X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 50621D1C9E1 for ; Mon, 2 Feb 2004 21:12:20 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 94427-05 for ; Mon, 2 Feb 2004 17:12:19 -0400 (AST) Received: from mail1.ihs.com (mail1.ihs.com [170.207.70.222]) by svr1.postgresql.org (Postfix) with ESMTP id B05DCD1BCA7 for ; Mon, 2 Feb 2004 17:12:16 -0400 (AST) Received: from css120.ihs.com (css120.ihs.com [170.207.105.120]) by mail1.ihs.com (8.12.10/8.12.10) with ESMTP id i12L9cRC025783; Mon, 2 Feb 2004 14:09:38 -0700 (MST) Date: Mon, 2 Feb 2004 14:05:48 -0700 (MST) From: "scott.marlowe" To: Remi Cc: Subject: Re: Postgresql 7.3 And Redhat Enterprise 3 In-Reply-To: <533e25ff.0402020603.332fa093@posting.google.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-IHS-MailScanner: Found to be clean X-IHS-MailScanner-SpamCheck: X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200402/17 X-Sequence-Number: 12191 Is the file postgres IN the directory /etc/init.d? If so, is it set executable??? On 2 Feb 2004, Remi wrote: > Hello, > > I've installed redhat enterprise 3 on a system to use as a db server. > Manually I can install and run postgresql 7.3 (the one on the extras > CD). The problem is when you try to add postgres as a service, it > might add it, but it will not start it. To do this, we got a > postgresql script, placed it in the init.d folder with all the other > service shell scripts, and then went into services, add service, and > typed postgres. The specific error received is: > > env: /etc/init.d/postgres no directory or file found > > Is there some environment variable that needs to be set in some file > somewhere. I read a lot of documentation online, and modified whatever > files that people mentioned, but maybe I'm missing something? > > Just to clarify, the server pgsql components are installed. I've done > several fresh installs with all kinds of options either selected or > de-selected. For example, I've installed all client, and server > components at one point. > > What baffles me as well is that on Redhat 9.0 it sets up postgres for > you on an install, and automatically adds, and configures it under > services so that it auto starts postgres on a server reboot. > > Any help is appreciated. Thanks. > > ---------------------------(end of broadcast)--------------------------- > TIP 5: Have you checked our extensive FAQ? > > http://www.postgresql.org/docs/faqs/FAQ.html >