Re: Problem creating a database
От
Colin Coles
Тема
Re: Problem creating a database
Дата
Msg-id
6ed55c8c-a7ae-88a5-4282-64496e1a2711@beachcentral.co.uk
Ответ на
Problem creating a database (Joshua White)
Список
Дерево обсуждения
Problem creating a database Joshua White <joshua.white@monash.edu>
Re: Problem creating a database Colin Coles <mailinglists@beachcentral.co.uk>
Re: Problem creating a database Joshua White <joshua.white@monash.edu>
Re: Problem creating a database Ben Madin <ben@ausvet.com.au>
Re: Problem creating a database Joshua White <joshua.white@monash.edu>
Re: Problem creating a database Laurenz Albe <laurenz.albe@cybertec.at>
Re: Problem creating a database Joshua White <joshua.white@monash.edu>
Re: Problem creating a database Laurenz Albe <laurenz.albe@cybertec.at>
Re: Problem creating a database Joshua White <joshua.white@monash.edu>
Re: Problem creating a database Joshua White <joshua.white@monash.edu>
Re: Problem creating a database Laurenz Albe <laurenz.albe@cybertec.at>
GIN Index for low cardinality Ravi Krishna <srkrishna1@aol.com>
Re: GIN Index for low cardinality Олег Самойлов <splarv@ya.ru>
Re: GIN Index for low cardinality Ravi Krishna <srkrishna1@aol.com>
Re: GIN Index for low cardinality Jeff Janes <jeff.janes@gmail.com>
Re: GIN Index for low cardinality Олег Самойлов <splarv@ya.ru>
Re: GIN Index for low cardinality Ozz Nixon <ozznixon@gmail.com>
RE: GIN Index for low cardinality Igor Neyman <ineyman@perceptron.com>
Re: GIN Index for low cardinality Jeff Janes <jeff.janes@gmail.com>
Re: GIN Index for low cardinality Jeff Janes <jeff.janes@gmail.com>
On 15/10/2018 10:46, Joshua White wrote: > Hi all, > > I'm hoping someone can point me in the right direction. I've got a > PostgreSQL 10 server instance on CentOS 6, which I set up and manage. I > have full admin rights on this machine, so I can access logs, etc. > > Recently I attempted to create a new database in this cluster. The command > succeeds, but when I try to connect to the new database, I get a "could not > open file" error: > > psql: FATAL: could not open file "base/618720/2610": No such file or > directory > > It has been some time since I set up the database, so I don't know how long > ago this became an issue. I can't seem to find any other instances of this > problem online either. The logs are not helpful - even on the highest debug > setting, I only see the "connection authorized" then the fatal "could not > open file" error. > > The data directory is on a separate disk array to the OS. Recently checked > it and there are no disk errors. > > Any thoughts or ideas would be much appreciated. > > Kind Regards, > Joshua Hi Joshua, I have a distant recollection of a similar problem on CentOS, solved by raising the mount point further up the fs hierarchy. i.e. I think I ended up having to have the disk partition mounted on /var/lib before it would work properly, after initially trying it on /var/lib/pgsql/data. If you're using 10 your path will probably be different, but I think it boiled down to the ownership of the underlying mount point. Cheers, Colin.
В списке pgsql-general по дате отправления