pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #15905: FATAL: the database system is starting up
4+ messages / 3 participants
[nested] [flat]

* BUG #15905: FATAL: the database system is starting up
@ 2019-07-12 06:59 PG Bug reporting form <noreply@postgresql.org>
  2019-07-12 07:57 ` Re: BUG #15905: FATAL: the database system is starting up Michael Paquier <michael@paquier.xyz>
  0 siblings, 1 reply; 4+ messages in thread

From: PG Bug reporting form @ 2019-07-12 06:59 UTC (permalink / raw)
  To: pgsql-bugs@lists.postgresql.org; +Cc: chaturvedi98293@gmail.com

The following bug has been logged on the website:

Bug reference:      15905
Logged by:          Aayush chaturvedi
Email address:      chaturvedi98293@gmail.com
PostgreSQL version: 11.4
Operating system:   Windows 64 Bit
Description:        

Hi Team,

I was working on server and suddenly my PC got off. When i restarted my PC i
am getting the error message "FATAL: the database system is starting up". I
am new to Postgre and this was the Master server having no backup at all.
With this server some of the users were connected as well.
Could anyone please help asap.

Some of the logs :
2019-07-12 12:25:53.720 IST [7856] LOG:  could not open file
"pg_tblspc/16817/DB2/BIN/db2compr.dll": sharing violation
2019-07-12 12:25:53.720 IST [7856] DETAIL:  Continuing to retry for 30
seconds.
2019-07-12 12:25:53.720 IST [7856] HINT:  You might have antivirus, backup,
or similar software interfering with the database system.
2019-07-12 12:26:28.460 IST [7856] LOG:  could not open file
"pg_tblspc/16817/DB2/BIN/db2dasapi64.dll": sharing violation
2019-07-12 12:26:28.460 IST [7856] DETAIL:  Continuing to retry for 30
seconds.
2019-07-12 12:26:28.460 IST [7856] HINT:  You might have antivirus, backup,
or similar software interfering with the database system.
2019-07-12 12:27:07.972 IST [7856] LOG:  could not open file
"pg_tblspc/16817/DB2/BIN/db2dascmn64.dll": sharing violation
2019-07-12 12:27:07.972 IST [7856] DETAIL:  Continuing to retry for 30
seconds.
2019-07-12 12:27:07.972 IST [7856] HINT:  You might have antivirus, backup,
or similar software interfering with the database system.

Thanks,
Aayush



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: BUG #15905: FATAL: the database system is starting up
  2019-07-12 06:59 BUG #15905: FATAL: the database system is starting up PG Bug reporting form <noreply@postgresql.org>
@ 2019-07-12 07:57 ` Michael Paquier <michael@paquier.xyz>
  2019-07-12 18:45   ` Re: BUG #15905: FATAL: the database system is starting up Aayush Chaturvedi <chaturvedi98293@gmail.com>
  0 siblings, 1 reply; 4+ messages in thread

From: Michael Paquier @ 2019-07-12 07:57 UTC (permalink / raw)
  To: chaturvedi98293@gmail.com; pgsql-bugs@lists.postgresql.org

On Fri, Jul 12, 2019 at 06:59:05AM +0000, PG Bug reporting form wrote:
> I was working on server and suddenly my PC got off. When i restarted my PC i
> am getting the error message "FATAL: the database system is starting up". I
> am new to Postgre and this was the Master server having no backup at all.
> With this server some of the users were connected as well.
> Could anyone please help asap.
> 
> 2019-07-12 12:27:07.972 IST [7856] LOG:  could not open file
> "pg_tblspc/16817/DB2/BIN/db2dascmn64.dll": sharing violation

You should really double-check your installer and what you have on
this machine.  Postgres *never* adds any DLL files in a data folder.
--
Michael

Attachments:

  signature.asc (application/pgp-signature, 832B) download

^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: BUG #15905: FATAL: the database system is starting up
  2019-07-12 06:59 BUG #15905: FATAL: the database system is starting up PG Bug reporting form <noreply@postgresql.org>
  2019-07-12 07:57 ` Re: BUG #15905: FATAL: the database system is starting up Michael Paquier <michael@paquier.xyz>
@ 2019-07-12 18:45   ` Aayush Chaturvedi <chaturvedi98293@gmail.com>
  2019-07-13 05:49     ` Re: BUG #15905: FATAL: the database system is starting up Michael Paquier <michael@paquier.xyz>
  0 siblings, 1 reply; 4+ messages in thread

From: Aayush Chaturvedi @ 2019-07-12 18:45 UTC (permalink / raw)
  To: Michael Paquier <michael@paquier.xyz>; +Cc: pgsql-bugs@lists.postgresql.org

Hi Michael,

So I created tablespaces on my local system and I think that what was
coming in the logs.

Thanks,
Aayush

On Fri, 12 Jul, 2019, 1:27 PM Michael Paquier, <michael@paquier.xyz> wrote:

> On Fri, Jul 12, 2019 at 06:59:05AM +0000, PG Bug reporting form wrote:
> > I was working on server and suddenly my PC got off. When i restarted my
> PC i
> > am getting the error message "FATAL: the database system is starting
> up". I
> > am new to Postgre and this was the Master server having no backup at all.
> > With this server some of the users were connected as well.
> > Could anyone please help asap.
> >
> > 2019-07-12 12:27:07.972 IST [7856] LOG:  could not open file
> > "pg_tblspc/16817/DB2/BIN/db2dascmn64.dll": sharing violation
>
> You should really double-check your installer and what you have on
> this machine.  Postgres *never* adds any DLL files in a data folder.
> --
> Michael
>

^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: BUG #15905: FATAL: the database system is starting up
  2019-07-12 06:59 BUG #15905: FATAL: the database system is starting up PG Bug reporting form <noreply@postgresql.org>
  2019-07-12 07:57 ` Re: BUG #15905: FATAL: the database system is starting up Michael Paquier <michael@paquier.xyz>
  2019-07-12 18:45   ` Re: BUG #15905: FATAL: the database system is starting up Aayush Chaturvedi <chaturvedi98293@gmail.com>
@ 2019-07-13 05:49     ` Michael Paquier <michael@paquier.xyz>
  0 siblings, 0 replies; 4+ messages in thread

From: Michael Paquier @ 2019-07-13 05:49 UTC (permalink / raw)
  To: Aayush Chaturvedi <chaturvedi98293@gmail.com>; +Cc: pgsql-bugs@lists.postgresql.org

On Sat, Jul 13, 2019 at 12:15:12AM +0530, Aayush Chaturvedi wrote:
> So I created tablespaces on my local system and I think that what was
> coming in the logs.

db2dascmn64.dll is a DLL coming from some stuff of IBM's DB2.  You may
want to check why you have executables in your data folder to begin
with.  These are *not* part of the original data folder created by
initdb.  So something in your installation is already not clear.  If a
DLL is being accessed for a reason or another, a base backup will
logically fail on it if another process out of PostgreSQL's backend
use it.  Postgres open() calls are shared-safe thanks to a custom
wrapper we have in the tree, but that's not the case of the native
implementation on Windows.
--
Michael

Attachments:

  signature.asc (application/pgp-signature, 832B) download

^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2019-07-13 05:49 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-07-12 06:59 BUG #15905: FATAL: the database system is starting up PG Bug reporting form <noreply@postgresql.org>
2019-07-12 07:57 ` Michael Paquier <michael@paquier.xyz>
2019-07-12 18:45   ` Aayush Chaturvedi <chaturvedi98293@gmail.com>
2019-07-13 05:49     ` Michael Paquier <michael@paquier.xyz>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox