pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Raghavendra Rao J S V <raghavendrajsv@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Error while using pg_dump
Date: Tue, 16 Apr 2019 07:00:24 -0700
Message-ID: <f0a147a2-6980-1346-41f0-759630ab7868@aklaver.com> (raw)
In-Reply-To: <CAEHH7R6uwNUpwE1q8yRh1cqX3-rYHU17AAuvu8M3hCC_GDmVYg@mail.gmail.com>
References: <CAEHH7R6uwNUpwE1q8yRh1cqX3-rYHU17AAuvu8M3hCC_GDmVYg@mail.gmail.com>

On 4/16/19 12:07 AM, Raghavendra Rao J S V wrote:
> Hi All,
> 
> We are facing below error while taking the backup of the database using 
> pg_dump. Could you suggest me how to rectify this?
> 
> 
> pg_dump: [archiver (db)] query was: COPY public.aclappliedtopep (id, 
> instance_version, direction, aclname, ifname, owningentityid, 
> protocolendpoint_id, deploypending, authentityid, authentityclass, 
> accesscontrollist_id) TO stdout;
> 
> dollar qustion is 1
> 
> dbuser name is qovr , dbname is qovr and direcotry is 
> /opt/tempbackups/HCS-SYD3-PCA01-weekly-backup/backup/appcomponent/qovr-db/emms_db_09_05_17_18_46_26.dump 

I'm trying to figure out the above:

Is this the actual error message or a translated/edited one?

What is the name of the database you are taking the dump from?

Is the *.dump file your output file or is it something being used in the 
database?

What is the pg_dump command you are issuing?




> 
> 
> dollar qustion is 0
> 
> pg_dump: FATAL:  terminating connection due to administrator command
> 
> pg_dump: [archiver (db)] query failed: server closed the connection 
> unexpectedly
> 
> This probably means the server terminated abnormally
> 
> before or while processing the request.
> 
> pg_dump: [archiver (db)] query was: COPY public.aclappliedtopep (id, 
> instance_version, direction, aclname, ifname, owningentityid, 
> protocolendpoint_id, deploypending, authentityid, authentityclass, 
> accesscontrollist_id) TO stdout;
> 
> pg_dump: [archiver (db)] connection to database "qovr" failed: could not 
> connect to server: Connection refused
> 
> Is the server running on host "localhost" (127.0.0.1) and accepting
> 
> TCP/IP connections on port 5433?
> 
> pg_dump: error reading large object 69417845: FATAL:  terminating 
> connection due to administrator command
> 
> FATAL:  terminating connection due to administrator command
> 
> pg_dump: could not open large object 59087743: FATAL:  terminating 
> connection due to administrator command
> 
> FATAL:  terminating connection due to administrator command
> 
> 
> -- 
> Regards,
> Raghavendra Rao J S V
> Mobile- 8861161425


-- 
Adrian Klaver
adrian.klaver@aklaver.com





view thread (4+ messages)

Message-ID: <f0a147a2-6980-1346-41f0-759630ab7868@aklaver.com>
Permalink:  ../f0a147a2-6980-1346-41f0-759630ab7868@aklaver.com/
Also on:    postgresql.org/message-id/f0a147a2-6980-1346-41f0-759630ab7868@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, raghavendrajsv@gmail.com
  Subject: Re: Error while using pg_dump
  In-Reply-To: <f0a147a2-6980-1346-41f0-759630ab7868@aklaver.com>
  References: <CAEHH7R6uwNUpwE1q8yRh1cqX3-rYHU17AAuvu8M3hCC_GDmVYg@mail.gmail.com> <f0a147a2-6980-1346-41f0-759630ab7868@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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