<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Why does my Deployment Client not phone home with error &amp;quot;unable to resolve my hostname.&amp;quot;? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-my-Deployment-Client-not-phone-home-with-error-quot/m-p/244533#M47305</link>
    <description>&lt;P&gt;Hi muebel,&lt;/P&gt;

&lt;P&gt;it is an entry in my /etc/hosts and it is mapped to 127.0.0.1 and nslookup tell me server cannot find localhost.localdomain.&lt;/P&gt;

&lt;P&gt;I don't think this is the reason because I have already changed the hostname in inputs.conf as well as the servername in server.conf to 192.168.1.23(which is the ip address of the deployment client )&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2015 01:28:35 GMT</pubDate>
    <dc:creator>InkerzBrad</dc:creator>
    <dc:date>2015-09-29T01:28:35Z</dc:date>
    <item>
      <title>Why does my Deployment Client not phone home with error "unable to resolve my hostname."?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-my-Deployment-Client-not-phone-home-with-error-quot/m-p/244523#M47295</link>
      <description>&lt;P&gt;I have installed a universal forwarder on a Linux machine, and I configured it as a deployment client to phone a Splunk server at 192.168.1.28:8089.  Unfortunately, it never does so.&lt;/P&gt;

&lt;P&gt;My deploymentclient.conf is &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[deployment-client]
disabled = false

[target-broker:deploymentServer]
targetUri = 192.168.1.28:8089
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And I checked on the Client side with:&lt;BR /&gt;
&lt;CODE&gt;splunk display deploy-client&lt;/CODE&gt;&lt;BR /&gt;
It outputs Deployment Client is enabled.&lt;/P&gt;

&lt;P&gt;However, when I took a look at the splunkd.log, searching for DC(for Deployment Client),  I saw lines:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Creating a DeploymentClient instance
unable to resolve my hostname. DeploymentClient is disabled.
....
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I think this is the problem, but I cannot solve it. I don't know where the "hostname" thing is, so I don't know how to modify it.&lt;/P&gt;

&lt;P&gt;Anyone please help me out!  Cheers.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2015 00:07:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-does-my-Deployment-Client-not-phone-home-with-error-quot/m-p/244523#M47295</guid>
      <dc:creator>InkerzBrad</dc:creator>
      <dc:date>2015-09-29T00:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: Why does my Deployment Client not phone home with error "unable to resolve my hostname."?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-my-Deployment-Client-not-phone-home-with-error-quot/m-p/244524#M47296</link>
      <description>&lt;P&gt;Check your configuration on the host, in the server.conf - &lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.5/admin/Serverconf"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.5/admin/Serverconf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Additionally, make sure name resolution (DNS) is working on the box, that it can resolve it's own hostname and the hostname of the DS.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2015 00:26:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-does-my-Deployment-Client-not-phone-home-with-error-quot/m-p/244524#M47296</guid>
      <dc:creator>esix_splunk</dc:creator>
      <dc:date>2015-09-29T00:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: Why does my Deployment Client not phone home with error "unable to resolve my hostname."?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-my-Deployment-Client-not-phone-home-with-error-quot/m-p/244525#M47297</link>
      <description>&lt;PRE&gt;&lt;CODE&gt; splunk set servername host.domain.com
 splunk set default-hostname host.domain.com
 splunk restart
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If that doesn't work, you may also have to configure the hostname in Linux. The process will vary depending on what flavor of Linux you are running. Even if setting it in Splunk fixes your problem, I would still recommend configuring the hostname in Linux.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2015 00:27:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-does-my-Deployment-Client-not-phone-home-with-error-quot/m-p/244525#M47297</guid>
      <dc:creator>masonmorales</dc:creator>
      <dc:date>2015-09-29T00:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: Why does my Deployment Client not phone home with error "unable to resolve my hostname."?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-my-Deployment-Client-not-phone-home-with-error-quot/m-p/244526#M47298</link>
      <description>&lt;P&gt;A few things:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Do you have any other clients that are able to checkin with the deployment server?&lt;/LI&gt;
&lt;LI&gt;Try setting the clientName = somedeployment.client.name setting in deploymentclient.conf&lt;/LI&gt;
&lt;LI&gt;I haven't seen this error before, but maybe check that the servername in etc/system/local/inputs and server.conf are resolvable&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Tue, 29 Sep 2015 00:31:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-does-my-Deployment-Client-not-phone-home-with-error-quot/m-p/244526#M47298</guid>
      <dc:creator>muebel</dc:creator>
      <dc:date>2015-09-29T00:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: Why does my Deployment Client not phone home with error "unable to resolve my hostname."?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-my-Deployment-Client-not-phone-home-with-error-quot/m-p/244527#M47299</link>
      <description>&lt;OL&gt;
&lt;LI&gt;No this is the only Client, And it cannot check in with the server.&lt;/LI&gt;
&lt;LI&gt;I tried to assign a name to it but it does not work.&lt;/LI&gt;
&lt;LI&gt;I check both config file it does seems a bit weird. I update the question please shed some light on it.&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Tue, 29 Sep 2015 00:51:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-does-my-Deployment-Client-not-phone-home-with-error-quot/m-p/244527#M47299</guid>
      <dc:creator>InkerzBrad</dc:creator>
      <dc:date>2015-09-29T00:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: Why does my Deployment Client not phone home with error "unable to resolve my hostname."?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-my-Deployment-Client-not-phone-home-with-error-quot/m-p/244528#M47300</link>
      <description>&lt;P&gt;Sorry I just found out I cannot update the detail of the question. So I just post my inputs.conf and server.conf here:&lt;/P&gt;

&lt;P&gt;inputs.conf:&lt;BR /&gt;
[default]&lt;BR /&gt;
host = localhost.localdomain&lt;BR /&gt;
server.conf:&lt;BR /&gt;
[sslConfig]&lt;BR /&gt;
sslKeysfilePassword = ....&lt;/P&gt;

&lt;P&gt;[lmpool:auto_generated_poll_forwarder]&lt;BR /&gt;
description = auto_genterated_poll_forwarder&lt;BR /&gt;
quota = MAX&lt;BR /&gt;
slaves = *&lt;BR /&gt;
stack_id = forwarder&lt;/P&gt;

&lt;P&gt;[lmpool:auto_generated_poll_free]&lt;BR /&gt;
...&lt;/P&gt;

&lt;P&gt;[general]&lt;BR /&gt;
pass4SymmKey = ....&lt;BR /&gt;
serverName = localhost.localdomain&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 07:24:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-does-my-Deployment-Client-not-phone-home-with-error-quot/m-p/244528#M47300</guid>
      <dc:creator>InkerzBrad</dc:creator>
      <dc:date>2020-09-29T07:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: Why does my Deployment Client not phone home with error "unable to resolve my hostname."?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-my-Deployment-Client-not-phone-home-with-error-quot/m-p/244529#M47301</link>
      <description>&lt;P&gt;Hi esix,&lt;/P&gt;

&lt;P&gt;This is my server.conf, could you help me verify it?&lt;/P&gt;

&lt;P&gt;server.conf:&lt;BR /&gt;
[sslConfig]&lt;BR /&gt;
sslKeysfilePassword = ....&lt;/P&gt;

&lt;P&gt;[lmpool:auto_generated_poll_forwarder]&lt;BR /&gt;
description = auto_genterated_poll_forwarder&lt;BR /&gt;
quota = MAX&lt;BR /&gt;
slaves = *&lt;BR /&gt;
stack_id = forwarder&lt;/P&gt;

&lt;P&gt;[lmpool:auto_generated_poll_free]&lt;BR /&gt;
...&lt;/P&gt;

&lt;P&gt;[general]&lt;BR /&gt;
pass4SymmKey = ....&lt;BR /&gt;
serverName = localhost.localdomain&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 07:24:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-does-my-Deployment-Client-not-phone-home-with-error-quot/m-p/244529#M47301</guid>
      <dc:creator>InkerzBrad</dc:creator>
      <dc:date>2020-09-29T07:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: Why does my Deployment Client not phone home with error "unable to resolve my hostname."?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-my-Deployment-Client-not-phone-home-with-error-quot/m-p/244530#M47302</link>
      <description>&lt;P&gt;Hi mason,&lt;/P&gt;

&lt;P&gt;I check my hostname is just localhost.localdomain. I know it's just from the system command "hostname". Could it be the reason why the client cannot phone home? Should I change it to the IP address of the universal forwarder?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2015 01:12:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-does-my-Deployment-Client-not-phone-home-with-error-quot/m-p/244530#M47302</guid>
      <dc:creator>InkerzBrad</dc:creator>
      <dc:date>2015-09-29T01:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: Why does my Deployment Client not phone home with error "unable to resolve my hostname."?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-my-Deployment-Client-not-phone-home-with-error-quot/m-p/244531#M47303</link>
      <description>&lt;P&gt;is localhost.localdomain an entry in /etc/hosts? what do you get when you nslookup localhost.localdomain ?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2015 01:18:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-does-my-Deployment-Client-not-phone-home-with-error-quot/m-p/244531#M47303</guid>
      <dc:creator>muebel</dc:creator>
      <dc:date>2015-09-29T01:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: Why does my Deployment Client not phone home with error "unable to resolve my hostname."?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-my-Deployment-Client-not-phone-home-with-error-quot/m-p/244532#M47304</link>
      <description>&lt;P&gt;Hi mason,&lt;BR /&gt;
just a quick update.&lt;/P&gt;

&lt;P&gt;I just tried these two commands and I saw the changes have been done to inputs.conf and server.conf&lt;BR /&gt;
(changing the hostname in inputs.conf and servername in server.conf to 192.168.1.23), but after i restarted the splunk and it still doesn't work and the log said the same thing as in the question.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2015 01:22:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-does-my-Deployment-Client-not-phone-home-with-error-quot/m-p/244532#M47304</guid>
      <dc:creator>InkerzBrad</dc:creator>
      <dc:date>2015-09-29T01:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: Why does my Deployment Client not phone home with error "unable to resolve my hostname."?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-my-Deployment-Client-not-phone-home-with-error-quot/m-p/244533#M47305</link>
      <description>&lt;P&gt;Hi muebel,&lt;/P&gt;

&lt;P&gt;it is an entry in my /etc/hosts and it is mapped to 127.0.0.1 and nslookup tell me server cannot find localhost.localdomain.&lt;/P&gt;

&lt;P&gt;I don't think this is the reason because I have already changed the hostname in inputs.conf as well as the servername in server.conf to 192.168.1.23(which is the ip address of the deployment client )&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2015 01:28:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-does-my-Deployment-Client-not-phone-home-with-error-quot/m-p/244533#M47305</guid>
      <dc:creator>InkerzBrad</dc:creator>
      <dc:date>2015-09-29T01:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: Why does my Deployment Client not phone home with error "unable to resolve my hostname."?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-my-Deployment-Client-not-phone-home-with-error-quot/m-p/244534#M47306</link>
      <description>&lt;P&gt;What flavor of Linux are you running?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2015 01:54:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-does-my-Deployment-Client-not-phone-home-with-error-quot/m-p/244534#M47306</guid>
      <dc:creator>masonmorales</dc:creator>
      <dc:date>2015-09-29T01:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: Why does my Deployment Client not phone home with error "unable to resolve my hostname."?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-my-Deployment-Client-not-phone-home-with-error-quot/m-p/244535#M47307</link>
      <description>&lt;P&gt;Fedora Linux&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2015 01:59:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-does-my-Deployment-Client-not-phone-home-with-error-quot/m-p/244535#M47307</guid>
      <dc:creator>InkerzBrad</dc:creator>
      <dc:date>2015-09-29T01:59:27Z</dc:date>
    </item>
    <item>
      <title>Re: Why does my Deployment Client not phone home with error "unable to resolve my hostname."?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-my-Deployment-Client-not-phone-home-with-error-quot/m-p/244536#M47308</link>
      <description>&lt;P&gt;Run through this: &lt;A href="http://www.labtestproject.com/using_linux/permanently_change_hostname_on_fedora"&gt;http://www.labtestproject.com/using_linux/permanently_change_hostname_on_fedora&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Then, restart Splunk, and let us know if there's any improvement. If not, you may need to capture a diag and open a support case. &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2015 02:02:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-does-my-Deployment-Client-not-phone-home-with-error-quot/m-p/244536#M47308</guid>
      <dc:creator>masonmorales</dc:creator>
      <dc:date>2015-09-29T02:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: Why does my Deployment Client not phone home with error "unable to resolve my hostname."?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-my-Deployment-Client-not-phone-home-with-error-quot/m-p/244537#M47309</link>
      <description>&lt;P&gt;Cheers mason, problem SOLVED!!&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2015 02:05:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-does-my-Deployment-Client-not-phone-home-with-error-quot/m-p/244537#M47309</guid>
      <dc:creator>InkerzBrad</dc:creator>
      <dc:date>2015-09-29T02:05:36Z</dc:date>
    </item>
    <item>
      <title>Re: Why does my Deployment Client not phone home with error "unable to resolve my hostname."?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-my-Deployment-Client-not-phone-home-with-error-quot/m-p/244538#M47310</link>
      <description>&lt;P&gt;Problem Sovled!!&lt;/P&gt;

&lt;P&gt;Basically what I did is change the hostname of linux through "hostname xxx", and edited my /etc/hosts to map this xxx to 192.168.1.23 DONE!&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2015 02:07:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-does-my-Deployment-Client-not-phone-home-with-error-quot/m-p/244538#M47310</guid>
      <dc:creator>InkerzBrad</dc:creator>
      <dc:date>2015-09-29T02:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: Why does my Deployment Client not phone home with error "unable to resolve my hostname."?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-my-Deployment-Client-not-phone-home-with-error-quot/m-p/244539#M47311</link>
      <description>&lt;P&gt;Please choose "Accept Answer" so that your question is marked as resolved and future Splunkers can quickly find our solution. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2015 02:09:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-does-my-Deployment-Client-not-phone-home-with-error-quot/m-p/244539#M47311</guid>
      <dc:creator>masonmorales</dc:creator>
      <dc:date>2015-09-29T02:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: Why does my Deployment Client not phone home with error "unable to resolve my hostname."?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-my-Deployment-Client-not-phone-home-with-error-quot/m-p/244540#M47312</link>
      <description>&lt;P&gt;Cool.&lt;BR /&gt;
My remaining question is how come nobody experienced this problem before? &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2015 02:15:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-does-my-Deployment-Client-not-phone-home-with-error-quot/m-p/244540#M47312</guid>
      <dc:creator>InkerzBrad</dc:creator>
      <dc:date>2015-09-29T02:15:03Z</dc:date>
    </item>
    <item>
      <title>Re: Why does my Deployment Client not phone home with error "unable to resolve my hostname."?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-my-Deployment-Client-not-phone-home-with-error-quot/m-p/244541#M47313</link>
      <description>&lt;P&gt;Check the firewall with the command on the client:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;telnet ip port
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If the DS is on a Windows box, make sure that the Windows firewall is either turned off or not blocking.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2017 23:44:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-does-my-Deployment-Client-not-phone-home-with-error-quot/m-p/244541#M47313</guid>
      <dc:creator>landen99</dc:creator>
      <dc:date>2017-04-17T23:44:35Z</dc:date>
    </item>
  </channel>
</rss>

