X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 974DE5E46E2 for ; Fri, 20 Aug 2004 10:08:09 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 01691-09 for ; Fri, 20 Aug 2004 13:08:07 +0000 (GMT) Received: from wolff.to (wolff.to [66.93.249.74]) by svr1.postgresql.org (Postfix) with SMTP id 910405E46E1 for ; Fri, 20 Aug 2004 10:08:04 -0300 (ADT) Received: (qmail 21713 invoked by uid 500); 20 Aug 2004 13:16:37 -0000 Date: Fri, 20 Aug 2004 08:16:37 -0500 From: Bruno Wolff III To: "Pradeepkumar, Pyatalo (IE10)" Cc: pgsql-admin@postgresql.org Subject: Re: problem with setting PATH variable Message-ID: <20040820131637.GC20737@wolff.to> Mail-Followup-To: "Pradeepkumar, Pyatalo (IE10)" , pgsql-admin@postgresql.org References: <77ED2BF75D59D1439F90412CC5B109741086EC25@ie10-sahara.hiso.honeywell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <77ED2BF75D59D1439F90412CC5B109741086EC25@ie10-sahara.hiso.honeywell.com> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200408/196 X-Sequence-Number: 14591 On Thu, Aug 19, 2004 at 21:41:17 -0700, "Pradeepkumar, Pyatalo (IE10)" wrote: > > Hi all, > > I have installed PostgreSQL 7.4.3 on LINUX 7.2 and some other machines have > LINUX 8.0. You specify a distribution name, as there isn't a Linux 7.2 or 8.0, but I believe there may be more than one distribution that used those version numbers. (Though I suspect you are using Redhat.) > The problem is that every time my machine restarts the postmaster stops...i > have to manually restart the postmaster service....is there any way to > automate the postmaster service. I did follow the steps to automate the > postmaster service given in the following link > http://openacs.org/doc/postgres.html , but that doesnt seem to be working. > However it is working on Linux 7.2 sometimes but sometimes its not. But on > Linux 8.0 version it is not at all working. Is a restart attempted, but it fails or is no restart attempted? If it fails, what do the logs say happened? > Another problem is whenever we login to the postgres session, the path to > psql command is not set. So every time we log into postgres session, we have > to manually set the path in the PATH environment variable. As soon as we > come out of the session, the path is not retained in the PATH > variable....any inputs on this is appreciated. Usually you want to set individually customized paths in your initialization file for the shell(s) you use. That might be: .profile, .cshrc, .bashrc, .zshrc,...