Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 21FD764FC2D for ; Fri, 26 Sep 2008 11:42:42 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 24972-01 for ; Fri, 26 Sep 2008 11:42:35 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from n19.bullet.mail.mud.yahoo.com (n19.bullet.mail.mud.yahoo.com [68.142.206.146]) by postgresql.org (Postfix) with SMTP id 0EB1664FC03 for ; Fri, 26 Sep 2008 11:42:34 -0300 (ADT) Received: from [68.142.194.243] by n19.bullet.mail.mud.yahoo.com with NNFMP; 26 Sep 2008 14:42:32 -0000 Received: from [209.191.90.56] by t1.bullet.mud.yahoo.com with NNFMP; 26 Sep 2008 14:42:32 -0000 Received: from [127.0.0.1] by omp109.mail.mud.yahoo.com with NNFMP; 26 Sep 2008 14:42:32 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 615938.24260.bm@omp109.mail.mud.yahoo.com Received: (qmail 27416 invoked by uid 60001); 26 Sep 2008 14:42:32 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:To:Cc:MIME-Version:Content-Type:Message-ID; b=V+GM9wznTqitUQf1U8QLhWCNOlEwbau9jSYpC+6UulsOSqWFqG1GvPiRjYB4M59sA364qXSPT02oHuc1Kw8+XupgledYT8xzi/eusERtT477jvnKo/VDa/sCKZDjZzWqaHCXR3IvkOci8OpeNk6aUHxD48buTuoVB90+g+Ljp1Q=; X-YMail-OSG: Fnj0HFkVM1lAQx61nlV.XtWXijPktoFMyEkwW7JjThyMy7EBqA20xNY6xhBIbchdSg_C1AkdtYOKXvVRn_rA17JsZAFrJ8zDjw4oVfw4EfkepxGKzYSUElo3OCmT8l4FiIT5HRk- Received: from [209.88.228.11] by web59512.mail.ac4.yahoo.com via HTTP; Fri, 26 Sep 2008 07:42:32 PDT X-Mailer: YahooMailWebService/0.7.218.2 Date: Fri, 26 Sep 2008 07:42:32 -0700 (PDT) From: Lennin Caro Reply-To: lennin.caro@yahoo.com To: pgsql-admin@postgresql.org Cc: chom@gallo.ucsf.edu MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <219675.26462.qm@web59512.mail.ac4.yahoo.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=1.285 tagged_above=0 required=5 tests=MISSING_SUBJECT=1.285 X-Spam-Level: * X-Archive-Number: 200809/317 X-Sequence-Number: 30410 --Original------------------------------------------------------ Hi Everybody, About 1.5 month ago, my machine (which runs redhat linux 2.6.9-78.0.1.ELsmp on Dell hardware with postgres 8.3.3) had a terrible crash. I am mostly recovered, but there is at least one more thing that's not right. Namely, when the machine gets rebooted, postgres doesn't start automatically. Before the crash, there was no such problem. I see a file /etc/rc.d/init.d/postgresql. Is this the start-up script? If not, please tell me what would be the correct one (and where would I find one). If it is, can you please tell me where I would find the latest one anyway? (Maybe the latest one got lost and I am looking at an old copy???) The detail of how it happens escapes me, but as near as I can reconstruct in my head, after the reboot I discover that postgres is not running and I issue: pg_ctl start and it complains something to the effect that it is already started (which seems to be not true) and maybe it gives me a pid for the postmaster. I think I tried: pg_ctl stop and it told me something a bit disageeable. But I found a file with that pid in /tmp directory and when I remove that file, then "pg_ctl start" succeeds. If this sounds familiar to you (or you have some clue as to what is going on), I would appreciate a tip. ---------------------------------------------- Hi.. the command pg_ctl need a directory where the data is, the pid is created in the same directory of the data. You can use "/etc/rc.d/init.d/postgresql start" but firts loggin whit user postgres or the user owner of the data directory regards......