Error: Could not open relation...

Started by Howard Colealmost 18 years ago8 messagesgeneral
Jump to latest
#1Howard Cole
howardnews@selestial.com

Can anyone give me a hint how to trace the cause of this error message
in the error log:

ERROR could not open relation 1663/20146/128342: Permission Denied

Running 8.2.7 on W2K3.

Thanks.

Howard Cole.
www.selestial.com

#2Joshua D. Drake
jd@commandprompt.com
In reply to: Howard Cole (#1)
Re: Error: Could not open relation...

On Fri, 2008-05-23 at 00:08 +0100, Howard Cole wrote:

Can anyone give me a hint how to trace the cause of this error message
in the error log:

ERROR could not open relation 1663/20146/128342: Permission Denied

Running 8.2.7 on W2K3.

Looks like someone or something changed the permissions on the
postgresql folders or files.

Sincerely,

Joshua D. Drake

Show quoted text

Thanks.

Howard Cole.
www.selestial.com

#3Howard Cole
howardnews@selestial.com
In reply to: Joshua D. Drake (#2)
Re: Error: Could not open relation...

Looks like someone or something changed the permissions on the
postgresql folders or files.

Sincerely,

Joshua D. Drake

I've had a look at this file, and postgres has "Full Control".
Howard

#4Howard Cole
howardnews@selestial.com
In reply to: Howard Cole (#3)
Re: Error: Could not open relation...

Howard Cole wrote:

Looks like someone or something changed the permissions on the
postgresql folders or files.

Sincerely,

Joshua D. Drake

I've had a look at this file, and postgres has "Full Control".
Howard

Further, the system works fine normally. The permissions error appears
to be an isolated error. Is it possible that this error means something
else?

Are there likely to be serious integrety implications if Postgres failed
to access/write to this table for whatever reason, or would the
transaction be rolled back.

#5Adrian Klaver
adrian.klaver@aklaver.com
In reply to: Howard Cole (#4)
Re: Error: Could not open relation...

On Friday 23 May 2008 6:02 am, Howard Cole wrote:

Howard Cole wrote:

Looks like someone or something changed the permissions on the
postgresql folders or files.

Sincerely,

Joshua D. Drake

I've had a look at this file, and postgres has "Full Control".
Howard

Further, the system works fine normally. The permissions error appears
to be an isolated error. Is it possible that this error means something
else?

Are there likely to be serious integrety implications if Postgres failed
to access/write to this table for whatever reason, or would the
transaction be rolled back.

Previous reports of this type of intermittent behavior on Windows have been
traced back to AV software.

--
Adrian Klaver
aklaver@comcast.net

#6Bruce Momjian
bruce@momjian.us
In reply to: Howard Cole (#4)
Re: Error: Could not open relation...

"Howard Cole" <howardnews@selestial.com> writes:

Are there likely to be serious integrety implications if Postgres failed to
access/write to this table for whatever reason, or would the transaction be
rolled back.

The command would get an error and the transaction rolled back. I would be
more concerned about integrity issues if you started having the same error
with something like an xlog WAL file though.

--
Gregory Stark
EnterpriseDB http://www.enterprisedb.com
Ask me about EnterpriseDB's RemoteDBA services!

#7Howard Cole
howardnews@selestial.com
In reply to: Adrian Klaver (#5)
Re: Error: Could not open relation...

Adrian Klaver wrote:

On Friday 23 May 2008 6:02 am, Howard Cole wrote:

Howard Cole wrote:

Looks like someone or something changed the permissions on the
postgresql folders or files.

Sincerely,

Joshua D. Drake

I've had a look at this file, and postgres has "Full Control".
Howard

Further, the system works fine normally. The permissions error appears
to be an isolated error. Is it possible that this error means something
else?

Are there likely to be serious integrety implications if Postgres failed
to access/write to this table for whatever reason, or would the
transaction be rolled back.

Previous reports of this type of intermittent behavior on Windows have been
traced back to AV software.

The server does run NOD32 AV but it is switched off for the data
directory. Is there a possibility that file system errors can be
reported if there is a heavy load on the file system? The server also
runs as a file server.

#8Magnus Hagander
magnus@hagander.net
In reply to: Howard Cole (#7)
Re: Error: Could not open relation...

Howard Cole wrote:

Adrian Klaver wrote:

On Friday 23 May 2008 6:02 am, Howard Cole wrote:

Howard Cole wrote:

Looks like someone or something changed the permissions on the
postgresql folders or files.

Sincerely,

Joshua D. Drake

I've had a look at this file, and postgres has "Full Control".
Howard

Further, the system works fine normally. The permissions error
appears to be an isolated error. Is it possible that this error
means something else?

Are there likely to be serious integrety implications if Postgres
failed to access/write to this table for whatever reason, or would
the transaction be rolled back.

Previous reports of this type of intermittent behavior on Windows
have been traced back to AV software.

The server does run NOD32 AV but it is switched off for the data
directory. Is there a possibility that file system errors can be
reported if there is a heavy load on the file system? The server also
runs as a file server.

NOD32 is known to cause problems (at least with some versions) even
when it's switched off. Try completely uninstalling it to get rid of
the filter driver and see if that removes your problems.

//Magnus