This question already has an answer here:
Oracle Docs requiring Hostname to be FQDN. What do you think? Not really what I want to do but... should I?
Verifying Host Names
Use the following to verify host name settings: For Oracle Linux 4 and 5, and Red Hat Enterprise Linux AS/ES 4 and 5:
Verify that the /etc/hosts file is formatted as follows:
127.0.0.1 localhost.localdomain localhost [ip_address] [node_name].[domain_name] [node_name]
Verify that the /etc/sysconfig/network file is formatted as follows: