Re: Cannot rename init file - Mailing list pgsql-cygwin

From Jason Tishler
Subject Re: Cannot rename init file
Date
Msg-id 20010923223449.G1904@dothill.com
Whole thread Raw
In response to Cannot rename init file  ("Russell Black" <rblack@iarchives.com>)
List pgsql-cygwin
Russell,

On Sat, Sep 22, 2001 at 07:29:47PM -0600, Russell Black wrote:
> Last night when I ran vacuumdb, I got the following output:
>
> Vacuuming usda
> NOTICE: Cannot rename init file /cygdrive/c/pgdb/base/167726/
> pg_internal.init.3156 to /cygdrive/c/pgdb/base/167726/pg_internal.init:
> Permission denied
> Continuing anyway, but there's something wrong.
>
> I got similar errors when I tried to perform db operatons using ejb/jdbc. I
> restarted the postmaster and the problem went away. Has anyone else seen
> this?

I have seen the above when running the regression test about 9 months
ago:

    http://archives.postgresql.org/pgsql-ports/2001-01/msg00068.php

But, I have not seen it in a long time -- so I *ass*umed that it was
"fixed" in Cygwin.  If you can reproduce it, then please try to debug it.

BTW, are your running vacuumdb under cron or just at the command line?

> 2nd unrelated (I think) question, I am noticing something funny when I
> run the postmaster with -d2:
>
> postmaster child[2828]: starting with (postgres -d2 -v131072 -p usda )
> FindExec: searching PATH ...
> ValidateBinary: can't stat "/cygdrive/e./postgres"
> ValidateBinary: can't stat "/cygdrive/e./postgres"
> FindExec: found "/usr/bin/postgres" using PATH
> DEBUG: connection: host=127.0.0.1 user=Administrator database=usda
>
> Is the ValidateBinary anything to worry about?

I don't think so.  It just sounds like you have "/cygdrive/e."  in your
PATH before "/usr/bin".

Jason

pgsql-cygwin by date:

Previous
From: roypgsqlcygwin@xemaps.com
Date:
Subject:
Next
From: Gerhard Häring
Date:
Subject: Re: [PATCHES] Makefiles for building with mingw32 on win32