Re: pg_dumpall in crontab doesn't work

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Werner Modenbach <modenbach(at)alc(dot)de>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: pg_dumpall in crontab doesn't work
Date: 2002-07-02 13:32:20
Message-ID: 12444.1025616740@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Werner Modenbach <modenbach(at)alc(dot)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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message BAYET Richard 2002-07-02 13:42:01 Re: how to re-configure postgresql-rpm version
Previous Message Nick Fankhauser 2002-07-02 12:31:12 Re: db connection fails