OL : hostname -f return as "Unknown host" (Doc ID 2174727.1)

Last updated on AUGUST 24, 2016

Applies to:

Linux OS - Version Oracle Linux 5.0 and later
Information in this document applies to any platform.

Goal

 On executing command ## hostname -f , the command returns unknown hostname even though the hostname is set.

 

Solution

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms