pg.ddx.io pgsql-general@postgresql.org mailing list archive
help / color / mirror / Atom feedProblem creating a database
11+ messages / 4 participants
[nested] [flat]
* Problem creating a database
@ 2018-10-15 09:46 Joshua White <joshua.white@monash.edu>
2018-10-15 10:12 ` Re: Problem creating a database Laurenz Albe <laurenz.albe@cybertec.at>
2018-10-16 04:03 ` Re: Problem creating a database Ben Madin <ben@ausvet.com.au>
2018-10-16 08:12 ` Re: Problem creating a database Colin Coles <mailinglists@beachcentral.co.uk>
0 siblings, 3 replies; 11+ messages in thread
From: Joshua White @ 2018-10-15 09:46 UTC (permalink / raw)
To: pgsql-general@lists.postgresql.org
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
^ permalink raw reply [nested|flat] 11+ messages in thread
* Re: Problem creating a database
2018-10-15 09:46 Problem creating a database Joshua White <joshua.white@monash.edu>
@ 2018-10-15 10:12 ` Laurenz Albe <laurenz.albe@cybertec.at>
2018-10-16 07:04 ` Re: Problem creating a database Joshua White <joshua.white@monash.edu>
2 siblings, 1 reply; 11+ messages in thread
From: Laurenz Albe @ 2018-10-15 10:12 UTC (permalink / raw)
To: Joshua White <joshua.white@monash.edu>; pgsql-general@lists.postgresql.org
Joshua White wrote:
> 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.
Looks like the file backing the "pg_index" table is gone.
Can you check if the file exists in the data directory or not?
It's hard to determine what happened, but something has been
eating your data. As it is, your best option would be to
drop the database and recreate it from a backup.
Yours,
Laurenz Albe
--
Cybertec | https://www.cybertec-postgresql.com
^ permalink raw reply [nested|flat] 11+ messages in thread
* Re: Problem creating a database
2018-10-15 09:46 Problem creating a database Joshua White <joshua.white@monash.edu>
2018-10-15 10:12 ` Re: Problem creating a database Laurenz Albe <laurenz.albe@cybertec.at>
@ 2018-10-16 07:04 ` Joshua White <joshua.white@monash.edu>
2018-10-16 07:58 ` Re: Problem creating a database Laurenz Albe <laurenz.albe@cybertec.at>
0 siblings, 1 reply; 11+ messages in thread
From: Joshua White @ 2018-10-16 07:04 UTC (permalink / raw)
To: laurenz.albe@cybertec.at; +Cc: pgsql-general@lists.postgresql.org
Thanks for the tip. I've checked and the on-disk file behind "pg_index"
still exists.
I have existing databases in this cluster that I'd prefer not to drop and
recreate if possible.
I've tried dropping and recreating the new database I want to use, but each
time get the same type of error.
Kind Regards,
Joshua White
On Mon, 15 Oct 2018 at 21:13, Laurenz Albe <laurenz.albe@cybertec.at> wrote:
> Joshua White wrote:
> > 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.
>
> Looks like the file backing the "pg_index" table is gone.
>
> Can you check if the file exists in the data directory or not?
>
> It's hard to determine what happened, but something has been
> eating your data. As it is, your best option would be to
> drop the database and recreate it from a backup.
>
> Yours,
> Laurenz Albe
> --
> Cybertec | https://www.cybertec-postgresql.com
>
>
^ permalink raw reply [nested|flat] 11+ messages in thread
* Re: Problem creating a database
2018-10-15 09:46 Problem creating a database Joshua White <joshua.white@monash.edu>
2018-10-15 10:12 ` Re: Problem creating a database Laurenz Albe <laurenz.albe@cybertec.at>
2018-10-16 07:04 ` Re: Problem creating a database Joshua White <joshua.white@monash.edu>
@ 2018-10-16 07:58 ` Laurenz Albe <laurenz.albe@cybertec.at>
2018-10-17 01:17 ` Re: Problem creating a database Joshua White <joshua.white@monash.edu>
0 siblings, 1 reply; 11+ messages in thread
From: Laurenz Albe @ 2018-10-16 07:58 UTC (permalink / raw)
To: Joshua White <joshua.white@monash.edu>; +Cc: pgsql-general@lists.postgresql.org
Please don't top post.
Joshua White wrote:
> On Mon, 15 Oct 2018 at 21:13, Laurenz Albe <laurenz.albe@cybertec.at> wrote:
> > Joshua White wrote:
> > > 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.
> >
> > Looks like the file backing the "pg_index" table is gone.
> >
> > Can you check if the file exists in the data directory or not?
>
> Thanks for the tip. I've checked and the on-disk file behind "pg_index" still exists.
>
> I have existing databases in this cluster that I'd prefer not to drop and recreate if possible.
>
> I've tried dropping and recreating the new database I want to use, but each time get the same type of error.
"pg_index" initially uses file 2610.
That may of yourse change if you rewrite the table.
Try the following as OS user "postgres":
oid2name -d <your database> -f 2610
Then you can see which table is associated to that file.
Anyway, your database seems to be quite wrecked, and you'd probably need
an expert to save what can be saved.
Yours,
Laurenz Albe
--
Cybertec | https://www.cybertec-postgresql.com
^ permalink raw reply [nested|flat] 11+ messages in thread
* Re: Problem creating a database
2018-10-15 09:46 Problem creating a database Joshua White <joshua.white@monash.edu>
2018-10-15 10:12 ` Re: Problem creating a database Laurenz Albe <laurenz.albe@cybertec.at>
2018-10-16 07:04 ` Re: Problem creating a database Joshua White <joshua.white@monash.edu>
2018-10-16 07:58 ` Re: Problem creating a database Laurenz Albe <laurenz.albe@cybertec.at>
@ 2018-10-17 01:17 ` Joshua White <joshua.white@monash.edu>
2018-10-17 01:31 ` Re: Problem creating a database Joshua White <joshua.white@monash.edu>
0 siblings, 1 reply; 11+ messages in thread
From: Joshua White @ 2018-10-17 01:17 UTC (permalink / raw)
To: laurenz.albe@cybertec.at; +Cc: pgsql-general@lists.postgresql.org
On Tue, 16 Oct 2018 at 18:58, Laurenz Albe <laurenz.albe@cybertec.at> wrote:
> Please don't top post.
>
> Joshua White wrote:
> > On Mon, 15 Oct 2018 at 21:13, Laurenz Albe <laurenz.albe@cybertec.at>
> wrote:
> > > Joshua White wrote:
> > > > 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.
> > >
> > > Looks like the file backing the "pg_index" table is gone.
> > >
> > > Can you check if the file exists in the data directory or not?
> >
> > Thanks for the tip. I've checked and the on-disk file behind "pg_index"
> still exists.
> >
> > I have existing databases in this cluster that I'd prefer not to drop
> and recreate if possible.
> >
> > I've tried dropping and recreating the new database I want to use, but
> each time get the same type of error.
>
> "pg_index" initially uses file 2610.
> That may of yourse change if you rewrite the table.
>
> Try the following as OS user "postgres":
> oid2name -d <your database> -f 2610
> Then you can see which table is associated to that file.
>
> Anyway, your database seems to be quite wrecked, and you'd probably need
> an expert to save what can be saved.
>
> Yours,
> Laurenz Albe
> --
> Cybertec | https://www.cybertec-postgresql.com
>
>
Sorry about the top-posting - default behaviour of my email client.
./oid2name -d postgres -f 2610 returns no tables.
Four of my six custom databases within the cluster return "pg_index" as the
table. The other two return nothing.
I guess this is fast becoming a situation where I'd be better off to start
over and restore the entire cluster from backups. Not ideal, but might have
to be done. At least I can take the opportunity to replace CentOS 6 with 7
if I do that.
Kind Regards,
Joshua.
^ permalink raw reply [nested|flat] 11+ messages in thread
* Re: Problem creating a database
2018-10-15 09:46 Problem creating a database Joshua White <joshua.white@monash.edu>
2018-10-15 10:12 ` Re: Problem creating a database Laurenz Albe <laurenz.albe@cybertec.at>
2018-10-16 07:04 ` Re: Problem creating a database Joshua White <joshua.white@monash.edu>
2018-10-16 07:58 ` Re: Problem creating a database Laurenz Albe <laurenz.albe@cybertec.at>
2018-10-17 01:17 ` Re: Problem creating a database Joshua White <joshua.white@monash.edu>
@ 2018-10-17 01:31 ` Joshua White <joshua.white@monash.edu>
2018-10-17 06:19 ` Re: Problem creating a database Laurenz Albe <laurenz.albe@cybertec.at>
0 siblings, 1 reply; 11+ messages in thread
From: Joshua White @ 2018-10-17 01:31 UTC (permalink / raw)
To: laurenz.albe@cybertec.at; +Cc: pgsql-general@lists.postgresql.org
>
> > > > 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
>> > > >
>> > >
>> > > Looks like the file backing the "pg_index" table is gone.
>> > >
>> > > Can you check if the file exists in the data directory or not?
>> >
>> > Thanks for the tip. I've checked and the on-disk file behind "pg_index"
>> still exists.
>> >
>> > I have existing databases in this cluster that I'd prefer not to drop
>> and recreate if possible.
>> >
>> > I've tried dropping and recreating the new database I want to use, but
>> each time get the same type of error.
>>
>> "pg_index" initially uses file 2610.
>>
>> Anyway, your database seems to be quite wrecked, and you'd probably need
>> an expert to save what can be saved.
>>
>
>
So you're right about it being seriously corrupted somehow. All my custom
databases seem to work fine. I have data checksums and amcheck enabled and
haven't found any issues using the query below.
SELECT bt_index_check(index => c.oid), c.relname, c.relpages
FROM pg_index i
JOIN pg_opclass op ON i.indclass[0] = op.oid
JOIN pg_am am ON op.opcmethod = am.oid
JOIN pg_class c ON i.indexrelid = c.oid
JOIN pg_namespace n ON c.relnamespace = n.oid
WHERE am.amname = 'btree'
-- Don't check temp tables, which may be from another session:
AND c.relpersistence != 't'
AND i.indisready AND i.indisvalid
ORDER BY c.relpages DESC;
However, when I went to connect to template1, it failed:
# \connect template1
FATAL: could not open file "base/1/2610": No such file or directory
Previous connection kept
If template1 is corrupt, that would explain why I am unable to create new
databases.
Guess it's time to rebuild.
^ permalink raw reply [nested|flat] 11+ messages in thread
* Re: Problem creating a database
2018-10-15 09:46 Problem creating a database Joshua White <joshua.white@monash.edu>
2018-10-15 10:12 ` Re: Problem creating a database Laurenz Albe <laurenz.albe@cybertec.at>
2018-10-16 07:04 ` Re: Problem creating a database Joshua White <joshua.white@monash.edu>
2018-10-16 07:58 ` Re: Problem creating a database Laurenz Albe <laurenz.albe@cybertec.at>
2018-10-17 01:17 ` Re: Problem creating a database Joshua White <joshua.white@monash.edu>
2018-10-17 01:31 ` Re: Problem creating a database Joshua White <joshua.white@monash.edu>
@ 2018-10-17 06:19 ` Laurenz Albe <laurenz.albe@cybertec.at>
0 siblings, 0 replies; 11+ messages in thread
From: Laurenz Albe @ 2018-10-17 06:19 UTC (permalink / raw)
To: Joshua White <joshua.white@monash.edu>; +Cc: pgsql-general@lists.postgresql.org
Joshua White wrote:
> > > > > > psql: FATAL: could not open file "base/618720/2610": No such file or directory
> > >
> > > "pg_index" initially uses file 2610.
> > >
> > > Anyway, your database seems to be quite wrecked, and you'd probably need
> > > an expert to save what can be saved.
> >
> So you're right about it being seriously corrupted somehow. All my custom databases seem to work fine.
> I have data checksums and amcheck enabled and haven't found any issues using the query below.
>
> SELECT bt_index_check(index => c.oid), c.relname, c.relpages
> FROM pg_index i
> JOIN pg_opclass op ON i.indclass[0] = op.oid
> JOIN pg_am am ON op.opcmethod = am.oid
> JOIN pg_class c ON i.indexrelid = c.oid
> JOIN pg_namespace n ON c.relnamespace = n.oid
> WHERE am.amname = 'btree'
> -- Don't check temp tables, which may be from another session:
> AND c.relpersistence != 't'
> AND i.indisready AND i.indisvalid
> ORDER BY c.relpages DESC;
>
> However, when I went to connect to template1, it failed:
>
> # \connect template1
> FATAL: could not open file "base/1/2610": No such file or directory
> Previous connection kept
>
> If template1 is corrupt, that would explain why I am unable to create new databases.
Right. I think that dumping what you can and importing it in a new cluster
is the way to go.
Yours,
Laurenz Albe
--
Cybertec | https://www.cybertec-postgresql.com
^ permalink raw reply [nested|flat] 11+ messages in thread
* Re: Problem creating a database
2018-10-15 09:46 Problem creating a database Joshua White <joshua.white@monash.edu>
@ 2018-10-16 04:03 ` Ben Madin <ben@ausvet.com.au>
2018-10-16 06:57 ` Re: Problem creating a database Joshua White <joshua.white@monash.edu>
2 siblings, 1 reply; 11+ messages in thread
From: Ben Madin @ 2018-10-16 04:03 UTC (permalink / raw)
To: Joshua White <joshua.white@monash.edu>; +Cc: pgsql-general@lists.postgresql.org
Do you have adequate disk space left on your array?
cheers
Ben
On 15 October 2018 at 17:46, Joshua White <joshua.white@monash.edu> 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
>
>
--
[image: Ausvet Logo] <https://www.ausvet.com.au/;
Dr Ben Madin
BVMS MVPHMgmt PhD MANZCVS GAICD
Managing Director
Mobile:
+61 448 887 220 <+61448887220>
E-mail:
ben@ausvet.com.au
Website:
www.ausvet.com.au
Skype: benmadin
Address:
5 Shuffrey Street
Fremantle, WA 6160
Australia
^ permalink raw reply [nested|flat] 11+ messages in thread
* Re: Problem creating a database
2018-10-15 09:46 Problem creating a database Joshua White <joshua.white@monash.edu>
2018-10-16 04:03 ` Re: Problem creating a database Ben Madin <ben@ausvet.com.au>
@ 2018-10-16 06:57 ` Joshua White <joshua.white@monash.edu>
0 siblings, 0 replies; 11+ messages in thread
From: Joshua White @ 2018-10-16 06:57 UTC (permalink / raw)
To: ben@ausvet.com.au; +Cc: pgsql-general@lists.postgresql.org
Thanks for the suggestion - plenty of disk space left (several hundred
gigabytes free).
Kind Regards,
Joshua White
On Tue, 16 Oct 2018 at 15:03, Ben Madin <ben@ausvet.com.au> wrote:
> Do you have adequate disk space left on your array?
>
> cheers
>
> Ben
>
>
> On 15 October 2018 at 17:46, Joshua White <joshua.white@monash.edu> 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
>>
>>
>
>
> --
>
> [image: Ausvet Logo] <https://www.ausvet.com.au/;
>
> Dr Ben Madin
>
> BVMS MVPHMgmt PhD MANZCVS GAICD
> Managing Director
> Mobile:
> +61 448 887 220 <+61448887220>
> E-mail:
> ben@ausvet.com.au
> Website:
> www.ausvet.com.au
> Skype: benmadin
> Address:
> 5 Shuffrey Street
> Fremantle, WA 6160
> Australia
>
^ permalink raw reply [nested|flat] 11+ messages in thread
* Re: Problem creating a database
2018-10-15 09:46 Problem creating a database Joshua White <joshua.white@monash.edu>
@ 2018-10-16 08:12 ` Colin Coles <mailinglists@beachcentral.co.uk>
2018-10-17 01:18 ` Re: Problem creating a database Joshua White <joshua.white@monash.edu>
2 siblings, 1 reply; 11+ messages in thread
From: Colin Coles @ 2018-10-16 08:12 UTC (permalink / raw)
To: pgsql-general@lists.postgresql.org
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.
^ permalink raw reply [nested|flat] 11+ messages in thread
* Re: Problem creating a database
2018-10-15 09:46 Problem creating a database Joshua White <joshua.white@monash.edu>
2018-10-16 08:12 ` Re: Problem creating a database Colin Coles <mailinglists@beachcentral.co.uk>
@ 2018-10-17 01:18 ` Joshua White <joshua.white@monash.edu>
0 siblings, 0 replies; 11+ messages in thread
From: Joshua White @ 2018-10-17 01:18 UTC (permalink / raw)
To: mailinglists@beachcentral.co.uk; +Cc: pgsql-general@lists.postgresql.org
On Tue, 16 Oct 2018 at 19:13, Colin Coles <mailinglists@beachcentral.co.uk>
wrote:
> 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.
>
>
Hi Colin,
Thanks for the tip - I'll have a look into the mount point ownership as
well.
Kind Regards,
Joshua.
^ permalink raw reply [nested|flat] 11+ messages in thread
end of thread, other threads:[~2018-10-17 06:19 UTC | newest]
Thread overview: 11+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-10-15 09:46 Problem creating a database Joshua White <joshua.white@monash.edu>
2018-10-15 10:12 ` Laurenz Albe <laurenz.albe@cybertec.at>
2018-10-16 07:04 ` Joshua White <joshua.white@monash.edu>
2018-10-16 07:58 ` Laurenz Albe <laurenz.albe@cybertec.at>
2018-10-17 01:17 ` Joshua White <joshua.white@monash.edu>
2018-10-17 01:31 ` Joshua White <joshua.white@monash.edu>
2018-10-17 06:19 ` Laurenz Albe <laurenz.albe@cybertec.at>
2018-10-16 04:03 ` Ben Madin <ben@ausvet.com.au>
2018-10-16 06:57 ` Joshua White <joshua.white@monash.edu>
2018-10-16 08:12 ` Colin Coles <mailinglists@beachcentral.co.uk>
2018-10-17 01:18 ` Joshua White <joshua.white@monash.edu>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox