Bug 616058 - simple problem with initdb
Summary: simple problem with initdb
Alias: None
Product: Fedora
Classification: Fedora
Component: postgresql   
(Show other bugs)
Version: 13
Hardware: x86_64 Linux
Target Milestone: ---
Assignee: Tom Lane
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2010-07-19 14:44 UTC by Friedel Völker
Modified: 2013-07-03 03:31 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2010-11-16 01:22:54 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Friedel Völker 2010-07-19 14:44:39 UTC
Description of problem:

root@mypc# service postgresql initdb
fails because of existing directory /var/lib/pgsql/data/pg_log

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. yum install postgresql
2. yum install postgresql-server
3. service postgresql initdb
Actual results: FAIL

Expected results: OK

Additional info:
Works fine after deleting the directory
[root@mypc ~]# rmdir /var/lib/pgsql/data/pg_log/

Comment 1 Tom Lane 2010-07-27 16:07:42 UTC
This would most certainly not happen given only the claimed "steps to reproduce".  You must have had a previous postgres installation in there at some point.  Was there really nothing in /var/lib/pgsql/data/ except the pg_log subdirectory?  Can you recall just how you got to this state?

Comment 2 Tom Lane 2010-11-16 01:22:54 UTC
Closing for lack of response.

Note You need to log in before you can comment on or make changes to this bug.