Re: no mirrors availeble - Mailing list pgadmin-support

From Dave Page
Subject Re: no mirrors availeble
Date
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E430688B@ratbert.vale-housing.co.uk
Whole thread Raw
In response to no mirrors availeble  (gerard <gerard@dehoenderkooi.nl>)
Responses Re: no mirrors availeble
List pgadmin-support

> -----Original Message-----
> From: Marc G. Fournier [mailto:scrappy@postgresql.org]
> Sent: 03 October 2004 18:29
> To: Dave Page
> Cc: Marc G. Fournier; gerard@dehoenderkooi.nl;
> pgadmin-support@postgresql.org
> Subject: RE: [pgadmin-support] no mirrors availeble
>
>
> just changed the rebuild script to happen every 6 hours vs 24
> ... if that is the reason for the below, this should help at
> least reduce the length of time til its fixed ...

Did you ever add the database connection check that I suggested once?

chksvr()
{
# Dummy query to check the server status
status=`/usr/local/bin/psql -h $1 -p $2 -U $4 -d $3 -A -t -F '' -c
"SELECT 'SERVER_UP'"`

if [ "$status" != "SERVER_UP" ]; then
mail -s "WARNING: Server $1:$2 is down!!" webmaster@postgresql.org <
/tmp/svr-status
rm /tmp/svr-status
exit 1
fi
}

Regards, Dave.


pgadmin-support by date:

Previous
From: "Marc G. Fournier"
Date:
Subject: Re: no mirrors availeble
Next
From: "Marc G. Fournier"
Date:
Subject: Re: no mirrors availeble