Wind River Support Network


LIN6-8473 : The postgresql service would start failure by default.

Created: Sep 22, 2014    Updated: Dec 3, 2018
Resolved Date: Oct 14, 2014
Previous ID: OVP-2105
Found In Version: 6.0
Fix Version:
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Userspace


The postgrsql always boot failure when the postgresql server did not initialize the database. 
Need to add "/etc/init.d/postgresql-server initdb" command into the post-install phase.

Thu Sep 18 18:04:18 2014: /var/lib/postgresql/data is missing. Use "service postgresql initdb" to initialize the cluster first.
Thu Sep 18 18:04:18 2014:  [FAILED]
Thu Sep 18 18:04:18 2014: Starting crond: OK


Execute the following command to create database by manual.

/etc/init.d/postgresql-server initdb

Steps to Reproduce

1) Configure the ovp-ovirt-node project.
2) make fs
3) boot the new kernel and fs
4) Check the boot log would find the postgresql service booting failure information.

Other Downloads

Live chat