<br><br><div class="gmail_quote">On Sat, Jun 19, 2010 at 10:41 PM, Eric Peters <span dir="ltr"><<a href="mailto:eric@linuxsystems.net">eric@linuxsystems.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div bgcolor="#FFFFFF"><div>It's because your pointing your agent to local which will not resove. If you use localhost or 127.0.0.1 it will work just fine if that's were your OCS server is located.</div><div>
<br></div><div>Another solution if your hell bent on using local as the hostname, is to edit your /etc/hosts file and add local to point to 127.0.0.1<br><br></div><div>Cheers,</div><div>Eric</div><div><br></div></div></blockquote>

<div><br></div><div>Hi Eric,</div><div><br></div><div>cat /etc/hosts</div><div><br></div><div>127.0.0.1       localhost.localdomain   local</div><div><br></div><div><br></div><div># The following lines are desirable for IPv6 capable hosts</div>

<div>#::1     ip6-localhost ip6-loopback</div><div>fe00::0 ip6-localnet</div><div>ff00::0 ip6-mcastprefix</div><div>ff02::1 ip6-allnodes</div><div>ff02::2 ip6-allrouters</div><div>ff02::3 ip6-allhosts</div><div><br></div>

<div>Please suggest further. My OCS Server is located remotely over the wan interface.</div><div><br></div><div>Thanks</div><div><br></div><div>Kaushal</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div bgcolor="#FFFFFF"><div>Sent from my iPhone</div><div><div></div><div class="h5">
<div><br>On Jun 19, 2010, at 10:02 AM, Kaushal Shriyan <<a href="mailto:kaushalshriyan@gmail.com" target="_blank">kaushalshriyan@gmail.com</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div><br><br><div class="gmail_quote">


On Sat, Jun 19, 2010 at 6:40 PM, Jim Tarvid <span dir="ltr"><<a href="mailto:tarvid@ls.net" target="_blank"></a><a href="mailto:tarvid@ls.net" target="_blank">tarvid@ls.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




Check /etc/hosts<br>
<br>
On my home system:<br>
<br>
127.0.0.1       venus   localhost.localdomain   localhost<br>
#::1     localhost ip6-localhost ip6-loopback<br>
<br>
Note: localhost vs. local and ip6 commented out.<br>
<br>
Using 127.0.0.1 always works for me.<br>
<br>
Jim<br>
<div><div></div><div><br>
On Sat, Jun 19, 2010 at 7:27 AM, Kaushal Shriyan<br>
<<a href="mailto:kaushalshriyan@gmail.com" target="_blank"></a><a href="mailto:kaushalshriyan@gmail.com" target="_blank">kaushalshriyan@gmail.com</a>> wrote:<br>
> Hi,<br>
> I am faced with this<br>
> issue <a href="http://forums.ocsinventory-ng.org/viewtopic.php?id=2702" target="_blank"></a><a href="http://forums.ocsinventory-ng.org/viewtopic.php?id=2702" target="_blank">http://forums.ocsinventory-ng.org/viewtopic.php?id=2702</a> on Ubuntu<br>



> Hardy Server 8.04<br>
> Please suggest/guide<br>
> Thanks<br>
> Kaushal<br>
</div></div>> --<br>
> ubuntu-server mailing list<br>
> <a href="mailto:ubuntu-server@lists.ubuntu.com" target="_blank"></a><a href="mailto:ubuntu-server@lists.ubuntu.com" target="_blank">ubuntu-server@lists.ubuntu.com</a><br>
> <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-server" target="_blank"></a><a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-server" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-server</a><br>



> More info: <a href="https://wiki.ubuntu.com/ServerTeam" target="_blank"></a><a href="https://wiki.ubuntu.com/ServerTeam" target="_blank">https://wiki.ubuntu.com/ServerTeam</a><br>
><br>
<font color="#888888"><br>
<br>
<br>
--<br>
Rev. Jim Tarvid, PCA<br>
Galax, Virginia<br>
<a href="http://ls.net" target="_blank"></a><a href="http://ls.net" target="_blank">http://ls.net</a><br>
<a href="http://drupal.ls.net" target="_blank"></a><a href="http://drupal.ls.net" target="_blank">http://drupal.ls.net</a><br>
<a href="http://crossleft.org" target="_blank"></a><a href="http://crossleft.org" target="_blank">http://crossleft.org</a><br>
</font></blockquote></div><br><div><br></div><div>Hi Jim</div><div><br></div><div>I still have the same issue </div><div><br></div><div><div>apt-get install ocsinventory-agent</div><div>Reading package lists... Done</div>




<div>Building dependency tree</div><div>Reading state information... Done</div><div>The following NEW packages will be installed:</div><div>  ocsinventory-agent</div><div>0 upgraded, 1 newly installed, 0 to remove and 8 not upgraded.</div>




<div>Need to get 0B/74.3kB of archives.</div><div>After this operation, 774kB of additional disk space will be used.</div><div>Preconfiguring packages ...</div><div>Selecting previously deselected package ocsinventory-agent.</div>




<div>(Reading database ... 25827 files and directories currently installed.)</div><div>Unpacking ocsinventory-agent (from .../ocsinventory-agent_1%3a0.0.8-1_all.deb) ...</div><div>Setting up ocsinventory-agent (1:0.0.8-1) ...</div>




</div><div><br></div><div>Please suggest further</div><div><br></div><div>Thanks</div><div><br></div><div>Kaushal</div>
</div></blockquote></div></div><blockquote type="cite"><div><span>-- </span><br><div class="im"><span>ubuntu-server mailing list</span><br><span><a href="mailto:ubuntu-server@lists.ubuntu.com" target="_blank">ubuntu-server@lists.ubuntu.com</a></span><br>

<span><a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-server" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-server</a></span><br>
<span>More info: <a href="https://wiki.ubuntu.com/ServerTeam" target="_blank"></a><a href="https://wiki.ubuntu.com/ServerTeam" target="_blank">https://wiki.ubuntu.com/ServerTeam</a></span></div></div></blockquote></div>
</blockquote></div><br>