Hi All,
I updated lately the Opsi virual machine and in turn opsi-configed on the host and opsi-agent on all the clients as well.
Although i am still able to install packets on the clients however when i try to send a message or to get session information for a Client i get " Failed to resolve ip address for host 'host1.foo.com'
Can anyone help?
Best regards
[SOLVED] Failed to resolve ip address for host
[SOLVED] Failed to resolve ip address for host
Zuletzt geändert von uocxp am 24 Mär 2016, 13:45, insgesamt 1-mal geändert.
Re: Failed to resolve ip address for host
hi
what do you get when you Execute the following command
getent hosts $(hostname -f)
what do you get when you Execute the following command
getent hosts $(hostname -f)
Re: Failed to resolve ip address for host
I get :
host1.foo.com: command not found.
127.0.0.1 localhost.localdomain localhost
172.20.70.130 opsiserver.foo.com opsiserver
127.0.0.1 ip6-localhost ip6-loopback
host1.foo.com: command not found.
127.0.0.1 localhost.localdomain localhost
172.20.70.130 opsiserver.foo.com opsiserver
127.0.0.1 ip6-localhost ip6-loopback
Re: Failed to resolve ip address for host
wat do you get when you Execute the following command
cat /etc/resolv.conf
do you use a internal dns server
cat /etc/resolv.conf
do you use a internal dns server
Re: Failed to resolve ip address for host
I get the dns server ip.
yes I'm using an internal dns server.
I didn't have this problem before updating the Opsi Server and opsi-configed
yes I'm using an internal dns server.
I didn't have this problem before updating the Opsi Server and opsi-configed
Re: Failed to resolve ip address for host
HI
can you change this in etc/hosts
172.20.70.130 opsiserver.foo.com opsiserver to
172.20.70.130 foo.com foo
and give your server a reboot
can you change this in etc/hosts
172.20.70.130 opsiserver.foo.com opsiserver to
172.20.70.130 foo.com foo
and give your server a reboot
Re: Failed to resolve ip address for host
I did find the problem. After i updated the Server the /etc/hosts file has been likely overwritten.Since i don't use a DHCP Server i needed to reinsert the clients into the hosts file.
thanks alot @sakbari for the Help
thanks alot @sakbari for the Help
