Re: DB Creations/ Drop DB :: Not working...

From: Shreeyansh Dba <shreeyansh2014(at)gmail(dot)com>
To: soumik(dot)bhattacharjee(at)kpn(dot)com
Cc: pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: DB Creations/ Drop DB :: Not working...
Date: 2018-12-06 10:41:55
Message-ID: CAGDYbUNBwBoPKSaQPHPnQSYMpvpimBp7Qx+e5KmnyE+hk+DZJw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi Soumik,

It seems your tablespace directory deleted by someone and you need to
recreate tablespace for your database.

Go through the below link for more details.

https://www.postgresql.org/docs/10/manage-ag-tablespaces.html

Hope this will helps.

<http://www.shreeyansh.com>

On Wed, Dec 5, 2018 at 10:40 PM <soumik(dot)bhattacharjee(at)kpn(dot)com> wrote:

> Hi All,
>
>
>
> Any idea how to solve this error, tried with pgadmin4 and also using psql
> CLI
>
>
>
> And why this comes in?
>
>
>
> postgres=# CREATE DATABASE symuatdb
>
> postgres-# WITH
>
> postgres-# OWNER = postgres
>
> postgres-# ENCODING = 'UTF8'
>
> postgres-# LC_COLLATE = 'en_US.utf8'
>
> postgres-# LC_CTYPE = 'en_US.utf8'
>
> postgres-# TABLESPACE = sym_m_data1
>
> postgres-# CONNECTION LIMIT = 10;
>
> *ERROR: could not create directory
> "pg_tblspc/16386/PG_10_201707211/24576": No such file or directory*
>
> postgres=#
>
>
>
> Thanks
>
> Soumik
>

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message soumik.bhattacharjee 2018-12-06 10:47:34 RE: DB Creations/ Drop DB :: Not working...
Previous Message soumik.bhattacharjee 2018-12-06 10:32:27 RE: DB Creations/ Drop DB :: Not working...