Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gAEX3-0007ju-T4 for pgsql-bugs@arkaria.postgresql.org; Wed, 10 Oct 2018 13:28:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gAEWz-00038Q-Q1 for pgsql-bugs@arkaria.postgresql.org; Wed, 10 Oct 2018 13:28:05 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gABZE-0006Tb-BM for pgsql-bugs@lists.postgresql.org; Wed, 10 Oct 2018 10:18:12 +0000 Received: from mail-pf1-x431.google.com ([2607:f8b0:4864:20::431]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gABZB-0000hW-TW for pgsql-bugs@postgresql.org; Wed, 10 Oct 2018 10:18:11 +0000 Received: by mail-pf1-x431.google.com with SMTP id r64-v6so2386903pfb.13 for ; Wed, 10 Oct 2018 03:18:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:references:to:from:message-id:date:user-agent:mime-version :in-reply-to; bh=kQvRUm9kCZQAOBP4iSBFedk/SiIrHXHvV6gORPreOTI=; b=nxSvktA/7TSmIdEonYn5VhOINSHqBCVm0dC0+tqk5QFY04MuGwAFDRfFx6p3iugYkt IxbDX//t4Vvv9S6hX0PdbT9jKfxt1scTmMDbCFyQzsU4+o2cTuloAmSrLtB8E/5wXOPB N/L5KJPEP3AUvIB0pNwXZjv8mYz+yYfbRr/5sgirBJDvjjPd54DD7xwHvhXuXu0OnL2A aEbcGP0xaGRQcx9XsUL8ewyEsZJna8Jl0TCIXPogImKAg3U4pNKK3zpXkhbPDQAWv28v bZSqWkIPe6jHptuOLcnk3kuV0dprxZUUGasWwnixHxUKKmPgVTlJHMnyUHKv6XZEJS4d MaFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:references:to:from:message-id:date :user-agent:mime-version:in-reply-to; bh=kQvRUm9kCZQAOBP4iSBFedk/SiIrHXHvV6gORPreOTI=; b=ackl2Tw0esDfDvhul0TMRuvxqyVFbM+wOMaCNAt7qUuO+KtTCwOTyCS0G7RrhRERor YLeWU44ULdAEVj3DwqA8a+xL3AhUPvn7ZClPBQi9EsPJlmCiOsbSpjeUHGRxEcX02wI7 wmJj85KTqJfVCLuGvHCWepVjGVReo69huc2ixC/+Zy2Xw79vi01FDMfHyu4b/FwI0pyF CkFMbI8GrqRqVRLTxfV1+O+Kv2TcJp4i56cxd7Sr0F2kFXU/EJyEyFA4GwZ5K5GsbZWY vHiQXf5i19HmKWlArE0pxEKbjQ/THXRc/8ubjoKAvl9NDy5H+UW073u6/LPTF3NnRirf WxNg== X-Gm-Message-State: ABuFfoh30gheIuAHoZgtdWWuaVyI07TQoSUcE5NUn7T463pjo3mnI1Z7 t/GAXM9vh7SARh6HP6IXSlM4dmlN X-Google-Smtp-Source: ACcGV61zlru5SrTL+VMh9IMx+EZTIt6I9WzQmWOO20RXZ6Z3Awh0IFjh1D49F7A+lBxHy43mEkkhww== X-Received: by 2002:a63:e918:: with SMTP id i24-v6mr29099286pgh.64.1539166688297; Wed, 10 Oct 2018 03:18:08 -0700 (PDT) Received: from [192.168.1.64] ([210.18.181.56]) by smtp.gmail.com with ESMTPSA id b3-v6sm33664366pfb.151.2018.10.10.03.18.06 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Oct 2018 03:18:07 -0700 (PDT) Subject: General: Unable to start the postgresql after copying postgresql.log References: <07783269-97c8-adcf-150f-fcedd16df21f@gmail.com> To: pgsql-bugs@postgresql.org From: neela X-Forwarded-Message-Id: <07783269-97c8-adcf-150f-fcedd16df21f@gmail.com> Message-ID: <0421f20b-9443-e19d-022f-1d7790b5c183@gmail.com> Date: Wed, 10 Oct 2018 15:48:06 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <07783269-97c8-adcf-150f-fcedd16df21f@gmail.com> Content-Type: multipart/alternative; boundary="------------3822B36D55ED5447A77738C0" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------3822B36D55ED5447A77738C0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Dear sir/mam, I'm using postgresql 9.4.6 version. I've copied the postgresql.log as postgresql.log_bk. While copying the postgresql.log, I've restarted the postgresql process. Then the process got failed and I've got the following error, psql: could not connect to server: Connection refused Is the server running locally and accepting connections on Unix domain socket "/tmp/.s.PGSQL.5432"? And then I've check with log, it gives the result as follow, FATAL: pre-existing shared memory block is still in use HINT: If you're sure there are no old server processes still running, remove the shared memory block or just delete the file "postmaster.pid". After that unable to restart the postgresql, it always fails. After rebooting it gets succeed and truncating postmaster.pid gets succeed. Kindly help me how to fix this. -- with regards, Neelaveni --------------3822B36D55ED5447A77738C0 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit


Dear sir/mam,
    I'm using postgresql 9.4.6 version.
    I've copied the postgresql.log as postgresql.log_bk.
    While copying the postgresql.log, I've restarted the postgresql process.
    Then the process got failed and I've got the following error,

        psql: could not connect to server: Connection refused
        Is the server running locally and accepting
        connections on Unix domain socket "/tmp/.s.PGSQL.5432"?

    And then I've check with log, it gives the result as follow,
    FATAL:  pre-existing shared memory block is still in use
    HINT:  If you're sure there are no old server processes still running,
    remove the shared memory block or just delete the file "postmaster.pid".

    After that unable to restart the postgresql, it always fails.
    After rebooting it gets succeed and truncating postmaster.pid gets succeed.
    Kindly help me how to fix this.

--    
with regards,
Neelaveni

--------------3822B36D55ED5447A77738C0--