From: Tom Lane <tgl@sss.pgh.pa.us>
To: Werner Modenbach <modenbach@alc.de>
Cc: pgsql-admin@postgresql.org
Subject: Re: pg_dumpall in crontab doesn't work
Date: Tue, 02 Jul 2002 09:32:20 -0400
Message-ID: <12444.1025616740@sss.pgh.pa.us> (raw)
In-Reply-To: <afrm10$mr8$1@news.hub.org>
References: <20020702093932.D30034@Burk.hax.SE>
<afrm10$mr8$1@news.hub.org>
Werner Modenbach <modenbach@alc.de> writes:
>> Filedescriptor 0 is STDIN. I would guess pg_dumpall want's to read
>> something from stdin, pherhaps ask you a question?
>>
> But it doesn't ask in interactive (shell) mode.
I was going to suggest that it's trying to read a password. Are you
sure you don't have password authentication enabled?
You might try adding < /dev/null to the cron entry. I would have thought
that would be the default, but perhaps it isn't on your machine.
regards, tom lane
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-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, modenbach@alc.de
Subject: Re: pg_dumpall in crontab doesn't work
In-Reply-To: <12444.1025616740@sss.pgh.pa.us>
References: <20020702093932.D30034@Burk.hax.SE> <afrm10$mr8$1@news.hub.org> <12444.1025616740@sss.pgh.pa.us>
* 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