pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #14954: fresh install of postgresql-server 9.6.6-3PGDG.rhel6 fails on initdb
3+ messages / 3 participants
[nested] [flat]

* BUG #14954: fresh install of postgresql-server 9.6.6-3PGDG.rhel6 fails on initdb
@ 2017-12-08 10:41  mbochenk@tibco.com
  0 siblings, 0 replies; 3+ messages in thread

From: mbochenk@tibco.com @ 2017-12-08 10:41 UTC (permalink / raw)
  To: pgsql-bugs; +Cc: mbochenk@tibco.com

The following bug has been logged on the website:

Bug reference:      14954
Logged by:          mbochenk
Email address:      mbochenk@tibco.com
PostgreSQL version: 9.6.6
Operating system:   CentOS 6.9
Description:        

Installing latest pg on CentOS 6 succeeds, however on 'sudo service
postgresql-9.6 initdb' the error in /var/lib/pgsql/9.6/pgstartup.log
shows:

'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".

Data page checksums are disabled.

initdb: directory "/var/lib/pgsql/9.6/data" exists but is not empty
If you want to create a new database system, either remove or empty
the directory "/var/lib/pgsql/9.6/data" or run initdb
with an argument other than "/var/lib/pgsql/9.6/data".'

Removed data/, removed package, reinstalled - same behaviour. Same for 9.5
and 9.3 (latest).

If using 9.6.6-2PGDG.rhel6/9.5.10-2PGDG.rhel6 (previous latest rpm) initdb
succeeds.

rpm packages for 9.6.6-3PGDG/9.5.10-3PGDG.rhel6 look like built on
2017-12-07, so this must be a new behaviour. 

CentOS6 version: 
lsb_release -a
LSB
Version:	:base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch
Distributor ID:	CentOS
Description:	CentOS release 6.9 (Final)
Release:	6.9
Codename:	Final





^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* BUG #14954: fresh install of postgresql-server 9.6.6-3PGDG.rhel6 fails on initdb
@ 2017-12-11 09:34  Mykyta Bochenko <mbochenk@tibco.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Mykyta Bochenko @ 2017-12-11 09:34 UTC (permalink / raw)
  To: pgsql-bugs

Hi,

RPMs for 4PGDG now successfully complete initdb, however if executing
"service start" postgresql started in foreground

This is an issue if called by other tools which expect the process to
detach properly.

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* BUG #14954: fresh install of postgresql-server 9.6.6-3PGDG.rhel6 fails on initdb
@ 2019-02-22 14:44  Paul Mansueto Namuag <paulnamuag@gmail.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Paul Mansueto Namuag @ 2019-02-22 14:44 UTC (permalink / raw)
  To: pgsql-bugs

Hi Guys,

In relation to this post
https://www.postgresql.org/message-id/flat/20171208104120.21687.74167%40wrigleys.postgresql.org,
this is pretty old stuff but for some people encountering this issue, try
deleting /etc/sysconfig/pgsql/postgresql-9.6. The issue as what I see
relies on the /etc/init.d/postgresql-9.6 script. Also only occurs when you
are actually retrying to re-install the package after it has been removed
or so.

Anyhow just an FYI :-)

^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2019-02-22 14:44 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2017-12-08 10:41 BUG #14954: fresh install of postgresql-server 9.6.6-3PGDG.rhel6 fails on initdb mbochenk@tibco.com
2017-12-11 09:34 BUG #14954: fresh install of postgresql-server 9.6.6-3PGDG.rhel6 fails on initdb Mykyta Bochenko <mbochenk@tibco.com>
2019-02-22 14:44 BUG #14954: fresh install of postgresql-server 9.6.6-3PGDG.rhel6 fails on initdb Paul Mansueto Namuag <paulnamuag@gmail.com>

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