Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9209093
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T00:45:40+00:00 2026-06-18T00:45:40+00:00

I am working on centos 6.2 version. I want to configure postgres with an

  • 0

I am working on centos 6.2 version. I want to configure postgres with an encrypted file system.
I have created an encrypted partition on centos using LUKS. Now i want to initialize the db cluster with this mounted partition. but i get the below error.

bash-4.1$ initdb -D /mnt/cryptofs/data/
could not change directory to "/root/dimple/encryption"
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.

The database cluster will be initialized with locale en_US.UTF-8.
The default database encoding has accordingly been set to UTF8.
The default text search configuration will be set to "english".

initdb: directory "/mnt/cryptofs/data" exists but is not empty
If you want to create a new database system, either remove or empty
the directory "/mnt/cryptofs/data" or run initdb
with an argument other than "/mnt/cryptofs/data".
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T00:45:41+00:00Added an answer on June 18, 2026 at 12:45 am

    You specify PGDATA to be /mnt/cryptofs/data/, while initdb complains bout /root/dimple/encryption, which makes me think that:

    • /mnt/cryptofs/data/ is actually a symlink;
    • you don’t have proper permissions for the /root/dimple/encryption directory;
    • there’re some files in the /mnt/cryptofs/data/. Make sure it is completely empty, no hidden files and no lost+found directory also.

    It’d be good to see what is /mnt/cryptofs/data/ and what are the permissions.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Magento Production version 1.2.1 store running on linux centos. I want to hide all
Working with some basic java apps on CentOS 5 linux and I have my
I'm working on setting up a production server using CentOS 5.3, Apache, and Phusion
I'm using Linux CentOS 5.4, I installed MongoDB now it's availabled as a Daemon
I am using centos 6. i want to install php5-dev on my cloud server.
I am working on a PC running CentOS as its operating system. I also
I have a CentOS 5.7 linux server and use php5.3.x. On a pfSense system,
I currently have APC installed and running on a CentOs server, it's working fine
I'm working an a CentOS 5.4 host with rpm version 4.4.2.3-18.el5 and gpg version
I am working on CentOS 6.3 64 bit machine. I have set the following

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.