There is an issue with the configuration of the machine's hostname and the associated IP address.
The most common cause is when the First Time Configuration is performed through an interface, and then the IP address of that interface is removed / changed.
During the First Time Configuration, the IP address through which the administrator has connected and the hostname provided by the administrator are automatically added to the OS configuration (Gaia database and /etc/hosts file).
If that IP address is later removed / changed in the OS settings, the relevant entry is removed by the OS from the OS configuration (Gaia database and /etc/hosts file). If the administrator does not reconfigure the hostname and the relevant IP address, the required entry will not be defined in the OS configuration.
As a result, Check Point services fail to start because the required entry is not found in the OS configuration.
Follow these steps:
Click Here to Show the Entire Article
-
Show / Hide instructions for Gaia OS
-
Connect to the command line.
-
Log in to CLISH.
-
Set the machine's hostname (it should match the name of the corresponding object in SmartDashboard):
HostName> set hostname HOSTNAME
-
Set the machine's IP address associated with its hostname (this should be the IP address of the corresponding object in SmartDashboard):
HostName> set host name HOSTNAME ipv4-address IPv4_ADDRESS
If an IPv6 address is also configured on this machine, then run this command:
HostName> set host name HOSTNAME ipv6-address IPv6_ADDRESS
-
Save the Gaia database:
HostName> save config
-
Verify that the machine's hostname was configured correctly:
-
Run in Clish:
HostName> show host names
Example output:
Host Name IP Address
Main_FW 172.30.151.120
localhost 127.0.0.1
localhost ::1
Notes:
- The order of entries does not matter.
- There must be an entry with the hostname and IP address of the corresponding object in SmartDashboard.
- There must be an entry with the hostname "localhost" and IP address "127.0.0.1".
- If IPv6 is enabled, then there must be an entry with the hostname "localhost" and IP address "::1".
-
Run in Expert mode:
[Expert@HostName]# cat /etc/hosts
Example output:
127.0.0.1 localhost
172.30.151.120 Main_FW
::1 localhost
Notes:
- The order of entries does not matter.
- There must be an entry with the IP address and hostname of the corresponding object in SmartDashboard.
- There must be an entry with the IP address "127.0.0.1" with hostname "localhost".
- If IPv6 is enabled, then there must be an entry with the IP address "::1" with hostname "localhost".
-
Reboot the machine.
-
Related solutions: