Received: from thor.tht.net (thor.tht.net [209.47.145.4]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id eA3G47s07042 for ; Fri, 3 Nov 2000 11:04:07 -0500 (EST) (envelope-from nataraj@cdxc.com) Received: from mothra.cdxc.com (www.creativecontrolcenter.com [208.206.97.97] (may be forged)) by thor.tht.net (8.9.3/8.9.3) with ESMTP id KAA09487 for ; Fri, 3 Nov 2000 10:46:54 GMT (envelope-from nataraj@cdxc.com) Received: from cdxc.com (IDENT:root@nataraj.cdxc.com [208.206.97.228]) by mothra.cdxc.com (8.9.3/8.9.3) with ESMTP id IAA04208; Fri, 3 Nov 2000 08:39:27 -0600 (CST) Message-ID: <3A02CF69.B3DA6C73@cdxc.com> Date: Fri, 03 Nov 2000 08:44:57 -0600 From: Nataraj Organization: CDXC Corp. X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: en MIME-Version: 1.0 To: Bogdan Paduraru CC: pgsql-admin@postgresql.org Subject: Re: Starting postmaster problem References: <3A0041AE.9649089C@petar.ro> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200011/11 X-Sequence-Number: 20 run "su - postgres" Then it will export the env variables (which you set in the .bash_profile file). If you do "su postgres" it may not export. Raj Bogdan Paduraru wrote: > Hello, > I installed Postgresql 7.0.2 on a Redhat Linux 6.1 and I want now to run > it, but it seems I have a problem. > I connected as root on my server. > After that I do : > $ su postgres > $nohup /usr/local/pgsql/data \ >server.log 2>>1 & > After the second command I get > bash : server.log: Permission denied > Can you help me? > And another thing : how can I make it to run when I start my Linux > server? > > Bogdan