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 1gClbP-000072-OD for pgsql-bugs@arkaria.postgresql.org; Wed, 17 Oct 2018 13:11:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gClbN-0005qf-FA for pgsql-bugs@arkaria.postgresql.org; Wed, 17 Oct 2018 13:11:05 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gClKp-00034P-W5 for pgsql-bugs@lists.postgresql.org; Wed, 17 Oct 2018 12:54:00 +0000 Received: from mail-pg1-x534.google.com ([2607:f8b0:4864:20::534]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gClKn-0006z0-K1 for pgsql-bugs@postgresql.org; Wed, 17 Oct 2018 12:53:59 +0000 Received: by mail-pg1-x534.google.com with SMTP id g2-v6so12492795pgu.11 for ; Wed, 17 Oct 2018 05:53:57 -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=PiPe6h/mPQ7gGbyKrsXvUjefJUhv8CMEo90uufzdk+s=; b=oojvi8p+cltHYzDUbcAn4okwomJY/Yr0UO2FWlw7dUfY4dyO3ORBdD3AV+S33+H2u8 zDInY94DzPLpeRn/1ZQ7WZNPuaYbP18EsZGlJIVHp9X/TPPGb5Mw7b8l4Re4wgW3Ix0q BpJtjBpcrZet9m//xTmtAtz43TO8TWjU7znvfnnDc0Htn+ZGoRjVsAnGPUY6jzwaZqDL PWfz4TJ2SunybOkvzpL7eMfX9XZHs/zxs8IGI40/eYqykks+2GQ0OCAoAvbY6FfyniDg nLrC90/XNtd5q0c6jYQOY/88xiKgoBxSAunj6xh7/rNAw1h+EjZHnyr2Wsv7eEI/71i1 BbgA== 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=PiPe6h/mPQ7gGbyKrsXvUjefJUhv8CMEo90uufzdk+s=; b=ijzBVcTFqnjk5e1bovlwgw+VEcIgYztLQXg9jSVffTJTOiDF07RV2Zx4u9gYHIkRHw UUdGL45ZT1LQ48BMzsu1fVofBzYRBTti97aThcJoxA4G13n6tFBXvy8nLmG0J/SEIj6b GK8R0jJrkCLmNJRsfDp2chbTM+bGhIKK3UjUZ7nZKgqcqGoi16kBOpklCvy2I9V4cLg6 0p7WuxT1ryxqlWUxa1QmpTVc+QM7aPXp+/NNdlCJofqnL+dHWMRXBj05/i1KJ+h2MX2j jgDSHNvYENhUDNfgpobGDb/1/qzCk5oA6msZuuFa33CVUr8I8q8JUJtOlorLSSMQnqSF dWwg== X-Gm-Message-State: ABuFfoi2OEweHVOAsEGnO8W5BFX8VWv0m1jHygJKcpqLwp9xD4aldB8P PiQufSWNWBrvOhTj4ZkjHTo= X-Google-Smtp-Source: ACcGV63oX0FizM1aWwfQ1ddVx3mZRAXe51xzZQrgr0RIkNc34q+LU5qehZQruUJwsNtiPthEfqjOxg== X-Received: by 2002:aa7:880d:: with SMTP id c13-v6mr26717471pfo.251.1539780834960; Wed, 17 Oct 2018 05:53:54 -0700 (PDT) Received: from [192.168.1.64] ([210.18.181.56]) by smtp.gmail.com with ESMTPSA id z63-v6sm21873118pfz.31.2018.10.17.05.53.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Oct 2018 05:53:53 -0700 (PDT) Subject: Fwd: Fwd: Re: General: Unable to start the postgresql after copying postgresql.log References: <482e261b-9779-a57f-1422-f306d132ffcf@gmail.com> To: pgsql-bugs@postgresql.org, pavan.postgresdba@gmail.com From: neela X-Forwarded-Message-Id: <482e261b-9779-a57f-1422-f306d132ffcf@gmail.com> Message-ID: <759f5b3d-5d5b-9ba2-ce77-f82428ae0074@gmail.com> Date: Wed, 17 Oct 2018 18:23:51 +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: <482e261b-9779-a57f-1422-f306d132ffcf@gmail.com> Content-Type: multipart/alternative; boundary="------------C20C9F5B9A7D019B696DB028" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------C20C9F5B9A7D019B696DB028 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Dear sir/mam, Please explain whether this issue with postgresql or some other thing. Regards, Neelaveni -------- Forwarded Message -------- Subject: Fwd: Re: General: Unable to start the postgresql after copying postgresql.log Date: Mon, 15 Oct 2018 14:16:21 +0530 From: neela To: Pavan Teja Dear sir, Kindly share why its happening. Regards, Neelaveni -------- Forwarded Message -------- Subject: Re: General: Unable to start the postgresql after copying postgresql.log Date: Thu, 11 Oct 2018 09:28:49 +0530 From: neela To: Pavan Teja CC: pgsql-bugs@postgresql.org Dear sir/mam, May I know why this cause. I simply doing the copying the log alone. But why postgresql not get started. Which causes this issue. Regards, Neelaveni On Wednesday 10 October 2018 07:29 PM, Pavan Teja wrote: > Hi neela, > > In this case, you can delete the postmaster.pid file and try to > restart the Postgresql database. > > I hope it might start. Kindly acknowledge for further queries if any. > > Regards, > Pavan, > 9841380956 > > On Wed, Oct 10, 2018, 7:26 PM neela > wrote: > > > 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 > --------------C20C9F5B9A7D019B696DB028 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit Dear sir/mam,
    Please explain whether this issue with postgresql or some other thing.

Regards,
Neelaveni


-------- Forwarded Message --------
Subject: Fwd: Re: General: Unable to start the postgresql after copying postgresql.log
Date: Mon, 15 Oct 2018 14:16:21 +0530
From: neela <neelat100@gmail.com>
To: Pavan Teja <pavan.postgresdba@gmail.com>


Dear sir,

    Kindly share why its happening.

Regards,

Neelaveni



-------- Forwarded Message --------
Subject: Re: General: Unable to start the postgresql after copying postgresql.log
Date: Thu, 11 Oct 2018 09:28:49 +0530
From: neela <neelat100@gmail.com>
To: Pavan Teja <pavan.postgresdba@gmail.com>
CC: pgsql-bugs@postgresql.org


Dear sir/mam,
    May I know why this cause. I simply doing the copying the log alone.
    But why postgresql not get started.
    Which causes this issue.

Regards,
Neelaveni

On Wednesday 10 October 2018 07:29 PM, Pavan Teja wrote:
Hi neela,

In this case, you can delete the postmaster.pid file and try to restart the Postgresql database.

I hope it might start. Kindly acknowledge for further queries if any.

Regards,
Pavan,
9841380956

On Wed, Oct 10, 2018, 7:26 PM neela <neelat100@gmail.com> wrote:


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


--------------C20C9F5B9A7D019B696DB028--