Thread: Windows 2016 server crashed after changes in Postgres 15.8 pgAdmin

Windows 2016 server crashed after changes in Postgres 15.8 pgAdmin

From
Sanjay Khatri
Date:
Dear,
   Last week I installed Postgres 15.8 on my Windows server 2016, I installed the pgadmin thats comes packed with postgresql installer.
I already have postgres 12.1 with pgAdmin installed on my server.
After installing Postgres 15.8, the respective pgAdmin was not working, it showed error 'Postgres server could not be contacted' 
But the old pgAdmin(of Postgres12) was working fine, but was not displaying the postgres15 server on server list on pgAdmin.
But, I wanted to work on the new pgAdmin (which was installed with postgres15). So I tried to find the solution on internet, and I got the solution. It was just to delete the pgAdmin.bak file from 'C\Users\Username\AppData\Roaming\pgAdmin\'
And I did that and It worked, the bew PgAdmin started to work, it also displayed the Postgres15 connection se server list.
But after 2 hours, my Windows Server 2016 crashed, and I am not able to boot my system. So on hard restart the system and it restarted well. And I quickly uninstalled the Postgres15 with its pgadmin from the machine. But the system crashed again after uninstalling the postgres 15. Now I am not able to boot the system. Its been 2 days the system is not able to boot.
The system is on dell iDrac PowerEdge M6300.
Is there any solution for this, I can try the solution if you suggest. We cannot format the Storage as our data is within the hardisk (Raid) type. And we dont have any data backup too.
Please help if possible

Re: Windows 2016 server crashed after changes in Postgres 15.8 pgAdmin

From
Tomas Vondra
Date:
This seems like a combination of (at least) two independent issues - the
pgadmin issue and the crash.

On 11/19/24 17:44, Sanjay Khatri wrote:
> Dear,
>    Last week I installed Postgres 15.8 on my Windows server 2016, I
> installed the pgadmin thats comes packed with postgresql installer.
> I already have postgres 12.1 with pgAdmin installed on my server.
> After installing Postgres 15.8, the respective pgAdmin was not working,
> it showed error 'Postgres server could not be contacted' 
> But the old pgAdmin(of Postgres12) was working fine, but was not
> displaying the postgres15 server on server list on pgAdmin.

I don't use pgadmin (or Windows) so I don't have any ideas why it might
be having these connection problems, and I'm not sure I quite understand
what you did. But it seems the new 15.8 server simply was not running,
that would explain all the symptoms.

> But, I wanted to work on the new pgAdmin (which was installed with
> postgres15). So I tried to find the solution on internet, and I got the
> solution. It was just to delete the pgAdmin.bak file from
> 'C\Users\Username\AppData\Roaming\pgAdmin\'
> And I did that and It worked, the bew PgAdmin started to work, it also
> displayed the Postgres15 connection se server list.

That is weird, TBH. No idea why deleting a .bak file would matter.

> But after 2 hours, my Windows Server 2016 crashed, and I am not able to
> boot my system. So on hard restart the system and it restarted well. And
> I quickly uninstalled the Postgres15 with its pgadmin from the machine.
> But the system crashed again after uninstalling the postgres 15. Now I
> am not able to boot the system. Its been 2 days the system is not able
> to boot.
> The system is on dell iDrac PowerEdge M6300.
> Is there any solution for this, I can try the solution if you suggest.
> We cannot format the Storage as our data is within the hardisk (Raid)
> type. And we dont have any data backup too.
> Please help if possible

It's very unlikely a Postgres issue would make the whole system crash,
particularly in a way that prevents it from booting again. I don't think
anyone will be able to help you without more info - you need to make it
boot again, inspect the Postgres logs, etc.


regards

-- 
Tomas Vondra




Re: Windows 2016 server crashed after changes in Postgres 15.8 pgAdmin

From
Daniel Gustafsson
Date:
> On 20 Nov 2024, at 13:36, Tomas Vondra <tomas@vondra.me> wrote:
> On 11/19/24 17:44, Sanjay Khatri wrote:

>> And we dont have any data backup too.

This will be your first priority once the system is up and running again, maybe
even to the point of planning for what immediate action to take before the
system boots to be able to act quickly in case it falls over again.

> It's very unlikely a Postgres issue would make the whole system crash,
> particularly in a way that prevents it from booting again.

Agreed, especially since this crash reportedly happened after uninstalling
postgres.  If the uninstaller could corrupt the OS like that I have a feeling
we'd heard about it by now.

> I don't think
> anyone will be able to help you without more info - you need to make it
> boot again, inspect the Postgres logs, etc.

I'm not familiar with Dell blade enclosures but if there is a similar system to
the iLO Lights Out console that HP ships I would start there (a quick Google
search hints at ePSA).

--
Daniel Gustafsson




Re: Windows 2016 server crashed after changes in Postgres 15.8 pgAdmin

From
Daniel Gustafsson
Date:
> On 20 Nov 2024, at 14:34, Sanjay Khatri <sanjaykhatri218@gmail.com> wrote:
>
> These are the errors from the logs of iDrac M630.
> I uninstalled the Postgres 15.8 , once I got the connection. But sadly the server disconnected again and crashed,
evenafter uninstalling. 
> No I am not able to boot it.

I'm going to go out on a limb and say that this isn't a postgres bug, and
highly unlikely to be caused by one.  This smells like broken hardware and/or
corrupted BIOS/firmware, you should contact your hardware vendor for support.

--
Daniel Gustafsson