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 2E5DBD1B4DE for ; Mon, 2 Feb 2004 21:23: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 97039-06 for ; Mon, 2 Feb 2004 17:22:56 -0400 (AST) Received: from joeconway.com (66-146-172-86.skyriver.net [66.146.172.86]) by svr1.postgresql.org (Postfix) with ESMTP id C0B17D1B4BD for ; Mon, 2 Feb 2004 17:22:52 -0400 (AST) Received: from [206.19.64.3] (account jconway HELO joeconway.com) by joeconway.com (CommuniGate Pro SMTP 4.1.8) with ESMTP-TLS id 805354; Mon, 02 Feb 2004 13:19:32 -0800 Message-ID: <401EBF27.4090601@joeconway.com> Date: Mon, 02 Feb 2004 13:20:39 -0800 From: Joe Conway User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Remi Cc: pgsql-admin@postgresql.org Subject: Re: Postgresql 7.3 And Redhat Enterprise 3 References: <533e25ff.0402020603.332fa093@posting.google.com> In-Reply-To: <533e25ff.0402020603.332fa093@posting.google.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200402/15 X-Sequence-Number: 12189 Remi wrote: > 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 Try "postgresql" instead of "postgres". You could also use chkconfig to set up the service -- see `man chkconfig`, but I think you want something like: chkconfig --level 3 postgresql on This would add postgresql as a service to be started for you when booting to run-level 3. To manually start the Postgres service, do: /etc/init.d/postgresql start HTH, Joe