Hi,
Thank you for your prompt reply,
Yes I this SLES 12 SP3 and I mean /etc/hostname.
I am trying to cinstall a software called Mpcci and after the install I am doing some test and this is the error I am getting
islem@linux-dnff:~> mpcci test
mpcci test:
Can’t resolve the name of the local host “linux-dnff”.
Please make sure the local host is well known within your network
and the name can be resolved by a DNS server or via the hosts file.
Compilation failed in require at /home/islem/MpCCI/4.5.1/perlmod/MpCCICmds/Test.pm line 23.
BEGIN failed–compilation aborted at /home/islem/MpCCI/4.5.1/perlmod/MpCCICmds/Test.pm line 23.
Compilation failed in require at /home/islem/MpCCI/4.5.1/perlmod/MpCCICmds/mpcci.pm line 397.
islem@linux-dnff:~>
I have been told that there is problen with DNS configuration
when I ping with the IP address of the server, I get this
islem@linux-dnff:~> ping 150.204.20.14
PING 150.204.20.14 (150.204.20.14) 56(84) bytes of data.
64 bytes from 150.204.20.14: icmp_seq=1 ttl=128 time=0.465 ms
64 bytes from 150.204.20.14: icmp_seq=2 ttl=128 time=0.555 ms
64 bytes from 150.204.20.14: icmp_seq=3 ttl=128 time=0.538 ms
64 bytes from 150.204.20.14: icmp_seq=4 ttl=128 time=0.770 ms
64 bytes from 150.204.20.14: icmp_seq=5 ttl=128 time=0.523 ms
when I ping with the ip address of the local host, I get this
islem@linux-dnff:~> ping 150.204.20.26
PING 150.204.20.26 (150.204.20.26) 56(84) bytes of data.
64 bytes from 150.204.20.26: icmp_seq=1 ttl=64 time=0.073 ms
64 bytes from 150.204.20.26: icmp_seq=2 ttl=64 time=0.050 ms
64 bytes from 150.204.20.26: icmp_seq=3 ttl=64 time=0.051 ms
64 bytes from 150.204.20.26: icmp_seq=4 ttl=64 time=0.050 ms
When I try this ping and host with linux-dnff
islem@linux-dnff:~> ping linux-dnff
ping: unknown host linux-dnff
and
islem@linux-dnff:~> host linux-dnff
Host linux-dnff not found: 3(NXDOMAIN)
and with the full name in /etc/host
islem@linux-dnff:~> ping linux-dnff.suse
ping: unknown host linux-dnff.suse
islem@linux-dnff:~> host linux-dnff.suse
Host linux-dnff.suse not found: 3(NXDOMAIN)
For the IP I think it is static, but I am not sure because haven’t done myself, but I am attaching here picture that might help to understand
Regards,
islem