My Oracle Support Banner

Oracle Linux: Postgresql Service Failed to Start post Reboot with Error "could not bind IPv4 address <IP_ADDRESS>: Cannot assign requested address" (Doc ID 2958030.1)

Last updated on JUNE 29, 2023

Applies to:

Linux OS - Version Oracle Linux 8.0 and later
Linux x86-64

Symptoms

The postgresql service fails to start post reboot when <IP address or hostname> defined to listen inside /var/lib/pgsql/data/postgresql.conf defined with below errors:

The issue is not reported when the listen_addresses is set to localhost inside /var/lib/pgsql/data/postgresql.conf .

The postgresql service start/restart works fine once the system is up.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.